descartes 0.3.7.2 → 0.3.7.3

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: 5a5c2435f8cff60f0aa686dfcf851a41736de176
4
- data.tar.gz: f9d15a6f512e25f3f61cad23a5adf363e666abe0
3
+ metadata.gz: bfcdaa72c4b9b1b0d871fb80b6237848babb8ec6
4
+ data.tar.gz: cafd0650c236880ea5ca8ae37cb6ceb402a614ae
5
5
  SHA512:
6
- metadata.gz: 3efdec203524accb1be0dcfc6a29a7fbc37858ec0ad06398bfea2788229ad704dc4b787f60f07c06b4686f827b757ff4ecfa994a47365329d26ca32741fe37c4
7
- data.tar.gz: 071169d2db584f24636db81dcdd2ba02b3e2a312312068ab01186fbbd9d24d3c16dd4fb44430358db9c0e3307c075b975900e216fe863cb444dd4250a683caae
6
+ metadata.gz: f1ee6d70b6b9c1425a05994341e15d6e65a8215dd1798fbea64a9464fc1c44b6f7e6a957ce55d02e7860214e13bd96815b161ec4b839b4eec67dac70c952d50b
7
+ data.tar.gz: 9a5668dd9913b67af14996a0e61dfa547758f9ea12e7816593eaae56084d832a4c7b5f77eda5ddfd10b2f638cc2e632dc869a3c8a8f38ce248547f659ad899a7
@@ -17,8 +17,8 @@ class Descartes
17
17
  include Cinch::Plugin
18
18
 
19
19
  match /rpn (.+)/, method: :rpn
20
- def rpn(m, query)
21
- query = m.split('!rpn ')[1]
20
+ def rpn(m)
21
+ query = m.params[1].split('!rpn ')[1]
22
22
 
23
23
  m.reply [].tap { |res|
24
24
  query.split.each { |i|
@@ -40,4 +40,4 @@ class Descartes
40
40
  m.reply '!rpn n1 n2 (...) n3 [+|-|*|/|^]'
41
41
  end
42
42
  end
43
- end
43
+ end
@@ -14,6 +14,6 @@
14
14
 
15
15
  class Descartes
16
16
  def self.version
17
- '0.3.7.2'
17
+ '0.3.7.3'
18
18
  end
19
- end
19
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: descartes
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7.2
4
+ version: 0.3.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giovanni Capuano