percona_ar 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 010f7f273259e09c3015a47dab02ad0d4b6a2011
4
- data.tar.gz: a27b2a053febc0cb026370830d890daa3d3ae60a
3
+ metadata.gz: 27b76726823bb273e3b34f3ea995834616dbf418
4
+ data.tar.gz: e3ae6168488729b3373e9b8c2797ba1044ad2d72
5
5
  SHA512:
6
- metadata.gz: 54e9295eb40eae2aa6f9a3d0c78e17f6c12957a215b3feecd3254ea868b8fc02a22458567d7f6639404282589eb4472c323a8ff782cd2d0aeb157571d681d620
7
- data.tar.gz: 215e6bd600e0ee695208ac87fa2b4d957277a67bfdb7684c640762b8d20e88e300ab98c981a5ad06143043d80dc5497ead41f5efb8d5209e9a90642f62742675
6
+ metadata.gz: 0f94e2130afbeb450791f20d50047ee799354395c793d7946052b6ed6c20e5081ce8b999a5eab1aa167a5a12658bd315a9c0e7321fd2d9077996c685248695b1
7
+ data.tar.gz: 160657b261d9f4ff61952830879e0713a6b269e4e46260f538c0c49cdafa5fc07702a475495337134ce64a17536213f5f91788997a386d4b46fadd010967574e
data/README.md CHANGED
@@ -3,6 +3,12 @@
3
3
  [![Build
4
4
  Status](https://travis-ci.org/jamesmacwilliam/percona_ar.svg?branch=master)](https://travis-ci.org/jamesmacwilliam/percona_ar)
5
5
 
6
+ [![Code
7
+ Climate](https://codeclimate.com/github/jamesmacwilliam/percona_ar/badges/gpa.svg)](https://codeclimate.com/github/jamesmacwilliam/percona_ar)
8
+
9
+ [![Test
10
+ Coverage](https://codeclimate.com/github/jamesmacwilliam/percona_ar/badges/coverage.svg)](https://codeclimate.com/github/jamesmacwilliam/percona_ar/coverage)
11
+
6
12
  This gem adds another tool in your belt for rails migrations. You can
7
13
  stil generate migrations, and they will function just as they always
8
14
  have, but there is also the option of generating percona_ar migrations,
@@ -13,7 +13,7 @@ class PerconaAr::Connection < ActiveRecord::ConnectionAdapters::Mysql2Adapter
13
13
  PerconaAr::PtOnlineSchemaChangeExecutor.new(sql).call
14
14
  end
15
15
 
16
- def not_implemented(*args)
16
+ def not_implemented(*)
17
17
  raise NotImplementedError.new(
18
18
  "This is not implemented with the percona tool, please use a standard migration"
19
19
  )
@@ -19,7 +19,7 @@ class PerconaAr::PtOnlineSchemaChangeExecutor
19
19
  private
20
20
 
21
21
  def suffix(table, cmd)
22
- "'#{cmd}' --recursion-method processlist --no-check-alter --execute D=#{config[:database]},t=#{table}"
22
+ "'#{cmd}' --recursion-method none --no-check-alter --execute D=#{config[:database]},t=#{table}"
23
23
 
24
24
  end
25
25
 
@@ -1,3 +1,3 @@
1
1
  module PerconaAr
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
Binary file
data/percona_ar.gemspec CHANGED
@@ -22,5 +22,7 @@ Gem::Specification.new do |spec|
22
22
  spec.add_development_dependency "rake", "~> 10.0"
23
23
  spec.add_development_dependency "rails", ">= 4.0.0"
24
24
  spec.add_development_dependency "mysql2", ">= 0.3.0"
25
+ spec.add_development_dependency "codeclimate-test-reporter"
26
+ spec.add_development_dependency "coveralls"
25
27
  spec.add_development_dependency "rspec"
26
28
  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.0
4
+ version: 0.1.1
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-03-25 00:00:00.000000000 Z
11
+ date: 2016-03-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -66,6 +66,34 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: 0.3.0
69
+ - !ruby/object:Gem::Dependency
70
+ name: codeclimate-test-reporter
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: coveralls
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
69
97
  - !ruby/object:Gem::Dependency
70
98
  name: rspec
71
99
  requirement: !ruby/object:Gem::Requirement
@@ -103,6 +131,7 @@ files:
103
131
  - lib/percona_ar/migration.rb
104
132
  - lib/percona_ar/pt_online_schema_change_executor.rb
105
133
  - lib/percona_ar/version.rb
134
+ - percona_ar-0.1.0.gem
106
135
  - percona_ar.gemspec
107
136
  homepage: https://github.com/jamesmacwilliam/percona_ar
108
137
  licenses: