sinja 0.2.0.beta1 → 0.2.0.beta2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/sinja.rb +1 -1
- data/lib/sinja/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 888cd268dead23fb968c04f789e45ba33530f859
|
4
|
+
data.tar.gz: ec062d1583793fa03f88338eec33f2f3883f754d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e78db5f95b48107ac6fcd3442c99fbd9662d8ea63cdea41d89bd5507474afeb84e45384f2ad1a6c4eecb802182e2d3fde40a71060361c7a621f5393255011520
|
7
|
+
data.tar.gz: c40082498c163ad4dfe297b405109546fe1de879716ca2c2fab754e4c17f649aa807354ad6c8fbacd8dc1339d85c1e45ed7582d8d7f77bd5f1c9e341b369a8fc
|
data/README.md
CHANGED
data/lib/sinja.rb
CHANGED
@@ -15,7 +15,7 @@ module Sinja
|
|
15
15
|
|
16
16
|
def resource(resource_name, konst=nil, &block)
|
17
17
|
abort "Must supply proc constant or block for `resource'" \
|
18
|
-
unless block = (konst
|
18
|
+
unless block = (konst if konst.is_a?(Proc)) || block
|
19
19
|
|
20
20
|
_sinja.resource_roles[resource_name.to_sym] # trigger default proc
|
21
21
|
|
data/lib/sinja/version.rb
CHANGED