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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: eee1f14118949535141b098399c854e82e3570a6
4
- data.tar.gz: f1f812d0c1f8944a77942a8b1b4a3d2065ab601a
2
+ SHA256:
3
+ metadata.gz: 39de082f93f1543690614df3803cb193815a118175a0344035a01302352afe95
4
+ data.tar.gz: 39aa998eaa0d677a63e6e0cc82d54aeab358d9ffd1026f14dcfd33ef5ad1be83
5
5
  SHA512:
6
- metadata.gz: 39bd5a7b6948b839dc58bc27c7948156232b726eea9db503ce53a6ac82864dfa141a9474a5be859d42b6dcbc629deac5fe0a74d83508aa2090fa499d78947809
7
- data.tar.gz: 881f405998cad23010907efed323a6ac6f57981de582b0c5403a37b4a217c17a57a13a706ad148049856e66877d5316822159a6e71a91e84927600023b6483fb
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
- 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,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 = '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_development_dependency 'rake', '>= 12.3.3'
23
23
  spec.add_development_dependency 'rspec', '~> 3'
24
24
  spec.add_development_dependency 'webmock'
25
25
  end