active-fedora 12.0.3 → 12.2.3
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 +4 -4
- data/.circleci/config.yml +23 -7
- 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 -1
- data/History.txt +29 -29
- data/LICENSE +16 -14
- data/README.md +40 -29
- data/SUPPORT.md +5 -0
- data/active-fedora.gemspec +8 -8
- data/lib/active_fedora.rb +1 -1
- data/lib/active_fedora/aggregation/list_source.rb +13 -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 +4 -4
- 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 +10 -8
- 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/validations_spec.rb +18 -0
- metadata +57 -60
|
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
|
|
|
@@ -17,11 +24,6 @@ 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)
|
|
@@ -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.3
|
|
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: 2021-03-25 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
|
|
@@ -188,20 +188,14 @@ dependencies:
|
|
|
188
188
|
requirements:
|
|
189
189
|
- - ">="
|
|
190
190
|
- !ruby/object:Gem::Version
|
|
191
|
-
version: '
|
|
192
|
-
- - "<"
|
|
193
|
-
- !ruby/object:Gem::Version
|
|
194
|
-
version: '5.2'
|
|
191
|
+
version: '0'
|
|
195
192
|
type: :development
|
|
196
193
|
prerelease: false
|
|
197
194
|
version_requirements: !ruby/object:Gem::Requirement
|
|
198
195
|
requirements:
|
|
199
196
|
- - ">="
|
|
200
197
|
- !ruby/object:Gem::Version
|
|
201
|
-
version: '
|
|
202
|
-
- - "<"
|
|
203
|
-
- !ruby/object:Gem::Version
|
|
204
|
-
version: '5.2'
|
|
198
|
+
version: '0'
|
|
205
199
|
- !ruby/object:Gem::Dependency
|
|
206
200
|
name: rdoc
|
|
207
201
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -334,14 +328,14 @@ dependencies:
|
|
|
334
328
|
requirements:
|
|
335
329
|
- - "~>"
|
|
336
330
|
- !ruby/object:Gem::Version
|
|
337
|
-
version: 0.
|
|
331
|
+
version: 0.56.0
|
|
338
332
|
type: :development
|
|
339
333
|
prerelease: false
|
|
340
334
|
version_requirements: !ruby/object:Gem::Requirement
|
|
341
335
|
requirements:
|
|
342
336
|
- - "~>"
|
|
343
337
|
- !ruby/object:Gem::Version
|
|
344
|
-
version: 0.
|
|
338
|
+
version: 0.56.0
|
|
345
339
|
- !ruby/object:Gem::Dependency
|
|
346
340
|
name: rubocop-rspec
|
|
347
341
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -374,6 +368,7 @@ files:
|
|
|
374
368
|
- ".rubocop.yml"
|
|
375
369
|
- ".rubocop_todo.yml"
|
|
376
370
|
- ".solr_wrapper"
|
|
371
|
+
- CODE_OF_CONDUCT.md
|
|
377
372
|
- CONTRIBUTING.md
|
|
378
373
|
- CONTRIBUTORS.md
|
|
379
374
|
- Gemfile
|
|
@@ -381,6 +376,7 @@ files:
|
|
|
381
376
|
- LICENSE
|
|
382
377
|
- README.md
|
|
383
378
|
- Rakefile
|
|
379
|
+
- SUPPORT.md
|
|
384
380
|
- active-fedora.gemspec
|
|
385
381
|
- config/fedora.yml
|
|
386
382
|
- config/service_mappings.yml
|
|
@@ -512,6 +508,7 @@ files:
|
|
|
512
508
|
- lib/active_fedora/orders/target_proxy.rb
|
|
513
509
|
- lib/active_fedora/pathing.rb
|
|
514
510
|
- lib/active_fedora/persistence.rb
|
|
511
|
+
- lib/active_fedora/persistence/null_identifier_service.rb
|
|
515
512
|
- lib/active_fedora/property.rb
|
|
516
513
|
- lib/active_fedora/query_result_builder.rb
|
|
517
514
|
- lib/active_fedora/querying.rb
|
|
@@ -571,22 +568,22 @@ files:
|
|
|
571
568
|
- lib/generators/active_fedora/config/solr/solr_generator.rb
|
|
572
569
|
- lib/generators/active_fedora/config/solr/templates/.solr_wrapper.yml
|
|
573
570
|
- lib/generators/active_fedora/config/solr/templates/solr.yml
|
|
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/
|
|
584
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
585
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
586
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
587
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
588
|
-
- lib/generators/active_fedora/config/solr/templates/solr/
|
|
589
|
-
- 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
|
|
590
587
|
- lib/generators/active_fedora/config/solr/templates/solr_wrapper_test.yml
|
|
591
588
|
- lib/generators/active_fedora/model/USAGE
|
|
592
589
|
- lib/generators/active_fedora/model/model_generator.rb
|
|
@@ -730,7 +727,7 @@ files:
|
|
|
730
727
|
- spec/unit/validations_spec.rb
|
|
731
728
|
- spec/unit/with_metadata/default_metadata_class_factory_spec.rb
|
|
732
729
|
- spec/unit/with_metadata/metadata_node_spec.rb
|
|
733
|
-
homepage: https://github.com/
|
|
730
|
+
homepage: https://github.com/samvera/active_fedora
|
|
734
731
|
licenses:
|
|
735
732
|
- Apache-2.0
|
|
736
733
|
metadata: {}
|
|
@@ -749,7 +746,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
749
746
|
- !ruby/object:Gem::Version
|
|
750
747
|
version: '0'
|
|
751
748
|
requirements: []
|
|
752
|
-
rubygems_version: 3.
|
|
749
|
+
rubygems_version: 3.1.4
|
|
753
750
|
signing_key:
|
|
754
751
|
specification_version: 4
|
|
755
752
|
summary: A convenience libary for manipulating documents in the Fedora Repository.
|