vestal_versions.gemspec in vestal_versions-1.0.2 vs vestal_versions.gemspec in vestal_versions-2.0.0

- old
+ new

@@ -1,105 +1,23 @@ -# 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{vestal_versions} - s.version = "1.0.2" +Gem::Specification.new do |gem| + gem.name = 'vestal_versions' + gem.version = '2.0.0' - s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= - s.authors = ["laserlemon"] - s.date = %q{2010-01-13} - s.description = %q{Keep a DRY history of your ActiveRecord models' changes} - s.email = %q{steve@laserlemon.com} - s.extra_rdoc_files = [ - "LICENSE", - "README.rdoc" - ] - s.files = [ - ".gitignore", - "LICENSE", - "README.rdoc", - "Rakefile", - "VERSION", - "generators/vestal_versions/templates/initializer.rb", - "generators/vestal_versions/templates/migration.rb", - "generators/vestal_versions/vestal_versions_generator.rb", - "init.rb", - "lib/vestal_versions.rb", - "lib/vestal_versions/changes.rb", - "lib/vestal_versions/conditions.rb", - "lib/vestal_versions/configuration.rb", - "lib/vestal_versions/control.rb", - "lib/vestal_versions/creation.rb", - "lib/vestal_versions/options.rb", - "lib/vestal_versions/reload.rb", - "lib/vestal_versions/reset.rb", - "lib/vestal_versions/reversion.rb", - "lib/vestal_versions/tagging.rb", - "lib/vestal_versions/users.rb", - "lib/vestal_versions/version.rb", - "lib/vestal_versions/versioned.rb", - "lib/vestal_versions/versions.rb", - "test/changes_test.rb", - "test/conditions_test.rb", - "test/configuration_test.rb", - "test/control_test.rb", - "test/creation_test.rb", - "test/options_test.rb", - "test/reload_test.rb", - "test/reset_test.rb", - "test/reversion_test.rb", - "test/schema.rb", - "test/tagging_test.rb", - "test/test_helper.rb", - "test/users_test.rb", - "test/version_test.rb", - "test/versioned_test.rb", - "test/versions_test.rb", - "vestal_versions.gemspec" - ] - s.homepage = %q{http://github.com/laserlemon/vestal_versions} - s.rdoc_options = ["--charset=UTF-8"] - s.require_paths = ["lib"] - s.rubygems_version = %q{1.3.5} - s.summary = %q{Keep a DRY history of your ActiveRecord models' changes} - s.test_files = [ - "test/changes_test.rb", - "test/conditions_test.rb", - "test/configuration_test.rb", - "test/control_test.rb", - "test/creation_test.rb", - "test/options_test.rb", - "test/reload_test.rb", - "test/reset_test.rb", - "test/reversion_test.rb", - "test/schema.rb", - "test/tagging_test.rb", - "test/test_helper.rb", - "test/users_test.rb", - "test/version_test.rb", - "test/versioned_test.rb", - "test/versions_test.rb" - ] + gem.authors = ['Steve Richert', "James O'Kelly", 'C. Jason Harrelson'] + gem.email = ['steve.richert@gmail.com', 'dreamr.okelly@gmail.com', 'jason@lookforwardenterprises.com'] + gem.description = "Keep a DRY history of your ActiveRecord models' changes" + gem.summary = gem.description + gem.homepage = 'http://github.com/laserlemon/vestal_versions' + gem.license = 'MIT' - if s.respond_to? :specification_version then - current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION - s.specification_version = 3 + gem.add_dependency 'activerecord', '>= 3', '< 5' + gem.add_dependency 'activesupport', '>= 3', '< 5' - if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then - s.add_runtime_dependency(%q<activerecord>, [">= 2.1.0"]) - s.add_development_dependency(%q<shoulda>, [">= 0"]) - s.add_development_dependency(%q<mocha>, [">= 0"]) - else - s.add_dependency(%q<activerecord>, [">= 2.1.0"]) - s.add_dependency(%q<shoulda>, [">= 0"]) - s.add_dependency(%q<mocha>, [">= 0"]) - end - else - s.add_dependency(%q<activerecord>, [">= 2.1.0"]) - s.add_dependency(%q<shoulda>, [">= 0"]) - s.add_dependency(%q<mocha>, [">= 0"]) - end -end + gem.add_development_dependency 'bundler', '~> 1.0' + gem.add_development_dependency 'rake', '~> 10.0' + gem.files = `git ls-files`.split($\) + gem.test_files = gem.files.grep(/^spec/) + gem.require_paths = ['lib'] +end