patronus_fati 0.9.4 → 0.9.5

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: 6a028efae5b8729a1a7dc250937afd6435b5c8e2
4
- data.tar.gz: fa228d1a1df4a59378886dc5ed68c0e4b46ba227
3
+ metadata.gz: d270c0470496c05eba71b7374446f73d6b43b47a
4
+ data.tar.gz: de0308ef5394b3674f90f556a2d9e1928341485f
5
5
  SHA512:
6
- metadata.gz: 0a2e7364234a9c61ef335f0b93660adaa2224eaba2b1bc6f5e57a465388463f1c4bcf664162f0998692df8765b14becce98c87db8c5620b9f68036f27be98586
7
- data.tar.gz: cd74d6fecd3fbd4baea99a11109742d3c30c9b59b3db8ac0426558e11725b634bd6c6a872c9148aa73162b81929a3bf98027de34bc8f32fd1a16385f18aa6a68
6
+ metadata.gz: 6a64809a9904ef2f8738c52f8ed437bfaccaaa2c95b6d0ed845cba58a8d8ba6d52c264adba2a0a888753a839df36bd41a76ce46d87b554b817707f4b40a8a31c
7
+ data.tar.gz: cdb8035e7ee28adc90afe47a7f50f8387f5870c1813e4e15fba6757a060593955535e2c0dd2b8458466c0b643e68fa999aec256b673f9758d97505144c2f10f0
@@ -5,6 +5,10 @@ module PatronusFati::MessageProcessor::Client
5
5
  # We don't care about objects that would have expired already...
6
6
  return if obj[:lasttime] < PatronusFati::DataModels::Client.current_expiration_threshold
7
7
 
8
+ # These potentially represent wired assets leaking through the WiFi and
9
+ # devices not following the 802.11 spec.
10
+ return if %w( unknown from_ds ).include?(obj[:type])
11
+
8
12
  client_info = client_data(obj.attributes)
9
13
  client = PatronusFati::DataModels::Client.first_or_create({bssid: obj[:mac]}, client_info)
10
14
  client.update(client_info)
@@ -1,3 +1,3 @@
1
1
  module PatronusFati
2
- VERSION = '0.9.4'
2
+ VERSION = '0.9.5'
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: 0.9.4
4
+ version: 0.9.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sam Stelfox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-05 00:00:00.000000000 Z
11
+ date: 2016-01-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dm-constraints