Skip to content

Commit

Permalink
fixed gemspec
Browse files Browse the repository at this point in the history
  • Loading branch information
maccman committed Sep 22, 2010
1 parent d619535 commit c4a71f0
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 13 deletions.
20 changes: 20 additions & 0 deletions Rakefile
Expand Up @@ -21,3 +21,23 @@ Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_files.include('README.markdown')
rdoc.rdoc_files.include('lib/**/*.rb')
end

begin
require 'jeweler'
Jeweler::Tasks.new do |gem|
gem.name = "more"
gem.summary = "LESS on Rails"
gem.description = <<-EOS
More is a plugin for Ruby on Rails applications. It automatically
parses your applications .less files through LESS and outputs CSS files.
EOS
gem.authors = ["August Lilleaas", "Logan Raarup"]
gem.files = FileList["README.markdown", "MIT-LICENSE", "Rakefile", "init.rb", "lib/**/*", "rails/init.rb", "test/**/*"]
gem.has_rdoc

gem.add_dependency 'less'
end
Jeweler::GemcutterTasks.new
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
1 change: 1 addition & 0 deletions VERSION
@@ -0,0 +1 @@
0.1.1
63 changes: 50 additions & 13 deletions more.gemspec
@@ -1,17 +1,54 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
# -*- encoding: utf-8 -*-

require 'rake'
Gem::Specification.new do |s|
s.name = %q{more}
s.version = "0.1.1"

SPEC = Gem::Specification.new do |s|
s.name = "more"
s.summary = "LESS on Rails"
s.homepage = "http://github.com/cloudhead/more"
s.description = <<-EOS
More is a plugin for Ruby on Rails applications. It automatically
parses your applications .less files through LESS and outputs CSS files.
EOS
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["August Lilleaas", "Logan Raarup"]
s.version = "0.1.0"
s.files = FileList["README.markdown", "MIT-LICENSE", "Rakefile", "init.rb", "lib/*.rb", "rails/init.rb", "tasks/*", "test/*"]
s.has_rdoc = true
s.add_dependency "less"
s.date = %q{2010-09-22}
s.description = %q{ More is a plugin for Ruby on Rails applications. It automatically
parses your applications .less files through LESS and outputs CSS files.
}
s.extra_rdoc_files = [
"README.markdown"
]
s.files = [
"MIT-LICENSE",
"README.markdown",
"Rakefile",
"init.rb",
"lib/less/controller_extension.rb",
"lib/less/more.rb",
"lib/tasks/more_tasks.rake",
"test/controller_test.rb",
"test/more_test.rb",
"test/test_helper.rb"
]
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.7}
s.summary = %q{LESS on Rails}
s.test_files = [
"test/controller_test.rb",
"test/more_test.rb",
"test/test_helper.rb"
]

if s.respond_to? :specification_version then
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
s.specification_version = 3

if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<less>, [">= 0"])
else
s.add_dependency(%q<less>, [">= 0"])
end
else
s.add_dependency(%q<less>, [">= 0"])
end
end

0 comments on commit c4a71f0

Please sign in to comment.