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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8046cc61d40c3c877dcbff61189bcc3a2cf5ac96
4
- data.tar.gz: d0a09c80aacbedb47b2e8aae49fe7f3cd6da04c6
3
+ metadata.gz: fd895ca44605680047e7dbc9e3aff160f82a906f
4
+ data.tar.gz: 68e19ddd0ff6af975e4b95e31e22513d3d257fca
5
5
  SHA512:
6
- metadata.gz: 354d69cea8c862e69d1a5d1b8fc73a012a83fe6a9ca53c1cfc00416d640f7361b16e6b159e4b06afa53fe41c6596e4ea9ff2c946fc009d4c4754af25668544a6
7
- data.tar.gz: b270e21bc66de6d62e5eee86fe2e0f4a0303ffe7ae08f3e24bda58247f43e3bc26687f09cde24f8cbf91918ec0685ebe93fdb9ba8926e5764ecd63b799d63ab1
6
+ metadata.gz: 69f6579275ec437268580e4bad90348ccfb6f18de14f04061de1fbaec3055a903c74e87cbea40cc5b7334b5498b0db5e8abaee54c1f88319f5ade4b25e79733b
7
+ data.tar.gz: 21ff87f0857620d4fade7ae475e415541a6abae7a4b789a84f3d78721eb90056c242277bceda5774806096c7b115b47f639c8459702768e8cd0f4168649ce90f
data/README.md CHANGED
@@ -1,26 +1,22 @@
1
1
  # WeatherHash
2
2
 
3
- TODO: Write a gem description
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
- Add this line to your application's Gemfile:
7
+ Install this gem by running the following command in the terminal:
8
8
 
9
- ```ruby
10
- gem 'weather_hash'
11
- ```
9
+ $ gem install weather_hash
12
10
 
13
- And then execute:
11
+ ## Usage
14
12
 
15
- $ bundle
13
+ Use this gem inside your code:
16
14
 
17
- Or install it yourself as:
15
+ require 'weather_hash'
18
16
 
19
- $ gem install weather_hash
20
-
21
- ## Usage
17
+ WeatherHash.lookup("Chicago", "IL")
22
18
 
23
- TODO: Write usage instructions here
19
+ The response will be a hash containing current weather data.
24
20
 
25
21
  ## Contributing
26
22
 
@@ -1,3 +1,3 @@
1
1
  module WeatherHash
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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: {}