descartes 0.6.1.2 → 0.6.1.3

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f993c8cd837ea20b89e28620a2a2751ca0011cc7
4
- data.tar.gz: 70acd3c816f7206cefe8624fa8239e99f69c5beb
3
+ metadata.gz: e4920a09bc3b1556323672f3bdf1bc828433febb
4
+ data.tar.gz: 4a07c8f6f7d0c5ef1d88269e8bca55ac6673eb6a
5
5
  SHA512:
6
- metadata.gz: 371742dd6ee64e9a91b7f189d5af34a5c67a1aed35accca4b5fd56b7d4b690c1362689456059a7fe91b4087e54f23abb25885a12246a4e4c2da5e778770b4bb6
7
- data.tar.gz: 64ba026f36d74606715fd720846a04e10fc201d4d9635669f7b2540b57a6c43be1b22fa8d587c77bd8bae9e36b17066874ce351d3b4263c54d40ff17c3ef6807
6
+ metadata.gz: e748090161944cbc05bea871124f07ff8a7eb63400f74812e6dccb35d35f4ea4d789f47dfa8160f41c930e235b31898d3e2988a827e269f6b0c8791496d28468
7
+ data.tar.gz: 6dc131774f10df2a73c8d7af129f3e80f36c8001d58d321eb3a5e1f5e9166f98636e26131100b292aa204727007e66fcf5b66cca3d3f16cca880a4ae1273d436
@@ -57,7 +57,7 @@ class Descartes
57
57
  else
58
58
  eps = episodes.get! show.name, n_ep.to_i
59
59
  eps.each { |ep|
60
- m.reply "Episode #{ep.episode} - ".colorize.tap { |staff|
60
+ m.reply ("Episode #{ep.episode}".colorize + ' - ').tap { |staff|
61
61
  activities = {
62
62
  :Translation => ep.translation,
63
63
  :Editing => ep.editing,
@@ -68,11 +68,15 @@ class Descartes
68
68
  :QC => ep.qchecking
69
69
  }
70
70
 
71
- activities.each_pair { |key, val|
72
- staff << "#{key.to_s.colorize}: #{val ? 'gg' : 'nope'} / "
73
- } if activities.select { |k, v| !v }.any?
74
- staff << 'Download'.colorize + ": #{ep.download}" unless ep.download.strip.empty?
75
- }[0..-4]
71
+ if activities.select { |k, v| !v }.any?
72
+ staff << ''.tap { |s|
73
+ activities.each_pair { |key, val|
74
+ s << "#{key.to_s.colorize}: #{val ? 'gg' : 'nope'} / "
75
+ }
76
+ }[0..-4]
77
+ end
78
+ staff << "#{'Download'.colorize}: #{ep.download}" unless ep.download.strip.empty?
79
+ }
76
80
  }
77
81
  end
78
82
  }
@@ -14,6 +14,6 @@
14
14
 
15
15
  class Descartes
16
16
  def self.version
17
- '0.6.1.2'
17
+ '0.6.1.3'
18
18
  end
19
19
  end
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.6.1.2
4
+ version: 0.6.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Giovanni Capuano