percona_ar 0.1.3 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +1 -1
- data/lib/percona_ar/pt_online_schema_change_executor.rb +2 -2
- data/lib/percona_ar/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 74aa2892abe01b7bfdf7b2d76c7a2280988f0ce6
|
4
|
+
data.tar.gz: 3a9d05ab76286e3b69efb064a924c15efc9541c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b60c5dd9df628354ed4301d8ccd08299e0543082fe58034fe61579d9262f09137b96c8502076a5531ece33a6ddaf27ca6ccc0705ebeea4426f1d9d04f3f8aee
|
7
|
+
data.tar.gz: 719338d2f6eb607b66ceddea7c148f9a2e28c5411badcf962701336bc9d24e9e5295ca118a69f62be2c0d2eda0aba7d13222ce5bc8c8724df9419981c4b54a7f
|
data/.travis.yml
CHANGED
@@ -12,13 +12,13 @@ class PerconaAr::PtOnlineSchemaChangeExecutor
|
|
12
12
|
end
|
13
13
|
|
14
14
|
def call
|
15
|
-
sh
|
15
|
+
sh %Q(#{boilerplate}#{suffix(table, sql)})
|
16
16
|
end
|
17
17
|
|
18
18
|
private
|
19
19
|
|
20
20
|
def suffix(table, cmd)
|
21
|
-
|
21
|
+
%Q('#{cmd.gsub("'","\"")}' --recursion-method none --no-check-alter --execute D=#{config[:database]},t=#{table})
|
22
22
|
end
|
23
23
|
|
24
24
|
def boilerplate
|
data/lib/percona_ar/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: percona_ar
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Mac William
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-12-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -153,10 +153,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
153
153
|
version: '0'
|
154
154
|
requirements: []
|
155
155
|
rubyforge_project:
|
156
|
-
rubygems_version: 2.4.5
|
156
|
+
rubygems_version: 2.4.5.1
|
157
157
|
signing_key:
|
158
158
|
specification_version: 4
|
159
159
|
summary: Use Percona (pt-online-schema-change) for migrations generated with this
|
160
160
|
tool, all activerecord helpers are available.
|
161
161
|
test_files: []
|
162
|
-
has_rdoc:
|