Skip to content
This repository was archived by the owner on Dec 24, 2020. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,32 @@ require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'

begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = 'more'

gemspec.summary = 'LESS on Rails'
gemspec.description =
'More is a plugin for Ruby on Rails applications. It automatically ' \
'parses your applications .less files through LESS and outputs CSS.'

gemspec.authors = ['August Lilleaas', 'Logan Raarup']
gemspec.homepage = 'http://github.com/cloudhead/more'

gemspec.files = FileList[*%w(Rakefile init.rb lib/**/*.{rb,rake} rails/init.rb tasks/* test/*)]
gemspec.extra_rdoc_files = %w( README.markdown MIT-LICENSE )
gemspec.has_rdoc = true

gemspec.version = '0.1.2'
gemspec.require_path = 'lib'

gemspec.add_dependency 'less'
end
rescue LoadError
puts 'Jeweler not available. Install it with: gem install jeweler'
end

desc 'Default: run unit tests.'
task :default => :test

Expand Down
60 changes: 47 additions & 13 deletions more.gemspec
Original file line number Diff line number Diff line change
@@ -1,17 +1,51 @@
# Generated by jeweler
# DO NOT EDIT THIS FILE DIRECTLY
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-

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

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{2011-01-11}
s.description = %q{More is a plugin for Ruby on Rails applications. It automatically parses your applications .less files through LESS and outputs CSS.}
s.extra_rdoc_files = [
"MIT-LICENSE",
"README.markdown"
]
s.files = [
"Rakefile",
"init.rb",
"lib/less/controller_extension.rb",
"lib/less/more.rb",
"lib/tasks/more_tasks.rake",
"rails/init.rb",
"test/controller_test.rb",
"test/more_test.rb",
"test/test_helper.rb"
]
s.homepage = %q{http://github.com/cloudhead/more}
s.require_paths = ["lib"]
s.rubygems_version = %q{1.4.1}
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
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