switchman 3.5.10 → 3.5.11

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: a5501276e4bb51045e5d329a0cf74776a5b13318d2253d3361073f6df18c0c9b
4
- data.tar.gz: 5a03efa22b8e2113f3c411b463a363f92282329e15e020a24f0b1c16a59ddcb5
3
+ metadata.gz: 66fb79b6ead1a010749a4c707e9d3b6f1d1af3af3ce79748c12a4c74940d1238
4
+ data.tar.gz: c8cd71c46f6dc930d6129b8b7ea033286c02a81ddd650f69580d310865f7065c
5
5
  SHA512:
6
- metadata.gz: b1bebdf8811f527233b21c2f138682dd52f165edfc0f5929c7166df1367e273431f33777aa71b7c5768762c889208caebc7df804ff0de16f2d7e34384a951f5b
7
- data.tar.gz: efd7c3efed799eb33eb0e9f1e549cd0bbbcdbc9b4713359df029bedf53c05bd2b841d557e4854e8eb19153ab42b768b2b386ce501c8174c692e10b125c28a846
6
+ metadata.gz: 7d69de4d0dccbffede8882e50144aaa35840b7374e2d4265ff01eb3a78f3b5001934886dedb0e0e67f23c31fc6ee8a2b9aad1dca2e7fa093e16dd5deac85cada
7
+ data.tar.gz: cfb5b3f62773187207904ca822188344cf3c3d4d6d24d27d0b801d071bdf98b6250ad314531a6dce0e06e8c0a13474486a37dbc382c8b4ebedb18cab923db5a3
@@ -169,6 +169,10 @@ module Switchman
169
169
  pkey > Shard::IDS_PER_SHARD
170
170
  end
171
171
 
172
+ def canonical?
173
+ !shadow_record?
174
+ end
175
+
172
176
  def save_shadow_record(new_attrs: attributes, target_shard: Shard.current)
173
177
  return if target_shard == shard
174
178
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Switchman
4
- VERSION = "3.5.10"
4
+ VERSION = "3.5.11"
5
5
  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: 3.5.10
4
+ version: 3.5.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cody Cutrer