descartes 0.6.1.1 → 0.6.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/descartes/modules/pigro.rb +6 -4
- data/lib/descartes/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f993c8cd837ea20b89e28620a2a2751ca0011cc7
|
4
|
+
data.tar.gz: 70acd3c816f7206cefe8624fa8239e99f69c5beb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 371742dd6ee64e9a91b7f189d5af34a5c67a1aed35accca4b5fd56b7d4b690c1362689456059a7fe91b4087e54f23abb25885a12246a4e4c2da5e778770b4bb6
|
7
|
+
data.tar.gz: 64ba026f36d74606715fd720846a04e10fc201d4d9635669f7b2540b57a6c43be1b22fa8d587c77bd8bae9e36b17066874ce351d3b4263c54d40ff17c3ef6807
|
@@ -40,7 +40,7 @@ class Descartes
|
|
40
40
|
|
41
41
|
if n_ep.nil?
|
42
42
|
a = show.status.downcase.start_with?(?o) ? 'an' : ?a
|
43
|
-
m.reply "[#{show.fansub}] #{show.name.colorize} is #{a} #{show.status} series of #{show.tot_episodes} episodes."
|
43
|
+
m.reply "[#{show.fansub.colorize}] #{show.name.colorize} is #{a} #{show.status} series of #{show.tot_episodes.colorize} episodes."
|
44
44
|
m.reply ''.tap { |staff|
|
45
45
|
{
|
46
46
|
:Translator => show.translator,
|
@@ -58,7 +58,7 @@ class Descartes
|
|
58
58
|
eps = episodes.get! show.name, n_ep.to_i
|
59
59
|
eps.each { |ep|
|
60
60
|
m.reply "Episode #{ep.episode} - ".colorize.tap { |staff|
|
61
|
-
{
|
61
|
+
activities = {
|
62
62
|
:Translation => ep.translation,
|
63
63
|
:Editing => ep.editing,
|
64
64
|
:Check => ep.checking,
|
@@ -66,9 +66,11 @@ class Descartes
|
|
66
66
|
:Typesetting => ep.typesetting,
|
67
67
|
:Encoding => ep.encoding,
|
68
68
|
:QC => ep.qchecking
|
69
|
-
}.each_pair { |key, val|
|
70
|
-
staff << "#{key.to_s.colorize}: #{val ? 'gg' : 'nope'} / "
|
71
69
|
}
|
70
|
+
|
71
|
+
activities.each_pair { |key, val|
|
72
|
+
staff << "#{key.to_s.colorize}: #{val ? 'gg' : 'nope'} / "
|
73
|
+
} if activities.select { |k, v| !v }.any?
|
72
74
|
staff << 'Download'.colorize + ": #{ep.download}" unless ep.download.strip.empty?
|
73
75
|
}[0..-4]
|
74
76
|
}
|
data/lib/descartes/version.rb
CHANGED