kisyo 0.0.4 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -5
- data/README.md +8 -1
- data/kisyo.gemspec +12 -12
- data/lib/blocks.csv +1664 -0
- data/lib/kisyo/daily.rb +11 -10
- data/lib/kisyo/location.rb +23 -0
- data/lib/kisyo/version.rb +1 -1
- data/spec/kisyo/daily_spec.rb +17 -30
- data/spec/kisyo/location_spec.rb +13 -0
- metadata +10 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 39de082f93f1543690614df3803cb193815a118175a0344035a01302352afe95
|
4
|
+
data.tar.gz: 39aa998eaa0d677a63e6e0cc82d54aeab358d9ffd1026f14dcfd33ef5ad1be83
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6266bfdc4e362e2b5bb89dc08ab457b0e2f5d939a828658810fceb269ade9cfa5c58e507430a7b0ddfe76832f939fa19d68e267adc70e6e244c74cc70ef1476c
|
7
|
+
data.tar.gz: e97e604f1089c16fe4a911a9d3339b17a7d277fb59b9d7929e7cf03e998d2204397beafeeb8860c5cdb3c7925c7c361b1d93f5a7404f871d200cd410f9521ece
|
data/README.md
CHANGED
@@ -20,7 +20,14 @@ Or install it yourself as:
|
|
20
20
|
|
21
21
|
## Usage
|
22
22
|
|
23
|
-
|
23
|
+
```ruby
|
24
|
+
require 'kisyo'
|
25
|
+
|
26
|
+
location = Kisyo::location.nearest(35.6809591, 139.7673068)
|
27
|
+
daily = Kisyo::Daily.new(location)
|
28
|
+
date = Date.parse('2016-11-02')
|
29
|
+
daily.at(date)
|
30
|
+
```
|
24
31
|
|
25
32
|
## Contributing
|
26
33
|
|
data/kisyo.gemspec
CHANGED
@@ -4,22 +4,22 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
require 'kisyo/version'
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
|
-
spec.name
|
8
|
-
spec.version
|
9
|
-
spec.authors
|
10
|
-
spec.email
|
11
|
-
spec.summary
|
12
|
-
|
13
|
-
spec.
|
7
|
+
spec.name = 'kisyo'
|
8
|
+
spec.version = Kisyo::VERSION
|
9
|
+
spec.authors = ['youpy']
|
10
|
+
spec.email = ['youpy@buycheapviagraonlinenow.com']
|
11
|
+
spec.summary =
|
12
|
+
'A ruby tool for getting weather information from www.data.jma.go.jp'
|
13
|
+
spec.homepage = ''
|
14
|
+
spec.license = 'MIT'
|
14
15
|
|
15
|
-
spec.files
|
16
|
-
spec.executables
|
17
|
-
spec.test_files
|
16
|
+
spec.files = `git ls-files -z`.split("\x0")
|
17
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
18
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
19
|
spec.require_paths = ['lib']
|
19
20
|
|
20
21
|
spec.add_dependency 'nokogiri'
|
21
|
-
spec.add_development_dependency '
|
22
|
-
spec.add_development_dependency 'rake', '~> 10.0'
|
22
|
+
spec.add_development_dependency 'rake', '>= 12.3.3'
|
23
23
|
spec.add_development_dependency 'rspec', '~> 3'
|
24
24
|
spec.add_development_dependency 'webmock'
|
25
25
|
end
|