RubyGems
npm
Organizations
Log in
Sign up
RubyGems
yoomee-decent_exposure
Versions diffs
1.2.0 → 1.2.1
yoomee-decent_exposure 1.2.0 → 1.2.1
Sign up to get
free
protection for your applications and to get access to all the features.
Files changed (3)
hide
show
data/lib/decent_exposure/controller_instance_methods.rb
+4
-0
data/lib/decent_exposure/version.rb
+1
-1
metadata
+1
-1
data/lib/decent_exposure/controller_instance_methods.rb
CHANGED
Viewed
@@ -2,6 +2,10 @@ module DecentExposure
2
2
3
3
module ControllerInstanceMethods
4
4
5
+
def self.included(klass)
6
+
klass.hide_action(:over_expose)
7
+
end
8
+
5
9
def over_expose(name, val)
6
10
@_resources = {}
7
11
@_resources[name] = val
data/lib/decent_exposure/version.rb
CHANGED
Viewed
@@ -1,3 +1,3 @@
1
1
module DecentExposure #:nodoc
2
-
VERSION = "1.2.
0
"
2
+
VERSION = "1.2.
1
"
3
3
end
metadata
CHANGED
Viewed
@@ -2,7 +2,7 @@
2
2
name: yoomee-decent_exposure
3
3
version: !ruby/object:Gem::Version
4
4
prerelease:
5
-
version: 1.2.
0
5
+
version: 1.2.
1
6
6
platform: ruby
7
7
authors:
8
8
- Stephen Caudill