tropical 0.1.1 → 0.1.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
  SHA256:
3
- metadata.gz: 1a59d99f2cdba910fc0727756cefd35ed148866951c4087484b964de2dc9b49e
4
- data.tar.gz: a31cb9bb5c5232579d88669ef08ac2776869ead0a4aaf928af633bdd47bd899e
3
+ metadata.gz: ad251438dd31911fd226055004c5966f7df86fd59afe32db172f3742126e04b0
4
+ data.tar.gz: 8c65872a8138270b0e9f393315b004dba919c7504054321865d560652146d4cc
5
5
  SHA512:
6
- metadata.gz: 9548089ca4fd3568ffd896a77ad5399df38052239f368e90e817365acfe7f4cbbb062da0a13a0434fcc1a415213bfced3c162e4e53fd7d3376789e459ce0c18d
7
- data.tar.gz: 01f0637079f837719575ea9485a47d4039e00f8c87592f5b8f5f9c53a26c1b36e7fd3f9247db02541f02a49693563fcd9ae45316b7ca980496d8753863d5b32b
6
+ metadata.gz: 7d2648038b21a0e51dcca5e14936c772c695bcce9902632e54d0c8807ab481d7e8bc38db64ef9c953756933778b1b106b9085d971df13b3ea090da4bf1c7025a
7
+ data.tar.gz: 1b44a54bf7ce7f44d64d96920eee0d4222bcfdd2e37a4d2de5a5596260598d9dd03cba6f99889338a1414f59d4c0be624049f0588f357ed647e3df59c1a39928
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tropical (0.1.1)
4
+ tropical (0.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -8,7 +8,10 @@ TODO: Delete this and the text above, and describe your gem
8
8
 
9
9
  Add this line to your application's Gemfile:
10
10
 
11
- ```rails
11
+ ```ruby
12
+ gem 'tropical'
13
+
14
+ # or
12
15
  gem 'tropical', git: 'https://github.com/valterandrei/tropical', branch: 'main'
13
16
  ```
14
17
 
data/lib/tropical.rb CHANGED
@@ -29,6 +29,10 @@ module Tropical
29
29
  days
30
30
  end
31
31
 
32
+ def city
33
+ data["city"]["name"]
34
+ end
35
+
32
36
  def current_date
33
37
  list.first[:datetime]
34
38
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Tropical
4
- VERSION = "0.1.1"
4
+ VERSION = "0.1.2"
5
5
  end
data/tropical.gemspec CHANGED
@@ -14,7 +14,6 @@ Gem::Specification.new do |spec|
14
14
  spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
15
15
 
16
16
  spec.metadata["allowed_push_host"] = "https://rubygems.org"
17
-
18
17
  spec.metadata["homepage_uri"] = spec.homepage
19
18
  spec.metadata["source_code_uri"] = "https://github.com/ValterAndrei/tropical"
20
19
  spec.metadata["changelog_uri"] = "https://github.com/ValterAndrei/tropical"
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.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Valter