descartes 0.7.1 → 0.7.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: 4b75a8569961035b8683561054cfc84772f3fab0
4
- data.tar.gz: 82049ea9083517b13fcb7186e8c21c1fc65fc8b6
3
+ metadata.gz: 80d0fed0fc314b347b7c45dc4f3d6f7985608940
4
+ data.tar.gz: 63cf3e167b1aaf580491cea739ba13762ef51de1
5
5
  SHA512:
6
- metadata.gz: 1f520e24344ac404e4dd6adaee7b0296a7f9ff9d111d102fe0632e9aba99786f89398b1ea955096fbf43fabe0b130ea06151da84b22921a27dd52448d645db9d
7
- data.tar.gz: a655575e593da5551872cc56caff4356f0a70e975eede1cea14053d4900334eced193ae43f25a9d5b2b0946f3a9a2aa3df5a4266abb86abeb2caa57bf5602cd0
6
+ metadata.gz: c257f5d72a8115f369a3ef7859fd6db4f974b64b499b69abb72bac303734fb4444ed9c030256d40e0edca9bd589b947ca7492bab129660a989d3f4b49a919afc
7
+ data.tar.gz: 2628e86aad64ffa21cedf77d0c8002d1c904d5f362ab28a840dbbdfdb67781b7b96d245a51023e1ec63ae5bc0d271472c84a5fa32e488c4662daebeac9f145c1
@@ -16,7 +16,8 @@ class Descartes
16
16
  class Reply
17
17
  include Cinch::Plugin
18
18
 
19
- match /.*\?/, :prefix => lambda { |m| m.bot.nick }
19
+ set :prefix, lambda { |m| Regexp.new "(.*)#{m.bot.nick}(.*)" }
20
+ match ??
20
21
 
21
22
  def execute(m)
22
23
  file = File.join $options[:dotfiles], 'replies.txt'
@@ -14,6 +14,6 @@
14
14
 
15
15
  class Descartes
16
16
  def self.version
17
- '0.7.1'
17
+ '0.7.2'
18
18
  end
19
19
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: descartes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.1
4
+ version: 0.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giovanni Capuano
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-01-31 00:00:00.000000000 Z
11
+ date: 2014-02-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cinch