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 +4 -4
- data/Gemfile.lock +1 -1
- data/lib/aprs_is/client.rb +3 -2
- data/lib/aprs_is/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cb1cdd4e235416c23dfa35f607f58764e910075aad37d32cde51285fd52b5199
|
4
|
+
data.tar.gz: 308638c6fb0092148d42f742aff4791a68cdb988dcec0ce4fad9409dfe4733f1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 347a5c2353acc42d4249b0c3d1f2d8b393ab2871bd3dac26399a08298b9cbabc60de81a4ac2fbd924e69e1732a38f1ab5981b54616a609d4347aa51b614aca1e
|
7
|
+
data.tar.gz: 278a75ccf7c45470730bf4a158a7d870116d42f62f5cea9b32b85969d50737c091fd3b259020e8eee7a039bb010707c33a406a5014584ac9d0ab422aab6a858a
|
data/Gemfile.lock
CHANGED
data/lib/aprs_is/client.rb
CHANGED
@@ -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)
|
data/lib/aprs_is/version.rb
CHANGED