worthwhile 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/concerns/worthwhile/curation_concern_controller.rb +1 -0
- data/app/views/curation_concern/permissions/confirm.html.erb +10 -2
- data/app/views/leases/_list_deactivated_leases.html.erb +1 -1
- data/app/views/leases/edit.html.erb +1 -1
- data/app/views/leases/index.html.erb +4 -4
- data/lib/generators/worthwhile/install_generator.rb +4 -0
- data/lib/generators/worthwhile/work/USAGE +19 -0
- data/lib/generators/worthwhile/work/templates/README +13 -0
- data/lib/generators/worthwhile/work/templates/actor.rb.erb +6 -0
- data/lib/generators/worthwhile/work/templates/actor_spec.rb.erb +9 -0
- data/lib/generators/worthwhile/work/templates/controller.rb.erb +7 -0
- data/lib/generators/worthwhile/work/templates/controller_spec.rb.erb +9 -0
- data/lib/generators/worthwhile/work/templates/model.rb.erb +6 -0
- data/lib/generators/worthwhile/work/templates/model_spec.rb.erb +9 -0
- data/lib/generators/worthwhile/work/work_generator.rb +78 -0
- data/lib/worthwhile/version.rb +1 -1
- data/spec/factories/generic_works.rb +8 -3
- data/spec/features/embargo_spec.rb +4 -2
- data/spec/features/lease_spec.rb +4 -2
- data/spec/services/lease_service_spec.rb +24 -8
- data/spec/views/curation_concern/permissions/confirm.html.erb_spec.rb +33 -0
- data/worthwhile.gemspec +1 -1
- metadata +15 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e7a0bdc8caa976082ae459f78c1eae0d5522c746
|
4
|
+
data.tar.gz: 15a19ca1cca304cc6e6f4db164668b8ac78556f8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9b08b1d3e9a7ac35ed78b6cbd14d152d0f6a3326b7e911277c3c9e7d16563dc2066f79db07a66160ce7be8a8bafbec08f399e17830f7715238bbb3f3ed153e10
|
7
|
+
data.tar.gz: 8a446c13f86117ef8b8ddf1405c39138afa589b0d0036d56efe40c478e43567199339998b97537a8bc8a5e9a1f24967242ea02df73f0a2d65ea756f7b425f6d8
|
@@ -3,8 +3,16 @@
|
|
3
3
|
<h4>Apply changes to contents?<h4>
|
4
4
|
</div>
|
5
5
|
<div class="panel-body">
|
6
|
-
|
7
|
-
|
6
|
+
<% if curation_concern.under_embargo? %>
|
7
|
+
<p>You've applied an embargo to this <%= curation_concern.human_readable_type %>, <i><%= curation_concern %></i>, changing it's visibility to <b><%= visibility_badge(curation_concern.visibility) %></b> until <%= curation_concern.embargo_release_date.to_date.to_formatted_s(:long_ordinal) %>.</p>
|
8
|
+
<p>Would you like to apply the same embargo to all of the files within the <%= curation_concern.human_readable_type %> as well?</p>
|
9
|
+
<% elsif curation_concern.active_lease? %>
|
10
|
+
<p>You've applied a lease to this <%= curation_concern.human_readable_type %>, <i><%= curation_concern %></i>, changing it's visibility to <b><%= visibility_badge(curation_concern.visibility) %></b> until <%= curation_concern.lease_expiration_date.to_date.to_formatted_s(:long_ordinal) %>.</p>
|
11
|
+
<p>Would you like to apply the same lease to all of the files within the <%= curation_concern.human_readable_type %> as well?</p>
|
12
|
+
<% else %>
|
13
|
+
<p>You've changed the permissions on this <%= curation_concern.human_readable_type %>, <i><%= curation_concern %></i>, making it visible to <b><%= visibility_badge(curation_concern.visibility) %></b>.</p>
|
14
|
+
<p>Would you like change all of the files within the <%= curation_concern.human_readable_type %> to <b><%= visibility_badge(curation_concern.visibility) %></b> as well?</p>
|
15
|
+
<% end %>
|
8
16
|
</div>
|
9
17
|
<div class="form-actions panel-footer">
|
10
18
|
<%= button_to "Yes please.", copy_curation_concern_permission_path(curation_concern), class: 'btn btn-primary' %>
|
@@ -1,4 +1,4 @@
|
|
1
1
|
<% assets_with_deactivated_leases.each do |curation_concern| %>
|
2
2
|
<%= link_to curation_concern, edit_lease_path(curation_concern) %> <%= visibility_badge(curation_concern.visibility) %>
|
3
|
-
<%= render
|
3
|
+
<%= render "lease_history", curation_concern: curation_concern %>
|
4
4
|
<% end %>
|
@@ -7,12 +7,12 @@
|
|
7
7
|
</ul>
|
8
8
|
<div class="tab-content">
|
9
9
|
<div class="tab-pane active" id="active">
|
10
|
-
<%= render
|
10
|
+
<%= render "list_active_leases" %>
|
11
11
|
</div>
|
12
12
|
<div class="tab-pane" id="expired">
|
13
|
-
<%= render
|
13
|
+
<%= render "list_expired_active_leases" %>
|
14
14
|
</div>
|
15
15
|
<div class="tab-pane" id="deactivated">
|
16
|
-
<%= render
|
16
|
+
<%= render "list_deactivated_leases" %>
|
17
17
|
</div>
|
18
|
-
</div>
|
18
|
+
</div>
|
@@ -12,6 +12,10 @@ module Worthwhile
|
|
12
12
|
say_status("warning", "GENERATING HYDRA-HEAD", :yellow)
|
13
13
|
generate "hydra:head -f"
|
14
14
|
|
15
|
+
# TODO this should probably move to the hydra:head generator because it installs the gem
|
16
|
+
say_status("warning", "GENERATING RSPEC-RAILS", :yellow)
|
17
|
+
generate 'rspec:install'
|
18
|
+
|
15
19
|
say_status("warning", "GENERATING SUFIA", :yellow)
|
16
20
|
generate "sufia:models:install#{options[:force] ? ' -f' : ''}"
|
17
21
|
end
|
@@ -0,0 +1,19 @@
|
|
1
|
+
Description:
|
2
|
+
This generator creates the necessary files for work that extends
|
3
|
+
Worthwhile's GenericWork.
|
4
|
+
|
5
|
+
Example:
|
6
|
+
rails generate worthwhile:work ScholarlyPaper
|
7
|
+
|
8
|
+
This will create:
|
9
|
+
app/repository_models/scholarly_paper.rb
|
10
|
+
app/actors/curation_concern/scholarly_paper_actor.rb
|
11
|
+
app/controllers/curation_concern/scholarly_papers_controller.rb
|
12
|
+
app/views/curation_concern/scholarly_papers/.keep
|
13
|
+
spec/factories/scholarly_paper_factory.rb
|
14
|
+
spec/repository_models/scholarly_paper_spec.rb
|
15
|
+
spec/actors/curation_concern/scholarly_paper_actor_spec.rb
|
16
|
+
spec/controllers/curation_concern/scholarly_papers_controller_spec.rb
|
17
|
+
|
18
|
+
This will also:
|
19
|
+
register ScholarlyPaper as a valid curation concern
|
@@ -0,0 +1,13 @@
|
|
1
|
+
===============================================================================
|
2
|
+
|
3
|
+
After creating your work you may wish to:
|
4
|
+
|
5
|
+
1. Add custom views:
|
6
|
+
|
7
|
+
Your newly created work's controller extends from
|
8
|
+
CurationConcern::GenericWorksController; This means that it will use the
|
9
|
+
views found in Worthwhile::Engine.root/app/views/curation_concern/base.
|
10
|
+
|
11
|
+
2. Modify the model and datastreams
|
12
|
+
|
13
|
+
===============================================================================
|
@@ -0,0 +1,78 @@
|
|
1
|
+
# -*- encoding : utf-8 -*-
|
2
|
+
require 'rails/generators'
|
3
|
+
|
4
|
+
class Rails::Generators::NamedBase
|
5
|
+
private
|
6
|
+
def destroy(what, *args)
|
7
|
+
log :destroy, what
|
8
|
+
argument = args.map {|arg| arg.to_s }.flatten.join(" ")
|
9
|
+
|
10
|
+
in_root {
|
11
|
+
run_ruby_script("bin/rails destroy #{what} #{argument}", verbose: true)
|
12
|
+
}
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
class Worthwhile::WorkGenerator < Rails::Generators::NamedBase
|
17
|
+
source_root File.expand_path("../templates", __FILE__)
|
18
|
+
|
19
|
+
|
20
|
+
argument :attributes, :type => :array, :default => [], :banner => "field:type field:type"
|
21
|
+
|
22
|
+
# Why all of these antics with defining individual methods?
|
23
|
+
# Because I want the output of Worthwhile::WorkGenerator to include all the processed files.
|
24
|
+
def create_model_spec
|
25
|
+
return unless rspec_installed?
|
26
|
+
template "model_spec.rb.erb", "spec/repository_models/#{file_name}_spec.rb"
|
27
|
+
end
|
28
|
+
|
29
|
+
def create_model
|
30
|
+
template("model.rb.erb", "app/repository_models/#{file_name}.rb")
|
31
|
+
end
|
32
|
+
def create_controller_spec
|
33
|
+
return unless rspec_installed?
|
34
|
+
template("controller_spec.rb.erb", "spec/controllers/curation_concern/#{plural_file_name}_controller_spec.rb")
|
35
|
+
end
|
36
|
+
|
37
|
+
def create_actor_spec
|
38
|
+
return unless rspec_installed?
|
39
|
+
template("actor_spec.rb.erb", "spec/actors/curation_concern/#{file_name}_actor_spec.rb")
|
40
|
+
end
|
41
|
+
|
42
|
+
def create_controller
|
43
|
+
template("controller.rb.erb", "app/controllers/curation_concern/#{plural_file_name}_controller.rb")
|
44
|
+
end
|
45
|
+
|
46
|
+
def create_actor
|
47
|
+
template("actor.rb.erb", "app/actors/curation_concern/#{file_name}_actor.rb")
|
48
|
+
end
|
49
|
+
|
50
|
+
def register_work
|
51
|
+
inject_into_file 'config/initializers/worthwhile_config.rb', after: "Worthwhile.configure do |config|\n" do
|
52
|
+
data = ""
|
53
|
+
data << " # Injected via `rails g worthwhile:work #{class_name}`\n"
|
54
|
+
data << " config.register_curation_concern :#{file_name}\n"
|
55
|
+
data
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
def create_views
|
60
|
+
create_file "app/views/curation_concern/#{plural_file_name}/_#{file_name}.html.erb" do
|
61
|
+
data = "<%# This is a search result view %>\n"
|
62
|
+
data << "<%= render 'catalog/document', document: #{file_name}, document_counter: #{file_name}_counter %>\n"
|
63
|
+
data
|
64
|
+
end
|
65
|
+
end
|
66
|
+
|
67
|
+
def create_readme
|
68
|
+
readme 'README'
|
69
|
+
end
|
70
|
+
|
71
|
+
|
72
|
+
private
|
73
|
+
|
74
|
+
def rspec_installed?
|
75
|
+
defined?(RSpec) && defined?(RSpec::Rails)
|
76
|
+
end
|
77
|
+
|
78
|
+
end
|
data/lib/worthwhile/version.rb
CHANGED
@@ -2,6 +2,7 @@ FactoryGirl.define do
|
|
2
2
|
factory :work, aliases: [:generic_work, :private_generic_work], class: GenericWork do
|
3
3
|
ignore do
|
4
4
|
user { FactoryGirl.create(:user) }
|
5
|
+
embargo_date { Date.tomorrow.to_s }
|
5
6
|
end
|
6
7
|
|
7
8
|
title ["Test title"]
|
@@ -21,17 +22,21 @@ FactoryGirl.define do
|
|
21
22
|
end
|
22
23
|
|
23
24
|
factory :embargoed_work do
|
24
|
-
after(:build) { |work,
|
25
|
+
after(:build) { |work, evaluator| work.apply_embargo(evaluator.embargo_date, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC) }
|
25
26
|
end
|
26
27
|
|
27
28
|
factory :embargoed_work_with_files do
|
28
29
|
after(:build) { |work, _| 2.times { work.generic_files << FactoryGirl.build(:generic_file) }}
|
29
|
-
after(:build) { |work,
|
30
|
+
after(:build) { |work, evaluator| work.apply_embargo(evaluator.embargo_date, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC) }
|
31
|
+
end
|
32
|
+
|
33
|
+
factory :leased_work do
|
34
|
+
after(:build) { |work, evaluator| work.apply_lease(evaluator.embargo_date, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE) }
|
30
35
|
end
|
31
36
|
|
32
37
|
factory :leased_work_with_files do
|
33
38
|
after(:build) { |work, _| 2.times { work.generic_files << FactoryGirl.build(:generic_file) }}
|
34
|
-
after(:build) { |work,
|
39
|
+
after(:build) { |work, evaluator| work.apply_lease(evaluator.embargo_date, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PUBLIC, Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_PRIVATE) }
|
35
40
|
end
|
36
41
|
end
|
37
42
|
end
|
@@ -10,6 +10,8 @@ describe 'embargo' do
|
|
10
10
|
visit '/'
|
11
11
|
end
|
12
12
|
|
13
|
+
let(:future_date) { 2.days.from_now }
|
14
|
+
|
13
15
|
it "can be created, displayed and updated" do
|
14
16
|
click_link 'New Generic Work'
|
15
17
|
fill_in 'Title', with: 'Embargo test'
|
@@ -24,10 +26,10 @@ describe 'embargo' do
|
|
24
26
|
|
25
27
|
expect(page).to have_content("This work is under embargo.")
|
26
28
|
|
27
|
-
fill_in "until", with:
|
29
|
+
fill_in "until", with: future_date.to_s
|
28
30
|
|
29
31
|
click_button "Update Embargo"
|
30
|
-
expect(page).to have_content(
|
32
|
+
expect(page).to have_content(future_date.to_date.to_formatted_s(:long_ordinal))
|
31
33
|
end
|
32
34
|
end
|
33
35
|
|
data/spec/features/lease_spec.rb
CHANGED
@@ -7,6 +7,8 @@ describe "leases" do
|
|
7
7
|
end
|
8
8
|
describe "create a new leased object" do
|
9
9
|
|
10
|
+
let(:future_date) { 2.days.from_now }
|
11
|
+
|
10
12
|
it "can be created, displayed and updated" do
|
11
13
|
visit '/'
|
12
14
|
click_link 'New Generic Work'
|
@@ -22,10 +24,10 @@ describe "leases" do
|
|
22
24
|
|
23
25
|
expect(page).to have_content("This work is under lease.")
|
24
26
|
|
25
|
-
fill_in "until", with:
|
27
|
+
fill_in "until", with: future_date.to_s
|
26
28
|
|
27
29
|
click_button "Update Lease"
|
28
|
-
expect(page).to have_content(
|
30
|
+
expect(page).to have_content(future_date.to_date.to_formatted_s(:long_ordinal))
|
29
31
|
end
|
30
32
|
|
31
33
|
end
|
@@ -1,37 +1,53 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe Worthwhile::LeaseService do
|
4
|
+
|
5
|
+
before { GenericWork.destroy_all }
|
6
|
+
|
4
7
|
let(:future_date) { 2.days.from_now }
|
5
8
|
let(:past_date) { 2.days.ago }
|
6
9
|
|
7
10
|
let!(:work_with_expired_lease1) do
|
8
|
-
|
11
|
+
build(:generic_work, lease_expiration_date: past_date.to_s).tap do |work|
|
9
12
|
work.save(validate: false)
|
10
13
|
end
|
11
14
|
end
|
12
15
|
|
13
16
|
let!(:work_with_expired_lease2) do
|
14
|
-
|
17
|
+
build(:generic_work, lease_expiration_date: past_date.to_s).tap do |work|
|
15
18
|
work.save(validate: false)
|
16
19
|
end
|
17
20
|
end
|
18
21
|
|
19
|
-
let!(:work_with_lease_in_effect) {
|
20
|
-
let!(:work_without_lease) {
|
22
|
+
let!(:work_with_lease_in_effect) { create(:generic_work, lease_expiration_date: future_date.to_s)}
|
23
|
+
let!(:work_without_lease) { create(:generic_work)}
|
21
24
|
|
22
25
|
describe "#assets_with_expired_leases" do
|
23
|
-
it "returns an array of assets with expired
|
24
|
-
returned_pids = subject.assets_with_expired_leases.map
|
26
|
+
it "returns an array of assets with expired lease" do
|
27
|
+
returned_pids = subject.assets_with_expired_leases.map(&:pid)
|
25
28
|
expect(returned_pids).to include work_with_expired_lease1.pid,work_with_expired_lease2.pid
|
26
29
|
expect(returned_pids).to_not include work_with_lease_in_effect.pid,work_without_lease.pid
|
27
30
|
end
|
28
31
|
end
|
29
32
|
|
30
33
|
describe "#assets_under_lease" do
|
31
|
-
it "returns an array of assets with
|
32
|
-
returned_pids = subject.assets_under_lease.map
|
34
|
+
it "returns an array of assets with active leases" do
|
35
|
+
returned_pids = subject.assets_under_lease.map(&:pid)
|
33
36
|
expect(returned_pids).to include work_with_expired_lease1.pid,work_with_expired_lease2.pid,work_with_lease_in_effect.pid
|
34
37
|
expect(returned_pids).to_not include work_without_lease.pid
|
35
38
|
end
|
36
39
|
end
|
40
|
+
|
41
|
+
describe "#assets_with_deactivated_leases" do
|
42
|
+
before do
|
43
|
+
work_with_expired_lease1.deactivate_lease!
|
44
|
+
work_with_expired_lease1.save!
|
45
|
+
work_with_lease_in_effect.deactivate_lease!
|
46
|
+
work_with_lease_in_effect.save!
|
47
|
+
end
|
48
|
+
it "returns an array of assets with deactivated leases" do
|
49
|
+
returned_pids = subject.assets_with_deactivated_leases.map(&:pid)
|
50
|
+
expect(returned_pids).to eq [work_with_expired_lease1.id, work_with_lease_in_effect.id ]
|
51
|
+
end
|
52
|
+
end
|
37
53
|
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
|
3
|
+
describe 'curation_concern/permissions/confirm.html.erb' do
|
4
|
+
before do
|
5
|
+
allow(curation_concern).to receive(:to_param).and_return('test:123')
|
6
|
+
allow(view).to receive(:curation_concern).and_return(curation_concern)
|
7
|
+
render
|
8
|
+
end
|
9
|
+
|
10
|
+
context "when the work is embargoed" do
|
11
|
+
let(:curation_concern) { build(:embargoed_work, embargo_date: '2099-09-26'.to_date) }
|
12
|
+
|
13
|
+
it "should have a message about embargos" do
|
14
|
+
expect(rendered).to have_content "You've applied an embargo to this Generic Work, Test title, changing it's visibility to Private until September 26th, 2099. Would you like to apply the same embargo to all of the files within the Generic Work as well?"
|
15
|
+
end
|
16
|
+
end
|
17
|
+
|
18
|
+
context "when the work is leased" do
|
19
|
+
let(:curation_concern) { build(:leased_work, embargo_date: '2099-09-26'.to_date) }
|
20
|
+
|
21
|
+
it "should have a message about leases" do
|
22
|
+
expect(rendered).to have_content "You've applied a lease to this Generic Work, Test title, changing it's visibility to Open Access until September 26th, 2099. Would you like to apply the same lease to all of the files within the Generic Work as well?"
|
23
|
+
end
|
24
|
+
end
|
25
|
+
|
26
|
+
context "when the work is not embargoed" do
|
27
|
+
let(:curation_concern) { build(:work) }
|
28
|
+
|
29
|
+
it "should have a message about visibility" do
|
30
|
+
expect(rendered).to have_content "You've changed the permissions on this Generic Work, Test title, making it visible to Private. Would you like change all of the files within the Generic Work to Private as well?"
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
data/worthwhile.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency 'hydra-head', '~> 7.2.
|
21
|
+
spec.add_dependency 'hydra-head', '~> 7.2.2'
|
22
22
|
spec.add_dependency "breadcrumbs_on_rails", "~> 2.3.0"
|
23
23
|
spec.add_dependency "active_attr"
|
24
24
|
spec.add_dependency "simple_form", '~> 3.1.0.rc2'
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: worthwhile
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Coyne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-09-
|
11
|
+
date: 2014-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hydra-head
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 7.2.
|
19
|
+
version: 7.2.2
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 7.2.
|
26
|
+
version: 7.2.2
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: breadcrumbs_on_rails
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -497,6 +497,15 @@ files:
|
|
497
497
|
- lib/generators/worthwhile/templates/worthwhile.js
|
498
498
|
- lib/generators/worthwhile/templates/worthwhile_config.rb
|
499
499
|
- lib/generators/worthwhile/templates/worthwhile_helper.rb
|
500
|
+
- lib/generators/worthwhile/work/USAGE
|
501
|
+
- lib/generators/worthwhile/work/templates/README
|
502
|
+
- lib/generators/worthwhile/work/templates/actor.rb.erb
|
503
|
+
- lib/generators/worthwhile/work/templates/actor_spec.rb.erb
|
504
|
+
- lib/generators/worthwhile/work/templates/controller.rb.erb
|
505
|
+
- lib/generators/worthwhile/work/templates/controller_spec.rb.erb
|
506
|
+
- lib/generators/worthwhile/work/templates/model.rb.erb
|
507
|
+
- lib/generators/worthwhile/work/templates/model_spec.rb.erb
|
508
|
+
- lib/generators/worthwhile/work/work_generator.rb
|
500
509
|
- lib/worthwhile.rb
|
501
510
|
- lib/worthwhile/configuration.rb
|
502
511
|
- lib/worthwhile/controller_resource.rb
|
@@ -564,6 +573,7 @@ files:
|
|
564
573
|
- spec/views/collections/_form_representative_image.html.erb_spec.rb
|
565
574
|
- spec/views/curation_concern/base/_attributes.html.erb_spec.rb
|
566
575
|
- spec/views/curation_concern/base/show.html.erb_spec.rb
|
576
|
+
- spec/views/curation_concern/permissions/confirm.html.erb_spec.rb
|
567
577
|
- spec/views/shared/_add_content.html.erb_spec.rb
|
568
578
|
- spec/views/shared/_my_actions.html.erb_spec.rb
|
569
579
|
- spec/workers/visibility_copy_worker_spec.rb
|
@@ -668,6 +678,7 @@ test_files:
|
|
668
678
|
- spec/views/collections/_form_representative_image.html.erb_spec.rb
|
669
679
|
- spec/views/curation_concern/base/_attributes.html.erb_spec.rb
|
670
680
|
- spec/views/curation_concern/base/show.html.erb_spec.rb
|
681
|
+
- spec/views/curation_concern/permissions/confirm.html.erb_spec.rb
|
671
682
|
- spec/views/shared/_add_content.html.erb_spec.rb
|
672
683
|
- spec/views/shared/_my_actions.html.erb_spec.rb
|
673
684
|
- spec/workers/visibility_copy_worker_spec.rb
|