ridgepole 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b8edf92bd8776eedd2499af5313523862ef7ae89
4
- data.tar.gz: d57ecdbd47254c3f49ee42733c4c7d2931c7b053
3
+ metadata.gz: dc9a12435829f7fc6154b970fa7999a33ad0b062
4
+ data.tar.gz: 174873096bf770276973d159ac74a91237eb63e7
5
5
  SHA512:
6
- metadata.gz: 394535a3fcb9de932cd48fed109f35fe242d203bdbe6d22b94497b7298940dd9a062aa21b5a277d06608a52a8b00706d04d359c7bbde420cd49249c0a8a2c322
7
- data.tar.gz: 50b1c0ca82a4226795a8042d1c06c29291a742e709e070ed14a0f83db36be528201f5c2e599319ba92be239b3b087c931167aa21cc47d73699d74994bf17e9f1
6
+ metadata.gz: e7968a0fb170b70c2227c4e434a6e4b1b33fb2a5f47983281a9f818e2a621c3030729e227f93f73f209783db106044586cb315d21ef3761ee5e35455b7b327fc
7
+ data.tar.gz: b4c880bd3e74c435802691258f43f9517d56eb76c436f856a5067ace9975bc9561c8071be21c53e1d79ce91872a7fa57c1247ac36463e57e7f14e03cc24a2403
@@ -49,9 +49,10 @@ class Ridgepole::Diff
49
49
  # Already renamed
50
50
  next if from[table_name]
51
51
 
52
- unless from.has_key?(from_table_name)
53
- raise "Table `#{from_table_name}` not found"
54
- end
52
+ # No existence checking because there is that the table to be read is limited
53
+ #unless from.has_key?(from_table_name)
54
+ # raise "Table `#{from_table_name}` not found"
55
+ #end
55
56
 
56
57
  delta[:rename] ||= {}
57
58
 
@@ -1,3 +1,3 @@
1
1
  module Ridgepole
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
3
3
  end
@@ -175,9 +175,10 @@ describe 'Ridgepole::Client#diff -> migrate' do
175
175
  }
176
176
 
177
177
  it {
178
+ # No existence checking because there is that the table to be read is limited
178
179
  expect {
179
180
  subject.diff(dsl)
180
- }.to raise_error('Table `not_employees` not found')
181
+ }.to_not raise_error
181
182
  }
182
183
  end
183
184
  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.2.5
4
+ version: 0.2.6
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-07-13 00:00:00.000000000 Z
11
+ date: 2014-07-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord