eric 0.0.1 → 0.0.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.
@@ -3,7 +3,8 @@ module BlocksHelper
3
3
  block = Block.find_by_name(name)
4
4
 
5
5
  if block
6
- render block
6
+ # can't use `render block` because this breaks in devise views on windows
7
+ render partial: 'blocks/block', object: block
7
8
  else
8
9
  "render_block: Block not found \"#{name}\"" if Rails.env.development?
9
10
  end
@@ -1,3 +1,3 @@
1
1
  module Eric
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: eric
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-06 00:00:00.000000000 Z
12
+ date: 2013-01-02 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -232,7 +232,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
232
232
  version: '0'
233
233
  segments:
234
234
  - 0
235
- hash: 1002657868316071926
235
+ hash: 2321751949551576113
236
236
  required_rubygems_version: !ruby/object:Gem::Requirement
237
237
  none: false
238
238
  requirements:
@@ -241,10 +241,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
241
241
  version: '0'
242
242
  segments:
243
243
  - 0
244
- hash: 1002657868316071926
244
+ hash: 2321751949551576113
245
245
  requirements: []
246
246
  rubyforge_project:
247
- rubygems_version: 1.8.23
247
+ rubygems_version: 1.8.24
248
248
  signing_key:
249
249
  specification_version: 3
250
250
  summary: Half of a CMS. The front half.