patronus_fati 1.2.1 → 1.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 834ec87c87d7d827048e86216be2e44976f82799
4
- data.tar.gz: '09464ed15eba72388c2a8d5d35a196dfb20dea07'
3
+ metadata.gz: 0cb6f174187ef3f5adfa38bc95f3a6492aec44e3
4
+ data.tar.gz: 8bc31ce133c6bd96416e1e32c1211c19d0e0e5f7
5
5
  SHA512:
6
- metadata.gz: 360d209f018964966b6f32539836362e9061924a2ab2859aef83359780610f53877a269cd14fae7490fb980b308214efbc7ba10fd74d0260f6ca3148e78c03fd
7
- data.tar.gz: 1024400265408e37bcad86eb0dbe37d6007e37586b0d566b601fca49a9791afd27905e278369422a03a1f21561e8b5402c09c965b30cebc13ac6c76ff42f9274
6
+ metadata.gz: 881e15810f934ba0595c198a02f3d5de671a444bcc58c8719975b9de9fb070e79ac886f548e0b4b17b0701584fd05800d7063bc8971efaa7b2538582a692fb12
7
+ data.tar.gz: 38487f6aee94ea8e48badf6a811b4d10fa8fbbd48db1c4ebb4393d753e19f60d7c55269405cb89ad7c4bb688bdb62400315643ade808ec27d3cf4af2c8d01b48
@@ -52,8 +52,8 @@ module PatronusFati::MessageProcessor::Client
52
52
 
53
53
  # from_ds are leaking wired assets, allow updating of connections but not
54
54
  # creation
55
- return obj[:type] == 'from_ds' &&
56
- !PatronusFati::DataModels::Connection.exists?(connection_key)
55
+ return unless %w(established to_ds).include?(obj[:type]) ||
56
+ PatronusFati::DataModels::Connection.exists?(connection_key)
57
57
 
58
58
  access_point.add_client(obj[:mac])
59
59
  access_point.announce_changes
@@ -1,3 +1,3 @@
1
1
  module PatronusFati
2
- VERSION = '1.2.1'
2
+ VERSION = '1.2.2'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: patronus_fati
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Stelfox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-31 00:00:00.000000000 Z
11
+ date: 2017-06-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: louis