vatsim_metar 0.2.2 → 0.2.3

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: aa76aa7fa1e9cdbe6e23d213b47c7b77cd4fe0eb
4
- data.tar.gz: eb486baa15d9fc87b37150f1f9d4c3c9b36d3bd9
3
+ metadata.gz: 56f18ab5e23a2671eba529721bfbedf7abdbc96e
4
+ data.tar.gz: 6b42e34c22e644cbb35cd276f21e3d19f4775826
5
5
  SHA512:
6
- metadata.gz: e2e80955e50e7dc2f01b36f4b80240b3b77d63ea15b32d7b5dea32af9ea7622bbb2eb40eb5b66dab1fc992fee815585d37ad26d1bcd346b4c52925f6321a1809
7
- data.tar.gz: 4a37aa287f50bce320c7ced67433d64d058cc95cdeb92793b370f360254f0c398bbf0d3286a39b34c52821b0c6001a1c6004212d50e34e2a0b4d11d8a3f4c138
6
+ metadata.gz: c3e894b6477a2001b8cddeb97bac3bb76bd5a728d42d636d5b4dd575e76766b01ba1b43a6838a6484a409315962f580222438d6f25e515ceb06fab96937c44a7
7
+ data.tar.gz: 281eeaf6f484754338c7d16aeb1bae3e753269a12ea6af34b586b04cccd6c9695ddbc10c1da0c325e6436617f48f9217dbba34635c7c80740650d35c9d6005a8
data/README.md CHANGED
@@ -50,7 +50,7 @@ This library augments the default Ruby `String` class with a method named `.meta
50
50
 
51
51
  ## Changelog
52
52
 
53
- ### v. 0.2.1 - 23 August 2013
53
+ ### v. 0.2.2 - 31 August 2013
54
54
 
55
55
  * added timeout limit
56
56
  * added connection failure rescue
data/lib/vatsim_metar.rb CHANGED
@@ -15,6 +15,7 @@ module VatsimMetar
15
15
  c.perform
16
16
  metar = c.body_str
17
17
  metar = "No valid METAR" if metar.include? "html"
18
+ metar
18
19
  rescue Curl::Err::TimeoutError
19
20
  metar = "METAR timeout"
20
21
  rescue Curl::Err::ConnectionFailedError
@@ -1,3 +1,3 @@
1
1
  module VatsimMetar
2
- VERSION = "0.2.2"
2
+ VERSION = "0.2.3"
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.2
4
+ version: 0.2.3
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-27 00:00:00.000000000 Z
11
+ date: 2013-08-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec