weather_insight 0.0.1 → 0.0.2

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: c1a90ba47b25ac2d5e9e93f28bb03de16ffecec7
4
- data.tar.gz: d49aa0dc6919502d6b28e278b1bbdfae77159db4
3
+ metadata.gz: dcae14538903d6ad6d453d4a5c71504368df0b3b
4
+ data.tar.gz: 8c339780e1d3a26adbf965fcbbb6d386300957ce
5
5
  SHA512:
6
- metadata.gz: b61b960d8d1da49a54c2241cc78622ee165edec70afad245d5ee4a33527b2ad74e684d244657432efdf7539ad6757ce65a3cbb0e48b1f533aa4c8c02f425a19f
7
- data.tar.gz: ab895b2bfa09c3d674a62c797f1485739ab43d02b74653c301408bb746222d787bc344afcf61be73a9a0cb559b52253e10fc6f43b0994f20184da27daf7f6741
6
+ metadata.gz: 4946322eb6f4d9bbd1c17d7543f029522038b2062251abfee45a71c67a8f30a6b81bc7f1d3f6ec5a46bb78b225bafd4bf8c9da00a5ff562206013e3ff719e37c
7
+ data.tar.gz: 40996e45fcb1657a28a5b8e36d6cc407899ab85687e4ce2d5f8bdcef450e83ed23a5f2ed9c13e589bd62aeef2247a5145a8470eaffb6d506daee99d40f30794a
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- weather_insight (0.0.1)
4
+ weather_insight (0.0.2)
5
5
  nokogiri
6
6
 
7
7
  GEM
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # WeatherInsight
2
2
 
3
- WeatherInsight acquire average data of past weather.
3
+ WeatherInsight acquire average data of past weather from goo.
4
4
 
5
5
  ## Notice
6
6
 
@@ -27,10 +27,10 @@ Or install it yourself as:
27
27
 
28
28
  ```ruby
29
29
  require 'weather_insight'
30
- year_data = WeatherInsight.year_data :aichi, interval: 500
31
30
 
32
- # How to get 5/28 data.
33
- year_data[5][28]
31
+ # How to get 7/28 data.
32
+ month_data = WeatherInsight.month_data :aichi, 7
33
+ month_data[28]
34
34
  ```
35
35
 
36
36
  ### Parameters
@@ -17,7 +17,7 @@ module WeatherInsight
17
17
  get_data url
18
18
  end
19
19
 
20
- def year_data spot, interval: 300
20
+ def year_data spot, interval: 0.3
21
21
  year_data = {}
22
22
 
23
23
  1.upto(12) do |month|
@@ -1,3 +1,3 @@
1
1
  module WeatherInsight
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
@@ -8,8 +8,8 @@ Gem::Specification.new do |spec|
8
8
  spec.version = WeatherInsight::VERSION
9
9
  spec.authors = ["kozakana"]
10
10
  spec.email = ["goki727@gmail.com"]
11
- spec.summary = %q{WeatherInsight acquire average data of past weather.}
12
- spec.description = %q{WeatherInsight acquire average data of past weather.}
11
+ spec.summary = %q{WeatherInsight acquire average data of past weather from goo.}
12
+ spec.description = %q{WeatherInsight acquire average data of past weather from goo.}
13
13
  spec.homepage = "https://github.com/kozakana"
14
14
  spec.license = "MIT"
15
15
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weather_insight
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - kozakana
@@ -66,7 +66,7 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- description: WeatherInsight acquire average data of past weather.
69
+ description: WeatherInsight acquire average data of past weather from goo.
70
70
  email:
71
71
  - goki727@gmail.com
72
72
  executables: []
@@ -111,7 +111,7 @@ rubyforge_project:
111
111
  rubygems_version: 2.4.5
112
112
  signing_key:
113
113
  specification_version: 4
114
- summary: WeatherInsight acquire average data of past weather.
114
+ summary: WeatherInsight acquire average data of past weather from goo.
115
115
  test_files:
116
116
  - spec/spec_helper.rb
117
117
  - spec/weather_insight_spec.rb