Skip to content

Commit

Permalink
Empty merb-assets structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehuda Katz committed Feb 7, 2008
1 parent 45aaa09 commit fe4beb6
Show file tree
Hide file tree
Showing 6 changed files with 75 additions and 0 deletions.
20 changes: 20 additions & 0 deletions merb-assets/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
Copyright (c) 2008 YOUR NAME

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
4 changes: 4 additions & 0 deletions merb-assets/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
merb-assets
===========

A plugin for the Merb framework that provides ...
44 changes: 44 additions & 0 deletions merb-assets/Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
require 'rubygems'
require 'rake/gempackagetask'

PLUGIN = "merb-assets"
NAME = "merb-assets"
VERSION = "0.9.0"
AUTHOR = "Ezra Zygmuntowicz"
EMAIL = "[email protected]"
HOMEPAGE = "http://merb-plugins.rubyforge.org/merb-assets/"
SUMMARY = "Merb plugin that provides the helpers for assets and asset bundling"

spec = Gem::Specification.new do |s|
s.name = NAME
s.version = VERSION
s.platform = Gem::Platform::RUBY
s.has_rdoc = true
s.extra_rdoc_files = ["README", "LICENSE", 'TODO']
s.summary = SUMMARY
s.description = s.summary
s.author = AUTHOR
s.email = EMAIL
s.homepage = HOMEPAGE
s.add_dependency('merb', '>= 0.9.0')
s.require_path = 'lib'
s.autorequire = PLUGIN
s.files = %w(LICENSE README Rakefile TODO) + Dir.glob("{lib,specs}/**/*")
end

Rake::GemPackageTask.new(spec) do |pkg|
pkg.gem_spec = spec
end

task :install => [:package] do
sh %{sudo gem install pkg/#{NAME}-#{VERSION}}
end

namespace :jruby do

desc "Run :package and install the resulting .gem with jruby"
task :install => :package do
sh %{#{SUDO} jruby -S gem install pkg/#{NAME}-#{Merb::VERSION}.gem --no-rdoc --no-ri}
end

end
5 changes: 5 additions & 0 deletions merb-assets/TODO
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
TODO:
Fix LICENSE with your name
Fix Rakefile with your name and contact info
Add your code to lib/merb-haml.rb
Add your Merb rake tasks to lib/merb-haml/merbtasks.rb
Empty file added merb-assets/lib/merb-assets.rb
Empty file.
2 changes: 2 additions & 0 deletions merb-assets/spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
$TESTING=true
$:.unshift File.join(File.dirname(__FILE__), '..', 'lib')

0 comments on commit fe4beb6

Please sign in to comment.