switchman 1.12.5 → 1.12.6

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
  SHA256:
3
- metadata.gz: 63012ac0dce569323a334f211102fd1b44d1171cd142aa7e75e9baa8f5dece7d
4
- data.tar.gz: 408d9b6d13c5a780b1adf1d7c297e7065ad626573ffb414b9fd05b032a9472aa
3
+ metadata.gz: 72086d60c6a4a32c29f5f568de0314e481606044f5c163aef64aeeb0f73178ac
4
+ data.tar.gz: 8465abdcdd7db4783c5b1e2fed0ed3e9a53164353fc5ca85b1422b016fec5827
5
5
  SHA512:
6
- metadata.gz: 10b15befb9f67dfba26048296ad5a9f1b0b43906e02852f55839e50083826b4553f6cc904af9ceb06fc8aa2ca47246f478484591164cd60c79f0d2ead95bc930
7
- data.tar.gz: 1a5f6e2e8bcfb3bf18100f006504b6531086238f5390ccad5882f7c787518c90c2da5d8dd63a907753f9d645f3322628472edf79fec2ae8fb4c7f69070bc1d2f
6
+ metadata.gz: 3f407c6f6b0bfecf88f02870631ad6936650eb20a017687d5f8d88f842cbd2cdb0ea63535d50444b2709df352a8db6eae94c5e17b8bba2cdea0e1b383b4ec821
7
+ data.tar.gz: e7bbdcc13f4c033024b7a9755da6d2b87941b193eec98fc1e28363184ae151db2fd0ed88b9f613ece95575ff1b2f09bf898cc29a528c40efa5459ddb356c831d
@@ -5,5 +5,11 @@ class AddTimestampsToShards < ActiveRecord::Migration[4.2]
5
5
  Switchman::Shard.update_all(updated_at: now, created_at: now)
6
6
  change_column_null :switchman_shards, :updated_at, false
7
7
  change_column_null :switchman_shards, :created_at, false
8
+
9
+ if Switchman::Shard.current.default?
10
+ Switchman::Shard.connection.schema_cache.clear!
11
+ Switchman::Shard.reset_column_information
12
+ Switchman::Shard.columns
13
+ end
8
14
  end
9
15
  end
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.12.5"
2
+ VERSION = "1.12.6"
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.12.5
4
+ version: 1.12.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer