agroclimatology 0.3.1 → 0.3.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: 9b3a357399f5589995ee04cfae23ba5367c3c2de
4
- data.tar.gz: f660719dfa02bfcf386f7352b9c27495d7645a61
3
+ metadata.gz: 955313ba1973dac4097ffd1ade386ad6249e50f0
4
+ data.tar.gz: 1902a5b3e907f9121099680540d54e178839ebdc
5
5
  SHA512:
6
- metadata.gz: 161efcda8f75ecfb96951a9ebf91373cb590dff68d4dc60d2af970c88ddafbbc175fe2d0bdab4a56905c6ad143d19029c5d6b2df05efbbf9cb5f86af2c1ba368
7
- data.tar.gz: 835232616c2d45bbb075dbb08f41b96cb3a850b114bd488a6ed1c7be0042cc295155a54255c1099ce974effd556a4648361a56c1dab93a22e08ff63704d0d17b
6
+ metadata.gz: 44d7ba039aeda2a46b4769fe43666bc44ef85af7ff1ca40077f488c01f1226cc3f8ce0fb9d3f1cccffb94ea4ddb2e67b9aa0792e9e48a710c483f79b51bc4f1a
7
+ data.tar.gz: dbfd2a29064d78ec91ea320d094019a97dad68eb53f4bd48d748ab699c57feeeb52ac6184d2f91b297d1839a92982ae93604e9219f24aadcc1e17be03f54cdca
@@ -1,29 +1,19 @@
1
- Copyright (c) 2016, Bryce Johnston
1
+ Copyright (c) 2017 Bryce Johnston
2
2
 
3
- All rights reserved.
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy
4
+ of this software and associated documentation files (the "Software"), to deal
5
+ in the Software without restriction, including without limitation the rights
6
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
7
+ copies of the Software, and to permit persons to whom the Software is
8
+ furnished to do so, subject to the following conditions:
4
9
 
5
- Redistribution and use in source and binary forms, with or without
6
- modification, are permitted provided that the following conditions are met:
10
+ The above copyright notice and this permission notice shall be included in
11
+ all copies or substantial portions of the Software.
7
12
 
8
- 1. Redistributions of source code must retain the above copyright notice,
9
- this list of conditions and the following disclaimer.
10
-
11
- 2. Redistributions in binary form must reproduce the above copyright notice,
12
- this list of conditions and the following disclaimer in the documentation
13
- and/or other materials provided with the distribution.
14
-
15
- 3. Neither the name of the copyright holder nor the names of its
16
- contributors may be used to endorse or promote products derived from this
17
- software without specific prior written permission.
18
-
19
- THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
20
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
23
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
24
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
25
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
26
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
27
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
28
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
- POSSIBILITY OF SUCH DAMAGE.
13
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
14
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
15
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
16
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
17
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
18
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
19
+ THE SOFTWARE.
data/README.md CHANGED
@@ -1,10 +1,10 @@
1
1
  # Agroclimatology
2
2
 
