ruboty-cron 1.0.1 → 1.0.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: ac236da567eef35a7ddaf3640adb0cdabd7948b3
4
- data.tar.gz: 64f9cc64afbc33edf2a830ce13ba9b6388de7b2e
3
+ metadata.gz: 4dd958d060c75fd932cf6235cfa3a1ee91b87542
4
+ data.tar.gz: 43dd58785853b67fd18eada63b0f966d32e66eb6
5
5
  SHA512:
6
- metadata.gz: bd2f2d06aa561d9d2c0b3fb479fbf5b3ca39ce44612c65a94d49a7b21878d5b0461ead4324057d028bf682c5beb5d27f152384719c2931bf414fb21e6253f451
7
- data.tar.gz: 7b1e1f36f572eaf990da123bc2ed69732cd6461aa546398d85e31f24fc5d3443dc49825e8d75f5eb0948974d00b175bb538a49417c651dfa293ac3ade40a6b8d
6
+ metadata.gz: 40f08a59a75bc19dc3abedc14ac3d40c81f391f8ab216f370ef36be997ae60e9f16c8f7f1a844da6fbe28a06a8330be084d542e6c99907a5dd6537882b44686c
7
+ data.tar.gz: 03541c379bff1772005470fb4ab5ec9686ae6e5f71239a9e58ed44c043ea10ac09e74bd7a03df33b93cac579ec1a07ffb8a0143110a8c48611d0909f02c8e577
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ ## 1.0.2
2
+ - Support multi lines message (#4)
3
+
1
4
  ## 1.0.1
2
5
  - Fix greedy match
3
6
 
@@ -1,5 +1,5 @@
1
1
  module Ruboty
2
2
  module Cron
3
- VERSION = "1.0.1"
3
+ VERSION = "1.0.2"
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>.+)/m, 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.1
4
+ version: 1.0.2
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-04-28 00:00:00.000000000 Z
11
+ date: 2015-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport