yahoo_weather 1.0.3 → 1.0.4
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/yahoo_weather.rb +7 -7
- data/lib/yahoo_weather/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9cf11f7430c13f1635607df48d8d66c4fa4523e2
|
4
|
+
data.tar.gz: 8b3b452cc59c2f3a5d5182576b477a8ab251dc91
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc2b0d9aa0b13a969d93be0e40d5b769982e9462a8077482f92823cf7b4e3013c1c6348cae6dd4e18aa1b28cb436af65daf6c88bab382e313dcdeaae7ba13853
|
7
|
+
data.tar.gz: b22662c39a9c45cdd8b3d802d34450fc42e73b31cbafc5a31f8192e44ce2743a4b75b2dfa33bd92f79b916f387246d6f3b185bcfbfae159fec80e78cabfd2b8c
|
data/Gemfile.lock
CHANGED
data/lib/yahoo_weather.rb
CHANGED
@@ -1,6 +1,12 @@
|
|
1
1
|
require 'nokogiri'
|
2
2
|
require 'open-uri'
|
3
3
|
|
4
|
+
module YahooWeather
|
5
|
+
def self.code_string(id)
|
6
|
+
I18n.t id, scope: [:yahoo_weather, :code]
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
4
10
|
require 'yahoo_weather/client'
|
5
11
|
require 'yahoo_weather/response'
|
6
12
|
require 'yahoo_weather/wind'
|
@@ -9,10 +15,4 @@ require 'yahoo_weather/astronomy'
|
|
9
15
|
require 'yahoo_weather/condition'
|
10
16
|
require 'yahoo_weather/forecast'
|
11
17
|
require 'yahoo_weather/location'
|
12
|
-
require 'yahoo_weather/units'
|
13
|
-
|
14
|
-
module YahooWeather
|
15
|
-
def self.code_string(id)
|
16
|
-
I18n.t id, scope: [:yahoo_weather, :code]
|
17
|
-
end
|
18
|
-
end
|
18
|
+
require 'yahoo_weather/units'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: yahoo_weather
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ildar Manzhikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-09-
|
11
|
+
date: 2013-09-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|