ruote-beanstalk.gemspec in ruote-beanstalk-2.1.11 vs ruote-beanstalk.gemspec in ruote-beanstalk-2.2.0

- old
+ new

@@ -1,88 +1,31 @@ -# Generated by jeweler -# DO NOT EDIT THIS FILE DIRECTLY -# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command -# -*- encoding: utf-8 -*- +# encoding: utf-8 Gem::Specification.new do |s| - s.name = %q{ruote-beanstalk} - s.version = "2.1.11" - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["John Mettraux"] - s.date = %q{2010-10-13} - s.description = %q{Beanstalk participant/receiver/storage for ruote (a Ruby workflow engine)} - s.email = %q{jmettraux@gmail.com} - s.extra_rdoc_files = [ - "LICENSE.txt", - "README.md" + s.name = 'ruote-beanstalk' + s.version = File.read('lib/ruote/beanstalk/version.rb').match(/VERSION = '([^']+)'/)[1] + s.platform = Gem::Platform::RUBY + s.authors = [ 'John Mettraux' ] + s.email = [ 'jmettraux@gmail.com' ] + s.homepage = 'http://ruote.rubyforge.org' + s.rubyforge_project = 'ruote' + s.summary = 'Beanstalk participant/receiver/storage for ruote (a Ruby workflow engine)' + s.description = %q{ +Beanstalk participant/receiver/storage for ruote (a Ruby workflow engine) +} + + #s.files = `git ls-files`.split("\n") + s.files = Dir[ + 'Rakefile', + 'lib/**/*.rb', 'spec/**/*.rb', 'test/**/*.rb', + '*.gemspec', '*.txt', '*.rdoc', '*.md' ] - s.files = [ - "CHANGELOG.txt", - "CREDITS.txt", - "LICENSE.txt", - "README.md", - "Rakefile", - "TODO.txt", - "doc/storages.graffle/QuickLook/Preview.pdf", - "doc/storages.graffle/QuickLook/Thumbnail.tiff", - "doc/storages.graffle/data.plist", - "doc/storages.graffle/image3.png", - "doc/storages.graffle/image4.png", - "doc/storages.png", - "lib/ruote-beanstalk.rb", - "lib/ruote/beanstalk.rb", - "lib/ruote/beanstalk/fork.rb", - "lib/ruote/beanstalk/participant.rb", - "lib/ruote/beanstalk/participant_proxy.rb", - "lib/ruote/beanstalk/receiver.rb", - "lib/ruote/beanstalk/storage.rb", - "lib/ruote/beanstalk/version.rb", - "readme.rdoc", - "ruote-beanstalk.gemspec", - "serve.rb", - "test/functional/base.rb", - "test/functional/ft_0_participant.rb", - "test/functional/ft_1_receiver.rb", - "test/functional/test.rb", - "test/functional_connection.rb", - "test/test.rb" - ] - s.homepage = %q{http://github.com/jmettraux/ruote-beanstalk} - s.rdoc_options = ["--charset=UTF-8"] - s.require_paths = ["lib"] - s.rubyforge_project = %q{ruote} - s.rubygems_version = %q{1.3.7} - s.summary = %q{Beanstalk participant/receiver/storage for ruote (a Ruby workflow engine)} - s.test_files = [ - "test/test.rb" - ] - if s.respond_to? :specification_version then - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION - s.specification_version = 3 + s.add_runtime_dependency 'beanstalk-client', '1.1.0' + s.add_runtime_dependency 'ruote', ">= #{s.version}" - if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<ruote>, [">= 2.1.11"]) - s.add_runtime_dependency(%q<rufus-cloche>, [">= 0.1.20"]) - s.add_runtime_dependency(%q<beanstalk-client>, [">= 1.1.0"]) - s.add_development_dependency(%q<yard>, [">= 0"]) - s.add_development_dependency(%q<rake>, [">= 0"]) - s.add_development_dependency(%q<jeweler>, [">= 0"]) - else - s.add_dependency(%q<ruote>, [">= 2.1.11"]) - s.add_dependency(%q<rufus-cloche>, [">= 0.1.20"]) - s.add_dependency(%q<beanstalk-client>, [">= 1.1.0"]) - s.add_dependency(%q<yard>, [">= 0"]) - s.add_dependency(%q<rake>, [">= 0"]) - s.add_dependency(%q<jeweler>, [">= 0"]) - end - else - s.add_dependency(%q<ruote>, [">= 2.1.11"]) - s.add_dependency(%q<rufus-cloche>, [">= 0.1.20"]) - s.add_dependency(%q<beanstalk-client>, [">= 1.1.0"]) - s.add_dependency(%q<yard>, [">= 0"]) - s.add_dependency(%q<rake>, [">= 0"]) - s.add_dependency(%q<jeweler>, [">= 0"]) - end + s.add_development_dependency 'rake' + + s.require_path = 'lib' end