ruboty-help_query 1.0.0 → 1.0.1

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: e9d64c210a295a62c8ab58fb752a2e5112db8f55
4
- data.tar.gz: 4c12fd8389a3f72f2f777e5d503715c539c19ec8
3
+ metadata.gz: e87808e523c2c1bff9b4a05ee169e18e1486cc9d
4
+ data.tar.gz: 0bcb34437781f88e4b560808308b743f439b8206
5
5
  SHA512:
6
- metadata.gz: 40d33681c5b44b76a84a3d18576ce7b5f568509994ab0c31dfd67d8087343c2d729785260ad117f32b8719eafd08176354c20e2558db468543594b6a9074183b
7
- data.tar.gz: 2d27183bb1efad5abc8082432c300e5bbaa46eaa4745380e1f4951eedc405b71966b08b4eeb1b926b3766c98b2502ed61a244c7f8b0678427c9ad0157c8fdd03
6
+ metadata.gz: 15f35700d5022dcc06f629e1148e8eaa5831ac57a34b8c0aa2cb3df38b4085075228e8cb91307276638f9ccba332a9462ae216e4bc89e41b14983510b9b199ec
7
+ data.tar.gz: 99413ea32edecbddf12e1b09e2220f4987db6126da3cac855ca1d7a6638f439333c618c75febf655d08629a839d72c66370190b9d1ff90e111796bf32522188b
@@ -0,0 +1,10 @@
1
+ ## v.1.0.1
2
+ 2014/12/09
3
+
4
+ ### Update Feature
5
+ * Fix pattern `(?<query>.*)` to `(?<query>.+)`
6
+
7
+ ## v.1.0.0
8
+ 2014/12/08
9
+
10
+ * first release
data/README.md CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  An Ruboty Handler + Actions to show all help commands that match &lt;query&gt;.
4
4
 
5
+ [![Gem Version](https://badge.fury.io/rb/ruboty-help_query.svg)](http://badge.fury.io/rb/ruboty-help_query)
5
6
  [![Build Status](https://travis-ci.org/tbpgr/ruboty-help_query.png?branch=master)](https://travis-ci.org/tbpgr/ruboty-help_query)
6
7
  [![Coverage Status](https://coveralls.io/repos/tbpgr/ruboty-help_query/badge.png)](https://coveralls.io/r/tbpgr/ruboty-help_query)
7
8
 
@@ -28,7 +29,7 @@ Or install it yourself as:
28
29
 
29
30
  |Command|Pattern|Description|
30
31
  |:--|:--|:--|
31
- |help|/help *(?&lt;query&gt;.*)\z/|Show all help commands that match &lt;query&gt;.|
32
+ |help|/help *(?&lt;query&gt;.+)\z/|Show all help commands that match &lt;query&gt;.|
32
33
 
33
34
  ## Usage
34
35
  ### help
@@ -5,7 +5,7 @@ module Ruboty
5
5
  # HelpQuery
6
6
  class HelpQuery < Base
7
7
  on(
8
- /help\s*(?<query>.*)\z/,
8
+ /help\s*(?<query>.+)\z/,
9
9
  name: 'help',
10
10
  description: 'Show all help commands that match <query>.'
11
11
  )
@@ -1,6 +1,6 @@
1
1
  module Ruboty
2
2
  # HelpQuery
3
3
  module HelpQuery
4
- VERSION = '1.0.0'
4
+ VERSION = '1.0.1'
5
5
  end
6
6
  end
@@ -33,7 +33,7 @@ describe Ruboty::HelpQuery::Actions::Help do
33
33
  case_title: 'exist user case',
34
34
  query: '.*p.*',
35
35
  expected: <<-EOS
36
- robot /help\\s*(?<query>.*)\\z/ - Show all help commands that match <query>.
36
+ robot /help\\s*(?<query>.+)\\z/ - Show all help commands that match <query>.
37
37
  robot /help( me)?\\z/i - Show this help message
38
38
  robot /ping\\z/i - Return PONG to PING
39
39
  EOS
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-help_query
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - tbpgr
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-08 00:00:00.000000000 Z
11
+ date: 2014-12-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruboty
@@ -92,6 +92,7 @@ files:
92
92
  - .rspec
93
93
  - .rubocop.yml
94
94
  - .travis.yml
95
+ - CHANGELOG.md
95
96
  - Gemfile
96
97
  - LICENSE.txt
97
98
  - README.md