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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8a9e5e8d2918da5c649b9a3ce22b964400561cd5
4
- data.tar.gz: b683264274d48d6854493af39b94c0bfeb3a1704
3
+ metadata.gz: 45f3e35c70694d2db482b46740d82e65f303a1bf
4
+ data.tar.gz: 705d5bb12a3e4255150b20b33196d9aa010cc6de
5
5
  SHA512:
6
- metadata.gz: 1877fc5ad0fe261dcdf76bcc5aeee0114b4ae77afa4bda3ebd4b08c14190cf8a9d06599ba2eb042e3544947da8b0779ef3688858bcd729b343bbc05483091318
7
- data.tar.gz: 1995177e016edbdb0bde953822f5f29960ad9ffcfa22d38614263ab9489b483bb1f7f45e5858442274ec84a8a68122cd8592255d6e0e835e0549fa30b4203a96
6
+ metadata.gz: a36aeff8e335212a46a4b476f6ad36dd8be4022b8c13aed3c1eee609a199a2a1951fa91786b93e3edb439a0db29ba4326ad27aca1556b46980c9d0cf05a259a7
7
+ data.tar.gz: 324f2baa3f7d31362fc6117eafe0bccab1c22a9a56e9cf8b7fc650ab7e196736ee69c64e27db6ca20b1ba2eedb41bbd6dd5a31a04c2d1c05940a818719d592bd
@@ -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
@@ -1,5 +1,5 @@
1
1
  # encoding: UTF-8
2
2
 
3
3
  module ThemeJuice
4
- VERSION = "0.24.3"
4
+ VERSION = "0.24.4"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: theme-juice
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.3
4
+ version: 0.24.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ezekiel Gabrielse