lita-cwb 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/lita/handlers/cwb.rb +1 -1
- data/lita-cwb.gemspec +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25b003c604edac022d3c1ef60b2326aef376dd93
|
4
|
+
data.tar.gz: bc83289d5e90b787d0fccc9c8f6accca9a76485e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5dd3a64b94827391274a26a9b082c1163960a40e2ba7cf10a0969b6415b13766f7a5643874b579be8b82674ed62340e5165d0f3a34138437a1a3c5de0dbb81c4
|
7
|
+
data.tar.gz: 5104bc52eda67d238f28b109cd10850b5f61e35a38e17a04a6c71030a099f28ab7e220fae077a792c5ba837956105cd85daf4bd68dd44458f673ecf377c7c67f
|
data/README.md
CHANGED
data/lib/lita/handlers/cwb.rb
CHANGED
@@ -4,7 +4,7 @@ require 'nokogiri'
|
|
4
4
|
module Lita
|
5
5
|
module Handlers
|
6
6
|
class Cwb < Handler
|
7
|
-
route(/^cwb\s
|
7
|
+
route(/^cwb\s(.*)/, :f, command: true, help: { "cwb [WHERE]" => "Show me forecast information for location WHERE." })
|
8
8
|
|
9
9
|
def f(response)
|
10
10
|
where = response.matches.first.first
|
data/lita-cwb.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lita-cwb
|
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
|
- Huei-Horng Yo
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-10-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lita
|
@@ -147,7 +147,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
149
|
rubyforge_project:
|
150
|
-
rubygems_version: 2.
|
150
|
+
rubygems_version: 2.5.1
|
151
151
|
signing_key:
|
152
152
|
specification_version: 4
|
153
153
|
summary: Lita handler with Open Data from Central Weather Bureau, get forecasts information
|