aralyne_owm 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 634127411bf1043e3037679e77220ba9568891bf023f1575f539c99400416932
4
- data.tar.gz: d398be1d57d6b7a80dc7452f8cfc7b5ea2cac78ffe419823a783b8786eede3f3
3
+ metadata.gz: 1bdf9ae57f24e4a167998c10a7bcb8001c3724ca5f0d2c25e6028086bb2057a5
4
+ data.tar.gz: 22ce438c95f1cc6d5375f96719573d0df324cdac5bbb96bd8af0827edd712eb4
5
5
  SHA512:
6
- metadata.gz: 31f24110c6154116043ef79befad447b4d2631f254317bee059c629f6f091d6d9349d78006ba4a22c166152d84dc5b7464d9ee5fec0a0b73e2e1d2ee44ba50e3
7
- data.tar.gz: 480eebede7384849cc0aba4e8fc8a76c3bc402d7f0d545bb903c4d2851e7e841312a266803d04bd507e6ce22780407d708c1e34fdb4c6a7b2c812286299f277a
6
+ metadata.gz: bc647de5bb8524b7705a429a2e1c7510e2522870a8c9201045ef56c525a39d1a1567e9d81fc9ed080219c441e33b629912702e39e9f0ffad658509e4d8c2bd81
7
+ data.tar.gz: 7939aa1df5c64305bd5421593a58ed97947b1541fe1bf51f55b1ac5296f2d54584ff3261225013961cfd5c08310800dc5a2ff1ece13d253b0c26da8de616db03
Binary file
@@ -1,9 +1,9 @@
1
1
  require "aralyne_owm/config"
2
2
 
3
3
  class AralyneOwm::Forecast
4
- def initialize(params)
5
- @params = params
6
- @api = AralyneOwm::Config.new(city_id, endpoint).call
4
+ def initialize(city_id)
5
+ @city_id = city_id
6
+ @api = AralyneOwm::Config.new(@city_id, endpoint).call
7
7
  end
8
8
 
9
9
  def call
@@ -15,8 +15,4 @@ class AralyneOwm::Forecast
15
15
  def endpoint
16
16
  'forecast'
17
17
  end
18
-
19
- def city_id
20
- @params[:city_id]
21
- end
22
18
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module AralyneOwm
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aralyne_owm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aralyne Gonçalves
@@ -137,6 +137,7 @@ files:
137
137
  - Gemfile.lock
138
138
  - README.md
139
139
  - Rakefile
140
+ - aralyne_owm-0.1.0.gem
140
141
  - aralyne_owm.gemspec
141
142
  - bin/console
142
143
  - bin/setup