From b4bc1466f1765ee790ce257604daeaab751a38c3 Mon Sep 17 00:00:00 2001 From: Zach Dennis Date: Wed, 29 Aug 2012 23:45:16 -0400 Subject: [PATCH] Adding gemspec. To re-generate use: rake gemspec:generate --- activerecord-import.gemspec | 68 +++++++++++++++++++++++++++++++++++++ 1 file changed, 68 insertions(+) create mode 100644 activerecord-import.gemspec diff --git a/activerecord-import.gemspec b/activerecord-import.gemspec new file mode 100644 index 0000000..2f0cf16 --- /dev/null +++ b/activerecord-import.gemspec @@ -0,0 +1,68 @@ +# Generated by jeweler +# DO NOT EDIT THIS FILE DIRECTLY +# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec' +# -*- encoding: utf-8 -*- + +Gem::Specification.new do |s| + s.name = "activerecord-import" + s.version = "0.2.10" + + s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version= + s.authors = ["Zach Dennis"] + s.date = "2012-08-30" + s.description = "Extraction of the ActiveRecord::Base#import functionality from ar-extensions for Rails 3 and beyond" + s.email = "zach.dennis@gmail.com" + s.extra_rdoc_files = [ + "README.markdown" + ] + s.files = [ + "README.markdown", + "Rakefile", + "VERSION", + "lib/activerecord-import.rb", + "lib/activerecord-import/active_record/adapters/abstract_adapter.rb", + "lib/activerecord-import/active_record/adapters/jdbcmysql_adapter.rb", + "lib/activerecord-import/active_record/adapters/mysql2_adapter.rb", + "lib/activerecord-import/active_record/adapters/mysql_adapter.rb", + "lib/activerecord-import/active_record/adapters/postgresql_adapter.rb", + "lib/activerecord-import/active_record/adapters/seamless_database_pool_adapter.rb", + "lib/activerecord-import/active_record/adapters/sqlite3_adapter.rb", + "lib/activerecord-import/adapters/abstract_adapter.rb", + "lib/activerecord-import/adapters/mysql_adapter.rb", + "lib/activerecord-import/adapters/postgresql_adapter.rb", + "lib/activerecord-import/adapters/sqlite3_adapter.rb", + "lib/activerecord-import/base.rb", + "lib/activerecord-import/import.rb", + "lib/activerecord-import/mysql.rb", + "lib/activerecord-import/mysql2.rb", + "lib/activerecord-import/postgresql.rb", + "lib/activerecord-import/sqlite3.rb", + "lib/activerecord-import/synchronize.rb" + ] + s.homepage = "http://github.com/zdennis/activerecord-import" + s.require_paths = ["lib"] + s.rubygems_version = "1.8.24" + s.summary = "Bulk-loading extension for ActiveRecord" + + if s.respond_to? :specification_version then + s.specification_version = 3 + + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then + s.add_runtime_dependency(%q, ["~> 3.0"]) + s.add_development_dependency(%q, [">= 0"]) + s.add_development_dependency(%q, [">= 1.4.0"]) + s.add_runtime_dependency(%q, ["~> 3.0"]) + else + s.add_dependency(%q, ["~> 3.0"]) + s.add_dependency(%q, [">= 0"]) + s.add_dependency(%q, [">= 1.4.0"]) + s.add_dependency(%q, ["~> 3.0"]) + end + else + s.add_dependency(%q, ["~> 3.0"]) + s.add_dependency(%q, [">= 0"]) + s.add_dependency(%q, [">= 1.4.0"]) + s.add_dependency(%q, ["~> 3.0"]) + end +end +