var_block 1.0.7 → 1.0.8

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: baae457897fd641741e1750cda5470ade9b7a137
4
- data.tar.gz: 00e01f43cf688c10491a4d3262be93e8010cc0ca
3
+ metadata.gz: ac9d2bc0f98ab4a3626258dba97e546479508d9d
4
+ data.tar.gz: 114fed4042a44afc92fa28f2f83dbea9b70e5b08
5
5
  SHA512:
6
- metadata.gz: ed06f59ed5a872189cfb95af0d8c0c53c2aabcea57465f5703161822061077a3ed118a8108065de5c541bb8b022ccb4dbfac3f719a1f14d3daa8eea341a5f2e8
7
- data.tar.gz: 10e02df5809d50883e67dfc06723ae551f54722d85731e35cff9fb3d7481ce5dabe799b986d65c0877640981f54f9fd0c4319d1c8652a1bca6a6e262c1820211
6
+ metadata.gz: c4ee7e0360307762d52c9af171f2dc66212a77962689e3b33f286f825c19ef65ebfa0eddda303ce0590077e85c94281a2ac3b1c47d03cd01dd22b0828e943959
7
+ data.tar.gz: 67587e73f748dd52500512beed3fe590c2bed9d3f639bbfff46496bfd69eba5979591dc5d3b8098e24710513f5d9b4a23821246026bb2ed5d6b1432efd1416ee
@@ -1,6 +1,6 @@
1
1
  module VarBlock
2
- module Support
3
- # copied directly from Rails Array class
2
+ module Support
3
+ # copied directly from Rails Array class
4
4
  # https://apidock.com/rails/v4.2.7/Array/wrap/class
5
5
  def array_wrap(object)
6
6
  if object.nil?
@@ -11,5 +11,5 @@ module VarBlock
11
11
  [object]
12
12
  end
13
13
  end
14
- end
14
+ end
15
15
  end
@@ -1,3 +1,5 @@
1
1
  # VarArray objects are only created when using `merge` or `merge_with`. Do not initialise them manually.
2
- class VarBlock::VarArray < Array
2
+ module VarBlock
3
+ class VarArray < Array
4
+ end
3
5
  end
@@ -1,3 +1,3 @@
1
1
  module VarBlock
2
- VERSION = '1.0.7'.freeze
2
+ VERSION = '1.0.8'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: var_block
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jules Roman B. Polidario
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-29 00:00:00.000000000 Z
11
+ date: 2017-06-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rspec