switchman 1.4.1 → 1.4.2

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: ff7baa3b7d571eb6b9d1b35814e479ecc4d814e2
4
- data.tar.gz: 5ef6529debb63f8c4bbb98db230540f11f3bbfcb
3
+ metadata.gz: 89c0ecdbd5ff29a06d1a0d4f88cdcaac8865d4f7
4
+ data.tar.gz: 0aad40c24a7cf25d7ba0e94a0c8985c70aa4d2a7
5
5
  SHA512:
6
- metadata.gz: 1a8eda4ddebc3768c5571a240a21377c3127ac4c89d7456887ac1c3ff71b8a9f7923aaf3856afa3af1ac1fa6d6d7cb852876867a654b9dee8e55a5ddf66c5f41
7
- data.tar.gz: 88e17bdca8d4468c7b08366f54c4de28fa865203c02aa833e6db14efcfad88db42129bb71b5530930f6c7370081cf4ffc73833be9d38679e64bb2b9debfe228f
6
+ metadata.gz: 676d64be07a427c316f70c87054f96f7372e319aca3423326c2f3906e001c53b50c7ee5ec8e6dd6561dc8aeae31a05ffc726d6d3e344b1ea20b53ae758bfe0c9
7
+ data.tar.gz: 3ad303f2c2a4c6d8759e2ff61e8666bba9c382dbabc689ef9b5e16e4bed86053e22174d741d49b9f7c97dadc9a54f0f7a05410b500d56e823b841b9651815e85
@@ -214,7 +214,7 @@ module Switchman
214
214
  migrate.call
215
215
  end
216
216
  reset_column_information
217
- ::ActiveRecord::Base.descendants.reject { |m| m == Shard }.each(&:define_attribute_methods)
217
+ ::ActiveRecord::Base.descendants.reject { |m| m == Shard || !m.table_exists? }.each(&:define_attribute_methods)
218
218
  end
219
219
  ensure
220
220
  ::ActiveRecord::Migration.verbose = old_verbose
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.4.1"
2
+ VERSION = "1.4.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: switchman
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2016-01-29 00:00:00.000000000 Z
13
+ date: 2016-02-01 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties