aralyne_owm 0.1.2 → 0.1.4
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/.gitignore +1 -0
- data/.rspec_status +4 -4
- data/Gemfile.lock +1 -1
- data/aralyne_owm-0.1.2.gem +0 -0
- data/aralyne_owm-0.1.3.gem +0 -0
- data/lib/aralyne_owm/config.rb +2 -2
- data/lib/aralyne_owm/current.rb +1 -1
- data/lib/aralyne_owm/forecast.rb +1 -1
- data/lib/aralyne_owm/version.rb +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7f7b3535adeb2598ac35657392328ad0efcf7a5b445882f92bc73b0856f9468f
|
|
4
|
+
data.tar.gz: 4aa474096f68eff27e375723e079298e570a2cb0baa0ed56749879e31299f0c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c58ad6368988b634f1f3c9b60845a65ace97b304d0e6ec3a23b27078e3b91289e35335e67eab35d99372e58e30f9440e5d75db3939d7b4d3321ffda90270863a
|
|
7
|
+
data.tar.gz: 3661e6172575f6f9c7acfa66487b9daaef177204de2531af823b7577c081cf600f7ac04dbf0408f23e0d6a6d3ed3ea0e16171c376e08f2a31207c8b62262ac32
|
data/.gitignore
CHANGED
data/.rspec_status
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
example_id | status | run_time |
|
|
2
2
|
-------------------------------------------- | ------ | --------------- |
|
|
3
|
-
./spec/aralyne_owm/current_spec.rb[1:1:1:1] | passed | 0.
|
|
4
|
-
./spec/aralyne_owm/current_spec.rb[1:1:2:1] | passed | 0.
|
|
5
|
-
./spec/aralyne_owm/forecast_spec.rb[1:1:1:1] | passed | 0.
|
|
6
|
-
./spec/aralyne_owm/forecast_spec.rb[1:1:2:1] | passed | 0.
|
|
3
|
+
./spec/aralyne_owm/current_spec.rb[1:1:1:1] | passed | 0.00861 seconds |
|
|
4
|
+
./spec/aralyne_owm/current_spec.rb[1:1:2:1] | passed | 0.00371 seconds |
|
|
5
|
+
./spec/aralyne_owm/forecast_spec.rb[1:1:1:1] | passed | 0.00483 seconds |
|
|
6
|
+
./spec/aralyne_owm/forecast_spec.rb[1:1:2:1] | passed | 0.00413 seconds |
|
data/Gemfile.lock
CHANGED
|
Binary file
|
|
Binary file
|
data/lib/aralyne_owm/config.rb
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
require 'httparty'
|
|
2
2
|
|
|
3
3
|
class AralyneOwm::Config
|
|
4
|
-
def initialize(city_id, endpoint)
|
|
5
|
-
@api_key =
|
|
4
|
+
def initialize(city_id, endpoint, api_key)
|
|
5
|
+
@api_key = api_key
|
|
6
6
|
@city_id = city_id
|
|
7
7
|
@endpoint = endpoint
|
|
8
8
|
@api_response = HTTParty.get(uri)
|
data/lib/aralyne_owm/current.rb
CHANGED
data/lib/aralyne_owm/forecast.rb
CHANGED
data/lib/aralyne_owm/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aralyne_owm
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Aralyne Gonçalves
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-01-
|
|
11
|
+
date: 2021-01-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rake
|
|
@@ -139,6 +139,8 @@ files:
|
|
|
139
139
|
- Rakefile
|
|
140
140
|
- aralyne_owm-0.1.0.gem
|
|
141
141
|
- aralyne_owm-0.1.1.gem
|
|
142
|
+
- aralyne_owm-0.1.2.gem
|
|
143
|
+
- aralyne_owm-0.1.3.gem
|
|
142
144
|
- aralyne_owm.gemspec
|
|
143
145
|
- bin/console
|
|
144
146
|
- bin/setup
|