sauce.gemspec in sauce-1.0.2 vs sauce.gemspec in sauce-2.0.0

- old
+ new

@@ -1,77 +1,26 @@ # -*- encoding: utf-8 -*- Gem::Specification.new do |s| s.name = %q{sauce} - s.version = "1.0.2" + s.version = '2.0.0' s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["Eric Allen", "Sean Grove", "Steven Hazel", "Santiago Suarez Ordoñez"] - s.date = %q{2011-07-25} + s.authors = ["Eric Allen", "Sean Grove", "Steven Hazel", "R. Tyler Croy", "Santiago Suarez Ordoñez"] + s.date = %q{2012-06-26} s.default_executable = %q{sauce} s.description = %q{A Ruby interface to Sauce OnDemand.} s.email = %q{help@saucelabs.com} s.executables = ["sauce"] - s.files = [ - "LICENSE", - "README.markdown", - "Rakefile", - "bin/sauce", - "examples/helper.rb", - "examples/other_spec.rb", - "examples/saucelabs_spec.rb", - "examples/test_saucelabs.rb", - "examples/test_saucelabs2.rb", - "generators/sauce/sauce_generator.rb", - "generators/sauce/templates/sauce.rake", - "lib/generators/sauce/install/install_generator.rb", - "lib/generators/sauce/install/templates/sauce.rake", - "lib/sauce.rb", - "lib/sauce/capybara.rb", - "lib/sauce/client.rb", - "lib/sauce/config.rb", - "lib/sauce/connect.rb", - "lib/sauce/heroku.rb", - "lib/sauce/integrations.rb", - "lib/sauce/job.rb", - "lib/sauce/raketasks.rb", - "lib/sauce/selenium.rb", - "lib/sauce/utilities.rb", - "sauce.gemspec", - "support/sauce_connect", - "support/selenium-server.jar", - "support/simplejson/LICENSE.txt", - "support/simplejson/__init__.py", - "support/simplejson/decoder.py", - "support/simplejson/encoder.py", - "support/simplejson/ordered_dict.py", - "support/simplejson/scanner.py", - "support/simplejson/tool.py", - "test/helper.rb", - "test/test_config.rb", - "test/test_job.rb", - "test/test_connect.rb", - "test/test_selenium.rb", - "test/test_selenium2.rb" - ] + # Include pretty much everything in Git except the examples/ directory + s.files = `git ls-files`.split("\n").collect { |f| f unless f.include? 'examples' }.compact s.homepage = %q{http://github.com/saucelabs/sauce_ruby} s.require_paths = ["lib"] - s.rubygems_version = %q{1.4.2} + s.rubygems_version = %q{2.0.0} s.summary = %q{Ruby access to Sauce Labs' features} - s.test_files = [ - "examples/helper.rb", - "examples/other_spec.rb", - "examples/saucelabs_spec.rb", - "examples/test_saucelabs.rb", - "examples/test_saucelabs2.rb", - "test/helper.rb", - "test/test_config.rb", - "test/test_connect.rb", - "test/test_selenium.rb", - "test/test_job.rb", - "test/test_selenium2.rb" - ] + s.test_files = Dir['test/*.rb'] + s.add_dependency('net-http-persistent') if s.respond_to? :specification_version then s.specification_version = 3 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then @@ -102,6 +51,5 @@ s.add_dependency(%q<json>, [">= 1.2.0"]) s.add_dependency(%q<cmdparse>, [">= 2.0.2"]) s.add_dependency(%q<highline>, [">= 1.5.0"]) end end -