weather_hash 0.0.1 → 0.0.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 +4 -4
- data/README.md +8 -12
- data/lib/weather_hash/version.rb +1 -1
- data/weather_hash.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fd895ca44605680047e7dbc9e3aff160f82a906f
|
4
|
+
data.tar.gz: 68e19ddd0ff6af975e4b95e31e22513d3d257fca
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 69f6579275ec437268580e4bad90348ccfb6f18de14f04061de1fbaec3055a903c74e87cbea40cc5b7334b5498b0db5e8abaee54c1f88319f5ade4b25e79733b
|
7
|
+
data.tar.gz: 21ff87f0857620d4fade7ae475e415541a6abae7a4b789a84f3d78721eb90056c242277bceda5774806096c7b115b47f639c8459702768e8cd0f4168649ce90f
|
data/README.md
CHANGED
@@ -1,26 +1,22 @@
|
|
1
1
|
# WeatherHash
|
2
2
|
|
3
|
-
|
3
|
+
This gem was created to serve as an educational tool to help students understand hashes and arrays using a real-world context. It pulls weather data from the Yahoo! weather API.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
7
|
-
|
7
|
+
Install this gem by running the following command in the terminal:
|
8
8
|
|
9
|
-
|
10
|
-
gem 'weather_hash'
|
11
|
-
```
|
9
|
+
$ gem install weather_hash
|
12
10
|
|
13
|
-
|
11
|
+
## Usage
|
14
12
|
|
15
|
-
|
13
|
+
Use this gem inside your code:
|
16
14
|
|
17
|
-
|
15
|
+
require 'weather_hash'
|
18
16
|
|
19
|
-
|
20
|
-
|
21
|
-
## Usage
|
17
|
+
WeatherHash.lookup("Chicago", "IL")
|
22
18
|
|
23
|
-
|
19
|
+
The response will be a hash containing current weather data.
|
24
20
|
|
25
21
|
## Contributing
|
26
22
|
|
data/lib/weather_hash/version.rb
CHANGED
data/weather_hash.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["jaywngrw@gmail.com"]
|
11
11
|
spec.summary = %q{A gem to receive weather data from the Yahoo Weather API}
|
12
12
|
spec.description = %q{A gem to receive weather data from the Yahoo Weather API. The data is returned as a simple hash.}
|
13
|
-
spec.homepage = ""
|
13
|
+
spec.homepage = "https://github.com/jaywengrow/weather_hash"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: weather_hash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jay Wengrow
|
@@ -54,7 +54,7 @@ files:
|
|
54
54
|
- lib/weather_hash.rb
|
55
55
|
- lib/weather_hash/version.rb
|
56
56
|
- weather_hash.gemspec
|
57
|
-
homepage:
|
57
|
+
homepage: https://github.com/jaywengrow/weather_hash
|
58
58
|
licenses:
|
59
59
|
- MIT
|
60
60
|
metadata: {}
|