polyblock 1.2.0 → 1.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/polyblock/simple_form_helper.rb +1 -1
- data/lib/polyblock/strong_params_helper.rb +1 -1
- data/lib/polyblock/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 95052df3068ac559d90875a7bfe00592cfd3bfbf
|
4
|
+
data.tar.gz: 51feca6418484039b77d0118f4fb0d2a0956b140
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7be0a11f5c096dd80aeed6ef577392e47d77c53e4a7676bbf3aced4bf623ca59d7b03139641abae2574dfbd82f6922fa0ee0ed41f64223bb594f15808670f928
|
7
|
+
data.tar.gz: 74864a8602be5e233c0510a7928a459400acacaabb6fdf2675790f596fc0ec6eb2e2800597104c8ecd9c356aa082a791358858668ba8f46d5444a6a236b005d2
|
@@ -47,7 +47,7 @@ module Polyblock
|
|
47
47
|
protected
|
48
48
|
def pb_from_name(name, fb)
|
49
49
|
if name.is_a?(Symbol)
|
50
|
-
if fb.object.is_a?(
|
50
|
+
if fb.object.is_a?(Block) then fb.object
|
51
51
|
else fb.object.send(name) end
|
52
52
|
else
|
53
53
|
foi_block = Block.fetch_or_initialize name
|
data/lib/polyblock/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: polyblock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- MacKinley Smith
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-09-
|
11
|
+
date: 2015-09-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|