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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e9b4567a57590e025a661a8301ca9460766949ee2f33fabb6f00047adc107ad
|
4
|
+
data.tar.gz: 0f67934babf4383156ae0bc67938d364ce650c11ffc0ad8deef444b0a869d689
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
data/lib/switchman/version.rb
CHANGED
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.
|
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-
|
13
|
+
date: 2018-08-29 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: railties
|