acts_as_page 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/lib/acts_as_page.rb CHANGED
@@ -41,7 +41,7 @@ module ActsAsPage
41
41
  def method_missing(name)
42
42
  part = parts.with_globalize(title: name.to_s.downcase.underscore).first
43
43
  if part
44
- return part
44
+ return part.body
45
45
  else
46
46
  super(name)
47
47
  end
@@ -1,3 +1,3 @@
1
1
  module ActsAsPage
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: acts_as_page
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
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: 2013-03-24 00:00:00.000000000 Z
12
+ date: 2013-04-12 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails