ridgepole 0.4.9 → 0.4.10.beta

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: 2570c7d34458a24f1afead8e633f69733164b8a4
4
- data.tar.gz: c29d30b2c34a3b862b1b47729e88b522ca99e817
3
+ metadata.gz: c94a6425997f6cd4ead8b3d6be5ef734d9703f38
4
+ data.tar.gz: 7730498d43ccd4777048c42739a39833b74d6ae6
5
5
  SHA512:
6
- metadata.gz: 6ece36c465d8e4875dabc4e9640dba6792b8eb3e5208e10dedd158bc0fc3f2c746a6060ce4db59b10e323db34fad8ec5c9cfbf0404408643744aedd938c6d2aa
7
- data.tar.gz: 87c974f722b1c05e725de21a8e239bed39bc70608e5b315640701ef371fcf821323b111a0617be351101e4b9a4382443f342f33824b9b5bfdbba67d5af73e769
6
+ metadata.gz: 378afba2ce1141ef75c7bbb6d1c83d3e37455c9d4f329cb4a77e9559ce571dc3f2174cac4222b2507cbfd47f0e5764f6d10a0be82035b52586843770e8d440d1
7
+ data.tar.gz: 224a578f5472a0427628d2bb62bb7bbfcb9b925243cf42aaa759e1414ade0aa68b3d5ca47058a61e5ee113c823bdbb75ffd703c551a4f56edb8a095900879a3b
@@ -59,7 +59,7 @@ class Ridgepole::Delta
59
59
  buf = StringIO.new
60
60
 
61
61
  callback = proc do |sql, name|
62
- buf.puts sql if sql =~ /\A(CREATE|ALTER|DROP)\b/i
62
+ buf.puts sql if sql =~ /\A(CREATE|ALTER|DROP|RENAME)\b/i
63
63
  end
64
64
 
65
65
  Ridgepole::ExecuteExpander.without_operation(callback) do
@@ -31,7 +31,11 @@ class Ridgepole::ExecuteExpander
31
31
  end
32
32
 
33
33
  if sql =~ /\A(SELECT|SHOW)\b/i
34
- execute_without_noop(sql, name)
34
+ begin
35
+ execute_without_noop(sql, name)
36
+ rescue => e
37
+ Stub.new
38
+ end
35
39
  else
36
40
  Stub.new
37
41
  end
@@ -1,3 +1,3 @@
1
1
  module Ridgepole
2
- VERSION = '0.4.9'
2
+ VERSION = '0.4.10.beta'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ridgepole
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.9
4
+ version: 0.4.10.beta
5
5
  platform: ruby
6
6
  authors:
7
7
  - Genki Sugawara
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-10-09 00:00:00.000000000 Z
11
+ date: 2014-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -218,12 +218,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
218
218
  version: '0'
219
219
  required_rubygems_version: !ruby/object:Gem::Requirement
220
220
  requirements:
221
- - - '>='
221
+ - - '>'
222
222
  - !ruby/object:Gem::Version
223
- version: '0'
223
+ version: 1.3.1
224
224
  requirements: []
225
225
  rubyforge_project:
226
- rubygems_version: 2.4.1
226
+ rubygems_version: 2.0.14
227
227
  signing_key:
228
228
  specification_version: 4
229
229
  summary: Ridgepole is a tool to manage DB schema.