tropical 0.1.4 → 0.1.5

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: 953aca22adc93a3af8f07baa5e168a61c6e40d23731ce2df5bc25f7e0b3c2878
4
- data.tar.gz: ea6d4bacb6cb117b354a670e4334d7d26f1f154d9c1844d99a3156f46e6282d9
3
+ metadata.gz: 773b86e10df59f914fc84c955a6c9098f51cce682b027eb8b3052e4f7f622d2e
4
+ data.tar.gz: 7dd04dfbcaa8bf919f40edb1f4a8be500d4c18b40a4c293dd6cc87675677c118
5
5
  SHA512:
6
- metadata.gz: 0a5e95d3d0be81e1ac048d6f8c23bc4bfd39217024d91d0b346b1d673e7deb748abff6ac970c2b9f41fea6968930037436656eaa6a16b78ec78ac9b7a3078185
7
- data.tar.gz: fd59c9c81c0da541ba21a4fe30d8fd437cce0c8940f92694e87bf76222d405b9fddee4f28e0a656064f094efe7d2893cbff9b7eedbef39d8560e94b1401e1a67
6
+ metadata.gz: 99efe601b047c5bc204d9a70c403e23a559f1a321e3f55531d32c82daefa1981e498a54625056cdc0be93729708e47805e2e4672913e54df4affa0abb54372d5
7
+ data.tar.gz: bff9a8af48ec17d96be5f7b6b3749de6681acc227a1ac058bcb2f4221e2b3205bb2009499d0c7e904a4e520c1ad2feedc182985233aed38c22241cade4f8fea5
data/Gemfile.lock CHANGED
@@ -1,13 +1,24 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tropical (0.1.4)
4
+ tropical (0.1.5)
5
+ activesupport (~> 6.1.2.1)
5
6
 
6
7
  GEM
7
8
  remote: https://rubygems.org/
8
9
  specs:
10
+ activesupport (6.1.2.1)
11
+ concurrent-ruby (~> 1.0, >= 1.0.2)
12
+ i18n (>= 1.6, < 2)
13
+ minitest (>= 5.1)
14
+ tzinfo (~> 2.0)
15
+ zeitwerk (~> 2.3)
9
16
  ast (2.4.2)
17
+ concurrent-ruby (1.1.8)
10
18
  diff-lcs (1.4.4)
19
+ i18n (1.8.9)
20
+ concurrent-ruby (~> 1.0)
21
+ minitest (5.14.3)
11
22
  parallel (1.20.1)
12
23
  parser (3.0.0.0)
13
24
  ast (~> 2.4.1)
@@ -40,7 +51,10 @@ GEM
40
51
  rubocop-ast (1.4.1)
41
52
  parser (>= 2.7.1.5)
42
53
  ruby-progressbar (1.11.0)
54
+ tzinfo (2.0.4)
55
+ concurrent-ruby (~> 1.0)
43
56
  unicode-display_width (2.0.0)
57
+ zeitwerk (2.4.2)
44
58
 
45
59
  PLATFORMS
46
60
  x86_64-linux
data/lib/tropical.rb CHANGED
@@ -1,3 +1,4 @@
1
+ require "active_support/all"
1
2
  require "date"
2
3
  require "json"
3
4
  require "net/http"
@@ -82,7 +83,7 @@ module Tropical
82
83
  link = ""
83
84
 
84
85
  params.each do |k, v|
85
- link += "&#{k}=#{v}" if v.is_a?(String) && !v.empty?
86
+ link += "&#{k}=#{v}" if v.is_a?(String) && v.present?
86
87
  end
87
88
 
88
89
  BASE_URL + link
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tropical
4
- VERSION = "0.1.4"
4
+ VERSION = "0.1.5"
5
5
  end
data/tropical.gemspec CHANGED
@@ -28,7 +28,7 @@ Gem::Specification.new do |spec|
28
28
  spec.require_paths = ["lib"]
29
29
 
30
30
  # Uncomment to register a new dependency of your gem
31
- # spec.add_dependency "example-gem", "~> 1.0"
31
+ spec.add_dependency "activesupport", "~> 6.1.2.1"
32
32
 
33
33
  # For more information and examples about making a new gem, checkout our
34
34
  # guide at: https://bundler.io/guides/creating_gem.html
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tropical
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Valter
@@ -9,7 +9,21 @@ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
11
  date: 2021-02-13 00:00:00.000000000 Z
12
- dependencies: []
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: 6.1.2.1
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: 6.1.2.1
13
27
  description: Consultation weather forecast up to 5 days.
14
28
  email:
15
29
  - valterandrey@gmail.com