active-fedora 12.0.2 → 12.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/.circleci/config.yml +63 -0
- data/.rubocop.yml +7 -7
- data/.rubocop_todo.yml +10 -100
- data/.solr_wrapper +1 -1
- data/CODE_OF_CONDUCT.md +36 -0
- data/CONTRIBUTING.md +23 -21
- data/Gemfile +1 -0
- data/History.txt +29 -29
- data/LICENSE +16 -14
- data/README.md +40 -29
- data/SUPPORT.md +5 -0
- data/active-fedora.gemspec +7 -7
- data/lib/active_fedora.rb +1 -1
- data/lib/active_fedora/aggregation/list_source.rb +3 -2
- data/lib/active_fedora/associations/builder/collection_association.rb +1 -0
- data/lib/active_fedora/associations/collection_association.rb +3 -0
- data/lib/active_fedora/associations/collection_proxy.rb +2 -0
- data/lib/active_fedora/associations/directly_contains_one_association.rb +1 -0
- data/lib/active_fedora/associations/indirectly_contains_association.rb +2 -0
- data/lib/active_fedora/associations/singular_association.rb +1 -0
- data/lib/active_fedora/attribute_methods.rb +1 -1
- data/lib/active_fedora/attribute_methods/read.rb +1 -1
- data/lib/active_fedora/attribute_methods/write.rb +1 -1
- data/lib/active_fedora/attributes.rb +1 -1
- data/lib/active_fedora/attributes/property_builder.rb +1 -0
- data/lib/active_fedora/callbacks.rb +7 -2
- data/lib/active_fedora/fedora.rb +8 -0
- data/lib/active_fedora/file.rb +5 -7
- data/lib/active_fedora/indexing.rb +3 -0
- data/lib/active_fedora/indexing/descendant_fetcher.rb +1 -1
- data/lib/active_fedora/indexing/descriptor.rb +1 -1
- data/lib/active_fedora/indexing/field_mapper.rb +4 -2
- data/lib/active_fedora/indexing/suffix.rb +7 -3
- data/lib/active_fedora/inheritable_accessors.rb +1 -0
- data/lib/active_fedora/loadable_from_json.rb +1 -0
- data/lib/active_fedora/nested_attributes.rb +1 -0
- data/lib/active_fedora/persistence.rb +14 -1
- data/lib/active_fedora/persistence/null_identifier_service.rb +11 -0
- data/lib/active_fedora/rake_support.rb +2 -2
- data/lib/active_fedora/reflection.rb +1 -1
- data/lib/active_fedora/relation.rb +14 -0
- data/lib/active_fedora/relation/delegation.rb +2 -1
- data/lib/active_fedora/relation/finder_methods.rb +1 -0
- data/lib/active_fedora/relation/merger.rb +1 -0
- data/lib/active_fedora/validations.rb +7 -0
- data/lib/active_fedora/version.rb +1 -1
- data/lib/active_fedora/with_metadata.rb +1 -0
- data/lib/active_fedora/with_metadata/metadata_node.rb +2 -1
- data/lib/generators/active_fedora/config/solr/templates/.solr_wrapper.yml +1 -1
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/_rest_managed.json +0 -0
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/admin-extra.html +0 -0
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/elevate.xml +0 -0
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/mapping-ISOLatin1Accent.txt +0 -0
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/protwords.txt +0 -0
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/schema.xml +64 -63
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/scripts.conf +0 -0
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/solrconfig.xml +4 -1
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/spellings.txt +0 -0
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/stopwords.txt +0 -0
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/stopwords_en.txt +0 -0
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/synonyms.txt +0 -0
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/xslt/example.xsl +0 -0
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/xslt/example_atom.xsl +0 -0
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/xslt/example_rss.xsl +0 -0
- data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/xslt/luke.xsl +0 -0
- data/lib/generators/active_fedora/config/solr/templates/solr_wrapper_test.yml +1 -1
- data/lib/generators/active_fedora/model/templates/datastream.rb.erb +1 -1
- data/spec/integration/file_spec.rb +1 -1
- data/spec/integration/relation_spec.rb +43 -0
- data/spec/spec_helper.rb +11 -9
- data/spec/support/an_active_model.rb +4 -0
- data/spec/unit/active_fedora/indexing/inserter_spec.rb +5 -0
- data/spec/unit/callback_spec.rb +8 -1
- data/spec/unit/file_spec.rb +17 -0
- data/spec/unit/validations_spec.rb +18 -0
- metadata +56 -54
- data/.travis.yml +0 -15
|
File without changes
|
|
@@ -284,6 +284,8 @@
|
|
|
284
284
|
-->
|
|
285
285
|
</searchComponent>
|
|
286
286
|
|
|
287
|
+
<!-- suggest searchComponent and requestHandler disabled by default due to performance penalties -->
|
|
288
|
+
<!--
|
|
287
289
|
<searchComponent name="suggest" class="solr.SuggestComponent">
|
|
288
290
|
<lst name="suggester">
|
|
289
291
|
<str name="name">mySuggester</str>
|
|
@@ -304,7 +306,8 @@
|
|
|
304
306
|
<str>suggest</str>
|
|
305
307
|
</arr>
|
|
306
308
|
</requestHandler>
|
|
307
|
-
|
|
309
|
+
-->
|
|
310
|
+
|
|
308
311
|
<requestHandler name="/update/extract" class="org.apache.solr.handler.extraction.ExtractingRequestHandler">
|
|
309
312
|
<lst name="defaults">
|
|
310
313
|
<str name="fmap.Last-Modified">last_modified</str>
|
|
File without changes
|
|
File without changes
|
data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/stopwords_en.txt
RENAMED
|
File without changes
|
|
File without changes
|
data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/xslt/example.xsl
RENAMED
|
File without changes
|
data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/xslt/example_atom.xsl
RENAMED
|
File without changes
|
data/lib/generators/active_fedora/config/solr/templates/solr/{config → conf}/xslt/example_rss.xsl
RENAMED
|
File without changes
|
|
File without changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
class <%= class_name %>Metadata < ActiveFedora::OmDatastream
|
|
4
4
|
|
|
5
5
|
# Define a terminology for parsing this XML document
|
|
6
|
-
# See: https://github.com/
|
|
6
|
+
# See: https://github.com/samvera/om/wiki/Tame-your-XML-with-OM
|
|
7
7
|
#
|
|
8
8
|
# set_terminology do |t|
|
|
9
9
|
# t.root(path: "fields")
|
|
@@ -74,7 +74,7 @@ describe ActiveFedora::File do
|
|
|
74
74
|
|
|
75
75
|
describe "changed attributes are set" do
|
|
76
76
|
it "marks profile as changed" do
|
|
77
|
-
expect_any_instance_of(SampleResource).to receive(:attribute_will_change!).with(:
|
|
77
|
+
expect_any_instance_of(SampleResource).to receive(:attribute_will_change!).with(:ldp_source)
|
|
78
78
|
test_object
|
|
79
79
|
end
|
|
80
80
|
end
|
|
@@ -22,6 +22,10 @@ describe ActiveFedora::Base do
|
|
|
22
22
|
end
|
|
23
23
|
|
|
24
24
|
it { is_expected.to respond_to(:each_with_index) }
|
|
25
|
+
it { expect(libraries.any?).to eq false }
|
|
26
|
+
it { is_expected.to be_blank }
|
|
27
|
+
it { is_expected.to be_empty }
|
|
28
|
+
it { is_expected.not_to be_present }
|
|
25
29
|
|
|
26
30
|
context "when some records exist" do
|
|
27
31
|
before do
|
|
@@ -41,6 +45,45 @@ describe ActiveFedora::Base do
|
|
|
41
45
|
expect_any_instance_of(ActiveFedora::Relation).to_not receive :find_each
|
|
42
46
|
libraries[0]
|
|
43
47
|
end
|
|
48
|
+
|
|
49
|
+
it "does not reload" do
|
|
50
|
+
expect_any_instance_of(ActiveFedora::Relation).to_not receive :find_each
|
|
51
|
+
libraries.each { |l| l.id }
|
|
52
|
+
end
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
it { expect(libraries.any?).to eq true }
|
|
56
|
+
it { is_expected.not_to be_blank }
|
|
57
|
+
it { is_expected.not_to be_empty }
|
|
58
|
+
it { is_expected.to be_present }
|
|
59
|
+
|
|
60
|
+
describe '#each' do
|
|
61
|
+
before { Book.create }
|
|
62
|
+
|
|
63
|
+
it 'returns an enumerator' do
|
|
64
|
+
expect(libraries.each).to be_a Enumerator
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
it 'yields the items' do
|
|
68
|
+
expect { |b| libraries.each(&b) }
|
|
69
|
+
.to yield_successive_args(*Library.all.to_a)
|
|
70
|
+
end
|
|
71
|
+
|
|
72
|
+
it 'when called from Base yields all items' do
|
|
73
|
+
expect { |b| ActiveFedora::Base.all.each(&b) }
|
|
74
|
+
.to yield_successive_args(*(Library.all.to_a + Book.all.to_a))
|
|
75
|
+
end
|
|
76
|
+
|
|
77
|
+
context 'when cached' do
|
|
78
|
+
it 'returns an enumerator' do
|
|
79
|
+
expect(libraries.each).to be_a Enumerator
|
|
80
|
+
end
|
|
81
|
+
|
|
82
|
+
it 'yields the items' do
|
|
83
|
+
expect { |b| libraries.each(&b) }
|
|
84
|
+
.to yield_successive_args(*Library.all.to_a)
|
|
85
|
+
end
|
|
86
|
+
end
|
|
44
87
|
end
|
|
45
88
|
|
|
46
89
|
describe "#find" do
|
data/spec/spec_helper.rb
CHANGED
|
@@ -1,10 +1,17 @@
|
|
|
1
|
-
ENV["environment"] ||=
|
|
2
|
-
require "bundler/setup"
|
|
1
|
+
ENV["environment"] ||= "test"
|
|
3
2
|
|
|
3
|
+
require "bundler/setup"
|
|
4
4
|
require 'simplecov'
|
|
5
5
|
require 'coveralls'
|
|
6
6
|
|
|
7
|
-
SimpleCov.
|
|
7
|
+
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new(
|
|
8
|
+
[
|
|
9
|
+
SimpleCov::Formatter::HTMLFormatter,
|
|
10
|
+
Coveralls::SimpleCov::Formatter
|
|
11
|
+
]
|
|
12
|
+
)
|
|
13
|
+
|
|
14
|
+
SimpleCov.start "rails" do
|
|
8
15
|
add_filter "/spec/"
|
|
9
16
|
end
|
|
10
17
|
|
|
@@ -13,15 +20,10 @@ require 'rspec'
|
|
|
13
20
|
require 'rspec/its'
|
|
14
21
|
require 'equivalent-xml/rspec_matchers'
|
|
15
22
|
require 'logger'
|
|
16
|
-
require 'pry' unless ENV['
|
|
23
|
+
require 'pry' unless ENV['CI']
|
|
17
24
|
|
|
18
25
|
ActiveFedora::Base.logger = Logger.new(STDERR)
|
|
19
26
|
ActiveFedora::Base.logger.level = Logger::WARN
|
|
20
|
-
# require 'http_logger'
|
|
21
|
-
# HttpLogger.logger = Logger.new(STDOUT)
|
|
22
|
-
# HttpLogger.ignore = [/localhost:8983\/solr/]
|
|
23
|
-
# HttpLogger.colorize = false
|
|
24
|
-
# HttpLogger.log_headers = true
|
|
25
27
|
|
|
26
28
|
Dir[File.expand_path("../support/**/*.rb", __FILE__)].each { |f| require f }
|
|
27
29
|
|
|
@@ -11,6 +11,10 @@ shared_examples_for "An ActiveModel" do
|
|
|
11
11
|
expect(one).to eq the_other
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
+
def assert_respond_to(obj, meth, _msg = nil)
|
|
15
|
+
expect(obj).to respond_to meth
|
|
16
|
+
end
|
|
17
|
+
|
|
14
18
|
include ActiveModel::Lint::Tests
|
|
15
19
|
|
|
16
20
|
ActiveModel::Lint::Tests.public_instance_methods.map(&:to_s).grep(/^test/).each do |m|
|
|
@@ -27,4 +27,9 @@ RSpec.describe ActiveFedora::Indexing::Inserter do
|
|
|
27
27
|
described_class.create_and_insert_terms('my_name', Date.parse('2013-01-10'), [:sortable], solr_doc)
|
|
28
28
|
expect(solr_doc).to eq('my_name_dti' => '2013-01-10T00:00:00Z')
|
|
29
29
|
end
|
|
30
|
+
|
|
31
|
+
it "handles floating point integers" do
|
|
32
|
+
described_class.create_and_insert_terms('my_number', (6.022140857*10**23).to_f, [:displayable, :searchable], solr_doc)
|
|
33
|
+
expect(solr_doc).to eq('my_number_ssm' => ['6.0221408569999995e+23'], 'my_number_fim' => ['6.0221408569999995e+23'])
|
|
34
|
+
end
|
|
30
35
|
end
|
data/spec/unit/callback_spec.rb
CHANGED
|
@@ -12,6 +12,9 @@ describe ActiveFedora::Base do
|
|
|
12
12
|
after_update :a_update
|
|
13
13
|
after_find :a_find
|
|
14
14
|
|
|
15
|
+
after_update_index :a_update_index
|
|
16
|
+
before_update_index :b_update_index
|
|
17
|
+
|
|
15
18
|
before_destroy :do_stuff
|
|
16
19
|
|
|
17
20
|
def do_stuff
|
|
@@ -24,12 +27,14 @@ describe ActiveFedora::Base do
|
|
|
24
27
|
Object.send(:remove_const, :CallbackStub)
|
|
25
28
|
end
|
|
26
29
|
|
|
27
|
-
it "has after_initialize, before_save, after_save, before_create, after_create" do
|
|
30
|
+
it "has after_initialize, before_save, after_save, before_create, after_create, after_update_index, before_update_index" do
|
|
28
31
|
allow_any_instance_of(CallbackStub).to receive(:a_init)
|
|
29
32
|
allow_any_instance_of(CallbackStub).to receive :b_create
|
|
30
33
|
allow_any_instance_of(CallbackStub).to receive :a_create
|
|
31
34
|
allow_any_instance_of(CallbackStub).to receive(:b_save)
|
|
32
35
|
allow_any_instance_of(CallbackStub).to receive(:a_save)
|
|
36
|
+
allow_any_instance_of(CallbackStub).to receive(:a_update_index)
|
|
37
|
+
allow_any_instance_of(CallbackStub).to receive(:b_update_index)
|
|
33
38
|
@cb = CallbackStub.new
|
|
34
39
|
@cb.save
|
|
35
40
|
end
|
|
@@ -40,6 +45,8 @@ describe ActiveFedora::Base do
|
|
|
40
45
|
allow_any_instance_of(CallbackStub).to receive(:a_create)
|
|
41
46
|
allow_any_instance_of(CallbackStub).to receive(:b_save)
|
|
42
47
|
allow_any_instance_of(CallbackStub).to receive(:a_save)
|
|
48
|
+
allow_any_instance_of(CallbackStub).to receive(:a_update_index)
|
|
49
|
+
allow_any_instance_of(CallbackStub).to receive(:b_update_index)
|
|
43
50
|
@cb = CallbackStub.new
|
|
44
51
|
@cb.save
|
|
45
52
|
allow_any_instance_of(CallbackStub).to receive(:a_init)
|
data/spec/unit/file_spec.rb
CHANGED
|
@@ -192,6 +192,23 @@ describe ActiveFedora::File do
|
|
|
192
192
|
end
|
|
193
193
|
end
|
|
194
194
|
|
|
195
|
+
context 'when file is new and content behaves like io' do
|
|
196
|
+
let(:file_content) { "hello world" }
|
|
197
|
+
|
|
198
|
+
before do
|
|
199
|
+
af_file.uri = "http://localhost:8983/fedora/rest/test/1234/abcd"
|
|
200
|
+
af_file.content = StringIO.new(file_content)
|
|
201
|
+
allow(af_file).to receive(:new_record?).and_return(true)
|
|
202
|
+
end
|
|
203
|
+
|
|
204
|
+
describe "#content" do
|
|
205
|
+
it 'can be re-read' do
|
|
206
|
+
expect(af_file.content.read).to eq file_content
|
|
207
|
+
expect(af_file.content.read).to eq file_content
|
|
208
|
+
end
|
|
209
|
+
end
|
|
210
|
+
end
|
|
211
|
+
|
|
195
212
|
describe "#mime_type" do
|
|
196
213
|
let(:parent) { ActiveFedora::Base.create }
|
|
197
214
|
before do
|
|
@@ -8,6 +8,16 @@ describe ActiveFedora::Base do
|
|
|
8
8
|
|
|
9
9
|
validates_presence_of :fubar
|
|
10
10
|
validates_length_of :swank, minimum: 5
|
|
11
|
+
|
|
12
|
+
before_validation :before_validation_callback
|
|
13
|
+
after_validation :after_validation_callback
|
|
14
|
+
|
|
15
|
+
def before_validation_callback
|
|
16
|
+
# no-op
|
|
17
|
+
end
|
|
18
|
+
def after_validation_callback
|
|
19
|
+
# no-op
|
|
20
|
+
end
|
|
11
21
|
end
|
|
12
22
|
end
|
|
13
23
|
|
|
@@ -71,4 +81,12 @@ describe ActiveFedora::Base do
|
|
|
71
81
|
end
|
|
72
82
|
end
|
|
73
83
|
end
|
|
84
|
+
|
|
85
|
+
describe 'validation callbacks' do
|
|
86
|
+
it 'calls callbacks' do
|
|
87
|
+
expect(validation_stub).to receive(:before_validation_callback)
|
|
88
|
+
expect(validation_stub).to receive(:after_validation_callback)
|
|
89
|
+
validation_stub.validate
|
|
90
|
+
end
|
|
91
|
+
end
|
|
74
92
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: active-fedora
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 12.
|
|
4
|
+
version: 12.2.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Zumwalt
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date:
|
|
13
|
+
date: 2020-06-19 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rsolr
|
|
@@ -32,26 +32,6 @@ dependencies:
|
|
|
32
32
|
- - "<"
|
|
33
33
|
- !ruby/object:Gem::Version
|
|
34
34
|
version: '3'
|
|
35
|
-
- !ruby/object:Gem::Dependency
|
|
36
|
-
name: solrizer
|
|
37
|
-
requirement: !ruby/object:Gem::Requirement
|
|
38
|
-
requirements:
|
|
39
|
-
- - ">="
|
|
40
|
-
- !ruby/object:Gem::Version
|
|
41
|
-
version: '3.4'
|
|
42
|
-
- - "<"
|
|
43
|
-
- !ruby/object:Gem::Version
|
|
44
|
-
version: '5'
|
|
45
|
-
type: :runtime
|
|
46
|
-
prerelease: false
|
|
47
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
48
|
-
requirements:
|
|
49
|
-
- - ">="
|
|
50
|
-
- !ruby/object:Gem::Version
|
|
51
|
-
version: '3.4'
|
|
52
|
-
- - "<"
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
version: '5'
|
|
55
35
|
- !ruby/object:Gem::Dependency
|
|
56
36
|
name: activesupport
|
|
57
37
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -61,7 +41,7 @@ dependencies:
|
|
|
61
41
|
version: 4.2.4
|
|
62
42
|
- - "<"
|
|
63
43
|
- !ruby/object:Gem::Version
|
|
64
|
-
version: '5.
|
|
44
|
+
version: '5.3'
|
|
65
45
|
type: :runtime
|
|
66
46
|
prerelease: false
|
|
67
47
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -71,27 +51,27 @@ dependencies:
|
|
|
71
51
|
version: 4.2.4
|
|
72
52
|
- - "<"
|
|
73
53
|
- !ruby/object:Gem::Version
|
|
74
|
-
version: '5.
|
|
54
|
+
version: '5.3'
|
|
75
55
|
- !ruby/object:Gem::Dependency
|
|
76
56
|
name: activemodel
|
|
77
57
|
requirement: !ruby/object:Gem::Requirement
|
|
78
58
|
requirements:
|
|
79
59
|
- - ">="
|
|
80
60
|
- !ruby/object:Gem::Version
|
|
81
|
-
version:
|
|
61
|
+
version: 4.2.10
|
|
82
62
|
- - "<"
|
|
83
63
|
- !ruby/object:Gem::Version
|
|
84
|
-
version: '5.
|
|
64
|
+
version: '5.3'
|
|
85
65
|
type: :runtime
|
|
86
66
|
prerelease: false
|
|
87
67
|
version_requirements: !ruby/object:Gem::Requirement
|
|
88
68
|
requirements:
|
|
89
69
|
- - ">="
|
|
90
70
|
- !ruby/object:Gem::Version
|
|
91
|
-
version:
|
|
71
|
+
version: 4.2.10
|
|
92
72
|
- - "<"
|
|
93
73
|
- !ruby/object:Gem::Version
|
|
94
|
-
version: '5.
|
|
74
|
+
version: '5.3'
|
|
95
75
|
- !ruby/object:Gem::Dependency
|
|
96
76
|
name: active-triples
|
|
97
77
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -130,16 +110,36 @@ dependencies:
|
|
|
130
110
|
name: ldp
|
|
131
111
|
requirement: !ruby/object:Gem::Requirement
|
|
132
112
|
requirements:
|
|
133
|
-
- - "
|
|
113
|
+
- - ">="
|
|
134
114
|
- !ruby/object:Gem::Version
|
|
135
115
|
version: 0.7.0
|
|
116
|
+
- - "<"
|
|
117
|
+
- !ruby/object:Gem::Version
|
|
118
|
+
version: '2'
|
|
136
119
|
type: :runtime
|
|
137
120
|
prerelease: false
|
|
138
121
|
version_requirements: !ruby/object:Gem::Requirement
|
|
139
122
|
requirements:
|
|
140
|
-
- - "
|
|
123
|
+
- - ">="
|
|
141
124
|
- !ruby/object:Gem::Version
|
|
142
125
|
version: 0.7.0
|
|
126
|
+
- - "<"
|
|
127
|
+
- !ruby/object:Gem::Version
|
|
128
|
+
version: '2'
|
|
129
|
+
- !ruby/object:Gem::Dependency
|
|
130
|
+
name: rdf-vocab
|
|
131
|
+
requirement: !ruby/object:Gem::Requirement
|
|
132
|
+
requirements:
|
|
133
|
+
- - "<"
|
|
134
|
+
- !ruby/object:Gem::Version
|
|
135
|
+
version: 3.1.5
|
|
136
|
+
type: :runtime
|
|
137
|
+
prerelease: false
|
|
138
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
139
|
+
requirements:
|
|
140
|
+
- - "<"
|
|
141
|
+
- !ruby/object:Gem::Version
|
|
142
|
+
version: 3.1.5
|
|
143
143
|
- !ruby/object:Gem::Dependency
|
|
144
144
|
name: ruby-progressbar
|
|
145
145
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -160,14 +160,14 @@ dependencies:
|
|
|
160
160
|
requirements:
|
|
161
161
|
- - "~>"
|
|
162
162
|
- !ruby/object:Gem::Version
|
|
163
|
-
version: 0.12
|
|
163
|
+
version: '0.12'
|
|
164
164
|
type: :runtime
|
|
165
165
|
prerelease: false
|
|
166
166
|
version_requirements: !ruby/object:Gem::Requirement
|
|
167
167
|
requirements:
|
|
168
168
|
- - "~>"
|
|
169
169
|
- !ruby/object:Gem::Version
|
|
170
|
-
version: 0.12
|
|
170
|
+
version: '0.12'
|
|
171
171
|
- !ruby/object:Gem::Dependency
|
|
172
172
|
name: faraday-encoding
|
|
173
173
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -328,14 +328,14 @@ dependencies:
|
|
|
328
328
|
requirements:
|
|
329
329
|
- - "~>"
|
|
330
330
|
- !ruby/object:Gem::Version
|
|
331
|
-
version: 0.
|
|
331
|
+
version: 0.56.0
|
|
332
332
|
type: :development
|
|
333
333
|
prerelease: false
|
|
334
334
|
version_requirements: !ruby/object:Gem::Requirement
|
|
335
335
|
requirements:
|
|
336
336
|
- - "~>"
|
|
337
337
|
- !ruby/object:Gem::Version
|
|
338
|
-
version: 0.
|
|
338
|
+
version: 0.56.0
|
|
339
339
|
- !ruby/object:Gem::Dependency
|
|
340
340
|
name: rubocop-rspec
|
|
341
341
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -360,6 +360,7 @@ extra_rdoc_files:
|
|
|
360
360
|
- LICENSE
|
|
361
361
|
- README.md
|
|
362
362
|
files:
|
|
363
|
+
- ".circleci/config.yml"
|
|
363
364
|
- ".gitignore"
|
|
364
365
|
- ".gitmodules"
|
|
365
366
|
- ".mailmap"
|
|
@@ -367,7 +368,7 @@ files:
|
|
|
367
368
|
- ".rubocop.yml"
|
|
368
369
|
- ".rubocop_todo.yml"
|
|
369
370
|
- ".solr_wrapper"
|
|
370
|
-
-
|
|
371
|
+
- CODE_OF_CONDUCT.md
|
|
371
372
|
- CONTRIBUTING.md
|
|
372
373
|
- CONTRIBUTORS.md
|
|
373
374
|
- Gemfile
|
|
@@ -375,6 +376,7 @@ files:
|
|
|
375
376
|
- LICENSE
|
|
376
377
|
- README.md
|
|
377
378
|
- Rakefile
|
|
379
|
+
- SUPPORT.md
|
|
378
380
|
- active-fedora.gemspec
|
|
379
381
|
- config/fedora.yml
|
|
380
382
|
- config/service_mappings.yml
|
|
@@ -506,6 +508,7 @@ files:
|
|
|
506
508
|
- lib/active_fedora/orders/target_proxy.rb
|
|
507
509
|
- lib/active_fedora/pathing.rb
|
|
508
510
|
- lib/active_fedora/persistence.rb
|
|
511
|
+
- lib/active_fedora/persistence/null_identifier_service.rb
|
|
509
512
|
- lib/active_fedora/property.rb
|
|
510
513
|
- lib/active_fedora/query_result_builder.rb
|
|
511
514
|
- lib/active_fedora/querying.rb
|
|
@@ -565,22 +568,22 @@ files:
|
|
|
565
568
|
- lib/generators/active_fedora/config/solr/solr_generator.rb
|
|
566
569
|
- lib/generators/active_fedora/config/solr/templates/.solr_wrapper.yml
|
|
567
570
|
- lib/generators/active_fedora/config/solr/templates/solr.yml
|
|
568
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
569
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
570
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
571
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
572
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
573
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
574
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
575
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
576
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
577
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
578
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
579
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
580
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
581
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
582
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
583
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
571
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/_rest_managed.json
|
|
572
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/admin-extra.html
|
|
573
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/elevate.xml
|
|
574
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/mapping-ISOLatin1Accent.txt
|
|
575
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/protwords.txt
|
|
576
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/schema.xml
|
|
577
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/scripts.conf
|
|
578
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/solrconfig.xml
|
|
579
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/spellings.txt
|
|
580
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/stopwords.txt
|
|
581
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/stopwords_en.txt
|
|
582
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/synonyms.txt
|
|
583
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/xslt/example.xsl
|
|
584
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/xslt/example_atom.xsl
|
|
585
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/xslt/example_rss.xsl
|
|
586
|
+
- lib/generators/active_fedora/config/solr/templates/solr/conf/xslt/luke.xsl
|
|
584
587
|
- lib/generators/active_fedora/config/solr/templates/solr_wrapper_test.yml
|
|
585
588
|
- lib/generators/active_fedora/model/USAGE
|
|
586
589
|
- lib/generators/active_fedora/model/model_generator.rb
|
|
@@ -724,7 +727,7 @@ files:
|
|
|
724
727
|
- spec/unit/validations_spec.rb
|
|
725
728
|
- spec/unit/with_metadata/default_metadata_class_factory_spec.rb
|
|
726
729
|
- spec/unit/with_metadata/metadata_node_spec.rb
|
|
727
|
-
homepage: https://github.com/
|
|
730
|
+
homepage: https://github.com/samvera/active_fedora
|
|
728
731
|
licenses:
|
|
729
732
|
- Apache-2.0
|
|
730
733
|
metadata: {}
|
|
@@ -743,8 +746,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
743
746
|
- !ruby/object:Gem::Version
|
|
744
747
|
version: '0'
|
|
745
748
|
requirements: []
|
|
746
|
-
|
|
747
|
-
rubygems_version: 2.6.13
|
|
749
|
+
rubygems_version: 3.1.4
|
|
748
750
|
signing_key:
|
|
749
751
|
specification_version: 4
|
|
750
752
|
summary: A convenience libary for manipulating documents in the Fedora Repository.
|