powered_wunderground 0.0.7 → 0.0.8

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: c7ddbca220698c05ec500e4ddf986fa33799ef98
4
- data.tar.gz: 7a24ee718e3a38b2f9a5e09de0edb4b71bbecad0
3
+ metadata.gz: 5e4d2ee3e6538580a137118cf13babab4426ec81
4
+ data.tar.gz: 1ff280d030cd50562e9eaf8ea847960d40ad66e4
5
5
  SHA512:
6
- metadata.gz: b4d2aad121928e1d4271bb8ab0df55164e419ee8b397e51952e7a4bd4799553e4ee6a28694f0e5926bd95baba4aa8bf50021f5134de055ff0444dece7199ca8c
7
- data.tar.gz: c632cce15454af55204420104d9b4634d396c23a6db278280b3d968cd2ac28619012afe57793f02cd596b7b0d8ef8fb9b3ca422d450061b0323cb78b944df238
6
+ metadata.gz: 42c4365968f049af3d3e5ef0a9e5912eac79075169df5fa8c2d5bf349fe55d061eebe00746ad6a168f4ed9af4f5753f137613e39fd891f54e463156915264481
7
+ data.tar.gz: 6f719f6a114955272e52e8dbec97d2f9a44416dc5bdee067569b97ac4b337137167b1d6f37b10867d5eb15db7148bfe36299988716ad75f97bae87ed1ca1de58
@@ -1,3 +1,3 @@
1
1
  module PoweredWunderground
2
- VERSION = '0.0.7'
2
+ VERSION = '0.0.8'
3
3
  end
@@ -17,7 +17,7 @@ module PoweredWunderground
17
17
  def decorate_temperature_part(tokens)
18
18
  temperature_token_index = temperature_token_position(tokens)
19
19
  return if temperature_token_index.nil?
20
- tokens[temperature_token_index].sub!(/ (\d+)F$/, ' \1°F')
20
+ tokens[temperature_token_index].sub!(/ (\d+)(F|C)$/, ' \1°\2')
21
21
  end
22
22
 
23
23
  def decorate_wind_part(tokens)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: powered_wunderground
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Daniel Carneiro
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-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: minitest