Permalink
Browse files

Switched over to Jeweler

  • Loading branch information...
1 parent 7cffcdb commit 8a255657fcdee9810863c985c11ecf317b2842d9 @gus gus committed Nov 22, 2009
Showing with 90 additions and 39 deletions.
  1. +20 −0 Rakefile
  2. +70 −39 chicago.gemspec
View
@@ -31,3 +31,23 @@ desc "Open an irb session preloaded with this library"
task :console do
exec "irb -rubygems"
end
+
+#
+# Some monks like diamonds. I like gems.
+
+begin
+ require 'jeweler'
+ Jeweler::Tasks.new do |gem|
+ gem.name = "chicago"
+ gem.summary = "Sinatra runtime and testing extensions used commonly by Thumblemonks"
+ gem.description = "Sinatra runtime and testing extensions used commonly by Thumblemonks. For example, :json_response, which turns an object into JSON and sets the content-type appropriately."
+ gem.email = "gus@gusg.us"
+ gem.homepage = "http://github.com/thumblemonks/chicago"
+ gem.authors = ["Justin 'Gus' Knowlden"]
+ gem.add_development_dependency "riot"
+ gem.add_development_dependency "rack-test"
+ end
+ Jeweler::GemcutterTasks.new
+rescue LoadError
+ puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
+end
View
@@ -1,44 +1,75 @@
-Gem::Specification.new do |s|
- s.name = "chicago"
- s.version = "0.3.5"
- s.date = "2009-10-04"
- s.summary = "Sinatra runtime and testing extensions used commonly by Thumblemonks"
- s.email = %w[gus@gusg.us gabriel.gironda@gmail.com]
- s.homepage = "http://github.com/thumblemonks/chicago/tree/master"
- s.description = "Sinatra runtime and testing extensions used commonly by Thumblemonks. For example, :json_response, which turns an object into JSON and sets the content-type appropriately."
- s.authors = %w[Justin\ Knowlden Gabriel\ Gironda]
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
+# -*- encoding: utf-8 -*-
- s.has_rdoc = true
- s.rdoc_options = ["--main", "README.markdown"]
- s.extra_rdoc_files = ["README.markdown"]
- s.add_development_dependency "riot"
- s.add_development_dependency "rack-test"
+Gem::Specification.new do |s|
+ s.name = %q{chicago}
+ s.version = "0.3.6"
- # run git ls-files to get an updated list
- s.files = %w[
- MIT-LICENSE
- README.markdown
- chicago.gemspec
- lib/chicago.rb
- lib/chicago/application.rb
- lib/chicago/helpers.rb
- lib/chicago/responders.rb
- lib/chicago/riot.rb
- lib/chicago/riot/macros.rb
- lib/chicago/shoulda.rb
- lib/chicago/shoulda/sinatra.rb
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Justin 'Gus' Knowlden"]
+ s.date = %q{2009-11-21}
+ s.description = %q{Sinatra runtime and testing extensions used commonly by Thumblemonks. For example, :json_response, which turns an object into JSON and sets the content-type appropriately.}
+ s.email = %q{gus@gusg.us}
+ s.extra_rdoc_files = [
+ "README.markdown"
+ ]
+ s.files = [
+ ".gitignore",
+ "MIT-LICENSE",
+ "README.markdown",
+ "Rakefile",
+ "chicago.gemspec",
+ "lib/chicago.rb",
+ "lib/chicago/application.rb",
+ "lib/chicago/helpers.rb",
+ "lib/chicago/responders.rb",
+ "lib/chicago/riot.rb",
+ "lib/chicago/riot/macros.rb",
+ "lib/chicago/shoulda.rb",
+ "lib/chicago/shoulda/sinatra.rb",
+ "test/riot_tests/application_test.rb",
+ "test/riot_tests/helpers_test.rb",
+ "test/riot_tests/responders_test.rb",
+ "test/riot_tests/riot_macros_test.rb",
+ "test/riot_tests/test_helper.rb",
+ "test/shoulda_tests/application_test.rb",
+ "test/shoulda_tests/helpers_test.rb",
+ "test/shoulda_tests/responders_test.rb",
+ "test/shoulda_tests/test_helper.rb"
]
-
- s.test_files = %w[
- Rakefile
- test/application_test.rb
- test/helpers_test.rb
- test/protest_macros_test.rb
- test/responders_test.rb
- test/shoulda_tests/application_test.rb
- test/shoulda_tests/helpers_test.rb
- test/shoulda_tests/responders_test.rb
- test/shoulda_tests/test_helper.rb
- test/test_helper.rb
+ s.homepage = %q{http://github.com/thumblemonks/chicago}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.5}
+ s.summary = %q{Sinatra runtime and testing extensions used commonly by Thumblemonks}
+ s.test_files = [
+ "test/riot_tests/application_test.rb",
+ "test/riot_tests/helpers_test.rb",
+ "test/riot_tests/responders_test.rb",
+ "test/riot_tests/riot_macros_test.rb",
+ "test/riot_tests/test_helper.rb",
+ "test/shoulda_tests/application_test.rb",
+ "test/shoulda_tests/helpers_test.rb",
+ "test/shoulda_tests/responders_test.rb",
+ "test/shoulda_tests/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::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
+ s.add_development_dependency(%q<riot>, [">= 0"])
+ s.add_development_dependency(%q<rack-test>, [">= 0"])
+ else
+ s.add_dependency(%q<riot>, [">= 0"])
+ s.add_dependency(%q<rack-test>, [">= 0"])
+ end
+ else
+ s.add_dependency(%q<riot>, [">= 0"])
+ s.add_dependency(%q<rack-test>, [">= 0"])
+ end
end
+

0 comments on commit 8a25565

Please sign in to comment.