lita-onewheel-rolz 0.0.3 → 0.0.4

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: 03cb6460961ff2bf4fefa9ff0129a47ca97786bd
4
- data.tar.gz: 077fd59123f55f00559baec60205d8a10b509fcc
3
+ metadata.gz: fcaf3f6fa9eeb69ffb575e1948e09f277193e563
4
+ data.tar.gz: ac48e6ee00048ee693a54e26b764c73792dc131b
5
5
  SHA512:
6
- metadata.gz: 264e79967ee3bd21622ce3641e3881abb17ed124a54f34769a3ca7a317f78044ff4ef8032947b31a6d8c8651f8e2e10459772254c79f68584f4bf3cc8fb88632
7
- data.tar.gz: 680cffff79ca354151112c31e065ef6e029c3f56a5f5b5ee2c1bc4828f10bec85a085bf47c07dec7f5499b2726ae9d47b72ac821c79dd26e8982ffb2c6189968
6
+ metadata.gz: ec3b26e66d1630028ab196e745682428e9945ac8366f48c0b1908cd15cb453570b5707c636e4aeb4636f7d76c9b88219d03dd807d274e1d40b1226eaaea9ccd3
7
+ data.tar.gz: cc112745676f49aec724f6affe3a62279d1f817965a21ab444072e11273d9069b4838b4efe18deca8f5bfca9138efc48301a65415d6a1a7694fa410dc3166e10
@@ -3,8 +3,8 @@ require 'rest-client'
3
3
  module Lita
4
4
  module Handlers
5
5
  class OnewheelRolz < Handler
6
- route /rol(l|e) (.*)$/i, :roll, command: true
7
- route /rol(l|e)$/i, :roll_default, command: true
6
+ route /^rol(l|e) (.+)$/i, :roll, command: true
7
+ route /^rol(l|e)$/i, :roll_default, command: true
8
8
 
9
9
  def roll_default(response)
10
10
  response.reply make_roll('d20')
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = 'lita-onewheel-rolz'
3
- spec.version = '0.0.3'
3
+ spec.version = '0.0.4'
4
4
  spec.authors = ['Andrew Kreps']
5
5
  spec.email = ['andrew.kreps@gmail.com']
6
6
  spec.description = %q{Lita interface to https://rolz.org}
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lita-onewheel-rolz
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Kreps