kisyo 0.0.3 → 0.1.1

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
- SHA1:
3
- metadata.gz: d8a99f62b8535e4a98f5852dfe53fafa38452f83
4
- data.tar.gz: 99a1477bb5740fcda0fea9b75b0434491ce70933
2
+ SHA256:
3
+ metadata.gz: 437e48e2b0859349f65822a202276820bc3e97be217808ce36aa5dc35d9d5b17
4
+ data.tar.gz: 0c8250fda2a2a60fc65d9b9a5ab3258968f13b8dd171a66fad41a7654a993f49
5
5
  SHA512:
6
- metadata.gz: d8c8bb2db8af4f8950f4fb9c173df90b63d35bf931dc505e45aaa0eeba91bdc71e5805500ac64032f6e1c3f7519cfdd989e4455eedb7622563c7c8d482c73744
7
- data.tar.gz: 8a8e10cc74bd021ef9dc5921f8163447233d19f0e009a0ee91590ea5c92388a19432b0d55344aa0e5bc0f1532cb0b83bcdaab5a91ce5b92e8a746d90c048f2ed
6
+ metadata.gz: 830858390cc2c0a760360989210c360b0326e27501818549c6f8ea4ff67ffad6ba284c4e7e0f80b2850bf15677a02b056fea013cb3dcf40e50d47561728735eb
7
+ data.tar.gz: 6f5783b829d13847d08ef5525340b7111597013f98a7894174829cf91eaa5efd96632646dfde278586c97fa1f0febe68d908bde472f2f8c1862147406c82db05
data/README.md CHANGED
@@ -20,7 +20,14 @@ Or install it yourself as:
20
20
 
21
21
  ## Usage
22
22
 
23
- see https://github.com/youpy/kisyo/tree/master/spec/kisyo/daily_spec.rb
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,23 @@ $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 = 'kisyo'
8
- spec.version = Kisyo::VERSION
9
- spec.authors = ['youpy']
10
- spec.email = ['youpy@buycheapviagraonlinenow.com']
11
- spec.summary = 'A ruby tool for getting weather information from www.data.jma.go.jp'
12
- spec.homepage = ''
13
- spec.license = 'MIT'
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 = `git ls-files -z`.split("\x0")
16
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
17
- spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
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 'bundler', '~> 1.7'
22
- spec.add_development_dependency 'rake', '~> 10.0'
22
+ spec.add_dependency 'geocoder'
23
+ spec.add_development_dependency 'rake', '>= 12.3.3'
23
24
  spec.add_development_dependency 'rspec', '~> 3'
24
25
  spec.add_development_dependency 'webmock'
25
26
  end