eltiempo 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 +4 -4
- data/README.md +4 -5
- data/lib/eltiempo/cli.rb +1 -1
- data/lib/eltiempo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ef95f536cca2d1b51901f494ac76eec89f3c7ea9
|
|
4
|
+
data.tar.gz: e470a84d34eb6a5575cb0208f9ffc12e3cd1892e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 49e44aea129ebb22065108fbb7beb1bdae291c7da196f189e17d2c73877ff1d626f738025acfd706d2565aebc8f1f661e7a12c5f86fa49aa95cb97af8d4175fc
|
|
7
|
+
data.tar.gz: af4799be3abb1fb1c7f2f02ad3d1b64111539a56d67676d831e6608a5156a5a0b6485624edc72d12730b80f12f842fd3e84cb5782e6c1f0af385fb126bf4157d
|
data/README.md
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
|
|
2
2
|
## Installation
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
bundle install
|
|
4
|
+
Gem install eltiempo
|
|
7
5
|
|
|
8
6
|
## Usage
|
|
9
7
|
|
|
10
|
-
|
|
8
|
+
eltiempo [command] [city]
|
|
9
|
+
|
|
10
|
+
eltiempo -today Barcelona
|
|
11
11
|
|
|
12
12
|
## License
|
|
13
13
|
|
|
14
14
|
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
|
15
|
-
|
data/lib/eltiempo/cli.rb
CHANGED
|
@@ -25,7 +25,7 @@ module Eltiempo
|
|
|
25
25
|
|
|
26
26
|
desc "av_min", "display week average minimun temperature in city"
|
|
27
27
|
def av_min city
|
|
28
|
-
puts "Average
|
|
28
|
+
puts "Average minimun temperature of the week in #{city} " + @eltiempoparser.average_temp(city, "min").to_s + "º"
|
|
29
29
|
end
|
|
30
30
|
|
|
31
31
|
desc "cities", "display names of all available cities"
|
data/lib/eltiempo/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: eltiempo
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Carlos
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-03-
|
|
11
|
+
date: 2017-03-14 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|