ruboty-http_status 0.2.3 → 0.3.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 27b2cfa7dadf4c49df10cd04dcebca19457d6342
4
- data.tar.gz: d0d7ae51e88324c6579a192d12f6031c2afcece8
3
+ metadata.gz: 4763a997f0b14ec03b009983b7d060adedc3923d
4
+ data.tar.gz: c0eccb16548af21669318470520622570489f74f
5
5
  SHA512:
6
- metadata.gz: 3de3f6eca0c1347660a2aeae8824183903f4c8e36bdffe1fe94534ac0d630396b8c12845d4fff8b222ab446478df686852706472e546c014dfae7bf526da3440
7
- data.tar.gz: ec909d96a81f486b85fbf8021bea74927850d99659773803bcbb36c0ad9beb3024d911a66f119e9b90953cc33f7588b7e35cda85cabdf06282bdc71a65eaad99
6
+ metadata.gz: 2befb5dbbf4ebd1c78c6b4e0e2fbbd57c940de07ecd0a4f8bd78d2c8b519e088e18bcd0cd658bff57676c0704d8f041d31f2cc5701559cad0ef8a61103650f6f
7
+ data.tar.gz: eb9ac85f3176a914a90db351cc2261b210b6b284c3848d68e3ee32e69780ff7f4993ca364f9a12ce6f50dbebf88780d10cc76d93d50b256f14d4129b4f6d5c48
data/.travis.yml CHANGED
@@ -1,7 +1,6 @@
1
1
  language: ruby
2
2
  rvm:
3
- - 2.0.0
4
- - 2.1
5
- - 2.2
3
+ - 2.2.5
4
+ - 2.3.1
6
5
  before_install: gem update bundler
7
6
  script: rake test
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruboty::HttpStatus
2
2
 
3
- [![Build Status](https://travis-ci.org/tacahilo/ruboty-http_status.svg?branch=master)](https://travis-ci.org/tacahilo/ruboty-http_status)
3
+ [![Build Status](https://travis-ci.org/hfm/ruboty-http_status.svg?branch=master)](https://travis-ci.org/hfm/ruboty-http_status)
4
4
 
5
5
  Display HTTP Status Code via [Ruboty](https://github.com/r7kamura/ruboty).
6
6
 
@@ -8,6 +8,12 @@ module Ruboty
8
8
  description: 'Display HTTP Status Codes'
9
9
  )
10
10
 
11
+ on(
12
+ /(?<code>\d{3})/,
13
+ name: 'code',
14
+ description: 'Display HTTP Status Codes'
15
+ )
16
+
11
17
  def code(message)
12
18
  Ruboty::HttpStatus::Actions::HttpStatus.new(message).call
13
19
  end
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module HttpStatus
3
- VERSION = "0.2.3"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-http_status
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takahiro OKUMURA
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-01-27 00:00:00.000000000 Z
11
+ date: 2016-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruboty