Permalink
Browse files

initial gemspec structure

  • Loading branch information...
1 parent df1c70b commit ed5249f75bd4e3d56f03600a94c4a14c8077b199 @tardate tardate committed Sep 18, 2010
Showing with 115 additions and 4 deletions.
  1. +2 −1 .gitignore
  2. +18 −3 Rakefile
  3. +95 −0 mysql2psql.gemspec
View
@@ -1,3 +1,4 @@
-config.yml
+*.yml
configs
test/fixtures/test*.sql
+pkg
View
@@ -9,11 +9,26 @@ begin
Jeweler::Tasks.new do |gem|
gem.name = "mysql2psql"
gem.version = Mysql2psql::Version::STRING
- gem.summary = %Q{TODO: one-line summary of your gem}
- gem.description = %Q{TODO: longer description of your gem}
+ gem.summary = %Q{Tool for converting mysql database to postgresql}
+ gem.description = %Q{It can create postgresql dump from mysql database or directly load data from mysql to
+ postgresql (at about 100 000 records per minute). Translates most data types and indexes.}
gem.email = "gallagher.paul@gmail.com"
gem.homepage = "http://github.com/tardate/mysql2postgresql"
- gem.authors = ["Paul Gallagher"]
+ gem.authors = [
+ "Max Lapshin <max@maxidoors.ru>",
+ "Anton Ageev <anton@ageev.name>",
+ "Samuel Tribehou <cracoucax@gmail.com>",
+ "Marco Nenciarini <marco.nenciarini@devise.it>",
+ "James Nobis <jnobis@jnobis.controldocs.com>",
+ "quel <github@quelrod.net>",
+ "Holger Amann <keeney@fehu.org>",
+ "Maxim Dobriakov <closer.main@gmail.com>",
+ "Michael Kimsal <mgkimsal@gmail.com>",
+ "Jacob Coby <jcoby@portallabs.com>",
+ "Neszt Tibor <neszt@tvnetwork.hu>",
+ "Miroslav Kratochvil <exa.exa@gmail.com>",
+ "Paul Gallagher <gallagher.paul@gmail.com>"
+ ]
gem.add_dependency "mysql", "= 2.8.1"
gem.add_dependency "pg", "= 0.9.0"
gem.add_development_dependency "test-unit", ">= 2.1.1"
View
@@ -0,0 +1,95 @@
+# Generated by jeweler
+# DO NOT EDIT THIS FILE DIRECTLY
+# Instead, edit Jeweler::Tasks in Rakefile, and run the gemspec command
+# -*- encoding: utf-8 -*-
+
+Gem::Specification.new do |s|
+ s.name = %q{mysql2psql}
+ s.version = "0.1.0"
+
+ s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
+ s.authors = ["Max Lapshin <max@maxidoors.ru>", "Anton Ageev <anton@ageev.name>", "Samuel Tribehou <cracoucax@gmail.com>", "Marco Nenciarini <marco.nenciarini@devise.it>", "James Nobis <jnobis@jnobis.controldocs.com>", "quel <github@quelrod.net>", "Holger Amann <keeney@fehu.org>", "Maxim Dobriakov <closer.main@gmail.com>", "Michael Kimsal <mgkimsal@gmail.com>", "Jacob Coby <jcoby@portallabs.com>", "Neszt Tibor <neszt@tvnetwork.hu>", "Miroslav Kratochvil <exa.exa@gmail.com>", "Paul Gallagher <gallagher.paul@gmail.com>"]
+ s.date = %q{2010-09-19}
+ s.default_executable = %q{mysql2psql}
+ s.description = %q{It can create postgresql dump from mysql database or directly load data from mysql to
+ postgresql (at about 100 000 records per minute). Translates most data types and indexes.}
+ s.email = %q{gallagher.paul@gmail.com}
+ s.executables = ["mysql2psql"]
+ s.extra_rdoc_files = [
+ "README.rdoc"
+ ]
+ s.files = [
+ ".gitignore",
+ "README.rdoc",
+ "Rakefile",
+ "bin/mysql2psql",
+ "lib/mysql2psql.rb",
+ "lib/mysql2psql/config.rb",
+ "lib/mysql2psql/config_base.rb",
+ "lib/mysql2psql/converter.rb",
+ "lib/mysql2psql/errors.rb",
+ "lib/mysql2psql/mysqlreader.rb",
+ "lib/mysql2psql/postgres_db_writer.rb",
+ "lib/mysql2psql/postgres_file_writer.rb",
+ "lib/mysql2psql/postgres_writer.rb",
+ "lib/mysql2psql/version.rb",
+ "lib/mysql2psql/writer.rb",
+ "test/fixtures/config_all_options.yml",
+ "test/fixtures/config_localmysql_to_db_convert_all.yml",
+ "test/fixtures/config_localmysql_to_db_convert_nothing.yml",
+ "test/fixtures/config_localmysql_to_file_convert_all.yml",
+ "test/fixtures/config_localmysql_to_file_convert_nothing.yml",
+ "test/fixtures/config_localmysql_to_file_data_only.yml",
+ "test/fixtures/config_localmysql_to_file_schema_only.yml",
+ "test/fixtures/seed_integration_tests.sql",
+ "test/integration/convert_to_db_test.rb",
+ "test/integration/convert_to_file_test.rb",
+ "test/integration/converter_test.rb",
+ "test/integration/mysqlreader_base_test.rb",
+ "test/integration/mysqlreader_test.rb",
+ "test/integration/postgres_db_writer_base_test.rb",
+ "test/lib/ext_test_unit.rb",
+ "test/lib/test_helper.rb",
+ "test/units/config_base_test.rb",
+ "test/units/config_test.rb",
+ "test/units/postgres_file_writer_test.rb"
+ ]
+ s.homepage = %q{http://github.com/tardate/mysql2postgresql}
+ s.rdoc_options = ["--charset=UTF-8"]
+ s.require_paths = ["lib"]
+ s.rubygems_version = %q{1.3.7}
+ s.summary = %q{Tool for converting mysql database to postgresql}
+ s.test_files = [
+ "test/integration/convert_to_db_test.rb",
+ "test/integration/convert_to_file_test.rb",
+ "test/integration/converter_test.rb",
+ "test/integration/mysqlreader_base_test.rb",
+ "test/integration/mysqlreader_test.rb",
+ "test/integration/postgres_db_writer_base_test.rb",
+ "test/lib/ext_test_unit.rb",
+ "test/lib/test_helper.rb",
+ "test/units/config_base_test.rb",
+ "test/units/config_test.rb",
+ "test/units/postgres_file_writer_test.rb"
+ ]
+
+ if s.respond_to? :specification_version then
+ current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
+ s.specification_version = 3
+
+ if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
+ s.add_runtime_dependency(%q<mysql>, ["= 2.8.1"])
+ s.add_runtime_dependency(%q<pg>, ["= 0.9.0"])
+ s.add_development_dependency(%q<test-unit>, [">= 2.1.1"])
+ else
+ s.add_dependency(%q<mysql>, ["= 2.8.1"])
+ s.add_dependency(%q<pg>, ["= 0.9.0"])
+ s.add_dependency(%q<test-unit>, [">= 2.1.1"])
+ end
+ else
+ s.add_dependency(%q<mysql>, ["= 2.8.1"])
+ s.add_dependency(%q<pg>, ["= 0.9.0"])
+ s.add_dependency(%q<test-unit>, [">= 2.1.1"])
+ end
+end
+

0 comments on commit ed5249f

Please sign in to comment.