descartes 0.3.4.2 → 0.3.6
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 +4 -4
- data/bin/descartes +8 -0
- data/lib/descartes/modules/crunchyroll.rb +1 -1
- data/lib/descartes/modules/reply/sindaco.txt +12 -0
- data/lib/descartes/modules/reply.rb +4 -2
- data/lib/descartes/modules/sindaco.rb +29 -0
- data/lib/descartes/version.rb +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 83606d65464496323278094ce1d30fb8a6143513
|
|
4
|
+
data.tar.gz: 2a3cdceff046aa16e446d42703d753f7cff8c638
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 6e4b732c321ebf557ae6b0ba46f143c12ceb96e0d9cf4df028a6e711522d2f1135daa684e3582bc145cd8d417b1dbd2c4284f4498001788b2ac32629485dafce
|
|
7
|
+
data.tar.gz: b9222026e688fcb0a9a950dbf233d0f1d65ea49549699c398b1c9814f0f84d5471e5bb5f983d655aad0a4e49d0da26cdc984e1b816607d928b32687b6889f2e4
|
data/bin/descartes
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
E così vuoi fare il fansubber? Quanto hai detto nche porta di reggiseno la tua ragazza?
|
|
2
|
+
He's the hero that your girlfriend deserves. But not the one she needs right now.
|
|
3
|
+
Ma se gli FTF sono una grande famiglia, non è che il sindaco stava solo mettendo a letto la bambina?
|
|
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.
|
|
5
|
+
One does not simply: sifon your girlfriend like Sindaco.
|
|
6
|
+
One cannot simply have a girlfriend, if he is in FTF.
|
|
7
|
+
I used to be a fansubber like you. Then I took a Ptole's girlfriend in the bed.
|
|
8
|
+
I don't always sifon. But when I do, it's your girlfriend.
|
|
9
|
+
Tisifone? No, Tisifono.
|
|
10
|
+
http://i.imgur.com/B7gBq.jpg
|
|
11
|
+
Ho chiesto alla fidanzata di Ptolemaios se mi aiutava a sistemare il tubo del lavandino che perdeva.
|
|
12
|
+
http://i47.tinypic.com/fjj3gx.jpg
|
|
@@ -20,8 +20,10 @@ class Descartes
|
|
|
20
20
|
|
|
21
21
|
def execute(m)
|
|
22
22
|
file = File.expand_path '../reply/replies.txt', __FILE__
|
|
23
|
-
replies = [].tap { |ary|
|
|
24
|
-
|
|
23
|
+
replies = [].tap { |ary|
|
|
24
|
+
File.read(file).each_line { |line| ary << line unless line.empty? }
|
|
25
|
+
}
|
|
26
|
+
m.reply replies[rand(1..replies.length)]
|
|
25
27
|
end
|
|
26
28
|
end
|
|
27
29
|
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
##
|
|
2
|
+
## DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
|
3
|
+
## Version 2, December 2004
|
|
4
|
+
##
|
|
5
|
+
## Everyone is permitted to copy and distribute verbatim or modified
|
|
6
|
+
## copies of this license document, and changing it is allowed as long
|
|
7
|
+
## as the name is changed.
|
|
8
|
+
##
|
|
9
|
+
## DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
|
|
10
|
+
## TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
|
11
|
+
##
|
|
12
|
+
## 0. You just DO WHAT THE FUCK YOU WANT TO.
|
|
13
|
+
##
|
|
14
|
+
|
|
15
|
+
class Descartes
|
|
16
|
+
class Sindaco
|
|
17
|
+
include Cinch::Plugin
|
|
18
|
+
|
|
19
|
+
match /Sindaco/
|
|
20
|
+
|
|
21
|
+
def execute(m)
|
|
22
|
+
file = File.expand_path '../reply/sindaco.txt', __FILE__
|
|
23
|
+
replies = [].tap { |ary|
|
|
24
|
+
File.read(file).each_line { |line| ary << line unless line.empty? }
|
|
25
|
+
}
|
|
26
|
+
m.reply replies[rand(1..replies.length)]
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
data/lib/descartes/version.rb
CHANGED
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.
|
|
4
|
+
version: 0.3.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Giovanni Capuano
|
|
@@ -78,10 +78,12 @@ files:
|
|
|
78
78
|
- lib/descartes/modules/currency.rb
|
|
79
79
|
- lib/descartes/modules/google.rb
|
|
80
80
|
- lib/descartes/modules/reply/replies.txt
|
|
81
|
+
- lib/descartes/modules/reply/sindaco.txt
|
|
81
82
|
- lib/descartes/modules/reply.rb
|
|
82
83
|
- lib/descartes/modules/rpn.rb
|
|
83
84
|
- lib/descartes/modules/seen.rb
|
|
84
85
|
- lib/descartes/modules/shinbo.rb
|
|
86
|
+
- lib/descartes/modules/sindaco.rb
|
|
85
87
|
- lib/descartes/modules/trec.rb
|
|
86
88
|
- lib/descartes/modules/url.rb
|
|
87
89
|
- lib/descartes/utils.rb
|