slotmachine 0.3.1 → 0.3.2
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 +4 -4
- data/lib/slot_machine/service.rb +1 -1
- data/lib/slot_machine/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 913ded3624e5e1c355c2b8106a79584e18b593da3a80bf830806a4c3d0c56b36
|
|
4
|
+
data.tar.gz: 72bd23fb508c924ed224163c297030bb5c36269336569ed0b057997c4c3f55a2
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d767089607482fde3aabba60ba861a52337feb005ce55ae1127e5a3614a0f2d6d4af19f30854186ac53683bd571cf7180769bba4807f0211e70a866dd8379038
|
|
7
|
+
data.tar.gz: a5fcef6dc7fd3c27d0d99b858894a3910db4acde4771744d74c131449c696e0c79b8503a547c9ca23a09f466c8a33ae144f540d1b20c4bf8b4ef275c7173acf5
|
data/lib/slot_machine/service.rb
CHANGED
|
@@ -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 =
|
|
11
|
+
locals[:slots] = locals
|
|
12
12
|
|
|
13
13
|
# Here we create the builder
|
|
14
14
|
# we execute the block while passing the builder
|
data/lib/slot_machine/version.rb
CHANGED