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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 346cb4b9523c0748011df09c3b62811a47a05049
4
- data.tar.gz: cee3ce9670f95fa150451c208ce6d2d5be58129f
3
+ metadata.gz: 74aa2892abe01b7bfdf7b2d76c7a2280988f0ce6
4
+ data.tar.gz: 3a9d05ab76286e3b69efb064a924c15efc9541c0
5
5
  SHA512:
6
- metadata.gz: ee6ac997a9128c010ed2fcd586ba8f08d92b81dc21ad9a585095a44911dd938509366d5b3791426bc48b16d71938bd2b2302adf93879630b16cfbe2e3fee29a9
7
- data.tar.gz: b1656bbe29212bdacb414296541dfbf016a308b4274b221631bdbf3deaa11f49c82f4e5ee61766985ae15a90b44e56edef0037d8ce3e8b4cc6fc383f45b7a328
6
+ metadata.gz: 7b60c5dd9df628354ed4301d8ccd08299e0543082fe58034fe61579d9262f09137b96c8502076a5531ece33a6ddaf27ca6ccc0705ebeea4426f1d9d04f3f8aee
7
+ data.tar.gz: 719338d2f6eb607b66ceddea7c148f9a2e28c5411badcf962701336bc9d24e9e5295ca118a69f62be2c0d2eda0aba7d13222ce5bc8c8724df9419981c4b54a7f
data/.travis.yml CHANGED
@@ -1,6 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.2.0
3
+ - 2.2.5
4
4
  before_install: gem install bundler -v 1.10.6
5
5
 
6
6
  services:
@@ -12,13 +12,13 @@ class PerconaAr::PtOnlineSchemaChangeExecutor
12
12
  end
13
13
 
14
14
  def call
15
- sh "#{boilerplate}#{suffix(table, sql)}"
15
+ sh %Q(#{boilerplate}#{suffix(table, sql)})
16
16
  end
17
17
 
18
18
  private
19
19
 
20
20
  def suffix(table, cmd)
21
- "'#{cmd}' --recursion-method none --no-check-alter --execute D=#{config[:database]},t=#{table}"
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
@@ -1,3 +1,3 @@
1
1
  module PerconaAr
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
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.3
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-05-28 00:00:00.000000000 Z
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: