forklift_etl 1.0.17 → 1.0.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/.travis.yml +1 -1
- data/Gemfile.lock +1 -1
- data/lib/forklift/transports/mysql.rb +7 -2
- data/lib/forklift/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ODAyMzhiNTM4ZGRhYTE3Y2NmOTg4N2RmODZiMTU2MWFhNjhkYTE0Mg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
YTEzODdjNjc3YzFhMWVmZmU1YjU3YTRlYTM2NzdmZGRkZGFiNDdkZA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MzFiYzNjMjNlYzdiY2Q2NzcyNjBjYjMwN2M4MDdiMjI0NWE0MTU3N2RlMGYw
|
10
|
+
NjIxNGY4MTVmNjQxNjMzMjdjZTg2MTFlYmMxNWJhYjRjMDZkMGE1NTkyNjcy
|
11
|
+
OGU4MzhkMTA5YTcyMjZlMzJjZmRiYTc0Yzc2NDIxOWExOWUzZjQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTIyZWFmMjMzYmIxZDQ5MzJlMzgzYzdiYmNlMzA1ZjVjY2MyZGI1ZTBkZDc1
|
14
|
+
NzNjNDNiOGU4ZmNlZWViNThlZjdkNTc1Njg1NjlmNWQyOWNlNTU0M2JmYmE0
|
15
|
+
NTk0YmMwNGU0ZTllMThjODIxNTI0NTU0NjZkNWUyN2MyZjYzYTQ=
|
data/.travis.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -168,11 +168,16 @@ module Forklift
|
|
168
168
|
cols
|
169
169
|
end
|
170
170
|
|
171
|
-
def dump(file)
|
171
|
+
def dump(file, options=[])
|
172
|
+
# example options:
|
173
|
+
# options.push '--max_allowed_packet=512M'
|
174
|
+
# options.push '--set-gtid-purged=OFF'
|
172
175
|
cmd = "mysqldump"
|
173
176
|
cmd << " -u#{config[:username]}" unless config[:username].nil?
|
174
177
|
cmd << " -p#{config[:password]}" unless config[:password].nil?
|
175
|
-
|
178
|
+
options.each do |o|
|
179
|
+
cmd << " #{o} "
|
180
|
+
end
|
176
181
|
cmd << " #{config[:database]}"
|
177
182
|
cmd << " | gzip > #{file}"
|
178
183
|
forklift.logger.log "Dumping #{config['database']} to #{file}"
|
data/lib/forklift/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: forklift_etl
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evan Tahler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-05-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|