decent_exposure 2.3.2 → 2.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +4 -2
- data/lib/decent_exposure/expose.rb +0 -3
- data/lib/decent_exposure/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9fff0c90cb010d9b35e02bc714102c23bd75bbe
|
4
|
+
data.tar.gz: 94da8ffea402d21cd7cfc9b5f34e1e4a9412c25e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3dcca3f45da8a0af81eca8aadefc5c399c4e8f7cbddc20522c3b1902849a06a19f4a50e89f013f96d2934d57cf846e9f6fafd6b51e65c36907a0a76963fdd613
|
7
|
+
data.tar.gz: 0748f7dac7ac669e937719541b189f8c2337aada64a69124f784edfd3a387c6f11cbe11bf7fe23713c912a5e84dcfcc51f8c5fbb1f3f6fa63c9b983a0dc42354
|
data/README.md
CHANGED
@@ -1,4 +1,6 @@
|
|
1
|
-
[![Gem Version](https://badge.fury.io/rb/decent_exposure.
|
1
|
+
[![Gem Version](https://badge.fury.io/rb/decent_exposure.svg)](https://badge.fury.io/rb/decent_exposure)
|
2
|
+
[![Build Status](https://api.travis-ci.org/hashrocket/decent_exposure.svg?branch=master)](https://travis-ci.org/hashrocket/decent_exposure)
|
3
|
+
[![Code Climate](https://codeclimate.com/github/hashrocket/decent_exposure/badges/gpa.svg)](https://codeclimate.com/github/hashrocket/decent_exposure)
|
2
4
|
|
3
5
|
**Note**: Version 2.3.x will be the last series of releases that support
|
4
6
|
Rails 3.x and Ruby 1.8/1.9. Starting with version 3.0, Decent Exposure
|
@@ -496,4 +498,4 @@ end
|
|
496
498
|
```
|
497
499
|
|
498
500
|
|
499
|
-
[1]: http://
|
501
|
+
[1]: http://stephencaudill.com/blog/2010/a-diatribe-on-maintaining-state.html
|
@@ -11,7 +11,6 @@ module DecentExposure
|
|
11
11
|
def _resources
|
12
12
|
@_resources ||= {}
|
13
13
|
end
|
14
|
-
hide_action :_resources
|
15
14
|
|
16
15
|
protected_instance_variables << "@_resources"
|
17
16
|
end
|
@@ -54,12 +53,10 @@ module DecentExposure
|
|
54
53
|
_resources[name] = exposure.call(self)
|
55
54
|
end
|
56
55
|
helper_method name
|
57
|
-
hide_action name
|
58
56
|
|
59
57
|
define_method("#{name}=") do |value|
|
60
58
|
_resources[name] = value
|
61
59
|
end
|
62
|
-
hide_action "#{name}="
|
63
60
|
end
|
64
61
|
end
|
65
62
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: decent_exposure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.3.
|
4
|
+
version: 2.3.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Caudill
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2016-01-08 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rspec
|
@@ -18,28 +18,28 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - "~>"
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: '
|
21
|
+
version: '3'
|
22
22
|
type: :development
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - "~>"
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: '
|
28
|
+
version: '3'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: rspec-rails
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '
|
35
|
+
version: '3'
|
36
36
|
type: :development
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '
|
42
|
+
version: '3'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: actionpack
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,7 +116,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
116
116
|
version: 1.3.6
|
117
117
|
requirements: []
|
118
118
|
rubyforge_project:
|
119
|
-
rubygems_version: 2.
|
119
|
+
rubygems_version: 2.4.3
|
120
120
|
signing_key:
|
121
121
|
specification_version: 4
|
122
122
|
summary: A helper for creating declarative interfaces in controllers
|