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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5e4d2ee3e6538580a137118cf13babab4426ec81
|
4
|
+
data.tar.gz: 1ff280d030cd50562e9eaf8ea847960d40ad66e4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 42c4365968f049af3d3e5ef0a9e5912eac79075169df5fa8c2d5bf349fe55d061eebe00746ad6a168f4ed9af4f5753f137613e39fd891f54e463156915264481
|
7
|
+
data.tar.gz: 6f719f6a114955272e52e8dbec97d2f9a44416dc5bdee067569b97ac4b337137167b1d6f37b10867d5eb15db7148bfe36299988716ad75f97bae87ed1ca1de58
|
@@ -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
|
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.
|
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-
|
11
|
+
date: 2015-07-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: minitest
|