switchman 1.12.6 → 1.12.7

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: 72086d60c6a4a32c29f5f568de0314e481606044f5c163aef64aeeb0f73178ac
4
- data.tar.gz: 8465abdcdd7db4783c5b1e2fed0ed3e9a53164353fc5ca85b1422b016fec5827
3
+ metadata.gz: 4e9b4567a57590e025a661a8301ca9460766949ee2f33fabb6f00047adc107ad
4
+ data.tar.gz: 0f67934babf4383156ae0bc67938d364ce650c11ffc0ad8deef444b0a869d689
5
5
  SHA512:
6
- metadata.gz: 3f407c6f6b0bfecf88f02870631ad6936650eb20a017687d5f8d88f842cbd2cdb0ea63535d50444b2709df352a8db6eae94c5e17b8bba2cdea0e1b383b4ec821
7
- data.tar.gz: e7bbdcc13f4c033024b7a9755da6d2b87941b193eec98fc1e28363184ae151db2fd0ed88b9f613ece95575ff1b2f09bf898cc29a528c40efa5459ddb356c831d
6
+ metadata.gz: df210d7b52538e7e350d5fe006cddf154d6211127a7b9ee728e4d84f80221710df0a7722e2019b4295455b8d5d2d72dc1a461011b7901280e62c9a64ed56ad21
7
+ data.tar.gz: beaede6fe13288b028e414237662b9143ff6f91689e0431a50fe2948b2b928699eaccfd63e1cf77e2fa102b79eba0ebc7a3d72ed336822c2481712bc05c6e4e4
@@ -2,7 +2,7 @@ class AddTimestampsToShards < ActiveRecord::Migration[4.2]
2
2
  def change
3
3
  add_timestamps :switchman_shards, null: true
4
4
  now = Time.now.utc
5
- Switchman::Shard.update_all(updated_at: now, created_at: now)
5
+ Switchman::Shard.update_all(updated_at: now, created_at: now) if Switchman::Shard.current.default?
6
6
  change_column_null :switchman_shards, :updated_at, false
7
7
  change_column_null :switchman_shards, :created_at, false
8
8
 
@@ -1,3 +1,3 @@
1
1
  module Switchman
2
- VERSION = "1.12.6"
2
+ VERSION = "1.12.7"
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.6
4
+ version: 1.12.7
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: 2018-08-28 00:00:00.000000000 Z
13
+ date: 2018-08-29 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties