vatsim_metar 0.2.1 → 0.2.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
  SHA1:
3
- metadata.gz: 5dfe2224c64b4d45571b8fce0c689c0fe687d182
4
- data.tar.gz: a7591b9f7e1ad01f3dee58948b0efe4ab4cd956d
3
+ metadata.gz: aa76aa7fa1e9cdbe6e23d213b47c7b77cd4fe0eb
4
+ data.tar.gz: eb486baa15d9fc87b37150f1f9d4c3c9b36d3bd9
5
5
  SHA512:
6
- metadata.gz: 4888f047dff238d25b7b09e4de23d7abf66a8319e64369ec6919a989ac63b5d8b876817d21b59a8fdf03a6a34617e82ae92ad84d12a92b454d99b1a81aa3f678
7
- data.tar.gz: 7f328249e56c75803d54c3f9840833344a33a54e7d6a5158fbdbf1e345680b2c7e9aadc5978928947804a64ae5330992f8d231624b24c107f2e3de4bf9256da3
6
+ metadata.gz: e2e80955e50e7dc2f01b36f4b80240b3b77d63ea15b32d7b5dea32af9ea7622bbb2eb40eb5b66dab1fc992fee815585d37ad26d1bcd346b4c52925f6321a1809
7
+ data.tar.gz: 4a37aa287f50bce320c7ced67433d64d058cc95cdeb92793b370f360254f0c398bbf0d3286a39b34c52821b0c6001a1c6004212d50e34e2a0b4d11d8a3f4c138
data/lib/vatsim_metar.rb CHANGED
@@ -17,6 +17,8 @@ module VatsimMetar
17
17
  metar = "No valid METAR" if metar.include? "html"
18
18
  rescue Curl::Err::TimeoutError
19
19
  metar = "METAR timeout"
20
+ rescue Curl::Err::ConnectionFailedError
21
+ metar = "METAR timeout"
20
22
  end
21
23
 
22
24
  end
@@ -1,3 +1,3 @@
1
1
  module VatsimMetar
2
- VERSION = "0.2.1"
2
+ VERSION = "0.2.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vatsim_metar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Svilen Vassilev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-24 00:00:00.000000000 Z
11
+ date: 2013-08-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec