aprs_is 0.1.1 → 0.1.2

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: 26a238a0d264259d40b343b8820d4bff4aadf4454bb31ac7912667a96d4017c3
4
- data.tar.gz: 23c7e3f48d1237b1b205099cf3b71c1e9f091352d5dc7aa48655919bc7747425
3
+ metadata.gz: cb1cdd4e235416c23dfa35f607f58764e910075aad37d32cde51285fd52b5199
4
+ data.tar.gz: 308638c6fb0092148d42f742aff4791a68cdb988dcec0ce4fad9409dfe4733f1
5
5
  SHA512:
6
- metadata.gz: 2c104262ec3acf37093da6bf047284bfb6d8bd065c1208b07158a3b76568925288b733b781d75bd86b37db4f60cc7509f2c95b14f751b2cc463919911033d3a2
7
- data.tar.gz: 146851f758575668f128519360a7876e7bc8d767fc703e2af2e318fd6a6f45d42a1f9c175fa6d8a2e929b4eb6ff3e7e66ddd3bf7ae2e401eb5d84326fe9f800e
6
+ metadata.gz: 347a5c2353acc42d4249b0c3d1f2d8b393ab2871bd3dac26399a08298b9cbabc60de81a4ac2fbd924e69e1732a38f1ab5981b54616a609d4347aa51b614aca1e
7
+ data.tar.gz: 278a75ccf7c45470730bf4a158a7d870116d42f62f5cea9b32b85969d50737c091fd3b259020e8eee7a039bb010707c33a406a5014584ac9d0ab422aab6a858a
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- aprs_is (0.1.1)
4
+ aprs_is (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -42,11 +42,12 @@ module AprsIs
42
42
  private
43
43
 
44
44
  def login_message(call_sign, filters = [])
45
- filters.unshift('filter') if filters.any
45
+ filters.unshift('filter') if filters.any?
46
+
46
47
  [
47
48
  "user #{call_sign} pass #{passcode_for(call_sign)} vers #{version}",
48
49
  filters.compact.collect(&:to_s)
49
- ].compact.join(" ")
50
+ ].flatten.compact.join(" ")
50
51
  end
51
52
 
52
53
  def filter_message(filter)
@@ -1,3 +1,3 @@
1
1
  module AprsIs
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aprs_is
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Harrison