descartes 0.6.2 → 0.6.3

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: 63533c99efd2b6597df7d210483428264ba25a10
4
- data.tar.gz: ee933aca019c00efb33a281ad594922d122ea123
3
+ metadata.gz: 42492dc1becf489c2776d17823950cdee6dd4e3c
4
+ data.tar.gz: e7d26ecdaae23bbf4426f673f0861f9671ec267f
5
5
  SHA512:
6
- metadata.gz: 494544434c88e3dee61236a81ccf314597f3027532c2e9338220db388b8444ee03a4940917c71f0c33aa83ba4a5521a2b4de9a8d8ec0d299fa7281d95b140c85
7
- data.tar.gz: f4d7a53a27ca0dacba30f2255ed4662658f5167c2c8d507b34cbff551e48328982027727b29654415008049545ff6ab5dd671b36b3121073a6ea957953a91134
6
+ metadata.gz: 3e4b935631346f01e1f911d356d1f29955524b9618b28bb0b47ce9d4486db73a7486a6f36d23fd37d371d1fb2010862e7320024f208fd4c6bcc98a67d42810fb
7
+ data.tar.gz: 16c8eb5ec2787700f9703e6c6cffe27b1f9b10f8348f7a328c448e7c612bff30525e4c01986de23e08209456e30835805a633d6f03c342e45fb5b5c124461c7c
@@ -18,7 +18,7 @@ require 'crunchyroll'
18
18
  class Descartes
19
19
  class Crunchybot
20
20
  include Cinch::Plugin
21
- match /\.cr (.+)/, :use_prefix => false
21
+ match /\.cr (.+)/, use_prefix: false
22
22
 
23
23
  def execute(m)
24
24
  series = Crunchyroll::find m.params[1].split('.cr ')[1]
@@ -18,7 +18,7 @@ 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
24
  amount = m.params[1].match /[0-9]+/
@@ -19,7 +19,7 @@ class Descartes
19
19
  class Dicteng
20
20
  include Cinch::Plugin
21
21
 
22
- match /!dict ([a-zA-Z]+) ([a-zA-Z]+)/, :use_prefix => false
22
+ match /!dict ([a-zA-Z]+) ([a-zA-Z]+)/, use_prefix: false
23
23
 
24
24
  def execute(m, action, word)
25
25
  url = "http://www.wordreference.com/#{action}/#{word}"
@@ -17,4 +17,4 @@ La bravura dell'architetto del mondo è indiscussa.
17
17
  Il freddo invernale inizia a farsi sentire, non crede?
18
18
  Penso sia una cosa terrificante.
19
19
  Non credo di poterti dare la risposta di cui hai bisogno.
20
- Non ora, mi appresto a consumare la mia solita pennichella.
20
+ Non ora, mi appresto a consumare la mia solita pennichella.
@@ -1,4 +1,4 @@
1
- E così vuoi fare il fansubber? Quanto hai detto nche porta di reggiseno la tua ragazza?
1
+ E così vuoi fare il fansubber? Quanto hai detto che porta di reggiseno la tua ragazza?
2
2
  He's the hero that your girlfriend deserves. But not the one she needs right now.
3
3
  Ma se gli FTF sono una grande famiglia, non è che il sindaco stava solo mettendo a letto la bambina?
4
4
  Sindaco-chan, mi hanno detto che ti sei portato due pigiamo a Pisa con la mia ragazza / Sì, Ptole-kun, ma stai tranquillo: non li abbiamo usati.
@@ -15,7 +15,7 @@
15
15
  class Descartes
16
16
  class Shinbo
17
17
  include Cinch::Plugin
18
- match /shinbo/, :use_prefix => false
18
+ match /shinbo/i, use_prefix: false
19
19
 
20
20
  def execute(m)
21
21
  Target(m.channel).action 'headtilts'
@@ -16,7 +16,7 @@ class Descartes
16
16
  class Sindaco
17
17
  include Cinch::Plugin
18
18
 
19
- match 'Sindaco'
19
+ match /Sindaco/i
20
20
 
21
21
  def execute(m)
22
22
  file = File.join $options[:dotfiles], 'sindaco.txt'
@@ -19,7 +19,7 @@ require 'nokogiri'
19
19
  class Descartes
20
20
  class Url
21
21
  include Cinch::Plugin
22
- match /http(s)?:\/\/(\S+)/, :use_prefix => false
22
+ match /http(s)?:\/\/(\S+)/, use_prefix: false
23
23
 
24
24
  def execute(m, ssl, url)
25
25
  begin
@@ -14,6 +14,6 @@
14
14
 
15
15
  class Descartes
16
16
  def self.version
17
- '0.6.2'
17
+ '0.6.3'
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.6.2
4
+ version: 0.6.3
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-05 00:00:00.000000000 Z
11
+ date: 2014-01-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cinch