scan_beacon 0.3.0 → 0.3.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: b97500f1a0b47564be46701c0aa5ae7551ea802f
4
- data.tar.gz: 04e4b224e01a2d30b7af811cd6f378486107ab46
3
+ metadata.gz: cc3c83a8f156141913967c545b9c92e35b081398
4
+ data.tar.gz: b2f32b793d4377ece81aebed52a895f2a404d46b
5
5
  SHA512:
6
- metadata.gz: cf657f7dffc86477efcca6d8821c5386d0d49cd80e023a8e6e41c158f7df32b85dcedc767d2d8558e3b48818d201faaad2a34edeb2ce482897c133f7f37e6214
7
- data.tar.gz: 1134b3f84873408a7ade2bef1b1b95b326ace6007fa72260407cf0c2a7150c127a6adce11be953d78080035d0a97ea408e2d67a01396c3167eec62d5b7413954
6
+ metadata.gz: 15ee743a3b9d427020aafae3725cdde97236d5cbe53dc90b1ba22ae057765b4473d3342e14b62b44a381793425ff6acdf46628db32973d3ac116a915b4b379bf
7
+ data.tar.gz: eca6014e6478fb6a412ebe3ec7612bc3fa9419aa13f68c58a5b08995fa2ef66b9d8ece8f7210e1a800ee87e0ee310ce08d5038e2b7b1875d8163670f091c61c2
@@ -40,8 +40,12 @@ module ScanBeacon
40
40
  ids[2]
41
41
  end
42
42
 
43
+ def ad_count
44
+ @rssis.size
45
+ end
46
+
43
47
  def inspect
44
- "<Beacon ids=#{@ids.join(",")} rssi=#{rssi}, scans=#{@rssis.size}, power=#{@power}, type=\"#{@beacon_types.to_a.join(",")}\">"
48
+ "<Beacon ids=#{@ids.join(",")} rssi=#{rssi}, scans=#{ad_count}, power=#{@power}, type=\"#{@beacon_types.to_a.join(",")}\">"
45
49
  end
46
50
  end
47
51
  end
@@ -1,3 +1,3 @@
1
1
  module ScanBeacon
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scan_beacon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Radius Networks
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-07-01 00:00:00.000000000 Z
11
+ date: 2015-07-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler