backgrounded.gemspec in backgrounded-2.1.0 vs backgrounded.gemspec in backgrounded-2.1.1

- old
+ new

@@ -1,30 +1,29 @@ -# -*- encoding: utf-8 -*- -$:.push File.expand_path("../lib", __FILE__) -require "backgrounded/version" +# coding: utf-8 +lib = File.expand_path('../lib', __FILE__) +$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib) +require 'backgrounded/version' -Gem::Specification.new do |s| - s.name = "backgrounded" - s.version = Backgrounded::VERSION - s.platform = Gem::Platform::RUBY - s.authors = ["Ryan Sonnek"] - s.email = ["ryan@codecrate.com"] - s.homepage = "http://github.com/wireframe/backgrounded" - s.summary = %q{Simple API to perform work in the background} - s.description = %q{Execute any ActiveRecord Model method in the background} +Gem::Specification.new do |spec| + spec.name = 'backgrounded' + spec.version = Backgrounded::VERSION + spec.authors = ['Ryan Sonnek'] + spec.email = ['ryan@codecrate.com'] - s.rubyforge_project = "backgrounded" + spec.summary = %q{Simple API to perform work in the background} + spec.description = %q{Execute any ActiveRecord Model method in the background} + spec.homepage = 'http://github.com/wireframe/backgrounded' - s.add_runtime_dependency(%q<activerecord>, [">= 2.3.10"]) - s.add_runtime_dependency(%q<activesupport>, [">= 2.3.10"]) - s.add_development_dependency(%q<shoulda>, [">= 0"]) - s.add_development_dependency(%q<mocha>, [">= 0"]) - s.add_development_dependency(%q<sqlite3-ruby>, [">= 1.3.2"]) - s.add_development_dependency(%q<rake>, [">= 0.9.2.2"]) - s.add_development_dependency(%q<pry>, [">= 0.9.12"]) - s.add_development_dependency(%q<test_after_commit>, [">= 0"]) + spec.add_runtime_dependency 'rails', '>= 3.0.0' - 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"] + spec.add_development_dependency 'bundler', '~> 1.11' + spec.add_development_dependency 'rake', '~> 10.0' + spec.add_development_dependency 'rspec', "~> 3.0" + spec.add_development_dependency 'sqlite3-ruby', '>= 1.3.2' + spec.add_development_dependency 'pry', '>= 0.9.12' + spec.add_development_dependency 'test_after_commit' + + spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } + spec.bindir = "exe" + spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) } + spec.require_paths = ["lib"] end