lita-your-weather 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: aec3979dfb9d9d1aab41dac6d7c4831e592e0a5e
4
- data.tar.gz: f634092bba0bb745a33e1436e530cab0364a8919
3
+ metadata.gz: e6d96a35d92d2d0a9a584223af41a051d580c575
4
+ data.tar.gz: 56922aef152490923fb6273b7a539e8b81a5a14a
5
5
  SHA512:
6
- metadata.gz: 5a077eaab58a478e4e7d9ee918c4fc672b4b849cdfd8caf083db5c7bc69c28d04032e2b7c68caa9c68b3be141d0c4e43d8ffa0ebcfd64e39e1adedfa4f9e9553
7
- data.tar.gz: e88ae9f476bc0aaffa7515579b09e5ad2c7d375e7ee53bcbcbc5e29cfe9773a9dfbe27cdddbae19cb132b17af6b1122a08b28452c6a0ae87b634b7cc9bb566d7
6
+ metadata.gz: 51e74f8fd77a1b39040b970a2cdf6802db17c9a83267b5550ba317daf9316a72c5055787a95dde51b7bad47fe4e173542c68386fe8dbfb06d393080f3a3260db
7
+ data.tar.gz: 087a23df19e6deb7f180f0fcfb45020323ebc30398e4aa80a14a361119849cbd8a7f2c4463d8810c4121ca3ae1fd14832427994ee00651d4a8ef1de4ae795e2c
data/README.md CHANGED
@@ -26,11 +26,11 @@ config.handlers.your_weather.api_key = 'www.apixu.com Api Key'
26
26
  Commands include:
27
27
 
28
28
  <!-- For current weather of default location -->
29
- $ weather or $ weather c
29
+ $ lita weather or $ lita weather c
30
30
  <!-- For current weather of specified location-->
31
- $ weather c Your_Location,Your_State,Your_Country
31
+ $ lita weather c Your_Location,Your_State,Your_Country
32
32
 
33
33
  <!-- For weather forecast of default location-->
34
- $ weather f
34
+ $ lita weather f
35
35
  <!-- For weather forecast of specified location-->
36
- $ weather f Your_Location,Your_State,Your_Country
36
+ $ lita weather f Your_Location,Your_State,Your_Country
@@ -11,9 +11,9 @@ module Lita
11
11
  config :api_key, type: String, required: true
12
12
 
13
13
  # Routes
14
- route(/^weather\s{1}*(.*)/, :weather_current, command: false, help: { "weather CITY/STATE,COUNTRY" => "Responds with the specified city's current weather." })
15
- route(/^weather\s{1}c\s*(.*)/, :weather_current, command: false, help: { "weather c CITY/STATE,COUNTRY" => "Responds with the specified city's current weather." })
16
- route(/^weather\s{1}f\s*(.*)/, :weather_forecast, command: false, help: { "weather f CITY/STATE,COUNTRY" => "Responds with the specified city's 7 day forecast." })
14
+ route(/^weather\s{1}*(.*)/, :weather_current, command: true, help: { "weather CITY/STATE,COUNTRY" => "Responds with the specified city's current weather." })
15
+ route(/^weather\s{1}c\s*(.*)/, :weather_current, command: true, help: { "weather c CITY/STATE,COUNTRY" => "Responds with the specified city's current weather." })
16
+ route(/^weather\s{1}f\s*(.*)/, :weather_forecast, command: true, help: { "weather f CITY/STATE,COUNTRY" => "Responds with the specified city's 7 day forecast." })
17
17
 
18
18
  # Current Weather
19
19
  def weather_current(response)
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-your-weather"
3
- spec.version = "0.0.2"
3
+ spec.version = "0.0.3"
4
4
  spec.authors = ["Zoie Carnegie"]
5
5
  spec.email = ["zoie.carnegie@gmail.com"]
6
6
  spec.description = "lita-your-weather provides the ability to ask for the current weather conditions or for a 7 day forecast."
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-your-weather
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Zoie Carnegie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-01-12 00:00:00.000000000 Z
11
+ date: 2017-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: lita