descartes 0.8.4 → 0.8.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: be9e7f1dcf85945b9abb3240b64cc07befcd4b8b
4
- data.tar.gz: b4e2bbbb1f6e40b05c5eb2c5f995ee3155dbdc91
3
+ metadata.gz: 74f4a2dff7a07e4bcda2240c8c6ae146f0dc1d83
4
+ data.tar.gz: 647c39ef7011afa238ddb9647297d0bcc1628361
5
5
  SHA512:
6
- metadata.gz: ecf0dc34e9f5fc7d6cdf4c9fac685e08dd7fd0460248f6890d076d1ed8743d3ec19f6bedce7781dc8b14861da1e5af0fde52e2f6f971c94d52ae54f92f2d279c
7
- data.tar.gz: 5491cfbe1b34d9b9802a210c5d8454e744f81b2fb5bf65a22cb0026d09555b82530d9ea3b8b05511393dfee48bef44e425850e5b63fbb8ce31c2f1d53f43c91d
6
+ metadata.gz: f1f87949e4cdb51a849552b225afd07d8ce85db7923557433931d7b4ebff4059957fa1c6c7100a47227d36818cea3f6e1ecca423b256710b83fae81ba1c1873c
7
+ data.tar.gz: 7ef8e53bb646b13925230f4d6dc3284bd723ce9c0f26ac312c9343b622d4c9ae3f2d8e9f079889bdd1bdaeb98b6c4d7a2b441e8fe1a5e6f4bf4f221cf9c55a6f
data/bin/descartes CHANGED
@@ -20,7 +20,7 @@ require 'fileutils'
20
20
  options = {
21
21
  :nickname => 'Descartes',
22
22
  :server => 'irc.rizon.net',
23
- :channels => ['#aggvistnurummor'],
23
+ :channels => ['#aggvistnurummor2'],
24
24
  :dotfiles => File.join(ENV['HOME'], '.descartes'),
25
25
  :password => 'dat_password',
26
26
  :exclude => []
@@ -18,10 +18,10 @@ require 'nokogiri'
18
18
  class Descartes
19
19
  class Currency
20
20
  include Cinch::Plugin
21
- match /[0-9]+ [A-Za-z]+ to [A-Za-z]+$/, use_prefix: false
21
+ match /[0-9]+ [A-Za-z]+ to [A-Za-z]+/, use_prefix: false
22
22
 
23
23
  def execute(m)
24
- amount = m.params[1].match /[0-9]+/
24
+ amount = m.params[1].match(/[0-9]+/)
25
25
  from = m.params[1].match(/[A-Za-z]+ to/).to_s[0..-4]
26
26
  to = m.params[1].match(/to [A-Za-z]+/).to_s[3..-1]
27
27
 
@@ -14,6 +14,6 @@
14
14
 
15
15
  class Descartes
16
16
  def self.version
17
- '0.8.4'
17
+ '0.8.4.1'
18
18
  end
19
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.8.4
4
+ version: 0.8.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giovanni Capuano