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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a5431ce08071cf86b397e36aeea37599757119d5
4
- data.tar.gz: d49a53f8a8153a86fc19adef8bed5dfba1558410
3
+ metadata.gz: 95052df3068ac559d90875a7bfe00592cfd3bfbf
4
+ data.tar.gz: 51feca6418484039b77d0118f4fb0d2a0956b140
5
5
  SHA512:
6
- metadata.gz: 1f4855ebd857aba89ea075267b85a51282f9ad4a7ffa5c2cc75afad24886546bafa4189dc0805ef5c743c5160054aaf1a50080471c13d32e1b4cc1dbd121ee2e
7
- data.tar.gz: b2927232df13beed70eab6c63b290d2100ce7ee456c2ed79907e578acb2f18b5c5fbf8188cbc8facab24e491b516f6b31a72896abb70d36083065611516e4cb9
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?(Polyblock::Block) then fb.object
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
@@ -7,7 +7,7 @@ module Polyblock
7
7
  { :"#{block}_attributes" => [:name, :content] }
8
8
  end
9
9
  def polyblock_params(block)
10
- Polyblock::StrongParamsHelper.polyblock_params block
10
+ StrongParamsHelper.polyblock_params block
11
11
  end
12
12
 
13
13
  end
@@ -1,3 +1,3 @@
1
1
  module Polyblock
2
- VERSION = '1.2.0'
2
+ VERSION = '1.2.1'
3
3
  end
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.0
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-19 00:00:00.000000000 Z
11
+ date: 2015-09-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails