staticz 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/utils/helpers.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 18903b9d06f2c505eae4c6e385461a6c82562a0c527d2cfb4474dd58759b1413
4
- data.tar.gz: d14b7be4560eeaadab43aa4749cf63c50fb60f1f27cef7e0d96d3fd052e837e5
3
+ metadata.gz: 9dc81074383e9eddcace7b5105ee493ff6c60747a4786d7ae1cff8bee14c34e1
4
+ data.tar.gz: 8334be7d7d23c672a9437681503b777758eb34c23eaa08fd61d546c327e702e9
5
5
  SHA512:
6
- metadata.gz: 32741ea3f2b95ada6ef444fa4db52ee92323bb5bfe82c2bf8ea510c678f77dae199920487eda5770947510f672e739d523e165e25857a71433a48db7c01ca79d
7
- data.tar.gz: d110fd34a052eb8b551caeb080840909a32eaa9a8baf218ad37204b705a4dcb8501e840300ac7657d575a7026a629b371a289a180cf45a531cda8b5bba3c732a
6
+ metadata.gz: eb3a9a6af3a70575c0c2f231950dc2ef6cf695e4e00bc76badea2d1cb82c64984feccb2c4825996b423de6ccf7fc19887f059acb67d178fecf17e5c9015fde7c
7
+ data.tar.gz: f035fe31cfa792756132f0a52148a8b62f2983ceead70b6c2688b889fb1163d490d785aa023d9e48712166e901e4ab446b9e1b5b5e17016330f360e3b8fb1574
data/lib/utils/helpers.rb CHANGED
@@ -4,7 +4,7 @@ def render(component, locals: {}, &block)
4
4
  if block
5
5
  engine.render(Object.new, locals, &block)
6
6
  else
7
- engine.render
7
+ engine.render(Object.new, locals)
8
8
  end
9
9
  end
10
10
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: staticz
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
  - Philipp Schlesinger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-06-02 00:00:00.000000000 Z
11
+ date: 2022-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: haml