cancan-rest-links 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/Rakefile +2 -2
- data/VERSION +1 -1
- data/cancan-rest-links.gemspec +12 -13
- metadata +86 -144
data/Gemfile
CHANGED
@@ -4,11 +4,11 @@ source 'http://gems.github.com/'
|
|
4
4
|
group :default do
|
5
5
|
gem "cancan", ">= 1.4.1"
|
6
6
|
gem 'require_all', "~> 1.2.0"
|
7
|
-
gem 'sugar-high', "~> 0.
|
7
|
+
gem 'sugar-high', "~> 0.4.0"
|
8
8
|
gem 'r3_plugin_toolbox', "~> 0.4.0"
|
9
9
|
end
|
10
10
|
|
11
11
|
group :test do
|
12
|
-
gem "rspec", ">= 2.
|
12
|
+
gem "rspec", ">= 2.4.1"
|
13
13
|
gem "rspec-action_view", "~> 0.3.4"
|
14
14
|
end
|
data/Rakefile
CHANGED
@@ -9,11 +9,11 @@ begin
|
|
9
9
|
gem.authors = ["Kristian Mandrup"]
|
10
10
|
gem.add_development_dependency "rspec", ">= 2.0.1"
|
11
11
|
gem.add_development_dependency "rspec-action_view", ">= 0.3.4"
|
12
|
-
gem.add_development_dependency 'generator-spec', ">= 0.7.
|
12
|
+
gem.add_development_dependency 'generator-spec', ">= 0.7.3"
|
13
13
|
|
14
14
|
gem.add_dependency 'cancan', ">= 1.4.1"
|
15
15
|
gem.add_dependency 'require_all', "~> 1.2.0"
|
16
|
-
gem.add_dependency 'sugar-high', "~> 0.
|
16
|
+
gem.add_dependency 'sugar-high', "~> 0.4.0"
|
17
17
|
gem.add_dependency 'r3_plugin_toolbox', ">= 0.4.0"
|
18
18
|
end
|
19
19
|
Jeweler::GemcutterTasks.new
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.3
|
data/cancan-rest-links.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{cancan-rest-links}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.3"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Kristian Mandrup"]
|
12
|
-
s.date = %q{2011-
|
12
|
+
s.date = %q{2011-03-04}
|
13
13
|
s.description = %q{Guard your links with permissions}
|
14
14
|
s.email = %q{kmandrup@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -46,7 +46,7 @@ Gem::Specification.new do |s|
|
|
46
46
|
]
|
47
47
|
s.homepage = %q{http://github.com/kristianmandrup/cancan-rest-links}
|
48
48
|
s.require_paths = ["lib"]
|
49
|
-
s.rubygems_version = %q{1.
|
49
|
+
s.rubygems_version = %q{1.6.1}
|
50
50
|
s.summary = %q{Rest link helpers for CanCan}
|
51
51
|
s.test_files = [
|
52
52
|
"spec/cancan-rest-links/generators/restlinks_generator.rb",
|
@@ -58,45 +58,44 @@ Gem::Specification.new do |s|
|
|
58
58
|
]
|
59
59
|
|
60
60
|
if s.respond_to? :specification_version then
|
61
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
62
61
|
s.specification_version = 3
|
63
62
|
|
64
63
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
65
64
|
s.add_runtime_dependency(%q<cancan>, [">= 1.4.1"])
|
66
65
|
s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
|
67
|
-
s.add_runtime_dependency(%q<sugar-high>, ["~> 0.
|
66
|
+
s.add_runtime_dependency(%q<sugar-high>, ["~> 0.4.0"])
|
68
67
|
s.add_runtime_dependency(%q<r3_plugin_toolbox>, ["~> 0.4.0"])
|
69
68
|
s.add_development_dependency(%q<rspec>, [">= 2.0.1"])
|
70
69
|
s.add_development_dependency(%q<rspec-action_view>, [">= 0.3.4"])
|
71
|
-
s.add_development_dependency(%q<generator-spec>, [">= 0.7.
|
70
|
+
s.add_development_dependency(%q<generator-spec>, [">= 0.7.3"])
|
72
71
|
s.add_runtime_dependency(%q<cancan>, [">= 1.4.1"])
|
73
72
|
s.add_runtime_dependency(%q<require_all>, ["~> 1.2.0"])
|
74
|
-
s.add_runtime_dependency(%q<sugar-high>, ["~> 0.
|
73
|
+
s.add_runtime_dependency(%q<sugar-high>, ["~> 0.4.0"])
|
75
74
|
s.add_runtime_dependency(%q<r3_plugin_toolbox>, [">= 0.4.0"])
|
76
75
|
else
|
77
76
|
s.add_dependency(%q<cancan>, [">= 1.4.1"])
|
78
77
|
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
79
|
-
s.add_dependency(%q<sugar-high>, ["~> 0.
|
78
|
+
s.add_dependency(%q<sugar-high>, ["~> 0.4.0"])
|
80
79
|
s.add_dependency(%q<r3_plugin_toolbox>, ["~> 0.4.0"])
|
81
80
|
s.add_dependency(%q<rspec>, [">= 2.0.1"])
|
82
81
|
s.add_dependency(%q<rspec-action_view>, [">= 0.3.4"])
|
83
|
-
s.add_dependency(%q<generator-spec>, [">= 0.7.
|
82
|
+
s.add_dependency(%q<generator-spec>, [">= 0.7.3"])
|
84
83
|
s.add_dependency(%q<cancan>, [">= 1.4.1"])
|
85
84
|
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
86
|
-
s.add_dependency(%q<sugar-high>, ["~> 0.
|
85
|
+
s.add_dependency(%q<sugar-high>, ["~> 0.4.0"])
|
87
86
|
s.add_dependency(%q<r3_plugin_toolbox>, [">= 0.4.0"])
|
88
87
|
end
|
89
88
|
else
|
90
89
|
s.add_dependency(%q<cancan>, [">= 1.4.1"])
|
91
90
|
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
92
|
-
s.add_dependency(%q<sugar-high>, ["~> 0.
|
91
|
+
s.add_dependency(%q<sugar-high>, ["~> 0.4.0"])
|
93
92
|
s.add_dependency(%q<r3_plugin_toolbox>, ["~> 0.4.0"])
|
94
93
|
s.add_dependency(%q<rspec>, [">= 2.0.1"])
|
95
94
|
s.add_dependency(%q<rspec-action_view>, [">= 0.3.4"])
|
96
|
-
s.add_dependency(%q<generator-spec>, [">= 0.7.
|
95
|
+
s.add_dependency(%q<generator-spec>, [">= 0.7.3"])
|
97
96
|
s.add_dependency(%q<cancan>, [">= 1.4.1"])
|
98
97
|
s.add_dependency(%q<require_all>, ["~> 1.2.0"])
|
99
|
-
s.add_dependency(%q<sugar-high>, ["~> 0.
|
98
|
+
s.add_dependency(%q<sugar-high>, ["~> 0.4.0"])
|
100
99
|
s.add_dependency(%q<r3_plugin_toolbox>, [">= 0.4.0"])
|
101
100
|
end
|
102
101
|
end
|
metadata
CHANGED
@@ -1,197 +1,146 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: cancan-rest-links
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 2
|
8
|
-
- 2
|
9
|
-
version: 0.2.2
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.3
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Kristian Mandrup
|
13
9
|
autorequire:
|
14
10
|
bindir: bin
|
15
11
|
cert_chain: []
|
16
|
-
|
17
|
-
date: 2011-01-10 00:00:00 +01:00
|
12
|
+
date: 2011-03-04 00:00:00.000000000 +01:00
|
18
13
|
default_executable:
|
19
|
-
dependencies:
|
20
|
-
- !ruby/object:Gem::Dependency
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
21
16
|
name: cancan
|
22
|
-
requirement: &
|
17
|
+
requirement: &2156617980 !ruby/object:Gem::Requirement
|
23
18
|
none: false
|
24
|
-
requirements:
|
25
|
-
- -
|
26
|
-
- !ruby/object:Gem::Version
|
27
|
-
segments:
|
28
|
-
- 1
|
29
|
-
- 4
|
30
|
-
- 1
|
19
|
+
requirements:
|
20
|
+
- - ! '>='
|
21
|
+
- !ruby/object:Gem::Version
|
31
22
|
version: 1.4.1
|
32
23
|
type: :runtime
|
33
24
|
prerelease: false
|
34
|
-
version_requirements: *
|
35
|
-
- !ruby/object:Gem::Dependency
|
25
|
+
version_requirements: *2156617980
|
26
|
+
- !ruby/object:Gem::Dependency
|
36
27
|
name: require_all
|
37
|
-
requirement: &
|
28
|
+
requirement: &2156617340 !ruby/object:Gem::Requirement
|
38
29
|
none: false
|
39
|
-
requirements:
|
30
|
+
requirements:
|
40
31
|
- - ~>
|
41
|
-
- !ruby/object:Gem::Version
|
42
|
-
segments:
|
43
|
-
- 1
|
44
|
-
- 2
|
45
|
-
- 0
|
32
|
+
- !ruby/object:Gem::Version
|
46
33
|
version: 1.2.0
|
47
34
|
type: :runtime
|
48
35
|
prerelease: false
|
49
|
-
version_requirements: *
|
50
|
-
- !ruby/object:Gem::Dependency
|
36
|
+
version_requirements: *2156617340
|
37
|
+
- !ruby/object:Gem::Dependency
|
51
38
|
name: sugar-high
|
52
|
-
requirement: &
|
39
|
+
requirement: &2156616660 !ruby/object:Gem::Requirement
|
53
40
|
none: false
|
54
|
-
requirements:
|
41
|
+
requirements:
|
55
42
|
- - ~>
|
56
|
-
- !ruby/object:Gem::Version
|
57
|
-
|
58
|
-
- 0
|
59
|
-
- 3
|
60
|
-
- 1
|
61
|
-
version: 0.3.1
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 0.4.0
|
62
45
|
type: :runtime
|
63
46
|
prerelease: false
|
64
|
-
version_requirements: *
|
65
|
-
- !ruby/object:Gem::Dependency
|
47
|
+
version_requirements: *2156616660
|
48
|
+
- !ruby/object:Gem::Dependency
|
66
49
|
name: r3_plugin_toolbox
|
67
|
-
requirement: &
|
50
|
+
requirement: &2156616000 !ruby/object:Gem::Requirement
|
68
51
|
none: false
|
69
|
-
requirements:
|
52
|
+
requirements:
|
70
53
|
- - ~>
|
71
|
-
- !ruby/object:Gem::Version
|
72
|
-
segments:
|
73
|
-
- 0
|
74
|
-
- 4
|
75
|
-
- 0
|
54
|
+
- !ruby/object:Gem::Version
|
76
55
|
version: 0.4.0
|
77
56
|
type: :runtime
|
78
57
|
prerelease: false
|
79
|
-
version_requirements: *
|
80
|
-
- !ruby/object:Gem::Dependency
|
58
|
+
version_requirements: *2156616000
|
59
|
+
- !ruby/object:Gem::Dependency
|
81
60
|
name: rspec
|
82
|
-
requirement: &
|
61
|
+
requirement: &2156615320 !ruby/object:Gem::Requirement
|
83
62
|
none: false
|
84
|
-
requirements:
|
85
|
-
- -
|
86
|
-
- !ruby/object:Gem::Version
|
87
|
-
segments:
|
88
|
-
- 2
|
89
|
-
- 0
|
90
|
-
- 1
|
63
|
+
requirements:
|
64
|
+
- - ! '>='
|
65
|
+
- !ruby/object:Gem::Version
|
91
66
|
version: 2.0.1
|
92
67
|
type: :development
|
93
68
|
prerelease: false
|
94
|
-
version_requirements: *
|
95
|
-
- !ruby/object:Gem::Dependency
|
69
|
+
version_requirements: *2156615320
|
70
|
+
- !ruby/object:Gem::Dependency
|
96
71
|
name: rspec-action_view
|
97
|
-
requirement: &
|
72
|
+
requirement: &2156614600 !ruby/object:Gem::Requirement
|
98
73
|
none: false
|
99
|
-
requirements:
|
100
|
-
- -
|
101
|
-
- !ruby/object:Gem::Version
|
102
|
-
segments:
|
103
|
-
- 0
|
104
|
-
- 3
|
105
|
-
- 4
|
74
|
+
requirements:
|
75
|
+
- - ! '>='
|
76
|
+
- !ruby/object:Gem::Version
|
106
77
|
version: 0.3.4
|
107
78
|
type: :development
|
108
79
|
prerelease: false
|
109
|
-
version_requirements: *
|
110
|
-
- !ruby/object:Gem::Dependency
|
80
|
+
version_requirements: *2156614600
|
81
|
+
- !ruby/object:Gem::Dependency
|
111
82
|
name: generator-spec
|
112
|
-
requirement: &
|
83
|
+
requirement: &2156613900 !ruby/object:Gem::Requirement
|
113
84
|
none: false
|
114
|
-
requirements:
|
115
|
-
- -
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
|
118
|
-
- 0
|
119
|
-
- 7
|
120
|
-
- 0
|
121
|
-
version: 0.7.0
|
85
|
+
requirements:
|
86
|
+
- - ! '>='
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: 0.7.3
|
122
89
|
type: :development
|
123
90
|
prerelease: false
|
124
|
-
version_requirements: *
|
125
|
-
- !ruby/object:Gem::Dependency
|
91
|
+
version_requirements: *2156613900
|
92
|
+
- !ruby/object:Gem::Dependency
|
126
93
|
name: cancan
|
127
|
-
requirement: &
|
94
|
+
requirement: &2156613280 !ruby/object:Gem::Requirement
|
128
95
|
none: false
|
129
|
-
requirements:
|
130
|
-
- -
|
131
|
-
- !ruby/object:Gem::Version
|
132
|
-
segments:
|
133
|
-
- 1
|
134
|
-
- 4
|
135
|
-
- 1
|
96
|
+
requirements:
|
97
|
+
- - ! '>='
|
98
|
+
- !ruby/object:Gem::Version
|
136
99
|
version: 1.4.1
|
137
100
|
type: :runtime
|
138
101
|
prerelease: false
|
139
|
-
version_requirements: *
|
140
|
-
- !ruby/object:Gem::Dependency
|
102
|
+
version_requirements: *2156613280
|
103
|
+
- !ruby/object:Gem::Dependency
|
141
104
|
name: require_all
|
142
|
-
requirement: &
|
105
|
+
requirement: &2156612680 !ruby/object:Gem::Requirement
|
143
106
|
none: false
|
144
|
-
requirements:
|
107
|
+
requirements:
|
145
108
|
- - ~>
|
146
|
-
- !ruby/object:Gem::Version
|
147
|
-
segments:
|
148
|
-
- 1
|
149
|
-
- 2
|
150
|
-
- 0
|
109
|
+
- !ruby/object:Gem::Version
|
151
110
|
version: 1.2.0
|
152
111
|
type: :runtime
|
153
112
|
prerelease: false
|
154
|
-
version_requirements: *
|
155
|
-
- !ruby/object:Gem::Dependency
|
113
|
+
version_requirements: *2156612680
|
114
|
+
- !ruby/object:Gem::Dependency
|
156
115
|
name: sugar-high
|
157
|
-
requirement: &
|
116
|
+
requirement: &2156612100 !ruby/object:Gem::Requirement
|
158
117
|
none: false
|
159
|
-
requirements:
|
118
|
+
requirements:
|
160
119
|
- - ~>
|
161
|
-
- !ruby/object:Gem::Version
|
162
|
-
|
163
|
-
- 0
|
164
|
-
- 3
|
165
|
-
- 1
|
166
|
-
version: 0.3.1
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: 0.4.0
|
167
122
|
type: :runtime
|
168
123
|
prerelease: false
|
169
|
-
version_requirements: *
|
170
|
-
- !ruby/object:Gem::Dependency
|
124
|
+
version_requirements: *2156612100
|
125
|
+
- !ruby/object:Gem::Dependency
|
171
126
|
name: r3_plugin_toolbox
|
172
|
-
requirement: &
|
127
|
+
requirement: &2156611480 !ruby/object:Gem::Requirement
|
173
128
|
none: false
|
174
|
-
requirements:
|
175
|
-
- -
|
176
|
-
- !ruby/object:Gem::Version
|
177
|
-
segments:
|
178
|
-
- 0
|
179
|
-
- 4
|
180
|
-
- 0
|
129
|
+
requirements:
|
130
|
+
- - ! '>='
|
131
|
+
- !ruby/object:Gem::Version
|
181
132
|
version: 0.4.0
|
182
133
|
type: :runtime
|
183
134
|
prerelease: false
|
184
|
-
version_requirements: *
|
135
|
+
version_requirements: *2156611480
|
185
136
|
description: Guard your links with permissions
|
186
137
|
email: kmandrup@gmail.com
|
187
138
|
executables: []
|
188
|
-
|
189
139
|
extensions: []
|
190
|
-
|
191
|
-
extra_rdoc_files:
|
140
|
+
extra_rdoc_files:
|
192
141
|
- LICENSE
|
193
142
|
- README.markdown
|
194
|
-
files:
|
143
|
+
files:
|
195
144
|
- .document
|
196
145
|
- .rspec
|
197
146
|
- Changelog.txt
|
@@ -221,36 +170,29 @@ files:
|
|
221
170
|
has_rdoc: true
|
222
171
|
homepage: http://github.com/kristianmandrup/cancan-rest-links
|
223
172
|
licenses: []
|
224
|
-
|
225
173
|
post_install_message:
|
226
174
|
rdoc_options: []
|
227
|
-
|
228
|
-
require_paths:
|
175
|
+
require_paths:
|
229
176
|
- lib
|
230
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
177
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
231
178
|
none: false
|
232
|
-
requirements:
|
233
|
-
- -
|
234
|
-
- !ruby/object:Gem::Version
|
235
|
-
|
236
|
-
|
237
|
-
version: "0"
|
238
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
|
+
requirements:
|
180
|
+
- - ! '>='
|
181
|
+
- !ruby/object:Gem::Version
|
182
|
+
version: '0'
|
183
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
239
184
|
none: false
|
240
|
-
requirements:
|
241
|
-
- -
|
242
|
-
- !ruby/object:Gem::Version
|
243
|
-
|
244
|
-
- 0
|
245
|
-
version: "0"
|
185
|
+
requirements:
|
186
|
+
- - ! '>='
|
187
|
+
- !ruby/object:Gem::Version
|
188
|
+
version: '0'
|
246
189
|
requirements: []
|
247
|
-
|
248
190
|
rubyforge_project:
|
249
|
-
rubygems_version: 1.
|
191
|
+
rubygems_version: 1.6.1
|
250
192
|
signing_key:
|
251
193
|
specification_version: 3
|
252
194
|
summary: Rest link helpers for CanCan
|
253
|
-
test_files:
|
195
|
+
test_files:
|
254
196
|
- spec/cancan-rest-links/generators/restlinks_generator.rb
|
255
197
|
- spec/cancan-rest-links/rails/configure_spec.rb
|
256
198
|
- spec/cancan-rest-links/rest_links_default_spec.rb
|