wrapper 0.1.0 → 0.1.1

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.
Files changed (3) hide show
  1. data/lib/wrapper.rb +4 -0
  2. data/lib/wrapper/version.rb +1 -1
  3. metadata +2 -2
@@ -57,6 +57,10 @@ module Wrapper # :nodoc:
57
57
  resource.as_json(*args)
58
58
  end
59
59
 
60
+ def to_param
61
+ resource.to_param
62
+ end
63
+
60
64
  ##
61
65
  # Check if an instance method is defined either in the presenter or for on
62
66
  # the +#resource+.
@@ -1,4 +1,4 @@
1
1
  # encoding: utf-8
2
2
  module Wrapper # :nodoc:
3
- VERSION = '0.1.0'
3
+ VERSION = '0.1.1'
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
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-08-31 00:00:00.000000000 Z
12
+ date: 2013-02-26 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails