descartes 0.8.4.11 → 0.8.4.12

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: bfac3d07c9b6c0b29c61da9ee9494140743f7068
4
- data.tar.gz: 5ad7e68b7d69ac32a243e3f49aba0154c30672b7
3
+ metadata.gz: 7fa93012a52951462d30fae6032997bff0ce25fa
4
+ data.tar.gz: 9e9c0550e83a574648927d943636f775b0a954de
5
5
  SHA512:
6
- metadata.gz: 66f2080a269d6d5bb5d5b9e109e558925413c70ee698becdec0be39e7ee3cec23b5fc90965b2dda6b4ab5d56ccb6065f540ea47d5fff65a897c9bbe1cad5b250
7
- data.tar.gz: 7c1f92b7e54a0e29369ed11a345ca4f03bb05abddf8c9ccde2a40b9ae4ec26b952a4b9e23f4ad1ded222e8057608b1d335d42ffe4d382ced649f80cdb5538c28
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
 
@@ -14,6 +14,6 @@
14
14
 
15
15
  class Descartes
16
16
  def self.version
17
- '0.8.4.11'
17
+ '0.8.4.12'
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.8.4.11
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-23 00:00:00.000000000 Z
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.2.2
220
+ rubygems_version: 2.0.3
221
221
  signing_key:
222
222
  specification_version: 4
223
223
  summary: Codo ergo bot.