controller_resource_class 0.0.2 → 0.0.3

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: 39a12f57e340dbd887099247a5ee03ed6cb87bd9
4
- data.tar.gz: 88bfdf7c07f4ebfa48eec01c10d1a70477634d2f
3
+ metadata.gz: 9c9858c44c16526cda59139fe99642e4e1bd4779
4
+ data.tar.gz: 6d3c220457689fb79e60d10a85bcfc7539d8fd7f
5
5
  SHA512:
6
- metadata.gz: ec9fdfc5cbbf2dea8402cb16204920aa16b38a9646317ef3f9e56eb14439b64301bb335a181b41d591783369072805e15a6db4c71ce9138cf85f85b7215f1773
7
- data.tar.gz: 28a07b74363f5314dcae0dc924db9db887508c9dbd581dfcea2aeb33a3648f1ed606b88a4ba0aefc1958841fb0ec04e03b7a9afd0d397475faae4443d7121d8a
6
+ metadata.gz: 32dc6bec77aaf894c9e5b679c63d436a53d2a2696421a5be273d2740659624c1d326279af761a1130abbf4d5dcf75a0be3966f8dcb42e43e2be753c21811aaac
7
+ data.tar.gz: 57b0cf00e60788325c0997dc0eb861fbd19d66b88042e588395ef2ba6eac8d9068061e275358b44d4fa72323d3e4ef82b80c967d6bff9ae4fad4d0850fb3c311
@@ -5,7 +5,10 @@ module ControllerResourceClass
5
5
  def resource_class
6
6
  self.class.resource_class
7
7
  end
8
- helper_method :resource_class
8
+
9
+ included do
10
+ helper_method :resource_class
11
+ end
9
12
 
10
13
  module ClassMethods
11
14
  def set_resource_class(value)
@@ -1,3 +1,3 @@
1
1
  module ControllerResourceClass
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: controller_resource_class
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - barelyknown
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2013-08-27 00:00:00.000000000 Z
11
+ date: 2013-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler