arrthorizer 0.1.0.pre → 0.1.0.pre2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: b71c7c666f99142b09c0bf02f42eba2942090799
4
+ data.tar.gz: 7ae245473bca34b41a2d99b5fdb01a240b8bb2fc
5
+ SHA512:
6
+ metadata.gz: b7c6ab52920724e0ee79ae75365385829c7d3f5f2124aec3380687cfca1fc0d308412d38c697b6d9264b05422834d2667b494ecce7dfd8087380a399ef40d992
7
+ data.tar.gz: c2d9eacd2683e5b07b2231cf58ad2405b240e334811dc884ea811dc8ecf585cf6bf46afd269a7778a90ce36db7eba2f825ccdef4fd9bf63276503f328b639ca5
@@ -1,3 +1,3 @@
1
1
  module Arrthorizer
2
- VERSION = "0.1.0.pre"
2
+ VERSION = "0.1.0.pre2"
3
3
  end
@@ -19,8 +19,10 @@ describe Arrthorizer::Rails do
19
19
  describe "each controller" do
20
20
  let(:controller) { controller_class.new }
21
21
 
22
- it "responds to :arrthorizer_context" do
23
- controller.should respond_to :arrthorizer_context
22
+ it "has a protected method called :arrthorizer_context" do
23
+ # this method is protected to prevent exposing it
24
+ # via default or wildcard routes
25
+ controller.protected_methods.should include :arrthorizer_context
24
26
  end
25
27
 
26
28
  context "when it has a proper configuration for context building" do
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: arrthorizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0.pre
5
- prerelease: 6
4
+ version: 0.1.0.pre2
6
5
  platform: ruby
7
6
  authors:
8
7
  - René van den Berg
@@ -15,23 +14,20 @@ dependencies:
15
14
  - !ruby/object:Gem::Dependency
16
15
  name: rails
17
16
  requirement: !ruby/object:Gem::Requirement
18
- none: false
19
17
  requirements:
20
- - - ! '>='
18
+ - - '>='
21
19
  - !ruby/object:Gem::Version
22
20
  version: '0'
23
21
  type: :runtime
24
22
  prerelease: false
25
23
  version_requirements: !ruby/object:Gem::Requirement
26
- none: false
27
24
  requirements:
28
- - - ! '>='
25
+ - - '>='
29
26
  - !ruby/object:Gem::Version
30
27
  version: '0'
31
28
  - !ruby/object:Gem::Dependency
32
29
  name: combustion
33
30
  requirement: !ruby/object:Gem::Requirement
34
- none: false
35
31
  requirements:
36
32
  - - ~>
37
33
  - !ruby/object:Gem::Version
@@ -39,7 +35,6 @@ dependencies:
39
35
  type: :development
40
36
  prerelease: false
41
37
  version_requirements: !ruby/object:Gem::Requirement
42
- none: false
43
38
  requirements:
44
39
  - - ~>
45
40
  - !ruby/object:Gem::Version
@@ -47,33 +42,29 @@ dependencies:
47
42
  - !ruby/object:Gem::Dependency
48
43
  name: sqlite3
49
44
  requirement: !ruby/object:Gem::Requirement
50
- none: false
51
45
  requirements:
52
- - - ! '>='
46
+ - - '>='
53
47
  - !ruby/object:Gem::Version
54
48
  version: '0'
55
49
  type: :development
56
50
  prerelease: false
57
51
  version_requirements: !ruby/object:Gem::Requirement
58
- none: false
59
52
  requirements:
60
- - - ! '>='
53
+ - - '>='
61
54
  - !ruby/object:Gem::Version
62
55
  version: '0'
63
56
  - !ruby/object:Gem::Dependency
64
57
  name: rspec-rails
65
58
  requirement: !ruby/object:Gem::Requirement
66
- none: false
67
59
  requirements:
68
- - - ! '>='
60
+ - - '>='
69
61
  - !ruby/object:Gem::Version
70
62
  version: '0'
71
63
  type: :development
72
64
  prerelease: false
73
65
  version_requirements: !ruby/object:Gem::Requirement
74
- none: false
75
66
  requirements:
76
- - - ! '>='
67
+ - - '>='
77
68
  - !ruby/object:Gem::Version
78
69
  version: '0'
79
70
  description: Contextual authorization for your Rails (3+) application
@@ -165,30 +156,26 @@ files:
165
156
  - spec/support/reset.rb
166
157
  homepage: https://github.com/BUS-ogd/arrthorizer
167
158
  licenses: []
159
+ metadata: {}
168
160
  post_install_message:
169
161
  rdoc_options: []
170
162
  require_paths:
171
163
  - lib
172
164
  required_ruby_version: !ruby/object:Gem::Requirement
173
- none: false
174
165
  requirements:
175
- - - ! '>='
166
+ - - '>='
176
167
  - !ruby/object:Gem::Version
177
168
  version: '0'
178
- segments:
179
- - 0
180
- hash: 3748018138546931324
181
169
  required_rubygems_version: !ruby/object:Gem::Requirement
182
- none: false
183
170
  requirements:
184
- - - ! '>'
171
+ - - '>'
185
172
  - !ruby/object:Gem::Version
186
173
  version: 1.3.1
187
174
  requirements: []
188
175
  rubyforge_project:
189
- rubygems_version: 1.8.24
176
+ rubygems_version: 2.0.0
190
177
  signing_key:
191
- specification_version: 3
178
+ specification_version: 4
192
179
  summary: Contextual authorization for your Rails (3+) application
193
180
  test_files:
194
181
  - spec/arrthorizer_exception/inner_spec.rb