descartes 0.8.4.11 → 0.8.4.12
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 +0 -0
- data/lib/descartes/modules/files/pigro.json +18 -18
- data/lib/descartes/modules/pigro.rb +5 -6
- data/lib/descartes/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 7fa93012a52951462d30fae6032997bff0ce25fa
|
|
4
|
+
data.tar.gz: 9e9c0550e83a574648927d943636f775b0a954de
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 92f618f5bf689e837a6c833beeda1171574be49d26f10b15eba714961a3a7e9b0cd7768e6a255067583096b7d4528a06c1a2fb598c0c0b6e97185c559c74d725
|
|
7
|
+
data.tar.gz: 1d0412c58d292a4d8accd31e8279887e0f40f71572b2e6d2cf43b8824f5c830717dfe9b8f1ac1f8a4bcc6fdfcb2e36bd8e052187ffa351b4d17e2843975bc8a4
|
data/bin/descartes
CHANGED
|
File without changes
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
[
|
|
2
|
-
{
|
|
3
|
-
"nicknames": [
|
|
4
|
-
{ "nickname": "RoxasShadowRS"},
|
|
5
|
-
{ "nickname": "RoxasShadow" }
|
|
6
|
-
],
|
|
7
|
-
"username" : "Roxas Shadow",
|
|
8
|
-
"password" : "Eheheheheh"
|
|
9
|
-
},
|
|
10
|
-
|
|
11
|
-
{
|
|
12
|
-
"nicknames": [
|
|
13
|
-
{ "nickname": "Helltilt" },
|
|
14
|
-
{ "nickname": "Hell-11" }
|
|
15
|
-
],
|
|
16
|
-
"username" : "Hell",
|
|
17
|
-
"password" : "Ohohohohoh"
|
|
18
|
-
}
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"nicknames": [
|
|
4
|
+
{ "nickname": "RoxasShadowRS"},
|
|
5
|
+
{ "nickname": "RoxasShadow" }
|
|
6
|
+
],
|
|
7
|
+
"username" : "Roxas Shadow",
|
|
8
|
+
"password" : "Eheheheheh"
|
|
9
|
+
},
|
|
10
|
+
|
|
11
|
+
{
|
|
12
|
+
"nicknames": [
|
|
13
|
+
{ "nickname": "Helltilt" },
|
|
14
|
+
{ "nickname": "Hell-11" }
|
|
15
|
+
],
|
|
16
|
+
"username" : "Hell",
|
|
17
|
+
"password" : "Ohohohohoh"
|
|
18
|
+
}
|
|
19
19
|
]
|
|
@@ -21,14 +21,14 @@ class Descartes
|
|
|
21
21
|
|
|
22
22
|
match /staff (.+)/, method: :by_staff
|
|
23
23
|
def by_staff(m, user)
|
|
24
|
-
user = user.split
|
|
24
|
+
user = user.split ' '
|
|
25
25
|
role = user.last.to_sym.downcase
|
|
26
26
|
|
|
27
27
|
if [ :translator, :editor, :checker, :timer, :typesetter, :encoder, :qchecker ].include? role
|
|
28
28
|
user.pop
|
|
29
|
-
options = { user: user.join, role: role }
|
|
29
|
+
options = { user: user.join(' '), role: role }
|
|
30
30
|
else
|
|
31
|
-
options = { user: user.join }
|
|
31
|
+
options = { user: user.join(' ') }
|
|
32
32
|
end
|
|
33
33
|
|
|
34
34
|
host = get_host
|
|
@@ -42,6 +42,7 @@ class Descartes
|
|
|
42
42
|
else
|
|
43
43
|
m.reply "#{options[:user].colorize} hasn't worked to any series."
|
|
44
44
|
end
|
|
45
|
+
|
|
45
46
|
return
|
|
46
47
|
end
|
|
47
48
|
|
|
@@ -52,9 +53,7 @@ class Descartes
|
|
|
52
53
|
str << "#{options[:user].colorize} has worked on "
|
|
53
54
|
end
|
|
54
55
|
|
|
55
|
-
series.each { |s|
|
|
56
|
-
str << "#{s.name.colorize}, "
|
|
57
|
-
}
|
|
56
|
+
series.each { |s| str << "#{s.name.colorize}, " }
|
|
58
57
|
}[0..-3]
|
|
59
58
|
end
|
|
60
59
|
|
data/lib/descartes/version.rb
CHANGED
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.8.4.
|
|
4
|
+
version: 0.8.4.12
|
|
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-
|
|
11
|
+
date: 2014-12-08 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: cinch
|
|
@@ -171,8 +171,6 @@ executables:
|
|
|
171
171
|
extensions: []
|
|
172
172
|
extra_rdoc_files: []
|
|
173
173
|
files:
|
|
174
|
-
- bin/descartes
|
|
175
|
-
- lib/descartes.rb
|
|
176
174
|
- lib/descartes/descartes.rb
|
|
177
175
|
- lib/descartes/modules/arnaldo.rb
|
|
178
176
|
- lib/descartes/modules/crunchyroll.rb
|
|
@@ -197,6 +195,8 @@ files:
|
|
|
197
195
|
- lib/descartes/modules/url.rb
|
|
198
196
|
- lib/descartes/utils.rb
|
|
199
197
|
- lib/descartes/version.rb
|
|
198
|
+
- lib/descartes.rb
|
|
199
|
+
- bin/descartes
|
|
200
200
|
homepage: http://www.giovannicapuano.net
|
|
201
201
|
licenses:
|
|
202
202
|
- WTFPL
|
|
@@ -217,7 +217,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
217
217
|
version: '0'
|
|
218
218
|
requirements: []
|
|
219
219
|
rubyforge_project:
|
|
220
|
-
rubygems_version: 2.
|
|
220
|
+
rubygems_version: 2.0.3
|
|
221
221
|
signing_key:
|
|
222
222
|
specification_version: 4
|
|
223
223
|
summary: Codo ergo bot.
|