3
3
  [![Gem Version](http://img.shields.io/gem/v/agroclimatology.svg)][gem]
4
- [![Build Status](http://img.shields.io/travis/brycejohnston/agroclimatology.svg)][travis]
4
+ [![Build Status](http://img.shields.io/travis/CropQuest/agroclimatology.svg)][travis]
5
5
 
6
6
  [gem]: https://rubygems.org/gems/agroclimatology
7
- [travis]: http://travis-ci.org/brycejohnston/agroclimatology
7
+ [travis]: http://travis-ci.org/CropQuest/agroclimatology
8
8
 
9
9
  Ruby client for interacting with the [NASA (POWER) Agroclimatology Web Resource](http://power.larc.nasa.gov/cgi-bin/agro.cgi)
10
10
 
@@ -44,12 +44,12 @@ Agroclimatology.fetch(latitude, longitude, year_start, year_end)
44
44
 
45
45
  ### Examples
46
46
 
47
- Fetch all solar radiation data available for Dodge City, KS, United States
47
+ Fetch all solar radiation data
48
48
  ```ruby
49
49
  Agroclimatology.fetch(37.752798, -100.017079)
50
50
  ```
51
51
 
52
- Fetch solar radiation data for Woombye, QLD, Australia from 2015 - 2016
52
+ Fetch solar radiation data from 2015 - 2016
53
53
  ```ruby
54
54
  Agroclimatology.fetch(-26.660446, 152.964647, 2015, 2016)
55
55
  ```
@@ -68,11 +68,10 @@ Agroclimatology.fetch(-26.660446, 152.964647, 2015, 2016)
68
68
  :day_of_year => "2",
69
69
  :rad_atmosphere => "43.27",
70
70
  :rad_surface => "23.00",
71
- :rad_flux => 34.81"
71
+ :rad_flux => "34.81"
72
72
  },
73
73
  ]
74
74
  ```
75
- => {:year=>"2015", :day_of_year=>"1", :rad_atmosphere=>"42.84", :rad_surface=>"27.47", :rad_flux=>"34.78"}
76
75
 
77
76
  ### Output
78
77
 
@@ -89,7 +88,7 @@ After checking out the repo, run `bin/setup` to install dependencies. Then, run
89
88
 
90
89
  ## Contributing
91
90
 
92
- Bug reports and pull requests are welcome on GitHub at https://github.com/brycejohnston/agroclimatology.
91
+ Bug reports and pull requests are welcome on GitHub at https://github.com/CropQuest/agroclimatology.
93
92
 
94
93
  ## Acknowledgments
95
94
 
@@ -97,4 +96,4 @@ Data provided by [NASA (POWER) Agroclimatology Web Resource](http://power.larc.n
97
96
 
98
97
  ## License
99
98
 
100
- The gem is available as open source under the terms of the BSD 3-Clause License (see [LICENSE.txt](https://github.com/brycejohnston/agroclimatology/blob/master/LICENSE.txt))
99
+ The gem is available as open source under the terms of the MIT License (see [LICENSE.txt](https://github.com/CropQuest/agroclimatology/blob/master/LICENSE.txt))
@@ -7,11 +7,11 @@ Gem::Specification.new do |spec|
7
7
  spec.name = "agroclimatology"
8
8
  spec.version = Agroclimatology::VERSION
9
9
  spec.authors = ["Bryce Johnston"]
10
- spec.email = ["johnstonbrc@gmail.com"]
10
+ spec.email = ["bjohnston@cropquest.com"]
11
11
  spec.summary = %q{Ruby client for interacting with the NASA (POWER) Agroclimatology Web Resource}
12
12
  spec.description = %q{Ruby client for interacting with the NASA (POWER) Agroclimatology Web Resource}
13
- spec.homepage = "https://github.com/brycejohnston/agroclimatology"
14
- spec.license = "BSD 3-Clause"
13
+ spec.homepage = "https://github.com/CropQuest/agroclimatology"
14
+ spec.license = "MIT"
15
15
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
16
16
  spec.bindir = "exe"
17
17
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
@@ -1,3 +1,3 @@
1
1
  module Agroclimatology
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agroclimatology
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryce Johnston
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-06-19 00:00:00.000000000 Z
11
+ date: 2017-05-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty
@@ -83,7 +83,7 @@ dependencies:
83
83
  description: Ruby client for interacting with the NASA (POWER) Agroclimatology Web
84
84
  Resource
85
85
  email:
86
- - johnstonbrc@gmail.com
86
+ - bjohnston@cropquest.com
87
87
  executables: []
88
88
  extensions: []
89
89
  extra_rdoc_files: []
@@ -100,9 +100,9 @@ files:
100
100
  - bin/setup
101
101
  - lib/agroclimatology.rb
102
102
  - lib/agroclimatology/version.rb
103
- homepage: https://github.com/brycejohnston/agroclimatology
103
+ homepage: https://github.com/CropQuest/agroclimatology
104
104
  licenses:
105
- - BSD 3-Clause
105
+ - MIT
106
106
  metadata: {}
107
107
  post_install_message:
108
108
  rdoc_options: []
@@ -120,9 +120,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
120
  version: '0'
121
121
  requirements: []
122
122
  rubyforge_project:
123
- rubygems_version: 2.6.4
123
+ rubygems_version: 2.6.8
124
124
  signing_key:
125
125
  specification_version: 4
126
126
  summary: Ruby client for interacting with the NASA (POWER) Agroclimatology Web Resource
127
127
  test_files: []
128
- has_rdoc: