fcrepo_admin 0.3.5 → 0.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/HISTORY.rdoc +6 -0
- data/README.rdoc +42 -20
- data/app/controllers/fcrepo_admin/associations_controller.rb +7 -0
- data/app/controllers/fcrepo_admin/objects_controller.rb +2 -1
- data/app/helpers/fcrepo_admin/associations_helper.rb +5 -0
- data/app/views/fcrepo_admin/associations/_associations.html.erb +26 -0
- data/app/views/fcrepo_admin/associations/index.html.erb +1 -0
- data/app/views/fcrepo_admin/associations/show.html.erb +11 -0
- data/app/views/fcrepo_admin/catalog/_document.html.erb +6 -0
- data/app/views/fcrepo_admin/datastreams/_content.html.erb +4 -3
- data/app/views/fcrepo_admin/datastreams/_context_nav.html.erb +9 -0
- data/app/views/fcrepo_admin/datastreams/_context_nav_items.html.erb +21 -0
- data/app/views/fcrepo_admin/datastreams/{_datastreams.html → _datastreams.html.erb} +16 -3
- data/app/views/fcrepo_admin/datastreams/_profile.html.erb +9 -10
- data/app/views/fcrepo_admin/datastreams/content.html.erb +1 -0
- data/app/views/fcrepo_admin/datastreams/index.html.erb +1 -4
- data/app/views/fcrepo_admin/datastreams/show.html.erb +1 -14
- data/app/views/fcrepo_admin/objects/_context_nav.html.erb +9 -0
- data/app/views/fcrepo_admin/objects/_context_nav_datastreams.html.erb +13 -0
- data/app/views/fcrepo_admin/objects/_context_nav_items.html.erb +19 -0
- data/app/views/fcrepo_admin/objects/_direct_permissions.html.erb +8 -0
- data/app/views/fcrepo_admin/objects/_inherited_permissions.html.erb +23 -0
- data/app/views/fcrepo_admin/objects/_permissions_list.html.erb +18 -0
- data/app/views/fcrepo_admin/objects/{_permissions_row.html.erb → _permissions_list_item.html.erb} +0 -0
- data/app/views/fcrepo_admin/objects/_properties.html.erb +6 -5
- data/app/views/fcrepo_admin/objects/permissions.html.erb +5 -0
- data/app/views/fcrepo_admin/objects/show.html.erb +3 -46
- data/app/views/layouts/fcrepo_admin/datastreams.html.erb +2 -2
- data/app/views/layouts/fcrepo_admin/objects.html.erb +1 -1
- data/config/locales/fcrepo_admin.en.yml +24 -4
- data/config/routes.rb +7 -2
- data/lib/fcrepo_admin.rb +4 -1
- data/lib/fcrepo_admin/ability.rb +18 -0
- data/lib/fcrepo_admin/controller/associations_controller_behavior.rb +49 -0
- data/lib/fcrepo_admin/controller/catalog_controller_behavior.rb +9 -0
- data/lib/fcrepo_admin/controller/controller_behavior.rb +49 -0
- data/lib/fcrepo_admin/controller/datastreams_controller_behavior.rb +21 -28
- data/lib/fcrepo_admin/controller/objects_controller_behavior.rb +7 -32
- data/lib/fcrepo_admin/helpers/associations_helper_behavior.rb +23 -0
- data/lib/fcrepo_admin/helpers/datastreams_helper_behavior.rb +7 -10
- data/lib/fcrepo_admin/helpers/fcrepo_admin_helper_behavior.rb +5 -10
- data/lib/fcrepo_admin/helpers/objects_helper_behavior.rb +0 -36
- data/lib/fcrepo_admin/version.rb +1 -1
- data/spec/controllers/associations_controller_spec.rb +34 -0
- data/spec/controllers/datastreams_controller_spec.rb +14 -12
- data/spec/controllers/objects_controller_spec.rb +6 -6
- data/spec/factories/fcrepo_admin_factories.rb +10 -6
- data/spec/features/associations/index.html.erb_spec.rb +28 -0
- data/spec/features/datastreams/edit.html.erb_spec.rb +1 -1
- data/spec/features/datastreams/index.html.erb_spec.rb +12 -0
- data/spec/features/datastreams/show.html.erb_spec.rb +1 -1
- data/spec/features/datastreams/upload.html.erb_spec.rb +1 -1
- data/spec/features/objects/audit_trail.html.erb_spec.rb +1 -1
- data/spec/features/objects/permissions.html.erb_spec.rb +19 -0
- data/spec/features/objects/show.html.erb_spec.rb +7 -30
- data/spec/internal/app/models/ability.rb +1 -1
- data/spec/internal/app/models/admin_policy.rb +3 -0
- data/spec/internal/app/models/collection.rb +14 -0
- data/spec/internal/app/models/item.rb +15 -0
- data/spec/internal/app/models/{content_model.rb → part.rb} +2 -1
- metadata +65 -73
- data/app/views/fcrepo_admin/datastreams/_datastream_nav.html.erb +0 -18
- data/app/views/fcrepo_admin/objects/_more_info.html.erb +0 -6
- data/app/views/fcrepo_admin/objects/_permissions.html.erb +0 -12
- data/app/views/fcrepo_admin/objects/_permissions_header.html.erb +0 -7
- data/lib/fcrepo_admin/datastream_ability.rb +0 -22
@@ -1,4 +1,4 @@
|
|
1
|
-
class
|
1
|
+
class Part < ActiveFedora::Base
|
2
2
|
|
3
3
|
has_metadata :name => "descMetadata", :type => ActiveFedora::QualifiedDublinCoreDatastream
|
4
4
|
has_metadata :name => "rightsMetadata", :type => Hydra::Datastream::RightsMetadata
|
@@ -7,6 +7,7 @@ class ContentModel < ActiveFedora::Base
|
|
7
7
|
delegate :title, :to => "descMetadata", :unique => true
|
8
8
|
|
9
9
|
belongs_to :admin_policy, :property => :is_governed_by
|
10
|
+
belongs_to :container, :property => :is_part_of, :class_name => 'Item'
|
10
11
|
|
11
12
|
include Hydra::ModelMixins::RightsMetadata
|
12
13
|
include ActiveFedora::Auditable
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fcrepo_admin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.4.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- David Chandek-Stark
|
@@ -12,12 +11,11 @@ authors:
|
|
12
11
|
autorequire:
|
13
12
|
bindir: bin
|
14
13
|
cert_chain: []
|
15
|
-
date: 2013-
|
14
|
+
date: 2013-05-03 00:00:00.000000000 Z
|
16
15
|
dependencies:
|
17
16
|
- !ruby/object:Gem::Dependency
|
18
17
|
name: hydra-head
|
19
18
|
requirement: !ruby/object:Gem::Requirement
|
20
|
-
none: false
|
21
19
|
requirements:
|
22
20
|
- - ~>
|
23
21
|
- !ruby/object:Gem::Version
|
@@ -25,7 +23,6 @@ dependencies:
|
|
25
23
|
type: :runtime
|
26
24
|
prerelease: false
|
27
25
|
version_requirements: !ruby/object:Gem::Requirement
|
28
|
-
none: false
|
29
26
|
requirements:
|
30
27
|
- - ~>
|
31
28
|
- !ruby/object:Gem::Version
|
@@ -33,7 +30,6 @@ dependencies:
|
|
33
30
|
- !ruby/object:Gem::Dependency
|
34
31
|
name: active-fedora
|
35
32
|
requirement: !ruby/object:Gem::Requirement
|
36
|
-
none: false
|
37
33
|
requirements:
|
38
34
|
- - ~>
|
39
35
|
- !ruby/object:Gem::Version
|
@@ -41,7 +37,6 @@ dependencies:
|
|
41
37
|
type: :runtime
|
42
38
|
prerelease: false
|
43
39
|
version_requirements: !ruby/object:Gem::Requirement
|
44
|
-
none: false
|
45
40
|
requirements:
|
46
41
|
- - ~>
|
47
42
|
- !ruby/object:Gem::Version
|
@@ -49,23 +44,20 @@ dependencies:
|
|
49
44
|
- !ruby/object:Gem::Dependency
|
50
45
|
name: blacklight
|
51
46
|
requirement: !ruby/object:Gem::Requirement
|
52
|
-
none: false
|
53
47
|
requirements:
|
54
|
-
- -
|
48
|
+
- - '>='
|
55
49
|
- !ruby/object:Gem::Version
|
56
50
|
version: '0'
|
57
51
|
type: :runtime
|
58
52
|
prerelease: false
|
59
53
|
version_requirements: !ruby/object:Gem::Requirement
|
60
|
-
none: false
|
61
54
|
requirements:
|
62
|
-
- -
|
55
|
+
- - '>='
|
63
56
|
- !ruby/object:Gem::Version
|
64
57
|
version: '0'
|
65
58
|
- !ruby/object:Gem::Dependency
|
66
59
|
name: rails
|
67
60
|
requirement: !ruby/object:Gem::Requirement
|
68
|
-
none: false
|
69
61
|
requirements:
|
70
62
|
- - ~>
|
71
63
|
- !ruby/object:Gem::Version
|
@@ -73,7 +65,6 @@ dependencies:
|
|
73
65
|
type: :runtime
|
74
66
|
prerelease: false
|
75
67
|
version_requirements: !ruby/object:Gem::Requirement
|
76
|
-
none: false
|
77
68
|
requirements:
|
78
69
|
- - ~>
|
79
70
|
- !ruby/object:Gem::Version
|
@@ -81,7 +72,6 @@ dependencies:
|
|
81
72
|
- !ruby/object:Gem::Dependency
|
82
73
|
name: mime-types
|
83
74
|
requirement: !ruby/object:Gem::Requirement
|
84
|
-
none: false
|
85
75
|
requirements:
|
86
76
|
- - ~>
|
87
77
|
- !ruby/object:Gem::Version
|
@@ -89,7 +79,6 @@ dependencies:
|
|
89
79
|
type: :runtime
|
90
80
|
prerelease: false
|
91
81
|
version_requirements: !ruby/object:Gem::Requirement
|
92
|
-
none: false
|
93
82
|
requirements:
|
94
83
|
- - ~>
|
95
84
|
- !ruby/object:Gem::Version
|
@@ -97,161 +86,141 @@ dependencies:
|
|
97
86
|
- !ruby/object:Gem::Dependency
|
98
87
|
name: devise
|
99
88
|
requirement: !ruby/object:Gem::Requirement
|
100
|
-
none: false
|
101
89
|
requirements:
|
102
|
-
- -
|
90
|
+
- - '>='
|
103
91
|
- !ruby/object:Gem::Version
|
104
92
|
version: '0'
|
105
93
|
type: :runtime
|
106
94
|
prerelease: false
|
107
95
|
version_requirements: !ruby/object:Gem::Requirement
|
108
|
-
none: false
|
109
96
|
requirements:
|
110
|
-
- -
|
97
|
+
- - '>='
|
111
98
|
- !ruby/object:Gem::Version
|
112
99
|
version: '0'
|
113
100
|
- !ruby/object:Gem::Dependency
|
114
101
|
name: rspec
|
115
102
|
requirement: !ruby/object:Gem::Requirement
|
116
|
-
none: false
|
117
103
|
requirements:
|
118
|
-
- -
|
104
|
+
- - '>='
|
119
105
|
- !ruby/object:Gem::Version
|
120
106
|
version: '0'
|
121
107
|
type: :development
|
122
108
|
prerelease: false
|
123
109
|
version_requirements: !ruby/object:Gem::Requirement
|
124
|
-
none: false
|
125
110
|
requirements:
|
126
|
-
- -
|
111
|
+
- - '>='
|
127
112
|
- !ruby/object:Gem::Version
|
128
113
|
version: '0'
|
129
114
|
- !ruby/object:Gem::Dependency
|
130
115
|
name: rspec-rails
|
131
116
|
requirement: !ruby/object:Gem::Requirement
|
132
|
-
none: false
|
133
117
|
requirements:
|
134
|
-
- -
|
118
|
+
- - '>='
|
135
119
|
- !ruby/object:Gem::Version
|
136
120
|
version: '0'
|
137
121
|
type: :development
|
138
122
|
prerelease: false
|
139
123
|
version_requirements: !ruby/object:Gem::Requirement
|
140
|
-
none: false
|
141
124
|
requirements:
|
142
|
-
- -
|
125
|
+
- - '>='
|
143
126
|
- !ruby/object:Gem::Version
|
144
127
|
version: '0'
|
145
128
|
- !ruby/object:Gem::Dependency
|
146
129
|
name: capybara
|
147
130
|
requirement: !ruby/object:Gem::Requirement
|
148
|
-
none: false
|
149
131
|
requirements:
|
150
|
-
- -
|
132
|
+
- - '>='
|
151
133
|
- !ruby/object:Gem::Version
|
152
134
|
version: '0'
|
153
135
|
type: :development
|
154
136
|
prerelease: false
|
155
137
|
version_requirements: !ruby/object:Gem::Requirement
|
156
|
-
none: false
|
157
138
|
requirements:
|
158
|
-
- -
|
139
|
+
- - '>='
|
159
140
|
- !ruby/object:Gem::Version
|
160
141
|
version: '0'
|
161
142
|
- !ruby/object:Gem::Dependency
|
162
143
|
name: sqlite3
|
163
144
|
requirement: !ruby/object:Gem::Requirement
|
164
|
-
none: false
|
165
145
|
requirements:
|
166
|
-
- -
|
146
|
+
- - '>='
|
167
147
|
- !ruby/object:Gem::Version
|
168
148
|
version: '0'
|
169
149
|
type: :development
|
170
150
|
prerelease: false
|
171
151
|
version_requirements: !ruby/object:Gem::Requirement
|
172
|
-
none: false
|
173
152
|
requirements:
|
174
|
-
- -
|
153
|
+
- - '>='
|
175
154
|
- !ruby/object:Gem::Version
|
176
155
|
version: '0'
|
177
156
|
- !ruby/object:Gem::Dependency
|
178
157
|
name: factory_girl_rails
|
179
158
|
requirement: !ruby/object:Gem::Requirement
|
180
|
-
none: false
|
181
159
|
requirements:
|
182
|
-
- -
|
160
|
+
- - '>='
|
183
161
|
- !ruby/object:Gem::Version
|
184
162
|
version: '0'
|
185
163
|
type: :development
|
186
164
|
prerelease: false
|
187
165
|
version_requirements: !ruby/object:Gem::Requirement
|
188
|
-
none: false
|
189
166
|
requirements:
|
190
|
-
- -
|
167
|
+
- - '>='
|
191
168
|
- !ruby/object:Gem::Version
|
192
169
|
version: '0'
|
193
170
|
- !ruby/object:Gem::Dependency
|
194
171
|
name: jettywrapper
|
195
172
|
requirement: !ruby/object:Gem::Requirement
|
196
|
-
none: false
|
197
173
|
requirements:
|
198
|
-
- -
|
174
|
+
- - '>='
|
199
175
|
- !ruby/object:Gem::Version
|
200
176
|
version: '0'
|
201
177
|
type: :development
|
202
178
|
prerelease: false
|
203
179
|
version_requirements: !ruby/object:Gem::Requirement
|
204
|
-
none: false
|
205
180
|
requirements:
|
206
|
-
- -
|
181
|
+
- - '>='
|
207
182
|
- !ruby/object:Gem::Version
|
208
183
|
version: '0'
|
209
184
|
- !ruby/object:Gem::Dependency
|
210
185
|
name: jquery-rails
|
211
186
|
requirement: !ruby/object:Gem::Requirement
|
212
|
-
none: false
|
213
187
|
requirements:
|
214
|
-
- -
|
188
|
+
- - '>='
|
215
189
|
- !ruby/object:Gem::Version
|
216
190
|
version: '0'
|
217
191
|
type: :development
|
218
192
|
prerelease: false
|
219
193
|
version_requirements: !ruby/object:Gem::Requirement
|
220
|
-
none: false
|
221
194
|
requirements:
|
222
|
-
- -
|
195
|
+
- - '>='
|
223
196
|
- !ruby/object:Gem::Version
|
224
197
|
version: '0'
|
225
198
|
- !ruby/object:Gem::Dependency
|
226
199
|
name: sass-rails
|
227
200
|
requirement: !ruby/object:Gem::Requirement
|
228
|
-
none: false
|
229
201
|
requirements:
|
230
|
-
- -
|
202
|
+
- - '>='
|
231
203
|
- !ruby/object:Gem::Version
|
232
204
|
version: '0'
|
233
205
|
type: :development
|
234
206
|
prerelease: false
|
235
207
|
version_requirements: !ruby/object:Gem::Requirement
|
236
|
-
none: false
|
237
208
|
requirements:
|
238
|
-
- -
|
209
|
+
- - '>='
|
239
210
|
- !ruby/object:Gem::Version
|
240
211
|
version: '0'
|
241
212
|
- !ruby/object:Gem::Dependency
|
242
213
|
name: bootstrap-sass
|
243
214
|
requirement: !ruby/object:Gem::Requirement
|
244
|
-
none: false
|
245
215
|
requirements:
|
246
|
-
- -
|
216
|
+
- - '>='
|
247
217
|
- !ruby/object:Gem::Version
|
248
218
|
version: '0'
|
249
219
|
type: :development
|
250
220
|
prerelease: false
|
251
221
|
version_requirements: !ruby/object:Gem::Requirement
|
252
|
-
none: false
|
253
222
|
requirements:
|
254
|
-
- -
|
223
|
+
- - '>='
|
255
224
|
- !ruby/object:Gem::Version
|
256
225
|
version: '0'
|
257
226
|
description: A Rails engine for administrative access to a Fedora Commons repository
|
@@ -272,26 +241,38 @@ files:
|
|
272
241
|
- LICENSE
|
273
242
|
- README.rdoc
|
274
243
|
- Rakefile
|
244
|
+
- app/controllers/fcrepo_admin/associations_controller.rb
|
275
245
|
- app/controllers/fcrepo_admin/datastreams_controller.rb
|
276
246
|
- app/controllers/fcrepo_admin/objects_controller.rb
|
247
|
+
- app/helpers/fcrepo_admin/associations_helper.rb
|
277
248
|
- app/helpers/fcrepo_admin/datastreams_helper.rb
|
278
249
|
- app/helpers/fcrepo_admin/objects_helper.rb
|
279
250
|
- app/mailers/.gitkeep
|
280
251
|
- app/models/.gitkeep
|
252
|
+
- app/views/fcrepo_admin/associations/_associations.html.erb
|
253
|
+
- app/views/fcrepo_admin/associations/index.html.erb
|
254
|
+
- app/views/fcrepo_admin/associations/show.html.erb
|
255
|
+
- app/views/fcrepo_admin/catalog/_document.html.erb
|
281
256
|
- app/views/fcrepo_admin/datastreams/_content.html.erb
|
282
|
-
- app/views/fcrepo_admin/datastreams/
|
283
|
-
- app/views/fcrepo_admin/datastreams/
|
257
|
+
- app/views/fcrepo_admin/datastreams/_context_nav.html.erb
|
258
|
+
- app/views/fcrepo_admin/datastreams/_context_nav_items.html.erb
|
259
|
+
- app/views/fcrepo_admin/datastreams/_datastreams.html.erb
|
284
260
|
- app/views/fcrepo_admin/datastreams/_profile.html.erb
|
261
|
+
- app/views/fcrepo_admin/datastreams/content.html.erb
|
285
262
|
- app/views/fcrepo_admin/datastreams/edit.html.erb
|
286
263
|
- app/views/fcrepo_admin/datastreams/index.html.erb
|
287
264
|
- app/views/fcrepo_admin/datastreams/show.html.erb
|
288
265
|
- app/views/fcrepo_admin/datastreams/upload.html.erb
|
289
|
-
- app/views/fcrepo_admin/objects/
|
290
|
-
- app/views/fcrepo_admin/objects/
|
291
|
-
- app/views/fcrepo_admin/objects/
|
292
|
-
- app/views/fcrepo_admin/objects/
|
266
|
+
- app/views/fcrepo_admin/objects/_context_nav.html.erb
|
267
|
+
- app/views/fcrepo_admin/objects/_context_nav_datastreams.html.erb
|
268
|
+
- app/views/fcrepo_admin/objects/_context_nav_items.html.erb
|
269
|
+
- app/views/fcrepo_admin/objects/_direct_permissions.html.erb
|
270
|
+
- app/views/fcrepo_admin/objects/_inherited_permissions.html.erb
|
271
|
+
- app/views/fcrepo_admin/objects/_permissions_list.html.erb
|
272
|
+
- app/views/fcrepo_admin/objects/_permissions_list_item.html.erb
|
293
273
|
- app/views/fcrepo_admin/objects/_properties.html.erb
|
294
274
|
- app/views/fcrepo_admin/objects/audit_trail.html.erb
|
275
|
+
- app/views/fcrepo_admin/objects/permissions.html.erb
|
295
276
|
- app/views/fcrepo_admin/objects/show.html.erb
|
296
277
|
- app/views/fcrepo_admin/shared/_context_nav.html.erb
|
297
278
|
- app/views/layouts/fcrepo_admin/datastreams.html.erb
|
@@ -303,11 +284,14 @@ files:
|
|
303
284
|
- fcrepo_admin.gemspec
|
304
285
|
- lib/assets/.gitkeep
|
305
286
|
- lib/fcrepo_admin.rb
|
287
|
+
- lib/fcrepo_admin/ability.rb
|
288
|
+
- lib/fcrepo_admin/controller/associations_controller_behavior.rb
|
289
|
+
- lib/fcrepo_admin/controller/catalog_controller_behavior.rb
|
306
290
|
- lib/fcrepo_admin/controller/controller_behavior.rb
|
307
291
|
- lib/fcrepo_admin/controller/datastreams_controller_behavior.rb
|
308
292
|
- lib/fcrepo_admin/controller/objects_controller_behavior.rb
|
309
|
-
- lib/fcrepo_admin/datastream_ability.rb
|
310
293
|
- lib/fcrepo_admin/engine.rb
|
294
|
+
- lib/fcrepo_admin/helpers/associations_helper_behavior.rb
|
311
295
|
- lib/fcrepo_admin/helpers/blacklight_helper_behavior.rb
|
312
296
|
- lib/fcrepo_admin/helpers/datastreams_helper_behavior.rb
|
313
297
|
- lib/fcrepo_admin/helpers/fcrepo_admin_helper_behavior.rb
|
@@ -316,14 +300,18 @@ files:
|
|
316
300
|
- lib/fcrepo_admin/version.rb
|
317
301
|
- lib/tasks/.gitkeep
|
318
302
|
- lib/tasks/fcrepo_admin.rake
|
303
|
+
- spec/controllers/associations_controller_spec.rb
|
319
304
|
- spec/controllers/datastreams_controller_spec.rb
|
320
305
|
- spec/controllers/objects_controller_spec.rb
|
321
306
|
- spec/factories/fcrepo_admin_factories.rb
|
322
307
|
- spec/factories/user_factories.rb
|
308
|
+
- spec/features/associations/index.html.erb_spec.rb
|
323
309
|
- spec/features/datastreams/edit.html.erb_spec.rb
|
310
|
+
- spec/features/datastreams/index.html.erb_spec.rb
|
324
311
|
- spec/features/datastreams/show.html.erb_spec.rb
|
325
312
|
- spec/features/datastreams/upload.html.erb_spec.rb
|
326
313
|
- spec/features/objects/audit_trail.html.erb_spec.rb
|
314
|
+
- spec/features/objects/permissions.html.erb_spec.rb
|
327
315
|
- spec/features/objects/show.html.erb_spec.rb
|
328
316
|
- spec/internal/README.rdoc
|
329
317
|
- spec/internal/Rakefile
|
@@ -338,7 +326,9 @@ files:
|
|
338
326
|
- spec/internal/app/models/.gitkeep
|
339
327
|
- spec/internal/app/models/ability.rb
|
340
328
|
- spec/internal/app/models/admin_policy.rb
|
341
|
-
- spec/internal/app/models/
|
329
|
+
- spec/internal/app/models/collection.rb
|
330
|
+
- spec/internal/app/models/item.rb
|
331
|
+
- spec/internal/app/models/part.rb
|
342
332
|
- spec/internal/app/models/solr_document.rb
|
343
333
|
- spec/internal/app/models/user.rb
|
344
334
|
- spec/internal/app/views/layouts/application.html.erb
|
@@ -379,40 +369,40 @@ files:
|
|
379
369
|
homepage: http://projecthydra.org
|
380
370
|
licenses:
|
381
371
|
- BSD Simplified
|
372
|
+
metadata: {}
|
382
373
|
post_install_message:
|
383
374
|
rdoc_options: []
|
384
375
|
require_paths:
|
385
376
|
- lib
|
386
377
|
required_ruby_version: !ruby/object:Gem::Requirement
|
387
|
-
none: false
|
388
378
|
requirements:
|
389
|
-
- -
|
379
|
+
- - '>='
|
390
380
|
- !ruby/object:Gem::Version
|
391
381
|
version: 1.9.3
|
392
382
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
393
|
-
none: false
|
394
383
|
requirements:
|
395
|
-
- -
|
384
|
+
- - '>='
|
396
385
|
- !ruby/object:Gem::Version
|
397
386
|
version: '0'
|
398
|
-
segments:
|
399
|
-
- 0
|
400
|
-
hash: 1199982375924244814
|
401
387
|
requirements: []
|
402
388
|
rubyforge_project:
|
403
|
-
rubygems_version:
|
389
|
+
rubygems_version: 2.0.3
|
404
390
|
signing_key:
|
405
|
-
specification_version:
|
391
|
+
specification_version: 4
|
406
392
|
summary: Hydra-based Fedora Commons repository admin tool.
|
407
393
|
test_files:
|
394
|
+
- spec/controllers/associations_controller_spec.rb
|
408
395
|
- spec/controllers/datastreams_controller_spec.rb
|
409
396
|
- spec/controllers/objects_controller_spec.rb
|
410
397
|
- spec/factories/fcrepo_admin_factories.rb
|
411
398
|
- spec/factories/user_factories.rb
|
399
|
+
- spec/features/associations/index.html.erb_spec.rb
|
412
400
|
- spec/features/datastreams/edit.html.erb_spec.rb
|
401
|
+
- spec/features/datastreams/index.html.erb_spec.rb
|
413
402
|
- spec/features/datastreams/show.html.erb_spec.rb
|
414
403
|
- spec/features/datastreams/upload.html.erb_spec.rb
|
415
404
|
- spec/features/objects/audit_trail.html.erb_spec.rb
|
405
|
+
- spec/features/objects/permissions.html.erb_spec.rb
|
416
406
|
- spec/features/objects/show.html.erb_spec.rb
|
417
407
|
- spec/internal/README.rdoc
|
418
408
|
- spec/internal/Rakefile
|
@@ -427,7 +417,9 @@ test_files:
|
|
427
417
|
- spec/internal/app/models/.gitkeep
|
428
418
|
- spec/internal/app/models/ability.rb
|
429
419
|
- spec/internal/app/models/admin_policy.rb
|
430
|
-
- spec/internal/app/models/
|
420
|
+
- spec/internal/app/models/collection.rb
|
421
|
+
- spec/internal/app/models/item.rb
|
422
|
+
- spec/internal/app/models/part.rb
|
431
423
|
- spec/internal/app/models/solr_document.rb
|
432
424
|
- spec/internal/app/models/user.rb
|
433
425
|
- spec/internal/app/views/layouts/application.html.erb
|
@@ -1,18 +0,0 @@
|
|
1
|
-
<div class="well">
|
2
|
-
<ul class="nav nav-list">
|
3
|
-
<li class="nav-header">
|
4
|
-
<%= t("fcrepo_admin.datastream.nav.header") %>
|
5
|
-
</li>
|
6
|
-
<li>
|
7
|
-
<%= link_to_unless_current t("fcrepo_admin.datastream.nav.items.summary"), fcrepo_admin.object_datastream_path(datastream.pid, datastream.dsid) %>
|
8
|
-
</li>
|
9
|
-
<li>
|
10
|
-
<%= link_to_unless_current t("fcrepo_admin.datastream.nav.items.edit"), fcrepo_admin.edit_object_datastream_path(datastream.pid, datastream.dsid) %>
|
11
|
-
</li>
|
12
|
-
<li>
|
13
|
-
<%= link_to t("fcrepo_admin.datastream.nav.items.download"), "#{fcrepo_admin.object_datastream_path(datastream.pid, datastream.dsid)}?download=true" %>
|
14
|
-
</li>
|
15
|
-
<li class="divider"></li>
|
16
|
-
<%= render :partial => 'fcrepo_admin/objects/object_nav_items', :locals => {:object => object} %>
|
17
|
-
</ul>
|
18
|
-
</div>
|