epa_uv_index 0.0.2 → 0.0.3
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.
- data/LICENSE.txt +0 -2
- data/README.md +16 -2
- data/epa_uv_index.gemspec +3 -1
- data/lib/epa_uv_index/version.rb +1 -1
- metadata +35 -3
data/LICENSE.txt
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# EpaUvIndex
|
2
2
|
|
3
|
-
|
3
|
+
A really simple Ruby client library for accessing the U.S. EPA's UV Index REST API ([More information](http://www.epa.gov/enviro/facts/services.html#uvindex)).
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -38,10 +38,24 @@ Daily, by city/state
|
|
38
38
|
|
39
39
|
Missing parameters or bad HTTP responses result in Exceptions being raised.
|
40
40
|
|
41
|
+
## Reporting an Issue
|
42
|
+
|
43
|
+
To report an issue or suggest a feature, please use the [issues page](https://github.com/GSA-OCSIT/epa_uv_index/issues).
|
44
|
+
|
41
45
|
## Contributing
|
42
46
|
|
47
|
+
Federal employees and members of the public are encouraged to contribute to the project by [forking](https://help.github.com/articles/fork-a-repo) and submitting a pull request. (If you are new to GitHub, you might start with a [basic tutorial](https://help.github.com/articles/set-up-git).) Specifically:
|
48
|
+
|
43
49
|
1. Fork it
|
44
50
|
2. Create your feature branch (`git checkout -b my-new-feature`)
|
45
51
|
3. Commit your changes (`git commit -am 'Add some feature'`)
|
46
52
|
4. Push to the branch (`git push origin my-new-feature`)
|
47
|
-
5. Create new Pull Request
|
53
|
+
5. Create new Pull Request
|
54
|
+
|
55
|
+
**Note:** All contributors retain the original copyright to their code, but by contributing to this project, you grant a world-wide, royalty-free, perpetual, irrevocable, non-exclusive, transferable license to all users under the terms of the license under which this project is distributed.
|
56
|
+
|
57
|
+
## License
|
58
|
+
|
59
|
+
This project constitutes a work of the United States Government and is not subject to domestic copyright protection under 17 USC � 105.
|
60
|
+
|
61
|
+
This project is licensed under the MIT License. See `LICENSE.txt` for more information.
|
data/epa_uv_index.gemspec
CHANGED
@@ -7,7 +7,7 @@ Gem::Specification.new do |gem|
|
|
7
7
|
gem.name = "epa_uv_index"
|
8
8
|
gem.version = EpaUvIndex::VERSION
|
9
9
|
gem.authors = ["Greg Gershman"]
|
10
|
-
gem.email = ["
|
10
|
+
gem.email = ["gregory.gershman@gsa.gov"]
|
11
11
|
gem.description = %q{Ruby client library for accessing the U.S. EPA's UV Index API (http://www.epa.gov/enviro/facts/services.html#uvindex)'}
|
12
12
|
gem.summary = %q{Get UV Index values by daily and hourly for zip code or city/state}
|
13
13
|
gem.homepage = "http://github.com/GSA-OCSIT/epa_uv_index"
|
@@ -16,4 +16,6 @@ Gem::Specification.new do |gem|
|
|
16
16
|
gem.executables = gem.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
17
17
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
18
18
|
gem.require_paths = ["lib"]
|
19
|
+
gem.add_dependency('httparty')
|
20
|
+
gem.add_dependency('multi_json')
|
19
21
|
end
|
data/lib/epa_uv_index/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: epa_uv_index
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,10 +10,42 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
date: 2012-10-10 00:00:00.000000000 Z
|
13
|
-
dependencies:
|
13
|
+
dependencies:
|
14
|
+
- !ruby/object:Gem::Dependency
|
15
|
+
name: httparty
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
18
|
+
requirements:
|
19
|
+
- - ! '>='
|
20
|
+
- !ruby/object:Gem::Version
|
21
|
+
version: '0'
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
26
|
+
requirements:
|
27
|
+
- - ! '>='
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
version: '0'
|
30
|
+
- !ruby/object:Gem::Dependency
|
31
|
+
name: multi_json
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
34
|
+
requirements:
|
35
|
+
- - ! '>='
|
36
|
+
- !ruby/object:Gem::Version
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ! '>='
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
version: '0'
|
14
46
|
description: Ruby client library for accessing the U.S. EPA's UV Index API (http://www.epa.gov/enviro/facts/services.html#uvindex)'
|
15
47
|
email:
|
16
|
-
-
|
48
|
+
- gregory.gershman@gsa.gov
|
17
49
|
executables: []
|
18
50
|
extensions: []
|
19
51
|
extra_rdoc_files: []
|