var_block 1.0.2 → 1.0.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: ce8b21e2a204fdfa68384357235e43a9bdde209a
4
- data.tar.gz: 144948a88dfe3cf4a964e8bcff0e4527f0d89af4
3
+ metadata.gz: c54f547c317f7e4e0e1b6250f1567d240fc27939
4
+ data.tar.gz: 9e02a66cc863bb96b82db8aeb0cf6c0d86ae48dc
5
5
  SHA512:
6
- metadata.gz: 21fb84fe09e4e6cec88523767b4f2ea73c9d7ac0b85a7335d38d0ba18abbfc7914179442227ded7a3f2f321bc445d5923cc006ea77e9e117d4be215c6d489921
7
- data.tar.gz: f5f9f06e2b3ee4abf6821e193c4b1dd3f1fb5a2d7c5b55c0617f28ca1ea261d56df6871313da2c43dc7537225bd0526e2774c9292e81fd30ffadd69e453037c3
6
+ metadata.gz: 4667d1bfc1f5cdb2d18ac34e0907d4f494d25ae17fbb65c3a33dad0da430b8f108c2c473cab281372f81a640b27c8e9447c80bfe3c9b5567f57f9f3f017f5f03
7
+ data.tar.gz: 41e1f9c0fd07c1c07f4b78997fa23725850f772c744a455266d40f18deb003f88c9da1e9746fad1a496e9ed0394d475c676f61da893e1fb190509954e7c56dfa
@@ -11,7 +11,7 @@ module VarBlock
11
11
  def handle_var_array(value, context, options)
12
12
  # if :truthy?, we need to check each item in the array, and return false immediately if at least one is found to be not "truthy", else return true
13
13
  if options.any?
14
- return handle_options(value, context, options)
14
+ return handle_options(value, options)
15
15
 
16
16
  # else, if no options, defaults to return as a wrapped Array
17
17
  else
@@ -39,7 +39,7 @@ module VarBlock
39
39
 
40
40
  private
41
41
 
42
- def handle_options(value, context, options)
42
+ def handle_options(value, options)
43
43
  options.each do |option|
44
44
  case option
45
45
 
@@ -1,3 +1,3 @@
1
1
  module VarBlock
2
- VERSION = '1.0.2'.freeze
2
+ VERSION = '1.0.3'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: var_block
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jules Roman B. Polidario