weatherbot 0.1.3.2 → 0.1.3.3
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 +3 -1
- data/bin/weatherbot +1 -1
- data/lib/{weatherbot/api.rb → api.rb} +0 -0
- data/lib/{weatherbot/cli.rb → cli.rb} +0 -0
- data/lib/{weatherbot/helper.rb → helper.rb} +0 -0
- data/lib/{weatherbot/version.rb → version.rb} +1 -1
- data/lib/weatherbot.rb +4 -4
- data/spec.md +1 -1
- data/weatherbot-0.1.3.2.gem +0 -0
- data/weatherbot.gemspec +2 -1
- metadata +7 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f5b9a734fc34426db691856b041b313af3a9da7f
|
|
4
|
+
data.tar.gz: 3c5969ea99d39b5e11495fee8c4cbfdd26aa70f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9f6ae0d6808b7b029daebb53e5d9d362a51a954178ea959df8e67664bc2fbca29f346c448529d2db9e6773517df48a69e1bdc5ffc5bc5398f0a3c3f96ae1293c
|
|
7
|
+
data.tar.gz: ca833700ce5b854a8562aab7c881036ad9d366127e6149fbe75f96583775bcacafddd66b9f55b5147513416f175eabcab862cd08edc1c66cd627a3a67e466ebf
|
data/README.md
CHANGED
|
@@ -21,7 +21,9 @@ Or install it yourself as:
|
|
|
21
21
|
## Usage
|
|
22
22
|
Weatherbot is a Ruby gem that utilizes OpenWeatherMap’s API to retrieve current and forecast weather conditions based on a user’s input.
|
|
23
23
|
|
|
24
|
-
|
|
24
|
+
Type 'weatherbot' to start the program.
|
|
25
|
+
|
|
26
|
+
You will be prompted to enter a location. Anywhere works, the API responds to almost any entry, even if it is misspelled.
|
|
25
27
|
|
|
26
28
|
Many popular locations will work. In order to get the most accurate results, typing in <location>, <country> will work in almost every query.
|
|
27
29
|
|
data/bin/weatherbot
CHANGED
|
File without changes
|
|
File without changes
|
|
File without changes
|
data/lib/weatherbot.rb
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
require 'httparty'
|
|
2
2
|
# require 'pry'
|
|
3
3
|
|
|
4
|
-
require_relative "./
|
|
5
|
-
require_relative "./
|
|
6
|
-
require_relative "./
|
|
7
|
-
require_relative "./
|
|
4
|
+
require_relative "./version"
|
|
5
|
+
require_relative "./cli"
|
|
6
|
+
require_relative "./helper"
|
|
7
|
+
require_relative "./api"
|
data/spec.md
CHANGED
|
Binary file
|
data/weatherbot.gemspec
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: weatherbot
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.3.
|
|
4
|
+
version: 0.1.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Janusz Szubert
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-10-
|
|
11
|
+
date: 2017-10-12 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -86,15 +86,16 @@ files:
|
|
|
86
86
|
- bin/console
|
|
87
87
|
- bin/setup
|
|
88
88
|
- bin/weatherbot
|
|
89
|
+
- lib/api.rb
|
|
90
|
+
- lib/cli.rb
|
|
91
|
+
- lib/helper.rb
|
|
92
|
+
- lib/version.rb
|
|
89
93
|
- lib/weatherbot.rb
|
|
90
|
-
- lib/weatherbot/api.rb
|
|
91
|
-
- lib/weatherbot/cli.rb
|
|
92
|
-
- lib/weatherbot/helper.rb
|
|
93
|
-
- lib/weatherbot/version.rb
|
|
94
94
|
- spec.md
|
|
95
95
|
- weatherbot-0.1.1.gem
|
|
96
96
|
- weatherbot-0.1.2.gem
|
|
97
97
|
- weatherbot-0.1.3.1.gem
|
|
98
|
+
- weatherbot-0.1.3.2.gem
|
|
98
99
|
- weatherbot-0.1.3.gem
|
|
99
100
|
- weatherbot.gemspec
|
|
100
101
|
homepage: https://github.com/TheInvalidNonce/weatherbot-cli-app
|