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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f650ffbfe5aa9304c779a982d4c3e2c420f0cc5a
4
- data.tar.gz: fee0a8e5e6af0a1fe992ca1765d51f939631372f
3
+ metadata.gz: 25b003c604edac022d3c1ef60b2326aef376dd93
4
+ data.tar.gz: bc83289d5e90b787d0fccc9c8f6accca9a76485e
5
5
  SHA512:
6
- metadata.gz: 1cff7a01ba7cb61ab80127c411fb6162985bdb3d52f7e2aaa53291f05e70cc21183738c9c95bee7478fe3b439e5b1a7aa749ab687ace1bac0cf002ab11a739c8
7
- data.tar.gz: 29cdbd3725a07259116f07f56ba81f1c95c0da2a2225b93651ad98cfb5422af16589074936c4701f091fce3e6435adec040e0255fd59a551797c3c7218333071
6
+ metadata.gz: 5dd3a64b94827391274a26a9b082c1163960a40e2ba7cf10a0969b6415b13766f7a5643874b579be8b82674ed62340e5165d0f3a34138437a1a3c5de0dbb81c4
7
+ data.tar.gz: 5104bc52eda67d238f28b109cd10850b5f61e35a38e17a04a6c71030a099f28ab7e220fae077a792c5ba837956105cd85daf4bd68dd44458f673ecf377c7c67f
data/README.md CHANGED
@@ -16,4 +16,4 @@ TODO: Describe any configuration attributes the plugin exposes.
16
16
 
17
17
  ## Usage
18
18
 
19
- * lita> `cwb f [WHERE]` - Show me forecast information for location WHERE (e.g: '台北市')
19
+ * lita> `cwb [WHERE]` - Show me forecast information for location WHERE (e.g: '台北市')
@@ -4,7 +4,7 @@ require 'nokogiri'
4
4
  module Lita
5
5
  module Handlers
6
6
  class Cwb < Handler
7
- route(/^cwb\s+f\s(.*)/, :f, command: true, help: { "cwb f [WHERE]" => "Show me forecast information for location WHERE." })
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
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "lita-cwb"
3
- spec.version = "0.1.1"
3
+ spec.version = "0.1.2"
4
4
  spec.authors = ["Huei-Horng Yo"]
5
5
  spec.email = ["hiroshi@ghostsinthelab.org"]
6
6
  spec.description = "Lita handler with Open Data from Central Weather Bureau"
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.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: 2015-04-12 00:00:00.000000000 Z
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.4.6
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