cancan-permits 0.3.11 → 0.3.12
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/cancan-permits.gemspec +5 -5
- data/lib/cancan-permits/rspec/matchers/have_license_file.rb +4 -4
- data/lib/generators/cancan/license/license_generator.rb +1 -1
- data/lib/generators/cancan/licenses/licenses_generator.rb +1 -1
- data/lib/generators/cancan/permit/permit_generator.rb +1 -1
- data/lib/generators/cancan/permits/permits_generator.rb +2 -2
- metadata +41 -43
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.12
|
data/cancan-permits.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{cancan-permits}
|
8
|
-
s.version = "0.3.
|
8
|
+
s.version = "0.3.12"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
|
-
s.authors = [
|
12
|
-
s.date = %q{2011-
|
11
|
+
s.authors = [%q{Kristian Mandrup}]
|
12
|
+
s.date = %q{2011-05-06}
|
13
13
|
s.description = %q{Role specific Permits for use with CanCan permission system}
|
14
14
|
s.email = %q{kmandrup@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -109,8 +109,8 @@ Gem::Specification.new do |s|
|
|
109
109
|
"spec/spec_helper.rb"
|
110
110
|
]
|
111
111
|
s.homepage = %q{http://github.com/kristianmandrup/cancan-permits}
|
112
|
-
s.require_paths = [
|
113
|
-
s.rubygems_version = %q{1.
|
112
|
+
s.require_paths = [%q{lib}]
|
113
|
+
s.rubygems_version = %q{1.8.0}
|
114
114
|
s.summary = %q{Permits for use with CanCan}
|
115
115
|
s.test_files = [
|
116
116
|
"spec/active_record/migrations/001_create_user.rb",
|
@@ -3,8 +3,8 @@ require 'rails-app-spec'
|
|
3
3
|
module RSpec::RubyContentMatchers
|
4
4
|
module LicenseFile
|
5
5
|
class HaveLicenseFile
|
6
|
-
include ::
|
7
|
-
include ::
|
6
|
+
include ::RailsAssist::Artifact::Directory
|
7
|
+
include ::RailsAssist::Directory
|
8
8
|
|
9
9
|
attr_reader :name
|
10
10
|
|
@@ -42,8 +42,8 @@ module RSpec::RubyContentMatchers
|
|
42
42
|
end
|
43
43
|
|
44
44
|
class HaveLicenseFiles
|
45
|
-
include ::
|
46
|
-
include ::
|
45
|
+
include ::RailsAssist::Artifact::Directory
|
46
|
+
include ::RailsAssist::Directory
|
47
47
|
|
48
48
|
attr_reader :names
|
49
49
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cancan-permits
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.12
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,12 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
13
|
-
default_executable:
|
12
|
+
date: 2011-05-06 00:00:00.000000000Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: cancan
|
17
|
-
requirement: &
|
16
|
+
requirement: &2152250000 !ruby/object:Gem::Requirement
|
18
17
|
none: false
|
19
18
|
requirements:
|
20
19
|
- - ! '>='
|
@@ -22,10 +21,10 @@ dependencies:
|
|
22
21
|
version: 1.4.1
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
|
-
version_requirements: *
|
24
|
+
version_requirements: *2152250000
|
26
25
|
- !ruby/object:Gem::Dependency
|
27
26
|
name: require_all
|
28
|
-
requirement: &
|
27
|
+
requirement: &2152249260 !ruby/object:Gem::Requirement
|
29
28
|
none: false
|
30
29
|
requirements:
|
31
30
|
- - ~>
|
@@ -33,10 +32,10 @@ dependencies:
|
|
33
32
|
version: 1.2.0
|
34
33
|
type: :runtime
|
35
34
|
prerelease: false
|
36
|
-
version_requirements: *
|
35
|
+
version_requirements: *2152249260
|
37
36
|
- !ruby/object:Gem::Dependency
|
38
37
|
name: sugar-high
|
39
|
-
requirement: &
|
38
|
+
requirement: &2152248120 !ruby/object:Gem::Requirement
|
40
39
|
none: false
|
41
40
|
requirements:
|
42
41
|
- - ~>
|
@@ -44,10 +43,10 @@ dependencies:
|
|
44
43
|
version: 0.4.0
|
45
44
|
type: :runtime
|
46
45
|
prerelease: false
|
47
|
-
version_requirements: *
|
46
|
+
version_requirements: *2152248120
|
48
47
|
- !ruby/object:Gem::Dependency
|
49
48
|
name: rails_artifactor
|
50
|
-
requirement: &
|
49
|
+
requirement: &2152247500 !ruby/object:Gem::Requirement
|
51
50
|
none: false
|
52
51
|
requirements:
|
53
52
|
- - ~>
|
@@ -55,10 +54,10 @@ dependencies:
|
|
55
54
|
version: 0.3.3
|
56
55
|
type: :runtime
|
57
56
|
prerelease: false
|
58
|
-
version_requirements: *
|
57
|
+
version_requirements: *2152247500
|
59
58
|
- !ruby/object:Gem::Dependency
|
60
59
|
name: activemodel
|
61
|
-
requirement: &
|
60
|
+
requirement: &2152246860 !ruby/object:Gem::Requirement
|
62
61
|
none: false
|
63
62
|
requirements:
|
64
63
|
- - ! '>='
|
@@ -66,10 +65,10 @@ dependencies:
|
|
66
65
|
version: 3.0.1
|
67
66
|
type: :runtime
|
68
67
|
prerelease: false
|
69
|
-
version_requirements: *
|
68
|
+
version_requirements: *2152246860
|
70
69
|
- !ruby/object:Gem::Dependency
|
71
70
|
name: activesupport
|
72
|
-
requirement: &
|
71
|
+
requirement: &2152245840 !ruby/object:Gem::Requirement
|
73
72
|
none: false
|
74
73
|
requirements:
|
75
74
|
- - ! '>='
|
@@ -77,10 +76,10 @@ dependencies:
|
|
77
76
|
version: 3.0.1
|
78
77
|
type: :runtime
|
79
78
|
prerelease: false
|
80
|
-
version_requirements: *
|
79
|
+
version_requirements: *2152245840
|
81
80
|
- !ruby/object:Gem::Dependency
|
82
81
|
name: activeresource
|
83
|
-
requirement: &
|
82
|
+
requirement: &2152244440 !ruby/object:Gem::Requirement
|
84
83
|
none: false
|
85
84
|
requirements:
|
86
85
|
- - ! '>='
|
@@ -88,10 +87,10 @@ dependencies:
|
|
88
87
|
version: 3.0.1
|
89
88
|
type: :runtime
|
90
89
|
prerelease: false
|
91
|
-
version_requirements: *
|
90
|
+
version_requirements: *2152244440
|
92
91
|
- !ruby/object:Gem::Dependency
|
93
92
|
name: rspec
|
94
|
-
requirement: &
|
93
|
+
requirement: &2152243460 !ruby/object:Gem::Requirement
|
95
94
|
none: false
|
96
95
|
requirements:
|
97
96
|
- - ! '>='
|
@@ -99,10 +98,10 @@ dependencies:
|
|
99
98
|
version: 2.0.1
|
100
99
|
type: :development
|
101
100
|
prerelease: false
|
102
|
-
version_requirements: *
|
101
|
+
version_requirements: *2152243460
|
103
102
|
- !ruby/object:Gem::Dependency
|
104
103
|
name: code-spec
|
105
|
-
requirement: &
|
104
|
+
requirement: &2152242560 !ruby/object:Gem::Requirement
|
106
105
|
none: false
|
107
106
|
requirements:
|
108
107
|
- - ~>
|
@@ -110,10 +109,10 @@ dependencies:
|
|
110
109
|
version: 0.2.9
|
111
110
|
type: :development
|
112
111
|
prerelease: false
|
113
|
-
version_requirements: *
|
112
|
+
version_requirements: *2152242560
|
114
113
|
- !ruby/object:Gem::Dependency
|
115
114
|
name: rails-app-spec
|
116
|
-
requirement: &
|
115
|
+
requirement: &2152241820 !ruby/object:Gem::Requirement
|
117
116
|
none: false
|
118
117
|
requirements:
|
119
118
|
- - ~>
|
@@ -121,10 +120,10 @@ dependencies:
|
|
121
120
|
version: 0.3.1
|
122
121
|
type: :development
|
123
122
|
prerelease: false
|
124
|
-
version_requirements: *
|
123
|
+
version_requirements: *2152241820
|
125
124
|
- !ruby/object:Gem::Dependency
|
126
125
|
name: rspec
|
127
|
-
requirement: &
|
126
|
+
requirement: &2152241080 !ruby/object:Gem::Requirement
|
128
127
|
none: false
|
129
128
|
requirements:
|
130
129
|
- - ! '>='
|
@@ -132,10 +131,10 @@ dependencies:
|
|
132
131
|
version: 2.4.1
|
133
132
|
type: :development
|
134
133
|
prerelease: false
|
135
|
-
version_requirements: *
|
134
|
+
version_requirements: *2152241080
|
136
135
|
- !ruby/object:Gem::Dependency
|
137
136
|
name: code-spec
|
138
|
-
requirement: &
|
137
|
+
requirement: &2152240440 !ruby/object:Gem::Requirement
|
139
138
|
none: false
|
140
139
|
requirements:
|
141
140
|
- - ~>
|
@@ -143,10 +142,10 @@ dependencies:
|
|
143
142
|
version: 0.2.9
|
144
143
|
type: :development
|
145
144
|
prerelease: false
|
146
|
-
version_requirements: *
|
145
|
+
version_requirements: *2152240440
|
147
146
|
- !ruby/object:Gem::Dependency
|
148
147
|
name: cancan
|
149
|
-
requirement: &
|
148
|
+
requirement: &2152239400 !ruby/object:Gem::Requirement
|
150
149
|
none: false
|
151
150
|
requirements:
|
152
151
|
- - ! '>='
|
@@ -154,10 +153,10 @@ dependencies:
|
|
154
153
|
version: 1.4.1
|
155
154
|
type: :runtime
|
156
155
|
prerelease: false
|
157
|
-
version_requirements: *
|
156
|
+
version_requirements: *2152239400
|
158
157
|
- !ruby/object:Gem::Dependency
|
159
158
|
name: require_all
|
160
|
-
requirement: &
|
159
|
+
requirement: &2152238380 !ruby/object:Gem::Requirement
|
161
160
|
none: false
|
162
161
|
requirements:
|
163
162
|
- - ~>
|
@@ -165,10 +164,10 @@ dependencies:
|
|
165
164
|
version: 1.2.0
|
166
165
|
type: :runtime
|
167
166
|
prerelease: false
|
168
|
-
version_requirements: *
|
167
|
+
version_requirements: *2152238380
|
169
168
|
- !ruby/object:Gem::Dependency
|
170
169
|
name: sugar-high
|
171
|
-
requirement: &
|
170
|
+
requirement: &2152237160 !ruby/object:Gem::Requirement
|
172
171
|
none: false
|
173
172
|
requirements:
|
174
173
|
- - ~>
|
@@ -176,10 +175,10 @@ dependencies:
|
|
176
175
|
version: 0.4.0
|
177
176
|
type: :runtime
|
178
177
|
prerelease: false
|
179
|
-
version_requirements: *
|
178
|
+
version_requirements: *2152237160
|
180
179
|
- !ruby/object:Gem::Dependency
|
181
180
|
name: rails_artifactor
|
182
|
-
requirement: &
|
181
|
+
requirement: &2152236240 !ruby/object:Gem::Requirement
|
183
182
|
none: false
|
184
183
|
requirements:
|
185
184
|
- - ~>
|
@@ -187,10 +186,10 @@ dependencies:
|
|
187
186
|
version: 0.3.3
|
188
187
|
type: :runtime
|
189
188
|
prerelease: false
|
190
|
-
version_requirements: *
|
189
|
+
version_requirements: *2152236240
|
191
190
|
- !ruby/object:Gem::Dependency
|
192
191
|
name: activemodel
|
193
|
-
requirement: &
|
192
|
+
requirement: &2152235240 !ruby/object:Gem::Requirement
|
194
193
|
none: false
|
195
194
|
requirements:
|
196
195
|
- - ! '>='
|
@@ -198,10 +197,10 @@ dependencies:
|
|
198
197
|
version: 3.0.1
|
199
198
|
type: :runtime
|
200
199
|
prerelease: false
|
201
|
-
version_requirements: *
|
200
|
+
version_requirements: *2152235240
|
202
201
|
- !ruby/object:Gem::Dependency
|
203
202
|
name: activesupport
|
204
|
-
requirement: &
|
203
|
+
requirement: &2152234540 !ruby/object:Gem::Requirement
|
205
204
|
none: false
|
206
205
|
requirements:
|
207
206
|
- - ! '>='
|
@@ -209,10 +208,10 @@ dependencies:
|
|
209
208
|
version: 3.0.1
|
210
209
|
type: :runtime
|
211
210
|
prerelease: false
|
212
|
-
version_requirements: *
|
211
|
+
version_requirements: *2152234540
|
213
212
|
- !ruby/object:Gem::Dependency
|
214
213
|
name: activeresource
|
215
|
-
requirement: &
|
214
|
+
requirement: &2152233840 !ruby/object:Gem::Requirement
|
216
215
|
none: false
|
217
216
|
requirements:
|
218
217
|
- - ! '>='
|
@@ -220,7 +219,7 @@ dependencies:
|
|
220
219
|
version: 3.0.1
|
221
220
|
type: :runtime
|
222
221
|
prerelease: false
|
223
|
-
version_requirements: *
|
222
|
+
version_requirements: *2152233840
|
224
223
|
description: Role specific Permits for use with CanCan permission system
|
225
224
|
email: kmandrup@gmail.com
|
226
225
|
executables: []
|
@@ -319,7 +318,6 @@ files:
|
|
319
318
|
- spec/simply_stored/permits_spec.rb
|
320
319
|
- spec/simply_stored/spec_helper.rb
|
321
320
|
- spec/spec_helper.rb
|
322
|
-
has_rdoc: true
|
323
321
|
homepage: http://github.com/kristianmandrup/cancan-permits
|
324
322
|
licenses: []
|
325
323
|
post_install_message:
|
@@ -340,7 +338,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
340
338
|
version: '0'
|
341
339
|
requirements: []
|
342
340
|
rubyforge_project:
|
343
|
-
rubygems_version: 1.
|
341
|
+
rubygems_version: 1.8.0
|
344
342
|
signing_key:
|
345
343
|
specification_version: 3
|
346
344
|
summary: Permits for use with CanCan
|