Permalink
Browse files

Removes jeweler and use simple gemspec

  • Loading branch information...
1 parent 51f975a commit a80a518a2cc05318eb7ac82dac879df59fa2dd99 @nesquena committed Feb 19, 2011
Showing with 45 additions and 319 deletions.
  1. +0 −4 Gemfile
  2. +4 −28 Rakefile
  3. +0 −1 VERSION
  4. +3 −0 lib/sinatra_more/version.rb
  5. +27 −275 sinatra_more.gemspec
  6. +11 −11 test/test_warden_plugin.rb
View
@@ -1,7 +1,3 @@
source :rubygems
-gem "jeweler"
-gem "builder"
-gem "xml-simple"
-gem "warden"
gemspec
View
@@ -1,32 +1,8 @@
-# $ rake version:bump:patch release
-
+# $ EDIT version.rb, rake release
require 'rubygems'
require 'rake'
-
-begin
- require 'jeweler'
- Jeweler::Tasks.new do |gem|
- gem.name = "sinatra_more"
- gem.summary = "Expands sinatra to allow for complex applications"
- gem.description = "Expands sinatra with standard helpers and tools to allow for complex applications"
- gem.email = "nesquena@gmail.com"
- gem.homepage = "http://github.com/nesquena/sinatra_more"
- gem.authors = ["Nathan Esquenazi"]
- gem.add_runtime_dependency "sinatra", ">= 0.9.2"
- gem.add_runtime_dependency "tilt", ">= 0.2"
- gem.add_runtime_dependency "thor", ">= 0.11.8"
- gem.add_runtime_dependency "activesupport", "< 3.0.0"
- gem.add_runtime_dependency "bundler", ">= 0.9.2"
- gem.add_development_dependency "haml", ">= 2.2.14"
- gem.add_development_dependency "shoulda", ">= 2.10.2"
- gem.add_development_dependency "mocha", ">= 0.9.7"
- gem.add_development_dependency "rack-test", ">= 0.5.0"
- gem.add_development_dependency "webrat", ">= 0.5.1"
- end
- Jeweler::GemcutterTasks.new
-rescue LoadError
- puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
-end
+require 'bundler'
+Bundler::GemHelper.install_tasks
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
@@ -58,4 +34,4 @@ Rake::RDocTask.new do |rdoc|
rdoc.title = "sinatra_more #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
-end
+end
View
@@ -1 +0,0 @@
-0.3.41
@@ -0,0 +1,3 @@
+module SinatraMore
+ VERSION = "0.3.42"
+end
View
@@ -1,288 +1,40 @@
-# Generated by jeweler
-# DO NOT EDIT THIS FILE DIRECTLY
-# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
# -*- encoding: utf-8 -*-
+$:.push File.expand_path("../lib", __FILE__)
+require "sinatra_more/version"
Gem::Specification.new do |s|
s.name = %q{sinatra_more}
s.version = "0.3.41"
+ s.platform = Gem::Platform::RUBY
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Nathan Esquenazi"]
- s.date = %q{2011-01-21}
+ s.email = %q{nesquena@gmail.com}
+ s.date = %q{2011-02-18}
s.default_executable = %q{sinatra_gen}
s.description = %q{Expands sinatra with standard helpers and tools to allow for complex applications}
- s.email = %q{nesquena@gmail.com}
- s.executables = ["sinatra_gen"]
- s.extra_rdoc_files = [
- "LICENSE",
- "README.rdoc",
- "TODO"
- ]
- s.files = [
- ".document",
- "Gemfile",
- "Gemfile.lock",
- "IDEAS.md",
- "LICENSE",
- "README.rdoc",
- "ROADMAP",
- "Rakefile",
- "TODO",
- "VERSION",
- "bin/sinatra_gen",
- "generators/base_app/.gitignore",
- "generators/base_app/Gemfile",
- "generators/base_app/app/.empty_directory",
- "generators/base_app/app/helpers/.empty_directory",
- "generators/base_app/app/helpers/view_helpers.rb",
- "generators/base_app/app/mailers/.empty_directory",
- "generators/base_app/app/models/.empty_directory",
- "generators/base_app/app/routes/.empty_directory",
- "generators/base_app/app/routes/main.rb.tt",
- "generators/base_app/app/views/.empty_directory",
- "generators/base_app/config.ru.tt",
- "generators/base_app/config/boot.rb.tt",
- "generators/base_app/config/dependencies.rb.tt",
- "generators/base_app/lib/.empty_directory",
- "generators/base_app/log/.empty_directory",
- "generators/base_app/public/images/.empty_directory",
- "generators/base_app/public/images/.gitignore",
- "generators/base_app/public/javascripts/.empty_directory",
- "generators/base_app/public/stylesheets/.empty_directory",
- "generators/base_app/test/models/.empty_directory",
- "generators/base_app/test/routes/.empty_directory",
- "generators/base_app/test/test_config.rb.tt",
- "generators/base_app/tmp/.empty_directory",
- "generators/base_app/vendor/gems/.empty_directory",
- "generators/components/component_actions.rb",
- "generators/components/files/jquery-1.3.2.min.js",
- "generators/components/files/lowpro.js",
- "generators/components/files/prototype.js",
- "generators/components/files/right-min.js",
- "generators/components/files/right-olds-min.js",
- "generators/components/mocks/mocha_mock_gen.rb",
- "generators/components/mocks/rr_mock_gen.rb",
- "generators/components/orms/activerecord_orm_gen.rb",
- "generators/components/orms/couchrest_orm_gen.rb",
- "generators/components/orms/datamapper_orm_gen.rb",
- "generators/components/orms/mongomapper_orm_gen.rb",
- "generators/components/orms/sequel_orm_gen.rb",
- "generators/components/renderers/erb_renderer_gen.rb",
- "generators/components/renderers/haml_renderer_gen.rb",
- "generators/components/scripts/jquery_script_gen.rb",
- "generators/components/scripts/prototype_script_gen.rb",
- "generators/components/scripts/rightjs_script_gen.rb",
- "generators/components/tests/bacon_test_gen.rb",
- "generators/components/tests/riot_test_gen.rb",
- "generators/components/tests/rspec_test_gen.rb",
- "generators/components/tests/shoulda_test_gen.rb",
- "generators/components/tests/testspec_test_gen.rb",
- "generators/generator_actions.rb",
- "generators/skeleton_generator.rb",
- "lib/sinatra_more.rb",
- "lib/sinatra_more/mailer_plugin.rb",
- "lib/sinatra_more/mailer_plugin/mail_object.rb",
- "lib/sinatra_more/mailer_plugin/mailer_base.rb",
- "lib/sinatra_more/markup_plugin.rb",
- "lib/sinatra_more/markup_plugin/asset_tag_helpers.rb",
- "lib/sinatra_more/markup_plugin/form_builder/abstract_form_builder.rb",
- "lib/sinatra_more/markup_plugin/form_builder/standard_form_builder.rb",
- "lib/sinatra_more/markup_plugin/form_helpers.rb",
- "lib/sinatra_more/markup_plugin/format_helpers.rb",
- "lib/sinatra_more/markup_plugin/output_helpers.rb",
- "lib/sinatra_more/markup_plugin/tag_helpers.rb",
- "lib/sinatra_more/render_plugin.rb",
- "lib/sinatra_more/render_plugin/render_helpers.rb",
- "lib/sinatra_more/routing_plugin.rb",
- "lib/sinatra_more/routing_plugin/named_route.rb",
- "lib/sinatra_more/routing_plugin/routing_helpers.rb",
- "lib/sinatra_more/support_lite.rb",
- "lib/sinatra_more/warden_plugin.rb",
- "lib/sinatra_more/warden_plugin/warden_helpers.rb",
- "sinatra_more.gemspec",
- "test/active_support_helpers.rb",
- "test/fixtures/mailer_app/app.rb",
- "test/fixtures/mailer_app/views/demo_mailer/sample_mail.erb",
- "test/fixtures/mailer_app/views/sample_mailer/anniversary_message.erb",
- "test/fixtures/mailer_app/views/sample_mailer/birthday_message.erb",
- "test/fixtures/markup_app/app.rb",
- "test/fixtures/markup_app/views/capture_concat.erb",
- "test/fixtures/markup_app/views/capture_concat.haml",
- "test/fixtures/markup_app/views/content_for.erb",
- "test/fixtures/markup_app/views/content_for.haml",
- "test/fixtures/markup_app/views/content_tag.erb",
- "test/fixtures/markup_app/views/content_tag.haml",
- "test/fixtures/markup_app/views/fields_for.erb",
- "test/fixtures/markup_app/views/fields_for.haml",
- "test/fixtures/markup_app/views/form_for.erb",
- "test/fixtures/markup_app/views/form_for.haml",
- "test/fixtures/markup_app/views/form_tag.erb",
- "test/fixtures/markup_app/views/form_tag.haml",
- "test/fixtures/markup_app/views/link_to.erb",
- "test/fixtures/markup_app/views/link_to.haml",
- "test/fixtures/markup_app/views/mail_to.erb",
- "test/fixtures/markup_app/views/mail_to.haml",
- "test/fixtures/markup_app/views/meta_tag.erb",
- "test/fixtures/markup_app/views/meta_tag.haml",
- "test/fixtures/markup_app/views/yield_content.erb",
- "test/fixtures/markup_app/views/yield_content.haml",
- "test/fixtures/render_app/app.rb",
- "test/fixtures/render_app/views/erb/test.erb",
- "test/fixtures/render_app/views/haml/test.haml",
- "test/fixtures/render_app/views/template/_user.haml",
- "test/fixtures/render_app/views/template/haml_template.haml",
- "test/fixtures/render_app/views/template/some_template.haml",
- "test/fixtures/routing_app/app.rb",
- "test/fixtures/routing_app/views/index.haml",
- "test/fixtures/warden_app/app.rb",
- "test/fixtures/warden_app/views/dashboard.haml",
- "test/generators/test_skeleton_generator.rb",
- "test/helper.rb",
- "test/mailer_plugin/test_mail_object.rb",
- "test/mailer_plugin/test_mailer_base.rb",
- "test/markup_plugin/test_asset_tag_helpers.rb",
- "test/markup_plugin/test_form_builder.rb",
- "test/markup_plugin/test_form_helpers.rb",
- "test/markup_plugin/test_format_helpers.rb",
- "test/markup_plugin/test_output_helpers.rb",
- "test/markup_plugin/test_tag_helpers.rb",
- "test/test_mailer_plugin.rb",
- "test/test_render_plugin.rb",
- "test/test_routing_plugin.rb",
- "test/test_warden_plugin.rb",
- "vendor/pony/lib/pony.rb",
- "vendor/pony/spec/base.rb",
- "vendor/pony/spec/pony_spec.rb"
- ]
- s.homepage = %q{http://github.com/nesquena/sinatra_more}
- s.require_paths = ["lib"]
- s.rubygems_version = %q{1.3.7}
- s.summary = %q{Expands sinatra to allow for complex applications}
- s.test_files = [
- "test/active_support_helpers.rb",
- "test/fixtures/mailer_app/app.rb",
- "test/fixtures/markup_app/app.rb",
- "test/fixtures/render_app/app.rb",
- "test/fixtures/routing_app/app.rb",
- "test/fixtures/warden_app/app.rb",
- "test/generators/test_skeleton_generator.rb",
- "test/helper.rb",
- "test/mailer_plugin/test_mail_object.rb",
- "test/mailer_plugin/test_mailer_base.rb",
- "test/markup_plugin/test_asset_tag_helpers.rb",
- "test/markup_plugin/test_form_builder.rb",
- "test/markup_plugin/test_form_helpers.rb",
- "test/markup_plugin/test_format_helpers.rb",
- "test/markup_plugin/test_output_helpers.rb",
- "test/markup_plugin/test_tag_helpers.rb",
- "test/test_mailer_plugin.rb",
- "test/test_render_plugin.rb",
- "test/test_routing_plugin.rb",
- "test/test_warden_plugin.rb"
- ]
+ s.summary = s.description
- if s.respond_to? :specification_version then
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
- s.specification_version = 3
+ s.add_dependency "sinatra", ">= 0.9.2"
+ s.add_dependency "tilt", ">= 0.2"
+ s.add_dependency "thor", ">= 0.11.8"
+ s.add_dependency "activesupport", "< 2.3.8"
+ s.add_dependency "bundler", ">= 0.9.2"
+ s.add_development_dependency "haml", ">= 2.2.14"
+ s.add_development_dependency "shoulda", ">= 2.10.2"
+ s.add_development_dependency "mocha", ">= 0.9.7"
+ s.add_development_dependency "rack-test", ">= 0.5.0"
+ s.add_development_dependency "webrat", ">= 0.5.1"
+ s.add_development_dependency "jeweler"
+ s.add_development_dependency "builder"
+ s.add_development_dependency "tmail"
+ s.add_development_dependency "xml-simple"
+ s.add_development_dependency "warden"
- if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
- s.add_runtime_dependency(%q<jeweler>, [">= 0"])
- s.add_runtime_dependency(%q<builder>, [">= 0"])
- s.add_runtime_dependency(%q<xml-simple>, [">= 0"])
- s.add_runtime_dependency(%q<warden>, [">= 0"])
- s.add_runtime_dependency(%q<tmail>, [">= 0"])
- s.add_runtime_dependency(%q<sinatra_more>, [">= 0"])
- s.add_development_dependency(%q<haml>, [">= 2.2.14"])
- s.add_development_dependency(%q<shoulda>, [">= 2.10.2"])
- s.add_development_dependency(%q<mocha>, [">= 0.9.7"])
- s.add_development_dependency(%q<rack-test>, [">= 0.5.0"])
- s.add_development_dependency(%q<webrat>, [">= 0.5.1"])
- s.add_development_dependency(%q<haml>, [">= 2.2.14"])
- s.add_development_dependency(%q<shoulda>, [">= 2.10.2"])
- s.add_development_dependency(%q<mocha>, [">= 0.9.7"])
- s.add_development_dependency(%q<rack-test>, [">= 0.5.0"])
- s.add_development_dependency(%q<webrat>, [">= 0.5.1"])
- s.add_development_dependency(%q<haml>, [">= 2.2.14"])
- s.add_development_dependency(%q<shoulda>, [">= 2.10.2"])
- s.add_development_dependency(%q<mocha>, [">= 0.9.7"])
- s.add_development_dependency(%q<rack-test>, [">= 0.5.0"])
- s.add_development_dependency(%q<webrat>, [">= 0.5.1"])
- s.add_runtime_dependency(%q<sinatra>, [">= 0.9.2"])
- s.add_runtime_dependency(%q<tilt>, [">= 0.2"])
- s.add_runtime_dependency(%q<thor>, [">= 0.11.8"])
- s.add_runtime_dependency(%q<activesupport>, ["< 3.0.0"])
- s.add_runtime_dependency(%q<bundler>, [">= 0.9.2"])
- s.add_development_dependency(%q<haml>, [">= 2.2.14"])
- s.add_development_dependency(%q<shoulda>, [">= 2.10.2"])
- s.add_development_dependency(%q<mocha>, [">= 0.9.7"])
- s.add_development_dependency(%q<rack-test>, [">= 0.5.0"])
- s.add_development_dependency(%q<webrat>, [">= 0.5.1"])
- else
- s.add_dependency(%q<jeweler>, [">= 0"])
- s.add_dependency(%q<builder>, [">= 0"])
- s.add_dependency(%q<xml-simple>, [">= 0"])
- s.add_dependency(%q<warden>, [">= 0"])
- s.add_dependency(%q<tmail>, [">= 0"])
- s.add_dependency(%q<sinatra_more>, [">= 0"])
- s.add_dependency(%q<haml>, [">= 2.2.14"])
- s.add_dependency(%q<shoulda>, [">= 2.10.2"])
- s.add_dependency(%q<mocha>, [">= 0.9.7"])
- s.add_dependency(%q<rack-test>, [">= 0.5.0"])
- s.add_dependency(%q<webrat>, [">= 0.5.1"])
- s.add_dependency(%q<haml>, [">= 2.2.14"])
- s.add_dependency(%q<shoulda>, [">= 2.10.2"])
- s.add_dependency(%q<mocha>, [">= 0.9.7"])
- s.add_dependency(%q<rack-test>, [">= 0.5.0"])
- s.add_dependency(%q<webrat>, [">= 0.5.1"])
- s.add_dependency(%q<haml>, [">= 2.2.14"])
- s.add_dependency(%q<shoulda>, [">= 2.10.2"])
- s.add_dependency(%q<mocha>, [">= 0.9.7"])
- s.add_dependency(%q<rack-test>, [">= 0.5.0"])
- s.add_dependency(%q<webrat>, [">= 0.5.1"])
- s.add_dependency(%q<sinatra>, [">= 0.9.2"])
- s.add_dependency(%q<tilt>, [">= 0.2"])
- s.add_dependency(%q<thor>, [">= 0.11.8"])
- s.add_dependency(%q<activesupport>, ["< 3.0.0"])
- s.add_dependency(%q<bundler>, [">= 0.9.2"])
- s.add_dependency(%q<haml>, [">= 2.2.14"])
- s.add_dependency(%q<shoulda>, [">= 2.10.2"])
- s.add_dependency(%q<mocha>, [">= 0.9.7"])
- s.add_dependency(%q<rack-test>, [">= 0.5.0"])
- s.add_dependency(%q<webrat>, [">= 0.5.1"])
- end
- else
- s.add_dependency(%q<jeweler>, [">= 0"])
- s.add_dependency(%q<builder>, [">= 0"])
- s.add_dependency(%q<xml-simple>, [">= 0"])
- s.add_dependency(%q<warden>, [">= 0"])
- s.add_dependency(%q<tmail>, [">= 0"])
- s.add_dependency(%q<sinatra_more>, [">= 0"])
- s.add_dependency(%q<haml>, [">= 2.2.14"])
- s.add_dependency(%q<shoulda>, [">= 2.10.2"])
- s.add_dependency(%q<mocha>, [">= 0.9.7"])
- s.add_dependency(%q<rack-test>, [">= 0.5.0"])
- s.add_dependency(%q<webrat>, [">= 0.5.1"])
- s.add_dependency(%q<haml>, [">= 2.2.14"])
- s.add_dependency(%q<shoulda>, [">= 2.10.2"])
- s.add_dependency(%q<mocha>, [">= 0.9.7"])
- s.add_dependency(%q<rack-test>, [">= 0.5.0"])
- s.add_dependency(%q<webrat>, [">= 0.5.1"])
- s.add_dependency(%q<haml>, [">= 2.2.14"])
- s.add_dependency(%q<shoulda>, [">= 2.10.2"])
- s.add_dependency(%q<mocha>, [">= 0.9.7"])
- s.add_dependency(%q<rack-test>, [">= 0.5.0"])
- s.add_dependency(%q<webrat>, [">= 0.5.1"])
- s.add_dependency(%q<sinatra>, [">= 0.9.2"])
- s.add_dependency(%q<tilt>, [">= 0.2"])
- s.add_dependency(%q<thor>, [">= 0.11.8"])
- s.add_dependency(%q<activesupport>, ["< 3.0.0"])
- s.add_dependency(%q<bundler>, [">= 0.9.2"])
- s.add_dependency(%q<haml>, [">= 2.2.14"])
- s.add_dependency(%q<shoulda>, [">= 2.10.2"])
- s.add_dependency(%q<mocha>, [">= 0.9.7"])
- s.add_dependency(%q<rack-test>, [">= 0.5.0"])
- s.add_dependency(%q<webrat>, [">= 0.5.1"])
- end
+ s.rubyforge_project = "sinatra_more"
+
+ s.files = `git ls-files`.split("\n")
+ s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
+ s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
+ s.require_paths = ["lib"]
end
Oops, something went wrong.

0 comments on commit a80a518

Please sign in to comment.