benhutton-mysql2psql 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/CHANGELOG +19 -0
- data/Gemfile +8 -0
- data/Gemfile.lock +34 -0
- data/MIT-LICENSE +20 -0
- data/README.rdoc +148 -0
- data/Rakefile +95 -0
- data/bin/mysql2psql +7 -0
- data/lib/mysql2psql/config.rb +142 -0
- data/lib/mysql2psql/config_base.rb +39 -0
- data/lib/mysql2psql/converter.rb +62 -0
- data/lib/mysql2psql/errors.rb +16 -0
- data/lib/mysql2psql/mysql_reader.rb +230 -0
- data/lib/mysql2psql/postgres_db_writer.rb +201 -0
- data/lib/mysql2psql/postgres_file_writer.rb +152 -0
- data/lib/mysql2psql/postgres_writer.rb +168 -0
- data/lib/mysql2psql/version.rb +9 -0
- data/lib/mysql2psql/writer.rb +6 -0
- data/lib/mysql2psql.rb +41 -0
- data/mysql2psql.gemspec +106 -0
- data/test/fixtures/config_all_options.yml +50 -0
- data/test/fixtures/seed_integration_tests.sql +119 -0
- data/test/integration/convert_to_db_test.rb +137 -0
- data/test/integration/convert_to_file_test.rb +121 -0
- data/test/integration/converter_test.rb +28 -0
- data/test/integration/mysql_reader_base_test.rb +34 -0
- data/test/integration/mysql_reader_test.rb +41 -0
- data/test/integration/postgres_db_writer_base_test.rb +22 -0
- data/test/lib/ext_test_unit.rb +33 -0
- data/test/lib/test_helper.rb +131 -0
- data/test/units/config_base_test.rb +49 -0
- data/test/units/config_test.rb +73 -0
- data/test/units/postgres_file_writer_test.rb +29 -0
- metadata +220 -0
metadata
ADDED
@@ -0,0 +1,220 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: benhutton-mysql2psql
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Max Lapshin <max@maxidoors.ru>
|
8
|
+
- Anton Ageev <anton@ageev.name>
|
9
|
+
- Samuel Tribehou <cracoucax@gmail.com>
|
10
|
+
- Marco Nenciarini <marco.nenciarini@devise.it>
|
11
|
+
- James Nobis <jnobis@jnobis.controldocs.com>
|
12
|
+
- quel <github@quelrod.net>
|
13
|
+
- Holger Amann <keeney@fehu.org>
|
14
|
+
- Maxim Dobriakov <closer.main@gmail.com>
|
15
|
+
- Michael Kimsal <mgkimsal@gmail.com>
|
16
|
+
- Jacob Coby <jcoby@portallabs.com>
|
17
|
+
- Neszt Tibor <neszt@tvnetwork.hu>
|
18
|
+
- Miroslav Kratochvil <exa.exa@gmail.com>
|
19
|
+
- Paul Gallagher <gallagher.paul@gmail.com>
|
20
|
+
- James Coleman <jtc331@gmail.com>
|
21
|
+
- Aaron Peckham
|
22
|
+
- James Tippett
|
23
|
+
- Tim Morgan
|
24
|
+
- dakhota
|
25
|
+
- Matthew Soldo
|
26
|
+
autorequire:
|
27
|
+
bindir: bin
|
28
|
+
cert_chain: []
|
29
|
+
date: 2012-02-13 00:00:00.000000000 Z
|
30
|
+
dependencies:
|
31
|
+
- !ruby/object:Gem::Dependency
|
32
|
+
name: mysql2psql
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
34
|
+
requirements:
|
35
|
+
- - '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
requirements:
|
42
|
+
- - '>='
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: '0'
|
45
|
+
- !ruby/object:Gem::Dependency
|
46
|
+
name: bundler
|
47
|
+
requirement: !ruby/object:Gem::Requirement
|
48
|
+
requirements:
|
49
|
+
- - ~>
|
50
|
+
- !ruby/object:Gem::Version
|
51
|
+
version: 1.0.21
|
52
|
+
type: :development
|
53
|
+
prerelease: false
|
54
|
+
version_requirements: !ruby/object:Gem::Requirement
|
55
|
+
requirements:
|
56
|
+
- - ~>
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: 1.0.21
|
59
|
+
- !ruby/object:Gem::Dependency
|
60
|
+
name: jeweler
|
61
|
+
requirement: !ruby/object:Gem::Requirement
|
62
|
+
requirements:
|
63
|
+
- - ~>
|
64
|
+
- !ruby/object:Gem::Version
|
65
|
+
version: 1.5.2
|
66
|
+
type: :development
|
67
|
+
prerelease: false
|
68
|
+
version_requirements: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ~>
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: 1.5.2
|
73
|
+
- !ruby/object:Gem::Dependency
|
74
|
+
name: test-unit
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
76
|
+
requirements:
|
77
|
+
- - '>='
|
78
|
+
- !ruby/object:Gem::Version
|
79
|
+
version: 2.1.1
|
80
|
+
type: :development
|
81
|
+
prerelease: false
|
82
|
+
version_requirements: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - '>='
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 2.1.1
|
87
|
+
- !ruby/object:Gem::Dependency
|
88
|
+
name: rake
|
89
|
+
requirement: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ~>
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: 0.9.2.2
|
94
|
+
type: :development
|
95
|
+
prerelease: false
|
96
|
+
version_requirements: !ruby/object:Gem::Requirement
|
97
|
+
requirements:
|
98
|
+
- - ~>
|
99
|
+
- !ruby/object:Gem::Version
|
100
|
+
version: 0.9.2.2
|
101
|
+
- !ruby/object:Gem::Dependency
|
102
|
+
name: rdoc
|
103
|
+
requirement: !ruby/object:Gem::Requirement
|
104
|
+
requirements:
|
105
|
+
- - ~>
|
106
|
+
- !ruby/object:Gem::Version
|
107
|
+
version: '3.12'
|
108
|
+
type: :development
|
109
|
+
prerelease: false
|
110
|
+
version_requirements: !ruby/object:Gem::Requirement
|
111
|
+
requirements:
|
112
|
+
- - ~>
|
113
|
+
- !ruby/object:Gem::Version
|
114
|
+
version: '3.12'
|
115
|
+
- !ruby/object:Gem::Dependency
|
116
|
+
name: mysql
|
117
|
+
requirement: !ruby/object:Gem::Requirement
|
118
|
+
requirements:
|
119
|
+
- - '='
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: 2.8.1
|
122
|
+
type: :runtime
|
123
|
+
prerelease: false
|
124
|
+
version_requirements: !ruby/object:Gem::Requirement
|
125
|
+
requirements:
|
126
|
+
- - '='
|
127
|
+
- !ruby/object:Gem::Version
|
128
|
+
version: 2.8.1
|
129
|
+
- !ruby/object:Gem::Dependency
|
130
|
+
name: pg
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
132
|
+
requirements:
|
133
|
+
- - '>='
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: '0'
|
136
|
+
type: :runtime
|
137
|
+
prerelease: false
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
139
|
+
requirements:
|
140
|
+
- - '>='
|
141
|
+
- !ruby/object:Gem::Version
|
142
|
+
version: '0'
|
143
|
+
description: |-
|
144
|
+
It can create postgresql dump from mysql database or directly load data from mysql to
|
145
|
+
postgresql (at about 100 000 records per minute). Translates most data types and indexes.
|
146
|
+
email: gallagher.paul@gmail.com
|
147
|
+
executables:
|
148
|
+
- mysql2psql
|
149
|
+
extensions: []
|
150
|
+
extra_rdoc_files:
|
151
|
+
- README.rdoc
|
152
|
+
files:
|
153
|
+
- CHANGELOG
|
154
|
+
- Gemfile
|
155
|
+
- Gemfile.lock
|
156
|
+
- MIT-LICENSE
|
157
|
+
- README.rdoc
|
158
|
+
- Rakefile
|
159
|
+
- bin/mysql2psql
|
160
|
+
- lib/mysql2psql.rb
|
161
|
+
- lib/mysql2psql/config.rb
|
162
|
+
- lib/mysql2psql/config_base.rb
|
163
|
+
- lib/mysql2psql/converter.rb
|
164
|
+
- lib/mysql2psql/errors.rb
|
165
|
+
- lib/mysql2psql/mysql_reader.rb
|
166
|
+
- lib/mysql2psql/postgres_db_writer.rb
|
167
|
+
- lib/mysql2psql/postgres_file_writer.rb
|
168
|
+
- lib/mysql2psql/postgres_writer.rb
|
169
|
+
- lib/mysql2psql/version.rb
|
170
|
+
- lib/mysql2psql/writer.rb
|
171
|
+
- mysql2psql.gemspec
|
172
|
+
- test/fixtures/config_all_options.yml
|
173
|
+
- test/fixtures/seed_integration_tests.sql
|
174
|
+
- test/integration/convert_to_db_test.rb
|
175
|
+
- test/integration/convert_to_file_test.rb
|
176
|
+
- test/integration/converter_test.rb
|
177
|
+
- test/integration/mysql_reader_base_test.rb
|
178
|
+
- test/integration/mysql_reader_test.rb
|
179
|
+
- test/integration/postgres_db_writer_base_test.rb
|
180
|
+
- test/lib/ext_test_unit.rb
|
181
|
+
- test/lib/test_helper.rb
|
182
|
+
- test/units/config_base_test.rb
|
183
|
+
- test/units/config_test.rb
|
184
|
+
- test/units/postgres_file_writer_test.rb
|
185
|
+
homepage: https://github.com/tardate/mysql2postgres
|
186
|
+
licenses: []
|
187
|
+
metadata: {}
|
188
|
+
post_install_message:
|
189
|
+
rdoc_options: []
|
190
|
+
require_paths:
|
191
|
+
- lib
|
192
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
193
|
+
requirements:
|
194
|
+
- - '>='
|
195
|
+
- !ruby/object:Gem::Version
|
196
|
+
version: '0'
|
197
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
198
|
+
requirements:
|
199
|
+
- - '>='
|
200
|
+
- !ruby/object:Gem::Version
|
201
|
+
version: '0'
|
202
|
+
requirements: []
|
203
|
+
rubyforge_project:
|
204
|
+
rubygems_version: 2.0.3
|
205
|
+
signing_key:
|
206
|
+
specification_version: 3
|
207
|
+
summary: Tool for converting mysql database to postgresql
|
208
|
+
test_files:
|
209
|
+
- test/integration/convert_to_db_test.rb
|
210
|
+
- test/integration/convert_to_file_test.rb
|
211
|
+
- test/integration/converter_test.rb
|
212
|
+
- test/integration/mysql_reader_base_test.rb
|
213
|
+
- test/integration/mysql_reader_test.rb
|
214
|
+
- test/integration/postgres_db_writer_base_test.rb
|
215
|
+
- test/lib/ext_test_unit.rb
|
216
|
+
- test/lib/test_helper.rb
|
217
|
+
- test/units/config_base_test.rb
|
218
|
+
- test/units/config_test.rb
|
219
|
+
- test/units/postgres_file_writer_test.rb
|
220
|
+
has_rdoc:
|