descartes 0.6.6 → 0.6.7
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 +31 -23
- data/lib/descartes/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 940717df1d91f84bc6892eacf117945503b3a869
|
4
|
+
data.tar.gz: d0d126417319fa105f0a0cc40f1649b311d76622
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 348adaad21392e33142f551b1eaf995e30c2a8291b5dc56de738dad2bac7150adb3fd65ed8be7535de2a87d63142f38d1d8b3400e9cb7c2a75bc0b90da6f5757
|
7
|
+
data.tar.gz: 69f2469ec8ea216faf6867d63eaa12f1bd01aa90cd32f3f8071e7f569a0aa31ee81ef535123235c033a083979bcb975ed6f68ef56adc5708f6d72a1e3b8eb6af
|
@@ -94,30 +94,38 @@ class Descartes
|
|
94
94
|
}
|
95
95
|
}[0..-4]
|
96
96
|
else
|
97
|
-
episodes.get!
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
97
|
+
episodes = episodes.get! show.name, n_ep.to_i
|
98
|
+
|
99
|
+
if episodes.any?
|
100
|
+
episodes.each { |ep|
|
101
|
+
m.reply ("Episode #{ep.episode}".colorize + ' - ').tap { |staff|
|
102
|
+
activities = {
|
103
|
+
:Translation => ep.translation,
|
104
|
+
:Editing => ep.editing,
|
105
|
+
:Check => ep.checking,
|
106
|
+
:Timing => ep.timing,
|
107
|
+
:Typesetting => ep.typesetting,
|
108
|
+
:Encoding => ep.encoding,
|
109
|
+
:QC => ep.qchecking
|
110
|
+
}
|
111
|
+
|
112
|
+
if activities.select { |k, v| !v }.any?
|
113
|
+
staff << ''.tap { |s|
|
114
|
+
activities.each_pair { |key, val|
|
115
|
+
s << "#{key.to_s.colorize}: #{val ? 'gg' : 'nope'} / "
|
116
|
+
}
|
117
|
+
}[0..-3]
|
118
|
+
else
|
119
|
+
staff << 'Already released. '
|
120
|
+
end
|
121
|
+
staff << "#{'Download'.colorize}: #{ep.download}" unless ep.download.strip.empty?
|
107
122
|
}
|
108
|
-
|
109
|
-
if activities.select { |k, v| !v }.any?
|
110
|
-
staff << ''.tap { |s|
|
111
|
-
activities.each_pair { |key, val|
|
112
|
-
s << "#{key.to_s.colorize}: #{val ? 'gg' : 'nope'} / "
|
113
|
-
}
|
114
|
-
}[0..-3]
|
115
|
-
else
|
116
|
-
staff << 'Already released.'
|
117
|
-
end
|
118
|
-
staff << "#{'Download'.colorize}: #{ep.download}" unless ep.download.strip.empty?
|
119
123
|
}
|
120
|
-
|
124
|
+
elsif n_ep.to_i > show.tot_episodes
|
125
|
+
m.reply "#{m.user.nick.colorize} pls go and http://just-believe.in."
|
126
|
+
else
|
127
|
+
m.reply "The episode #{n_ep.colorize} has not been added yet to #{show.name.colorize}."
|
128
|
+
end
|
121
129
|
end
|
122
130
|
}
|
123
131
|
end
|
@@ -130,7 +138,7 @@ class Descartes
|
|
130
138
|
return url unless url.empty?
|
131
139
|
end
|
132
140
|
|
133
|
-
'http://pigro.omnivium.it
|
141
|
+
'http://pigro.omnivium.it'
|
134
142
|
end
|
135
143
|
end
|
136
144
|
end
|
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.6.
|
4
|
+
version: 0.6.7
|
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-
|
11
|
+
date: 2014-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cinch
|