worthwhile 0.0.3 → 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +2 -0
- data/RELEASING.md +2 -0
- data/Rakefile +1 -0
- data/WORTHWHILE_VERSION +1 -0
- data/app/actors/curation_concern/base_actor.rb +18 -0
- data/app/views/curation_concern/permissions/confirm.html.erb +2 -2
- data/lib/worthwhile/engine.rb +3 -3
- data/lib/worthwhile/version.rb +1 -1
- data/spec/actors/curation_concern/generic_work_actor_spec.rb +15 -1
- data/spec/spec_helper.rb +1 -1
- data/spec/views/curation_concern/permissions/confirm.html.erb_spec.rb +2 -2
- data/tasks/release.rake +93 -0
- data/{app → worthwhile-models/app}/models/concerns/curation_concern/collection_model.rb +0 -0
- data/{app → worthwhile-models/app}/models/concerns/curation_concern/curatable.rb +0 -0
- data/{app → worthwhile-models/app}/models/concerns/curation_concern/has_representative.rb +0 -0
- data/{app → worthwhile-models/app}/models/concerns/curation_concern/human_readable_type.rb +0 -0
- data/{app → worthwhile-models/app}/models/concerns/curation_concern/with_basic_metadata.rb +0 -0
- data/{app → worthwhile-models/app}/models/concerns/curation_concern/with_editors.rb +0 -0
- data/{app → worthwhile-models/app}/models/concerns/curation_concern/with_generic_files.rb +0 -0
- data/{app → worthwhile-models/app}/models/concerns/curation_concern/with_linked_resources.rb +0 -0
- data/{app → worthwhile-models/app}/models/concerns/curation_concern/work.rb +0 -0
- data/{app → worthwhile-models/app}/models/concerns/worthwhile/ability.rb +0 -0
- data/{app → worthwhile-models/app}/models/concerns/worthwhile/generic_file/versioned_content.rb +0 -0
- data/{app → worthwhile-models/app}/models/concerns/worthwhile/generic_file_base.rb +0 -0
- data/{app → worthwhile-models/app}/models/concerns/worthwhile/solr_document_behavior.rb +0 -0
- data/{app → worthwhile-models/app}/models/generic_work.rb +0 -0
- data/{app → worthwhile-models/app}/models/worthwhile/classify_concern.rb +0 -0
- data/{app → worthwhile-models/app}/models/worthwhile/content_version.rb +0 -0
- data/{app → worthwhile-models/app}/models/worthwhile/contributor_agreement.rb +0 -0
- data/{app → worthwhile-models/app}/models/worthwhile/generic_file.rb +0 -0
- data/{app → worthwhile-models/app}/models/worthwhile/linked_resource.rb +0 -0
- data/{app → worthwhile-models/app}/models/worthwhile/quick_classification_query.rb +0 -0
- data/worthwhile-models/lib/worthwhile/models.rb +7 -0
- data/worthwhile-models/lib/worthwhile/models/engine.rb +11 -0
- data/worthwhile-models/lib/worthwhile/models/version.rb +5 -0
- data/worthwhile-models/worthwhile-models.gemspec +29 -0
- data/worthwhile.gemspec +6 -4
- metadata +43 -22
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5dc022225019a4ba976d79fde13890bdf57d9652
|
4
|
+
data.tar.gz: 0b2f53fc1cfd7b66f1d719b143a48882497741e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ccc281f98244b539da01d9a88d7ae3be106ce85efe88f262ecb12860a5f1e92c62bcc4104a17283ca8ec29538fee50c52d8bec775b7a2b0777fb8d0383e8530d
|
7
|
+
data.tar.gz: d666f3ae3ae112fb99eff15a2721108fd6bc226a5bb2c7b02ccb41f6aad756267b878116475a1740956e05a332ce645f91c50d33e6970ae94eb1aadd3ae9b9c3
|
data/Gemfile
CHANGED
data/RELEASING.md
ADDED
data/Rakefile
CHANGED
data/WORTHWHILE_VERSION
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
0.1.0
|
@@ -56,6 +56,7 @@ module CurationConcern
|
|
56
56
|
|
57
57
|
def apply_save_data_to_curation_concern
|
58
58
|
attributes[:rights] = Array(attributes[:rights]) if attributes.key? :rights
|
59
|
+
remove_blank_attributes!
|
59
60
|
curation_concern.attributes = attributes
|
60
61
|
curation_concern.date_modified = Date.today
|
61
62
|
end
|
@@ -64,5 +65,22 @@ module CurationConcern
|
|
64
65
|
ActiveSupport::Deprecation.warn("removing #{self.class}#attach_file, use CurationConcern.attach_file instead")
|
65
66
|
CurationConcern.attach_file(generic_file, user, file_to_attach)
|
66
67
|
end
|
68
|
+
|
69
|
+
# If any attributes are blank remove them
|
70
|
+
# e.g.:
|
71
|
+
# self.attributes = { 'title' => ['first', 'second', ''] }
|
72
|
+
# remove_blank_attributes!
|
73
|
+
# self.attributes
|
74
|
+
# => { 'title' => ['first', 'second'] }
|
75
|
+
def remove_blank_attributes!
|
76
|
+
multivalued_form_attributes.each_with_object(attributes) do |(k, v), h|
|
77
|
+
h[k] = v.select(&:present?)
|
78
|
+
end
|
79
|
+
end
|
80
|
+
|
81
|
+
# Return the hash of attributes that are multivalued and not uploaded files
|
82
|
+
def multivalued_form_attributes
|
83
|
+
attributes.select {|_, v| v.respond_to?(:select) && !v.respond_to?(:read) }
|
84
|
+
end
|
67
85
|
end
|
68
86
|
end
|
@@ -4,10 +4,10 @@
|
|
4
4
|
</div>
|
5
5
|
<div class="panel-body">
|
6
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
|
7
|
+
<p>You've applied an embargo to this <%= curation_concern.human_readable_type %>, <i><%= curation_concern %></i>, changing its visibility to <b><%= visibility_badge(curation_concern.visibility) %></b> until <%= curation_concern.embargo_release_date.to_date.to_formatted_s(:long_ordinal) %>.</p>
|
8
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
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
|
10
|
+
<p>You've applied a lease to this <%= curation_concern.human_readable_type %>, <i><%= curation_concern %></i>, changing its visibility to <b><%= visibility_badge(curation_concern.visibility) %></b> until <%= curation_concern.lease_expiration_date.to_date.to_formatted_s(:long_ordinal) %>.</p>
|
11
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
12
|
<% else %>
|
13
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>
|
data/lib/worthwhile/engine.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#Load blacklight which will give worthwhile views a higher preference than those in blacklight
|
2
2
|
require 'blacklight'
|
3
|
-
require '
|
3
|
+
require 'worthwhile/models'
|
4
4
|
require 'hydra-collections'
|
5
5
|
|
6
6
|
module Worthwhile
|
@@ -12,9 +12,9 @@ module Worthwhile
|
|
12
12
|
#{config.root}/lib
|
13
13
|
#{config.root}/app/actors/concerns
|
14
14
|
)
|
15
|
-
|
15
|
+
|
16
16
|
initializer 'worthwhile.initialize' do
|
17
|
-
require 'worthwhile/rails/routes'
|
17
|
+
require 'worthwhile/rails/routes'
|
18
18
|
end
|
19
19
|
end
|
20
20
|
end
|
data/lib/worthwhile/version.rb
CHANGED
@@ -26,6 +26,7 @@ describe CurationConcern::GenericWorkActor do
|
|
26
26
|
|
27
27
|
context 'valid attributes' do
|
28
28
|
let(:visibility) { Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_AUTHENTICATED }
|
29
|
+
|
29
30
|
context 'with embargo' do
|
30
31
|
let(:attributes) { { title: ["New embargo"], visibility: Hydra::AccessControls::AccessRight::VISIBILITY_TEXT_VALUE_EMBARGO,
|
31
32
|
visibility_during_embargo: "authenticated", embargo_release_date: date.to_s,
|
@@ -140,7 +141,6 @@ describe CurationConcern::GenericWorkActor do
|
|
140
141
|
end
|
141
142
|
|
142
143
|
context 'with linked resources' do
|
143
|
-
|
144
144
|
let(:attributes) {
|
145
145
|
FactoryGirl.attributes_for(:generic_work, visibility: visibility, linked_resource_urls: ['http://www.youtube.com/watch?v=oHg5SJYRHA0', "http://google.com"])
|
146
146
|
}
|
@@ -160,6 +160,18 @@ describe CurationConcern::GenericWorkActor do
|
|
160
160
|
expect(curation_concern).to be_authenticated_only_access
|
161
161
|
end
|
162
162
|
end
|
163
|
+
|
164
|
+
context "with a present and a blank title" do
|
165
|
+
let(:attributes) {
|
166
|
+
FactoryGirl.attributes_for(:generic_work, title: ['this is present', ''])
|
167
|
+
}
|
168
|
+
|
169
|
+
it 'should stamp each link with the access rights' do
|
170
|
+
expect(subject.create).to be true
|
171
|
+
expect(curation_concern).to be_persisted
|
172
|
+
expect(curation_concern.title).to eq ['this is present']
|
173
|
+
end
|
174
|
+
end
|
163
175
|
end
|
164
176
|
end
|
165
177
|
|
@@ -174,6 +186,7 @@ describe CurationConcern::GenericWorkActor do
|
|
174
186
|
expect(subject.update).to be false
|
175
187
|
end
|
176
188
|
end
|
189
|
+
|
177
190
|
context 'valid attributes' do
|
178
191
|
let(:attributes) {{}}
|
179
192
|
it "should interpret and apply embargo and lease visibility settings" do
|
@@ -182,6 +195,7 @@ describe CurationConcern::GenericWorkActor do
|
|
182
195
|
subject.update
|
183
196
|
end
|
184
197
|
end
|
198
|
+
|
185
199
|
context 'adding to collections' do
|
186
200
|
let!(:collection1) { FactoryGirl.create(:collection, user: user) }
|
187
201
|
let!(:collection2) { FactoryGirl.create(:collection, user: user) }
|
data/spec/spec_helper.rb
CHANGED
@@ -11,7 +11,7 @@ describe 'curation_concern/permissions/confirm.html.erb' do
|
|
11
11
|
let(:curation_concern) { build(:embargoed_work, embargo_date: '2099-09-26'.to_date) }
|
12
12
|
|
13
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
|
14
|
+
expect(rendered).to have_content "You've applied an embargo to this Generic Work, Test title, changing its 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
15
|
end
|
16
16
|
end
|
17
17
|
|
@@ -19,7 +19,7 @@ describe 'curation_concern/permissions/confirm.html.erb' do
|
|
19
19
|
let(:curation_concern) { build(:leased_work, embargo_date: '2099-09-26'.to_date) }
|
20
20
|
|
21
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
|
22
|
+
expect(rendered).to have_content "You've applied a lease to this Generic Work, Test title, changing its 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
23
|
end
|
24
24
|
end
|
25
25
|
|
data/tasks/release.rake
ADDED
@@ -0,0 +1,93 @@
|
|
1
|
+
root = File.expand_path('../../', __FILE__)
|
2
|
+
version = File.read("#{root}/WORTHWHILE_VERSION").strip
|
3
|
+
tag = "v#{version}"
|
4
|
+
|
5
|
+
directory 'pkg'
|
6
|
+
|
7
|
+
['worthwhile-models', 'worthwhile'].each do |framework|
|
8
|
+
namespace framework do
|
9
|
+
gem = "pkg/#{framework}-#{version}.gem"
|
10
|
+
gemspec = "#{framework}.gemspec"
|
11
|
+
|
12
|
+
task :clean do
|
13
|
+
rm_f gem
|
14
|
+
end
|
15
|
+
|
16
|
+
task :update_version_rb do
|
17
|
+
glob = root.dup
|
18
|
+
if framework == "worthwhile"
|
19
|
+
glob << "/lib/*"
|
20
|
+
else
|
21
|
+
glob << "/#{framework}/lib/**"
|
22
|
+
end
|
23
|
+
glob << "/version.rb"
|
24
|
+
|
25
|
+
file = Dir[glob].first
|
26
|
+
if file
|
27
|
+
ruby = File.read(file)
|
28
|
+
|
29
|
+
major, minor, tiny, pre = version.split('.')
|
30
|
+
pre = pre ? pre.inspect : "nil"
|
31
|
+
|
32
|
+
ruby.gsub!(/^(\s*)VERSION = ".*?"$/, "\\1VERSION = \"#{version}\"")
|
33
|
+
raise "Could not insert VERSION in #{file}" unless $1
|
34
|
+
File.open(file, 'w') { |f| f.write ruby }
|
35
|
+
end
|
36
|
+
end
|
37
|
+
task gem => %w(update_version_rb pkg) do
|
38
|
+
cmd = ""
|
39
|
+
cmd << "cd #{framework} && " unless framework == "worthwhile"
|
40
|
+
cmd << "gem build #{gemspec} && mv #{framework}-#{version}.gem #{root}/pkg/"
|
41
|
+
sh cmd
|
42
|
+
end
|
43
|
+
|
44
|
+
task build: [:clean, gem]
|
45
|
+
task install: :build do
|
46
|
+
sh "gem install #{gem}"
|
47
|
+
end
|
48
|
+
|
49
|
+
task prep_release: [:ensure_clean_state, :build]
|
50
|
+
|
51
|
+
task push: :build do
|
52
|
+
sh "gem push #{gem}"
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
|
57
|
+
|
58
|
+
namespace :all do
|
59
|
+
task build: ['worthwhile-models:build', 'worthwhile:build']
|
60
|
+
task install: ['worthwhile-models:install', 'worthwhile:install']
|
61
|
+
task push: ['worthwhile-models:push', 'worthwhile:push']
|
62
|
+
|
63
|
+
task :ensure_clean_state do
|
64
|
+
unless `git status -s | grep -v WORTHWHILE_VERSION | grep -v History.md`.strip.empty?
|
65
|
+
abort "[ABORTING] `git status` reports a dirty tree. Make sure all changes are committed"
|
66
|
+
end
|
67
|
+
|
68
|
+
unless ENV['SKIP_TAG'] || `git tag | grep "#{tag}$"`.strip.empty?
|
69
|
+
abort "[ABORTING] `git tag` shows that #{tag} already exists. Has this version already\n"\
|
70
|
+
" been released? Git tagging can be skipped by setting SKIP_TAG=1"
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
task :commit do
|
75
|
+
File.open('pkg/commit_message.txt', 'w') do |f|
|
76
|
+
f.puts "# Preparing for #{version} release\n"
|
77
|
+
f.puts
|
78
|
+
f.puts "# UNCOMMENT THE LINE ABOVE TO APPROVE THIS COMMIT"
|
79
|
+
end
|
80
|
+
|
81
|
+
sh "git add . && git commit --verbose --template=pkg/commit_message.txt"
|
82
|
+
rm_f "pkg/commit_message.txt"
|
83
|
+
end
|
84
|
+
|
85
|
+
task :tag do
|
86
|
+
sh "git tag #{tag}"
|
87
|
+
sh "git push --tags"
|
88
|
+
end
|
89
|
+
|
90
|
+
desc "Release both worthwhile and worthwhile-models and update the version to #{version} in all locations"
|
91
|
+
task release: %w(ensure_clean_state build commit tag push)
|
92
|
+
end
|
93
|
+
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/{app → worthwhile-models/app}/models/concerns/curation_concern/with_linked_resources.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
data/{app → worthwhile-models/app}/models/concerns/worthwhile/generic_file/versioned_content.rb
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,29 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
version = File.read(File.expand_path("../../WORTHWHILE_VERSION", __FILE__)).strip
|
3
|
+
|
4
|
+
lib = File.expand_path('../lib', __FILE__)
|
5
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "worthwhile-models"
|
9
|
+
spec.version = version
|
10
|
+
spec.authors = ["Justin Coyne"]
|
11
|
+
spec.email = ["justin@curationexperts.com"]
|
12
|
+
spec.summary = %q{Simple institutional repository models for Hydra}
|
13
|
+
spec.description = %q{An extensible repository data-model with works and and many attached files}
|
14
|
+
spec.homepage = ""
|
15
|
+
spec.license = "APACHE2"
|
16
|
+
|
17
|
+
spec.files = `git ls-files -z`.split("\x0")
|
18
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
|
+
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
20
|
+
spec.require_paths = ["lib"]
|
21
|
+
|
22
|
+
spec.add_dependency 'hydra-head', '~> 7.2.2'
|
23
|
+
spec.add_dependency "active_attr"
|
24
|
+
spec.add_dependency 'sufia-models', '~> 4.0.0'
|
25
|
+
spec.add_dependency 'hydra-collections', '~> 2.0.5'
|
26
|
+
|
27
|
+
spec.add_development_dependency "bundler", "~> 1.6"
|
28
|
+
spec.add_development_dependency "rake"
|
29
|
+
end
|
data/worthwhile.gemspec
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
# coding: utf-8
|
2
|
-
|
3
|
-
|
4
|
-
|
2
|
+
version = File.read(File.expand_path("../WORTHWHILE_VERSION",__FILE__)).strip
|
3
|
+
|
4
|
+
# lib = File.expand_path('../lib', __FILE__)
|
5
|
+
# $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
6
|
|
6
7
|
Gem::Specification.new do |spec|
|
7
8
|
spec.name = "worthwhile"
|
8
|
-
spec.version =
|
9
|
+
spec.version = version
|
9
10
|
spec.authors = ["Justin Coyne"]
|
10
11
|
spec.email = ["justin@curationexperts.com"]
|
11
12
|
spec.summary = %q{A simple institutional repository for Hydra}
|
@@ -22,6 +23,7 @@ Gem::Specification.new do |spec|
|
|
22
23
|
spec.add_dependency "breadcrumbs_on_rails", "~> 2.3.0"
|
23
24
|
spec.add_dependency "active_attr"
|
24
25
|
spec.add_dependency "simple_form", '~> 3.1.0.rc2'
|
26
|
+
spec.add_dependency 'worthwhile-models', version
|
25
27
|
spec.add_dependency 'sufia-models', '~> 4.0.0'
|
26
28
|
spec.add_dependency 'hydra-collections', '~> 2.0.5'
|
27
29
|
|
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.1.0
|
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-
|
11
|
+
date: 2014-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: hydra-head
|
@@ -66,6 +66,20 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: 3.1.0.rc2
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: worthwhile-models
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - '='
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 0.1.0
|
76
|
+
type: :runtime
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - '='
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: 0.1.0
|
69
83
|
- !ruby/object:Gem::Dependency
|
70
84
|
name: sufia-models
|
71
85
|
requirement: !ruby/object:Gem::Requirement
|
@@ -275,7 +289,9 @@ files:
|
|
275
289
|
- Gemfile
|
276
290
|
- LICENSE.txt
|
277
291
|
- README.md
|
292
|
+
- RELEASING.md
|
278
293
|
- Rakefile
|
294
|
+
- WORTHWHILE_VERSION
|
279
295
|
- app/actors/concerns/worthwhile/manages_embargoes_actor.rb
|
280
296
|
- app/actors/curation_concern/base_actor.rb
|
281
297
|
- app/actors/curation_concern/generic_file_actor.rb
|
@@ -361,26 +377,6 @@ files:
|
|
361
377
|
- app/helpers/worthwhile/url_helper.rb
|
362
378
|
- app/inputs/multi_value_input.rb
|
363
379
|
- app/models/collection.rb
|
364
|
-
- app/models/concerns/curation_concern/collection_model.rb
|
365
|
-
- app/models/concerns/curation_concern/curatable.rb
|
366
|
-
- app/models/concerns/curation_concern/has_representative.rb
|
367
|
-
- app/models/concerns/curation_concern/human_readable_type.rb
|
368
|
-
- app/models/concerns/curation_concern/with_basic_metadata.rb
|
369
|
-
- app/models/concerns/curation_concern/with_editors.rb
|
370
|
-
- app/models/concerns/curation_concern/with_generic_files.rb
|
371
|
-
- app/models/concerns/curation_concern/with_linked_resources.rb
|
372
|
-
- app/models/concerns/curation_concern/work.rb
|
373
|
-
- app/models/concerns/worthwhile/ability.rb
|
374
|
-
- app/models/concerns/worthwhile/generic_file/versioned_content.rb
|
375
|
-
- app/models/concerns/worthwhile/generic_file_base.rb
|
376
|
-
- app/models/concerns/worthwhile/solr_document_behavior.rb
|
377
|
-
- app/models/generic_work.rb
|
378
|
-
- app/models/worthwhile/classify_concern.rb
|
379
|
-
- app/models/worthwhile/content_version.rb
|
380
|
-
- app/models/worthwhile/contributor_agreement.rb
|
381
|
-
- app/models/worthwhile/generic_file.rb
|
382
|
-
- app/models/worthwhile/linked_resource.rb
|
383
|
-
- app/models/worthwhile/quick_classification_query.rb
|
384
380
|
- app/services/worthwhile/curation_concern.rb
|
385
381
|
- app/services/worthwhile/embargo_service.rb
|
386
382
|
- app/services/worthwhile/lease_service.rb
|
@@ -577,6 +573,7 @@ files:
|
|
577
573
|
- spec/views/shared/_add_content.html.erb_spec.rb
|
578
574
|
- spec/views/shared/_my_actions.html.erb_spec.rb
|
579
575
|
- spec/workers/visibility_copy_worker_spec.rb
|
576
|
+
- tasks/release.rake
|
580
577
|
- vendor/assets/images/ui-bg_glass_100_fdf5ce_1x400.png
|
581
578
|
- vendor/assets/images/ui-bg_highlight-soft_100_eeeeee_1x100.png
|
582
579
|
- vendor/assets/javascripts/handlebars.js
|
@@ -592,6 +589,30 @@ files:
|
|
592
589
|
- vendor/assets/stylesheets/token-input-facebook.css
|
593
590
|
- vendor/assets/stylesheets/token-input-mac.css
|
594
591
|
- vendor/assets/stylesheets/token-input.css
|
592
|
+
- worthwhile-models/app/models/concerns/curation_concern/collection_model.rb
|
593
|
+
- worthwhile-models/app/models/concerns/curation_concern/curatable.rb
|
594
|
+
- worthwhile-models/app/models/concerns/curation_concern/has_representative.rb
|
595
|
+
- worthwhile-models/app/models/concerns/curation_concern/human_readable_type.rb
|
596
|
+
- worthwhile-models/app/models/concerns/curation_concern/with_basic_metadata.rb
|
597
|
+
- worthwhile-models/app/models/concerns/curation_concern/with_editors.rb
|
598
|
+
- worthwhile-models/app/models/concerns/curation_concern/with_generic_files.rb
|
599
|
+
- worthwhile-models/app/models/concerns/curation_concern/with_linked_resources.rb
|
600
|
+
- worthwhile-models/app/models/concerns/curation_concern/work.rb
|
601
|
+
- worthwhile-models/app/models/concerns/worthwhile/ability.rb
|
602
|
+
- worthwhile-models/app/models/concerns/worthwhile/generic_file/versioned_content.rb
|
603
|
+
- worthwhile-models/app/models/concerns/worthwhile/generic_file_base.rb
|
604
|
+
- worthwhile-models/app/models/concerns/worthwhile/solr_document_behavior.rb
|
605
|
+
- worthwhile-models/app/models/generic_work.rb
|
606
|
+
- worthwhile-models/app/models/worthwhile/classify_concern.rb
|
607
|
+
- worthwhile-models/app/models/worthwhile/content_version.rb
|
608
|
+
- worthwhile-models/app/models/worthwhile/contributor_agreement.rb
|
609
|
+
- worthwhile-models/app/models/worthwhile/generic_file.rb
|
610
|
+
- worthwhile-models/app/models/worthwhile/linked_resource.rb
|
611
|
+
- worthwhile-models/app/models/worthwhile/quick_classification_query.rb
|
612
|
+
- worthwhile-models/lib/worthwhile/models.rb
|
613
|
+
- worthwhile-models/lib/worthwhile/models/engine.rb
|
614
|
+
- worthwhile-models/lib/worthwhile/models/version.rb
|
615
|
+
- worthwhile-models/worthwhile-models.gemspec
|
595
616
|
- worthwhile.gemspec
|
596
617
|
homepage: ''
|
597
618
|
licenses:
|