theme-juice 0.24.3 → 0.24.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/theme-juice/config.rb +5 -0
- data/lib/theme-juice/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: 45f3e35c70694d2db482b46740d82e65f303a1bf
|
4
|
+
data.tar.gz: 705d5bb12a3e4255150b20b33196d9aa010cc6de
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a36aeff8e335212a46a4b476f6ad36dd8be4022b8c13aed3c1eee609a199a2a1951fa91786b93e3edb439a0db29ba4326ad27aca1556b46980c9d0cf05a259a7
|
7
|
+
data.tar.gz: 324f2baa3f7d31362fc6117eafe0bccab1c22a9a56e9cf8b7fc650ab7e196736ee69c64e27db6ca20b1ba2eedb41bbd6dd5a31a04c2d1c05940a818719d592bd
|
data/lib/theme-juice/config.rb
CHANGED
@@ -64,6 +64,7 @@ module ThemeJuice
|
|
64
64
|
cmd.gsub! single_arg_regex(i), arg
|
65
65
|
end
|
66
66
|
end
|
67
|
+
cmd.gsub! any_arg_regex, ""
|
67
68
|
cmd
|
68
69
|
end
|
69
70
|
|
@@ -91,6 +92,10 @@ module ThemeJuice
|
|
91
92
|
%r{^(((\.)?(tj)|((J|j)uicefile))(\.y(a)?ml)?$)}
|
92
93
|
end
|
93
94
|
|
95
|
+
def any_arg_regex
|
96
|
+
%r{(%arg(\w+)?%)|(%argument(\w+)?%)}
|
97
|
+
end
|
98
|
+
|
94
99
|
def multi_arg_regex
|
95
100
|
%r{(%args%)|(%arguments%)}
|
96
101
|
end
|
data/lib/theme-juice/version.rb
CHANGED