ruboty-cron 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: a581f6bf0589e98293c753f2cbbdbc4e85899bfc
4
- data.tar.gz: 5fe9a38a0b8f1f891fab15d0dd9351d783f5ea5f
3
+ metadata.gz: ac236da567eef35a7ddaf3640adb0cdabd7948b3
4
+ data.tar.gz: 64f9cc64afbc33edf2a830ce13ba9b6388de7b2e
5
5
  SHA512:
6
- metadata.gz: dd5bcb8d8d7e876591b8389b7a94d487a5cccb26e158df2a4585a2bed70d24be1fd6848bda227219dabfb8f899e337efe6ff4b17a37c2941bacffe37135b5ae3
7
- data.tar.gz: c70bd21ad5ff5137a2c317345f88aa633fd7da372bcd023a9b733923662779cb0996ce2e26285fccf3df0dacb5d033c01f7e1c6ecb88b21727de6ffd530a3ea7
6
+ metadata.gz: bd2f2d06aa561d9d2c0b3fb479fbf5b3ca39ce44612c65a94d49a7b21878d5b0461ead4324057d028bf682c5beb5d27f152384719c2931bf414fb21e6253f451
7
+ data.tar.gz: 7b1e1f36f572eaf990da123bc2ed69732cd6461aa546398d85e31f24fc5d3443dc49825e8d75f5eb0948974d00b175bb538a49417c651dfa293ac3ade40a6b8d
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.0.1
2
+ - Fix greedy match
3
+
1
4
  ## 1.0.0
2
5
  - Chnage job behavior to receive body as message in scheduled time
3
6
 
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module Cron
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
@@ -3,7 +3,7 @@ module Ruboty
3
3
  class Cron < Base
4
4
  NAMESPACE = "cron"
5
5
 
6
- on(/add job "(?<schedule>.+)" (?<body>.+)/, name: "add", description: "Add a new cron job")
6
+ on(/add job "(?<schedule>.+?)" (?<body>.+)/, name: "add", description: "Add a new cron job")
7
7
 
8
8
  on(/delete job (?<id>\d+)/, name: "delete", description: "Delete a cron job")
9
9
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruboty-cron
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
  - Ryo Nakamura
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-03-06 00:00:00.000000000 Z
11
+ date: 2015-04-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport