wyrm 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/wyrm/version.rb +1 -1
- data/wyrm.gemspec +4 -1
- metadata +30 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a446734aac434cad29e28523bbf7ed431b796b29
|
4
|
+
data.tar.gz: ab49b40fcb5d172c2d588e53ab8eafb19eb5d53b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a574b2ceda6bb849b9dc0a61ba6ce7b2d9f22b6b1ab17aa2ca421c30a2158a72ee65ddb5a5dc50f6a22d50b9b20a32c090b58d6e78cf62acca415f439b685a8
|
7
|
+
data.tar.gz: 1bcfc34aa0177d4b4e1831a79323840ca8f3a2306407bfebfaa45f5a9b300984e71637dab21790801933be1dcfa4f43dfa0873173a4107d91a9d595ce493ec3a
|
data/README.md
CHANGED
@@ -41,7 +41,7 @@ require 'pathname'
|
|
41
41
|
|
42
42
|
# on the source host
|
43
43
|
# dump tables from mysql
|
44
|
-
require '
|
44
|
+
require 'wyrm/dump_schema'
|
45
45
|
src_db = Sequel.connect "mysql2://localhost/lots"
|
46
46
|
ds = DumpSchema.new src_db, Pathname('/tmp/lots')
|
47
47
|
ds.dump_schema
|
@@ -54,7 +54,7 @@ ds.dump_tables
|
|
54
54
|
|
55
55
|
# on the destination host
|
56
56
|
# restore tables to postgres
|
57
|
-
require '
|
57
|
+
require 'wyrm/restore_schema'
|
58
58
|
dst_db = Sequel.connect "postgres://localhost/lots"
|
59
59
|
rs = RestoreSchema.new dst_db, Pathname('/var/data/lots')
|
60
60
|
rs.create
|
data/lib/wyrm/version.rb
CHANGED
data/wyrm.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["panic@semiosix.com"]
|
11
11
|
spec.description = %q{Transfer from one SQL database to another}
|
12
12
|
spec.summary = %q{Transfer from one SQL database to another}
|
13
|
-
spec.homepage = "
|
13
|
+
spec.homepage = "https://github.com/djellemah/wyrm"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
@@ -18,6 +18,9 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
+
spec.add_runtime_dependency "sequel"
|
22
|
+
spec.add_runtime_dependency "fastandand"
|
23
|
+
|
21
24
|
spec.add_development_dependency "bundler", "~> 1.3"
|
22
25
|
spec.add_development_dependency "rake"
|
23
26
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wyrm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Anderson
|
@@ -10,6 +10,34 @@ bindir: bin
|
|
10
10
|
cert_chain: []
|
11
11
|
date: 2013-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: sequel
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '>='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '>='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: fastandand
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - '>='
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - '>='
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: bundler
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -59,7 +87,7 @@ files:
|
|
59
87
|
- lib/wyrm/transferer.rb
|
60
88
|
- lib/wyrm/version.rb
|
61
89
|
- wyrm.gemspec
|
62
|
-
homepage:
|
90
|
+
homepage: https://github.com/djellemah/wyrm
|
63
91
|
licenses:
|
64
92
|
- MIT
|
65
93
|
metadata: {}
|