cureutils 0.1.1 → 0.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/cureutils/cli.rb +4 -1
- data/lib/cureutils/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: 2c173be4fafce993b27b8e16178a77fd7dd5c3e4
|
4
|
+
data.tar.gz: e10b53f59a51aad93ada85b0e4dfd3973cd3b1e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84e81a6effc0c2c4e79c55e9ab575bf40723cc58e84612c51c7b3f825f6c4b616904950e770d846e87901ec4ce6e85b9a395ac2180b15429c35c14db3e30710e
|
7
|
+
data.tar.gz: 19f022dd326707e9e087ea5753eac5184ea20832fdb220fd405550b313946d9693eb1d6bc1de7d12de0bbf6e9d505fcabcff5df353f01435305b821b5e4a1a65
|
data/lib/cureutils/cli.rb
CHANGED
@@ -210,7 +210,10 @@ module Cureutils
|
|
210
210
|
br_ex = br_flg ? '' : '?:'
|
211
211
|
%w(girl_name human_name precure_name cast_name color).each do |attr|
|
212
212
|
expression = '\[:' + attr + ':\]'
|
213
|
-
precures_ex = cure_list(attr.to_sym).
|
213
|
+
precures_ex = cure_list(attr.to_sym).each do |elem_str|
|
214
|
+
# Escape for cure princes.
|
215
|
+
elem_str.gsub(/\(/, '\(').gsub(/\)/, '\)')
|
216
|
+
end.join('|')
|
214
217
|
replaced = "(#{br_ex}#{precures_ex})"
|
215
218
|
this_regex.gsub!(/#{expression}/, replaced)
|
216
219
|
end
|
data/lib/cureutils/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cureutils
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Yamada, Yasuhiro
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|