slotmachine 0.3.1 → 0.3.2

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
  SHA256:
3
- metadata.gz: de23425398fe2e88d13fea29300eecc878227df9ba1313bb331587e317637b73
4
- data.tar.gz: 057c906ffae095a7abc39bc51cb7c4577c9d042ac21b593f8d2df3cd85409999
3
+ metadata.gz: 913ded3624e5e1c355c2b8106a79584e18b593da3a80bf830806a4c3d0c56b36
4
+ data.tar.gz: 72bd23fb508c924ed224163c297030bb5c36269336569ed0b057997c4c3f55a2
5
5
  SHA512:
6
- metadata.gz: f8350ff425c8b1baf533f5c5530f5e5a77909cf82d9400b2828c90920eaada482770a13153592c32c5adad78e5730a3a3ef5bfb8b2be765c52d4d42a477eee92
7
- data.tar.gz: f2144f576bc1526e578734e27c84ac8187a79a9bfcfbd263d0335e77e58854fe78685bca04b444dee7558d1a8542d4ee1debf07c0d6ef8de4eec70767f2a6069
6
+ metadata.gz: d767089607482fde3aabba60ba861a52337feb005ce55ae1127e5a3614a0f2d6d4af19f30854186ac53683bd571cf7180769bba4807f0211e70a866dd8379038
7
+ data.tar.gz: a5fcef6dc7fd3c27d0d99b858894a3910db4acde4771744d74c131449c696e0c79b8503a547c9ca23a09f466c8a33ae144f540d1b20c4bf8b4ef275c7173acf5
@@ -8,7 +8,7 @@ class SlotMachine::Service
8
8
  def render_slot(template, partial, locals = {}, &block)
9
9
  # that is some weird shit but il allow to access all the local_assigns
10
10
  # within the slots and still access the directly
11
- locals = { slots: locals }
11
+ locals[:slots] = locals
12
12
 
13
13
  # Here we create the builder
14
14
  # we execute the block while passing the builder
@@ -1,3 +1,3 @@
1
1
  module SlotMachine
2
- VERSION = '0.3.1'.freeze
2
+ VERSION = '0.3.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slotmachine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Cedric Feyaerts