yahoo_weather 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 050cc652e85a86cd14fc4e65bb8068c67e449ecf
4
- data.tar.gz: 01e151626320fe875fe1dbd693a6f21eb59614f5
3
+ metadata.gz: 9cf11f7430c13f1635607df48d8d66c4fa4523e2
4
+ data.tar.gz: 8b3b452cc59c2f3a5d5182576b477a8ab251dc91
5
5
  SHA512:
6
- metadata.gz: 1bbe35322928b00f67a84e7a78dd7f08908581d8dccce9ce6dc50d1d3010480f372e12dfac9b27f79572653dad049145f08fbb2ee4b36f3b0f6246e621538fd3
7
- data.tar.gz: 3a00816ffa9140fcf330855a3fc9f7ff70fe4d098ebd14a1138b8ee884a8daba6563f6361767fff2f900144273157a12f9d6f09550b5480b3afca8cb6a0669a0
6
+ metadata.gz: fc2b0d9aa0b13a969d93be0e40d5b769982e9462a8077482f92823cf7b4e3013c1c6348cae6dd4e18aa1b28cb436af65daf6c88bab382e313dcdeaae7ba13853
7
+ data.tar.gz: b22662c39a9c45cdd8b3d802d34450fc42e73b31cbafc5a31f8192e44ce2743a4b75b2dfa33bd92f79b916f387246d6f3b185bcfbfae159fec80e78cabfd2b8c
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- yahoo_weather (1.0.3)
4
+ yahoo_weather (1.0.4)
5
5
  nokogiri
6
6
  rails (>= 3.1.0)
7
7
 
@@ -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'
@@ -1,3 +1,3 @@
1
1
  module YahooWeather
2
- VERSION = '1.0.3'.freeze
2
+ VERSION = '1.0.4'.freeze
3
3
  end
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.3
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-06 00:00:00.000000000 Z
11
+ date: 2013-09-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails