padrino.gemspec in padrino-0.9.10 vs padrino.gemspec in padrino-0.9.11

- old
+ new

@@ -1,76 +1,27 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command -# -*- encoding: utf-8 -*- +require File.expand_path("../../padrino-core/lib/padrino-core/version.rb", __FILE__) +require 'rubygems' +require 'bundler' Gem::Specification.new do |s| s.name = %q{padrino} - s.version = "0.9.10" - - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= + s.rubyforge_project = %q{padrino} s.authors = ["Padrino Team", "Nathan Esquenazi", "Davide D'Agostino", "Arthur Chiu"] - s.date = %q{2010-04-22} - s.description = %q{The Godfather of Sinatra provides a full-stack agnostic framework on top of Sinatra} s.email = %q{padrinorb@gmail.com} - s.extra_rdoc_files = [ - "README.rdoc" - ] - s.files = [ - ".document", - ".gitignore", - "LICENSE", - "README.rdoc", - "Rakefile", - "lib/padrino.rb", - "padrino.gemspec", - "test/helper.rb", - "test/test_padrino.rb" - ] + s.summary = %q{The Godfather of Sinatra} + s.version = "0.9.10" s.homepage = %q{http://github.com/padrino/padrino-framework} + s.description = %q{The Godfather of Sinatra provides a full-stack agnostic framework on top of Sinatra} + s.required_rubygems_version = ">= 1.3.6" + s.version = Padrino.version + s.date = Time.now.strftime("%Y-%m-%d") + s.extra_rdoc_files = Dir["*.rdoc"] + s.files = %w(.document .gitignore LICENSE README.rdoc Rakefile padrino.gemspec) + Dir.glob("{bin,lib,test}/**/*") s.rdoc_options = ["--charset=UTF-8"] - s.require_paths = ["lib"] - s.rubyforge_project = %q{padrino} - s.rubygems_version = %q{1.3.6} - s.summary = %q{The Godfather of Sinatra} - - 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<haml>, [">= 2.2.1"]) - s.add_development_dependency(%q<shoulda>, [">= 2.10.3"]) - 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<padrino-core>, ["= 0.9.10"]) - s.add_runtime_dependency(%q<padrino-helpers>, ["= 0.9.10"]) - s.add_runtime_dependency(%q<padrino-mailer>, ["= 0.9.10"]) - s.add_runtime_dependency(%q<padrino-gen>, ["= 0.9.10"]) - s.add_runtime_dependency(%q<padrino-admin>, ["= 0.9.10"]) - else - s.add_dependency(%q<haml>, [">= 2.2.1"]) - s.add_dependency(%q<shoulda>, [">= 2.10.3"]) - 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<padrino-core>, ["= 0.9.10"]) - s.add_dependency(%q<padrino-helpers>, ["= 0.9.10"]) - s.add_dependency(%q<padrino-mailer>, ["= 0.9.10"]) - s.add_dependency(%q<padrino-gen>, ["= 0.9.10"]) - s.add_dependency(%q<padrino-admin>, ["= 0.9.10"]) - end - else - s.add_dependency(%q<haml>, [">= 2.2.1"]) - s.add_dependency(%q<shoulda>, [">= 2.10.3"]) - 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<padrino-core>, ["= 0.9.10"]) - s.add_dependency(%q<padrino-helpers>, ["= 0.9.10"]) - s.add_dependency(%q<padrino-mailer>, ["= 0.9.10"]) - s.add_dependency(%q<padrino-gen>, ["= 0.9.10"]) - s.add_dependency(%q<padrino-admin>, ["= 0.9.10"]) - end -end - + s.require_path = 'lib' + s.add_runtime_dependency(%q<padrino-core>, ["= #{Padrino.version}"]) + s.add_runtime_dependency(%q<padrino-helpers>, ["= #{Padrino.version}"]) + s.add_runtime_dependency(%q<padrino-mailer>, ["= #{Padrino.version}"]) + s.add_runtime_dependency(%q<padrino-gen>, ["= #{Padrino.version}"]) + s.add_runtime_dependency(%q<padrino-admin>, ["= #{Padrino.version}"]) + s.add_bundler_dependencies :development +end \ No newline at end of file