active-fedora 12.2.2 → 13.1.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 +19 -15
- data/.github_changelog_generator +2 -0
- data/CHANGELOG.md +3362 -0
- data/CONTRIBUTING.md +23 -1
- data/README.md +4 -0
- data/active-fedora.gemspec +14 -14
- data/lib/active_fedora/aggregation/list_source.rb +4 -2
- data/lib/active_fedora/attributes.rb +20 -1
- data/lib/active_fedora/file.rb +0 -5
- data/lib/active_fedora/version.rb +1 -1
- data/lib/active_fedora/with_metadata/metadata_node.rb +1 -1
- data/lib/generators/active_fedora/config/solr/solr_generator.rb +1 -1
- metadata +92 -220
- data/spec/config_helper.rb +0 -17
- data/spec/fixtures/dino.jpg +0 -0
- data/spec/fixtures/dino_jpg_no_file_ext +0 -0
- data/spec/fixtures/minivan.jpg +0 -0
- data/spec/fixtures/rails_root/config/fake_fedora.yml +0 -7
- data/spec/fixtures/rails_root/config/fedora.yml +0 -12
- data/spec/fixtures/rails_root/config/solr.yml +0 -15
- data/spec/fixtures/rails_root/config/solr_mappings.yml +0 -16
- data/spec/fixtures/rails_root/config/solr_mappings_af_0.1.yml +0 -9
- data/spec/fixtures/rails_root/config/solr_mappings_bl_2.4.yml +0 -17
- data/spec/integration/associations/rdf_spec.rb +0 -61
- data/spec/integration/associations_spec.rb +0 -680
- data/spec/integration/attached_files_spec.rb +0 -146
- data/spec/integration/attributes_spec.rb +0 -73
- data/spec/integration/autosave_association_spec.rb +0 -24
- data/spec/integration/base_spec.rb +0 -184
- data/spec/integration/basic_contains_association_spec.rb +0 -121
- data/spec/integration/belongs_to_association_spec.rb +0 -260
- data/spec/integration/caching_spec.rb +0 -59
- data/spec/integration/clean_connection_spec.rb +0 -21
- data/spec/integration/collection_association_spec.rb +0 -166
- data/spec/integration/date_time_properties_spec.rb +0 -41
- data/spec/integration/delete_all_spec.rb +0 -64
- data/spec/integration/direct_container_spec.rb +0 -250
- data/spec/integration/directly_contains_one_association_spec.rb +0 -96
- data/spec/integration/eradicate_spec.rb +0 -52
- data/spec/integration/fedora_solr_sync_spec.rb +0 -30
- data/spec/integration/file_fixity_spec.rb +0 -36
- data/spec/integration/file_spec.rb +0 -221
- data/spec/integration/generators/fedora_generator_spec.rb +0 -26
- data/spec/integration/generators/solr_generator_spec.rb +0 -23
- data/spec/integration/gone_spec.rb +0 -41
- data/spec/integration/has_and_belongs_to_many_associations_spec.rb +0 -414
- data/spec/integration/has_many_associations_spec.rb +0 -436
- data/spec/integration/has_subresource_spec.rb +0 -34
- data/spec/integration/indexing/descendant_fetcher_spec.rb +0 -64
- data/spec/integration/indexing_spec.rb +0 -110
- data/spec/integration/indirect_container_spec.rb +0 -290
- data/spec/integration/json_serialization_spec.rb +0 -32
- data/spec/integration/marshal_spec.rb +0 -39
- data/spec/integration/nested_attribute_spec.rb +0 -177
- data/spec/integration/nested_hash_resources_spec.rb +0 -43
- data/spec/integration/persistence_spec.rb +0 -37
- data/spec/integration/query_result_builder_spec.rb +0 -37
- data/spec/integration/rdf_nested_attributes_spec.rb +0 -85
- data/spec/integration/relation_delegation_spec.rb +0 -52
- data/spec/integration/relation_spec.rb +0 -117
- data/spec/integration/scoped_query_spec.rb +0 -134
- data/spec/integration/scoping_spec.rb +0 -48
- data/spec/integration/solr_hit_spec.rb +0 -32
- data/spec/integration/versionable_spec.rb +0 -256
- data/spec/integration/with_metadata_spec.rb +0 -111
- data/spec/lib/active_fedora/null_logger_spec.rb +0 -10
- data/spec/rcov.opts +0 -2
- data/spec/spec.opts +0 -5
- data/spec/spec_helper.rb +0 -106
- data/spec/support/an_active_model.rb +0 -29
- data/spec/unit/active_fedora/indexing/inserter_spec.rb +0 -35
- data/spec/unit/active_fedora_spec.rb +0 -118
- data/spec/unit/aggregation/list_source_spec.rb +0 -134
- data/spec/unit/aggregation/ordered_reader_spec.rb +0 -43
- data/spec/unit/association_hash_spec.rb +0 -64
- data/spec/unit/attached_files_spec.rb +0 -218
- data/spec/unit/attributes_spec.rb +0 -146
- data/spec/unit/base_active_model_spec.rb +0 -28
- data/spec/unit/base_cma_spec.rb +0 -15
- data/spec/unit/base_extra_spec.rb +0 -33
- data/spec/unit/base_spec.rb +0 -328
- data/spec/unit/builder/has_and_belongs_to_many_spec.rb +0 -8
- data/spec/unit/callback_spec.rb +0 -65
- data/spec/unit/change_set_spec.rb +0 -60
- data/spec/unit/checksum_spec.rb +0 -25
- data/spec/unit/code_configurator_spec.rb +0 -41
- data/spec/unit/collection_proxy_spec.rb +0 -25
- data/spec/unit/config_spec.rb +0 -18
- data/spec/unit/core/fedora_id_translator_spec.rb +0 -29
- data/spec/unit/core/fedora_uri_translator_spec.rb +0 -19
- data/spec/unit/core/logger_spec.rb +0 -18
- data/spec/unit/core_spec.rb +0 -242
- data/spec/unit/default_model_mapper_spec.rb +0 -39
- data/spec/unit/fedora_spec.rb +0 -31
- data/spec/unit/file/streaming_spec.rb +0 -33
- data/spec/unit/file_configurator_spec.rb +0 -295
- data/spec/unit/file_io_spec.rb +0 -137
- data/spec/unit/file_path_builder_spec.rb +0 -18
- data/spec/unit/file_spec.rb +0 -489
- data/spec/unit/files_hash_spec.rb +0 -52
- data/spec/unit/filter_spec.rb +0 -133
- data/spec/unit/finder_methods_spec.rb +0 -154
- data/spec/unit/fixity_service_spec.rb +0 -128
- data/spec/unit/forbidden_attributes_protection_spec.rb +0 -50
- data/spec/unit/has_and_belongs_to_many_association_spec.rb +0 -125
- data/spec/unit/has_many_association_spec.rb +0 -131
- data/spec/unit/indexers/global_indexer_spec.rb +0 -41
- data/spec/unit/indexing/map/index_object_spec.rb +0 -25
- data/spec/unit/indexing/map_spec.rb +0 -27
- data/spec/unit/indexing_service_spec.rb +0 -28
- data/spec/unit/indexing_spec.rb +0 -86
- data/spec/unit/inheritance_spec.rb +0 -60
- data/spec/unit/ldp_resource_spec.rb +0 -15
- data/spec/unit/loadable_from_json_spec.rb +0 -40
- data/spec/unit/logger_spec.rb +0 -19
- data/spec/unit/model_classifier_spec.rb +0 -49
- data/spec/unit/ordered_spec.rb +0 -367
- data/spec/unit/orders/list_node_spec.rb +0 -151
- data/spec/unit/orders/ordered_list_spec.rb +0 -335
- data/spec/unit/orders/reflection_spec.rb +0 -22
- data/spec/unit/pathing_spec.rb +0 -35
- data/spec/unit/persistence_spec.rb +0 -115
- data/spec/unit/property_predicate_spec.rb +0 -35
- data/spec/unit/property_spec.rb +0 -25
- data/spec/unit/query_result_builder_spec.rb +0 -31
- data/spec/unit/query_spec.rb +0 -307
- data/spec/unit/querying_spec.rb +0 -24
- data/spec/unit/rdf/indexing_service_spec.rb +0 -114
- data/spec/unit/rdf_vocab_spec.rb +0 -30
- data/spec/unit/readonly_spec.rb +0 -24
- data/spec/unit/reflection_spec.rb +0 -42
- data/spec/unit/rspec_matchers/belong_to_associated_active_fedora_object_matcher_spec.rb +0 -37
- data/spec/unit/rspec_matchers/have_many_associated_active_fedora_objects_matcher_spec.rb +0 -38
- data/spec/unit/rspec_matchers/have_predicate_matcher_spec.rb +0 -38
- data/spec/unit/schema_indexing_strategy_spec.rb +0 -68
- data/spec/unit/scoping_spec.rb +0 -67
- data/spec/unit/serializers_spec.rb +0 -19
- data/spec/unit/solr_config_options_spec.rb +0 -57
- data/spec/unit/solr_hit_spec.rb +0 -57
- data/spec/unit/solr_query_builder_spec.rb +0 -18
- data/spec/unit/solr_service_spec.rb +0 -165
- data/spec/unit/sparql_insert_spec.rb +0 -31
- data/spec/unit/validations_spec.rb +0 -92
- data/spec/unit/with_metadata/default_metadata_class_factory_spec.rb +0 -29
- data/spec/unit/with_metadata/metadata_node_spec.rb +0 -69
data/CONTRIBUTING.md
CHANGED
|
@@ -22,6 +22,28 @@ https://wiki.duraspace.org/display/samvera/Samvera+Community+Intellectual+Proper
|
|
|
22
22
|
|
|
23
23
|
You should also add yourself to the `CONTRIBUTORS.md` file in the root of the project.
|
|
24
24
|
|
|
25
|
+
## Language
|
|
26
|
+
|
|
27
|
+
The language we use matters. Today, tomorrow, and for years to come
|
|
28
|
+
people will read the code we write. They will judge us for our
|
|
29
|
+
design, logic, and the words we use to describe the system.
|
|
30
|
+
|
|
31
|
+
Our words should be accessible. Favor descriptive words that give
|
|
32
|
+
meaning while avoiding reinforcing systemic inequities. For example,
|
|
33
|
+
in the Samvera community, we should favor using allowed\_list instead
|
|
34
|
+
of whitelist, denied\_list instead of blacklist, or source/copy
|
|
35
|
+
instead of master/slave.
|
|
36
|
+
|
|
37
|
+
We're going to get it wrong, but this is a call to keep working to
|
|
38
|
+
make it right. View our code and the words we choose as a chance to
|
|
39
|
+
have a conversation. A chance to grow an understanding of the systems
|
|
40
|
+
we develop as well as the systems in which we live.
|
|
41
|
+
|
|
42
|
+
See [“Blacklists” and “whitelists”: a salutary warning concerning the
|
|
43
|
+
prevalence of racist language in discussions of predatory
|
|
44
|
+
publishing](https://www.ncbi.nlm.nih.gov/pmc/articles/PMC6148600/) for
|
|
45
|
+
further details.
|
|
46
|
+
|
|
25
47
|
## Contribution Tasks
|
|
26
48
|
|
|
27
49
|
* Reporting Issues
|
|
@@ -34,7 +56,7 @@ You should also add yourself to the `CONTRIBUTORS.md` file in the root of the pr
|
|
|
34
56
|
### Reporting Issues
|
|
35
57
|
|
|
36
58
|
* Make sure you have a [GitHub account](https://github.com/signup/free)
|
|
37
|
-
* Submit a [Github issue](https://github.com/samvera/
|
|
59
|
+
* Submit a [Github issue](https://github.com/samvera/{{library}}/issues/) by:
|
|
38
60
|
* Clearly describing the issue
|
|
39
61
|
* Provide a descriptive summary
|
|
40
62
|
* Explain the expected behavior
|
data/README.md
CHANGED
|
@@ -101,6 +101,10 @@ is installed, run:
|
|
|
101
101
|
rake spec
|
|
102
102
|
```
|
|
103
103
|
|
|
104
|
+
# Release Process
|
|
105
|
+
|
|
106
|
+
The [release process](https://github.com/samvera/active_fedora/wiki/Release-management-process) is documented on the wiki.
|
|
107
|
+
|
|
104
108
|
# Acknowledgments
|
|
105
109
|
|
|
106
110
|
This software has been developed by and is brought to you by the Samvera community. Learn more at the
|
data/active-fedora.gemspec
CHANGED
|
@@ -12,34 +12,34 @@ Gem::Specification.new do |s|
|
|
|
12
12
|
s.summary = %q{A convenience libary for manipulating documents in the Fedora Repository.}
|
|
13
13
|
s.description = %q{ActiveFedora provides for creating and managing objects in the Fedora Repository Architecture.}
|
|
14
14
|
s.license = "Apache-2.0"
|
|
15
|
-
s.required_ruby_version = '~> 2.
|
|
15
|
+
s.required_ruby_version = '~> 2.4'
|
|
16
16
|
|
|
17
|
-
s.add_dependency
|
|
18
|
-
s.add_dependency "activesupport", '>=
|
|
19
|
-
s.add_dependency "activemodel", '>= 4.2.10', '< 5.3'
|
|
17
|
+
s.add_dependency "activemodel", '>= 5.1'
|
|
18
|
+
s.add_dependency "activesupport", '>= 5.1'
|
|
20
19
|
s.add_dependency "active-triples", '>= 0.11.0', '< 2.0.0'
|
|
21
20
|
s.add_dependency "deprecation"
|
|
21
|
+
s.add_dependency 'faraday', '~> 0.12'
|
|
22
|
+
s.add_dependency 'faraday-encoding', '>= 0.0.5'
|
|
22
23
|
s.add_dependency "ldp", '>= 0.7.0', '< 2'
|
|
23
24
|
s.add_dependency 'rdf-vocab', '< 3.1.5'
|
|
25
|
+
s.add_dependency 'rsolr', '>= 1.1.2', '< 3'
|
|
24
26
|
s.add_dependency "ruby-progressbar", '~> 1.0'
|
|
25
|
-
s.add_dependency 'faraday', '~> 0.12'
|
|
26
|
-
s.add_dependency 'faraday-encoding', '0.0.4'
|
|
27
27
|
|
|
28
|
-
s.add_development_dependency "
|
|
28
|
+
s.add_development_dependency "equivalent-xml"
|
|
29
|
+
s.add_development_dependency 'fcrepo_wrapper', '~> 0.2'
|
|
30
|
+
s.add_development_dependency "github_changelog_generator"
|
|
29
31
|
s.add_development_dependency "rdoc"
|
|
30
|
-
s.add_development_dependency "
|
|
32
|
+
s.add_development_dependency "rails"
|
|
31
33
|
s.add_development_dependency "rake"
|
|
32
|
-
s.add_development_dependency "solr_wrapper", "~> 2.0"
|
|
33
|
-
s.add_development_dependency 'fcrepo_wrapper', '~> 0.2'
|
|
34
34
|
s.add_development_dependency "rspec", "~> 3.5"
|
|
35
35
|
s.add_development_dependency "rspec-its"
|
|
36
|
-
s.add_development_dependency "equivalent-xml"
|
|
37
|
-
s.add_development_dependency "simplecov", '~> 0.8'
|
|
38
36
|
s.add_development_dependency "rubocop", '~> 0.56.0'
|
|
39
37
|
s.add_development_dependency "rubocop-rspec", '~> 1.12.0'
|
|
38
|
+
s.add_development_dependency "simplecov", '~> 0.8'
|
|
39
|
+
s.add_development_dependency "solr_wrapper", "~> 2.0"
|
|
40
|
+
s.add_development_dependency "yard"
|
|
40
41
|
|
|
41
|
-
s.files = `git ls-files`.split(
|
|
42
|
-
s.test_files = `git ls-files -- {spec}/*`.split("\n")
|
|
42
|
+
s.files = `git ls-files`.split($OUTPUT_RECORD_SEPARATOR).select { |f| File.dirname(f) !~ %r{\A"?spec\/?} }
|
|
43
43
|
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
|
44
44
|
s.extra_rdoc_files = [
|
|
45
45
|
"LICENSE",
|
|
@@ -12,9 +12,11 @@ module ActiveFedora
|
|
|
12
12
|
super
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
-
|
|
16
|
-
#
|
|
15
|
+
##
|
|
16
|
+
# @deprecated use #changes_applied instead
|
|
17
17
|
def clear_changed_attributes
|
|
18
|
+
Deprecation.warn self.class, "#clear_changed_attributes is deprecated, use ActiveModel::Dirty#changes_applied instead."
|
|
19
|
+
|
|
18
20
|
clear_changes_information
|
|
19
21
|
end
|
|
20
22
|
|
|
@@ -9,11 +9,30 @@ module ActiveFedora
|
|
|
9
9
|
include Serializers
|
|
10
10
|
include PrimaryKey
|
|
11
11
|
|
|
12
|
-
after_save :
|
|
12
|
+
after_save :clear_changed_attributes_or_changes_applied
|
|
13
|
+
# @deprecated use #changes_applied instead
|
|
13
14
|
def clear_changed_attributes
|
|
15
|
+
Deprecation.warn ActiveFedora::Attributes, "#clear_changed_attributes is deprecated, use ActiveModel::Dirty#changes_applied instead."
|
|
14
16
|
@previously_changed = changes
|
|
15
17
|
clear_attribute_changes(changes.keys)
|
|
16
18
|
end
|
|
19
|
+
|
|
20
|
+
##
|
|
21
|
+
# Call the deprecated method
|
|
22
|
+
#
|
|
23
|
+
# @deprecated use #changes_applied instead
|
|
24
|
+
# @api private
|
|
25
|
+
def clear_changed_attributes_or_changes_applied
|
|
26
|
+
return changes_applied if
|
|
27
|
+
method(:clear_changed_attributes).super_method.nil? ||
|
|
28
|
+
method(:clear_changed_attributes).owner == ActiveFedora::Aggregation::ListSource
|
|
29
|
+
|
|
30
|
+
Deprecation.warn self.class, "after_save callbacks to #clear_changed_attributes are deprecated. " /
|
|
31
|
+
"These calls will be removed in 14.0.0. If you are running Rails 6.0, " /
|
|
32
|
+
"it's likely your #clear_changed_attributes implementation is in " /
|
|
33
|
+
"conflict with new ActiveModel::Dirty behavior."
|
|
34
|
+
clear_changed_attributes
|
|
35
|
+
end
|
|
17
36
|
end
|
|
18
37
|
|
|
19
38
|
def attribute_names
|
data/lib/active_fedora/file.rb
CHANGED
|
@@ -97,11 +97,6 @@ module ActiveFedora
|
|
|
97
97
|
attribute_will_change! :ldp_source
|
|
98
98
|
end
|
|
99
99
|
|
|
100
|
-
def attribute_will_change!(attr)
|
|
101
|
-
return super unless attr == 'content'
|
|
102
|
-
attributes_changed_by_setter[:content] = true
|
|
103
|
-
end
|
|
104
|
-
|
|
105
100
|
def remote_content
|
|
106
101
|
return if new_record?
|
|
107
102
|
@ds_content ||= retrieve_content
|
|
@@ -15,7 +15,7 @@ module ActiveFedora
|
|
|
15
15
|
@file = file
|
|
16
16
|
super(file.uri, ldp_source.graph)
|
|
17
17
|
return unless self.class.type && !type.include?(self.class.type)
|
|
18
|
-
|
|
18
|
+
attribute_will_change!(:type) if type.present?
|
|
19
19
|
# Workaround for https://github.com/ActiveTriples/ActiveTriples/issues/123
|
|
20
20
|
get_values(:type) << self.class.type
|
|
21
21
|
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:
|
|
4
|
+
version: 13.1.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Zumwalt
|
|
@@ -10,102 +10,98 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2020-06-
|
|
13
|
+
date: 2020-06-29 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
|
-
name:
|
|
16
|
+
name: activemodel
|
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
|
18
18
|
requirements:
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version:
|
|
22
|
-
- - "<"
|
|
23
|
-
- !ruby/object:Gem::Version
|
|
24
|
-
version: '3'
|
|
21
|
+
version: '5.1'
|
|
25
22
|
type: :runtime
|
|
26
23
|
prerelease: false
|
|
27
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
28
25
|
requirements:
|
|
29
26
|
- - ">="
|
|
30
27
|
- !ruby/object:Gem::Version
|
|
31
|
-
version:
|
|
32
|
-
- - "<"
|
|
33
|
-
- !ruby/object:Gem::Version
|
|
34
|
-
version: '3'
|
|
28
|
+
version: '5.1'
|
|
35
29
|
- !ruby/object:Gem::Dependency
|
|
36
30
|
name: activesupport
|
|
37
31
|
requirement: !ruby/object:Gem::Requirement
|
|
38
32
|
requirements:
|
|
39
33
|
- - ">="
|
|
40
34
|
- !ruby/object:Gem::Version
|
|
41
|
-
version:
|
|
42
|
-
- - "<"
|
|
43
|
-
- !ruby/object:Gem::Version
|
|
44
|
-
version: '5.3'
|
|
35
|
+
version: '5.1'
|
|
45
36
|
type: :runtime
|
|
46
37
|
prerelease: false
|
|
47
38
|
version_requirements: !ruby/object:Gem::Requirement
|
|
48
39
|
requirements:
|
|
49
40
|
- - ">="
|
|
50
41
|
- !ruby/object:Gem::Version
|
|
51
|
-
version:
|
|
52
|
-
- - "<"
|
|
53
|
-
- !ruby/object:Gem::Version
|
|
54
|
-
version: '5.3'
|
|
42
|
+
version: '5.1'
|
|
55
43
|
- !ruby/object:Gem::Dependency
|
|
56
|
-
name:
|
|
44
|
+
name: active-triples
|
|
57
45
|
requirement: !ruby/object:Gem::Requirement
|
|
58
46
|
requirements:
|
|
59
47
|
- - ">="
|
|
60
48
|
- !ruby/object:Gem::Version
|
|
61
|
-
version:
|
|
49
|
+
version: 0.11.0
|
|
62
50
|
- - "<"
|
|
63
51
|
- !ruby/object:Gem::Version
|
|
64
|
-
version:
|
|
52
|
+
version: 2.0.0
|
|
65
53
|
type: :runtime
|
|
66
54
|
prerelease: false
|
|
67
55
|
version_requirements: !ruby/object:Gem::Requirement
|
|
68
56
|
requirements:
|
|
69
57
|
- - ">="
|
|
70
58
|
- !ruby/object:Gem::Version
|
|
71
|
-
version:
|
|
59
|
+
version: 0.11.0
|
|
72
60
|
- - "<"
|
|
73
61
|
- !ruby/object:Gem::Version
|
|
74
|
-
version:
|
|
62
|
+
version: 2.0.0
|
|
75
63
|
- !ruby/object:Gem::Dependency
|
|
76
|
-
name:
|
|
64
|
+
name: deprecation
|
|
77
65
|
requirement: !ruby/object:Gem::Requirement
|
|
78
66
|
requirements:
|
|
79
67
|
- - ">="
|
|
80
68
|
- !ruby/object:Gem::Version
|
|
81
|
-
version: 0
|
|
82
|
-
- - "<"
|
|
83
|
-
- !ruby/object:Gem::Version
|
|
84
|
-
version: 2.0.0
|
|
69
|
+
version: '0'
|
|
85
70
|
type: :runtime
|
|
86
71
|
prerelease: false
|
|
87
72
|
version_requirements: !ruby/object:Gem::Requirement
|
|
88
73
|
requirements:
|
|
89
74
|
- - ">="
|
|
90
75
|
- !ruby/object:Gem::Version
|
|
91
|
-
version: 0
|
|
92
|
-
|
|
76
|
+
version: '0'
|
|
77
|
+
- !ruby/object:Gem::Dependency
|
|
78
|
+
name: faraday
|
|
79
|
+
requirement: !ruby/object:Gem::Requirement
|
|
80
|
+
requirements:
|
|
81
|
+
- - "~>"
|
|
93
82
|
- !ruby/object:Gem::Version
|
|
94
|
-
version:
|
|
83
|
+
version: '0.12'
|
|
84
|
+
type: :runtime
|
|
85
|
+
prerelease: false
|
|
86
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
87
|
+
requirements:
|
|
88
|
+
- - "~>"
|
|
89
|
+
- !ruby/object:Gem::Version
|
|
90
|
+
version: '0.12'
|
|
95
91
|
- !ruby/object:Gem::Dependency
|
|
96
|
-
name:
|
|
92
|
+
name: faraday-encoding
|
|
97
93
|
requirement: !ruby/object:Gem::Requirement
|
|
98
94
|
requirements:
|
|
99
95
|
- - ">="
|
|
100
96
|
- !ruby/object:Gem::Version
|
|
101
|
-
version:
|
|
97
|
+
version: 0.0.5
|
|
102
98
|
type: :runtime
|
|
103
99
|
prerelease: false
|
|
104
100
|
version_requirements: !ruby/object:Gem::Requirement
|
|
105
101
|
requirements:
|
|
106
102
|
- - ">="
|
|
107
103
|
- !ruby/object:Gem::Version
|
|
108
|
-
version:
|
|
104
|
+
version: 0.0.5
|
|
109
105
|
- !ruby/object:Gem::Dependency
|
|
110
106
|
name: ldp
|
|
111
107
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -140,6 +136,26 @@ dependencies:
|
|
|
140
136
|
- - "<"
|
|
141
137
|
- !ruby/object:Gem::Version
|
|
142
138
|
version: 3.1.5
|
|
139
|
+
- !ruby/object:Gem::Dependency
|
|
140
|
+
name: rsolr
|
|
141
|
+
requirement: !ruby/object:Gem::Requirement
|
|
142
|
+
requirements:
|
|
143
|
+
- - ">="
|
|
144
|
+
- !ruby/object:Gem::Version
|
|
145
|
+
version: 1.1.2
|
|
146
|
+
- - "<"
|
|
147
|
+
- !ruby/object:Gem::Version
|
|
148
|
+
version: '3'
|
|
149
|
+
type: :runtime
|
|
150
|
+
prerelease: false
|
|
151
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
152
|
+
requirements:
|
|
153
|
+
- - ">="
|
|
154
|
+
- !ruby/object:Gem::Version
|
|
155
|
+
version: 1.1.2
|
|
156
|
+
- - "<"
|
|
157
|
+
- !ruby/object:Gem::Version
|
|
158
|
+
version: '3'
|
|
143
159
|
- !ruby/object:Gem::Dependency
|
|
144
160
|
name: ruby-progressbar
|
|
145
161
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -155,35 +171,35 @@ dependencies:
|
|
|
155
171
|
- !ruby/object:Gem::Version
|
|
156
172
|
version: '1.0'
|
|
157
173
|
- !ruby/object:Gem::Dependency
|
|
158
|
-
name:
|
|
174
|
+
name: equivalent-xml
|
|
159
175
|
requirement: !ruby/object:Gem::Requirement
|
|
160
176
|
requirements:
|
|
161
|
-
- - "
|
|
177
|
+
- - ">="
|
|
162
178
|
- !ruby/object:Gem::Version
|
|
163
|
-
version: '0
|
|
164
|
-
type: :
|
|
179
|
+
version: '0'
|
|
180
|
+
type: :development
|
|
165
181
|
prerelease: false
|
|
166
182
|
version_requirements: !ruby/object:Gem::Requirement
|
|
167
183
|
requirements:
|
|
168
|
-
- - "
|
|
184
|
+
- - ">="
|
|
169
185
|
- !ruby/object:Gem::Version
|
|
170
|
-
version: '0
|
|
186
|
+
version: '0'
|
|
171
187
|
- !ruby/object:Gem::Dependency
|
|
172
|
-
name:
|
|
188
|
+
name: fcrepo_wrapper
|
|
173
189
|
requirement: !ruby/object:Gem::Requirement
|
|
174
190
|
requirements:
|
|
175
|
-
- -
|
|
191
|
+
- - "~>"
|
|
176
192
|
- !ruby/object:Gem::Version
|
|
177
|
-
version: 0.
|
|
178
|
-
type: :
|
|
193
|
+
version: '0.2'
|
|
194
|
+
type: :development
|
|
179
195
|
prerelease: false
|
|
180
196
|
version_requirements: !ruby/object:Gem::Requirement
|
|
181
197
|
requirements:
|
|
182
|
-
- -
|
|
198
|
+
- - "~>"
|
|
183
199
|
- !ruby/object:Gem::Version
|
|
184
|
-
version: 0.
|
|
200
|
+
version: '0.2'
|
|
185
201
|
- !ruby/object:Gem::Dependency
|
|
186
|
-
name:
|
|
202
|
+
name: github_changelog_generator
|
|
187
203
|
requirement: !ruby/object:Gem::Requirement
|
|
188
204
|
requirements:
|
|
189
205
|
- - ">="
|
|
@@ -211,7 +227,7 @@ dependencies:
|
|
|
211
227
|
- !ruby/object:Gem::Version
|
|
212
228
|
version: '0'
|
|
213
229
|
- !ruby/object:Gem::Dependency
|
|
214
|
-
name:
|
|
230
|
+
name: rails
|
|
215
231
|
requirement: !ruby/object:Gem::Requirement
|
|
216
232
|
requirements:
|
|
217
233
|
- - ">="
|
|
@@ -239,75 +255,61 @@ dependencies:
|
|
|
239
255
|
- !ruby/object:Gem::Version
|
|
240
256
|
version: '0'
|
|
241
257
|
- !ruby/object:Gem::Dependency
|
|
242
|
-
name:
|
|
258
|
+
name: rspec
|
|
243
259
|
requirement: !ruby/object:Gem::Requirement
|
|
244
260
|
requirements:
|
|
245
261
|
- - "~>"
|
|
246
262
|
- !ruby/object:Gem::Version
|
|
247
|
-
version: '
|
|
263
|
+
version: '3.5'
|
|
248
264
|
type: :development
|
|
249
265
|
prerelease: false
|
|
250
266
|
version_requirements: !ruby/object:Gem::Requirement
|
|
251
267
|
requirements:
|
|
252
268
|
- - "~>"
|
|
253
269
|
- !ruby/object:Gem::Version
|
|
254
|
-
version: '
|
|
270
|
+
version: '3.5'
|
|
255
271
|
- !ruby/object:Gem::Dependency
|
|
256
|
-
name:
|
|
272
|
+
name: rspec-its
|
|
257
273
|
requirement: !ruby/object:Gem::Requirement
|
|
258
274
|
requirements:
|
|
259
|
-
- - "
|
|
275
|
+
- - ">="
|
|
260
276
|
- !ruby/object:Gem::Version
|
|
261
|
-
version: '0
|
|
277
|
+
version: '0'
|
|
262
278
|
type: :development
|
|
263
279
|
prerelease: false
|
|
264
280
|
version_requirements: !ruby/object:Gem::Requirement
|
|
265
281
|
requirements:
|
|
266
|
-
- - "
|
|
282
|
+
- - ">="
|
|
267
283
|
- !ruby/object:Gem::Version
|
|
268
|
-
version: '0
|
|
284
|
+
version: '0'
|
|
269
285
|
- !ruby/object:Gem::Dependency
|
|
270
|
-
name:
|
|
286
|
+
name: rubocop
|
|
271
287
|
requirement: !ruby/object:Gem::Requirement
|
|
272
288
|
requirements:
|
|
273
289
|
- - "~>"
|
|
274
290
|
- !ruby/object:Gem::Version
|
|
275
|
-
version:
|
|
291
|
+
version: 0.56.0
|
|
276
292
|
type: :development
|
|
277
293
|
prerelease: false
|
|
278
294
|
version_requirements: !ruby/object:Gem::Requirement
|
|
279
295
|
requirements:
|
|
280
296
|
- - "~>"
|
|
281
297
|
- !ruby/object:Gem::Version
|
|
282
|
-
version:
|
|
283
|
-
- !ruby/object:Gem::Dependency
|
|
284
|
-
name: rspec-its
|
|
285
|
-
requirement: !ruby/object:Gem::Requirement
|
|
286
|
-
requirements:
|
|
287
|
-
- - ">="
|
|
288
|
-
- !ruby/object:Gem::Version
|
|
289
|
-
version: '0'
|
|
290
|
-
type: :development
|
|
291
|
-
prerelease: false
|
|
292
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
293
|
-
requirements:
|
|
294
|
-
- - ">="
|
|
295
|
-
- !ruby/object:Gem::Version
|
|
296
|
-
version: '0'
|
|
298
|
+
version: 0.56.0
|
|
297
299
|
- !ruby/object:Gem::Dependency
|
|
298
|
-
name:
|
|
300
|
+
name: rubocop-rspec
|
|
299
301
|
requirement: !ruby/object:Gem::Requirement
|
|
300
302
|
requirements:
|
|
301
|
-
- - "
|
|
303
|
+
- - "~>"
|
|
302
304
|
- !ruby/object:Gem::Version
|
|
303
|
-
version:
|
|
305
|
+
version: 1.12.0
|
|
304
306
|
type: :development
|
|
305
307
|
prerelease: false
|
|
306
308
|
version_requirements: !ruby/object:Gem::Requirement
|
|
307
309
|
requirements:
|
|
308
|
-
- - "
|
|
310
|
+
- - "~>"
|
|
309
311
|
- !ruby/object:Gem::Version
|
|
310
|
-
version:
|
|
312
|
+
version: 1.12.0
|
|
311
313
|
- !ruby/object:Gem::Dependency
|
|
312
314
|
name: simplecov
|
|
313
315
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -323,33 +325,33 @@ dependencies:
|
|
|
323
325
|
- !ruby/object:Gem::Version
|
|
324
326
|
version: '0.8'
|
|
325
327
|
- !ruby/object:Gem::Dependency
|
|
326
|
-
name:
|
|
328
|
+
name: solr_wrapper
|
|
327
329
|
requirement: !ruby/object:Gem::Requirement
|
|
328
330
|
requirements:
|
|
329
331
|
- - "~>"
|
|
330
332
|
- !ruby/object:Gem::Version
|
|
331
|
-
version:
|
|
333
|
+
version: '2.0'
|
|
332
334
|
type: :development
|
|
333
335
|
prerelease: false
|
|
334
336
|
version_requirements: !ruby/object:Gem::Requirement
|
|
335
337
|
requirements:
|
|
336
338
|
- - "~>"
|
|
337
339
|
- !ruby/object:Gem::Version
|
|
338
|
-
version:
|
|
340
|
+
version: '2.0'
|
|
339
341
|
- !ruby/object:Gem::Dependency
|
|
340
|
-
name:
|
|
342
|
+
name: yard
|
|
341
343
|
requirement: !ruby/object:Gem::Requirement
|
|
342
344
|
requirements:
|
|
343
|
-
- - "
|
|
345
|
+
- - ">="
|
|
344
346
|
- !ruby/object:Gem::Version
|
|
345
|
-
version:
|
|
347
|
+
version: '0'
|
|
346
348
|
type: :development
|
|
347
349
|
prerelease: false
|
|
348
350
|
version_requirements: !ruby/object:Gem::Requirement
|
|
349
351
|
requirements:
|
|
350
|
-
- - "
|
|
352
|
+
- - ">="
|
|
351
353
|
- !ruby/object:Gem::Version
|
|
352
|
-
version:
|
|
354
|
+
version: '0'
|
|
353
355
|
description: ActiveFedora provides for creating and managing objects in the Fedora
|
|
354
356
|
Repository Architecture.
|
|
355
357
|
email:
|
|
@@ -361,6 +363,7 @@ extra_rdoc_files:
|
|
|
361
363
|
- README.md
|
|
362
364
|
files:
|
|
363
365
|
- ".circleci/config.yml"
|
|
366
|
+
- ".github_changelog_generator"
|
|
364
367
|
- ".gitignore"
|
|
365
368
|
- ".gitmodules"
|
|
366
369
|
- ".mailmap"
|
|
@@ -368,6 +371,7 @@ files:
|
|
|
368
371
|
- ".rubocop.yml"
|
|
369
372
|
- ".rubocop_todo.yml"
|
|
370
373
|
- ".solr_wrapper"
|
|
374
|
+
- CHANGELOG.md
|
|
371
375
|
- CODE_OF_CONDUCT.md
|
|
372
376
|
- CONTRIBUTING.md
|
|
373
377
|
- CONTRIBUTORS.md
|
|
@@ -595,138 +599,6 @@ files:
|
|
|
595
599
|
- script/console
|
|
596
600
|
- script/destroy
|
|
597
601
|
- script/generate
|
|
598
|
-
- spec/config_helper.rb
|
|
599
|
-
- spec/fixtures/dino.jpg
|
|
600
|
-
- spec/fixtures/dino_jpg_no_file_ext
|
|
601
|
-
- spec/fixtures/minivan.jpg
|
|
602
|
-
- spec/fixtures/rails_root/config/fake_fedora.yml
|
|
603
|
-
- spec/fixtures/rails_root/config/fedora.yml
|
|
604
|
-
- spec/fixtures/rails_root/config/solr.yml
|
|
605
|
-
- spec/fixtures/rails_root/config/solr_mappings.yml
|
|
606
|
-
- spec/fixtures/rails_root/config/solr_mappings_af_0.1.yml
|
|
607
|
-
- spec/fixtures/rails_root/config/solr_mappings_bl_2.4.yml
|
|
608
|
-
- spec/integration/associations/rdf_spec.rb
|
|
609
|
-
- spec/integration/associations_spec.rb
|
|
610
|
-
- spec/integration/attached_files_spec.rb
|
|
611
|
-
- spec/integration/attributes_spec.rb
|
|
612
|
-
- spec/integration/autosave_association_spec.rb
|
|
613
|
-
- spec/integration/base_spec.rb
|
|
614
|
-
- spec/integration/basic_contains_association_spec.rb
|
|
615
|
-
- spec/integration/belongs_to_association_spec.rb
|
|
616
|
-
- spec/integration/caching_spec.rb
|
|
617
|
-
- spec/integration/clean_connection_spec.rb
|
|
618
|
-
- spec/integration/collection_association_spec.rb
|
|
619
|
-
- spec/integration/date_time_properties_spec.rb
|
|
620
|
-
- spec/integration/delete_all_spec.rb
|
|
621
|
-
- spec/integration/direct_container_spec.rb
|
|
622
|
-
- spec/integration/directly_contains_one_association_spec.rb
|
|
623
|
-
- spec/integration/eradicate_spec.rb
|
|
624
|
-
- spec/integration/fedora_solr_sync_spec.rb
|
|
625
|
-
- spec/integration/file_fixity_spec.rb
|
|
626
|
-
- spec/integration/file_spec.rb
|
|
627
|
-
- spec/integration/generators/fedora_generator_spec.rb
|
|
628
|
-
- spec/integration/generators/solr_generator_spec.rb
|
|
629
|
-
- spec/integration/gone_spec.rb
|
|
630
|
-
- spec/integration/has_and_belongs_to_many_associations_spec.rb
|
|
631
|
-
- spec/integration/has_many_associations_spec.rb
|
|
632
|
-
- spec/integration/has_subresource_spec.rb
|
|
633
|
-
- spec/integration/indexing/descendant_fetcher_spec.rb
|
|
634
|
-
- spec/integration/indexing_spec.rb
|
|
635
|
-
- spec/integration/indirect_container_spec.rb
|
|
636
|
-
- spec/integration/json_serialization_spec.rb
|
|
637
|
-
- spec/integration/marshal_spec.rb
|
|
638
|
-
- spec/integration/nested_attribute_spec.rb
|
|
639
|
-
- spec/integration/nested_hash_resources_spec.rb
|
|
640
|
-
- spec/integration/persistence_spec.rb
|
|
641
|
-
- spec/integration/query_result_builder_spec.rb
|
|
642
|
-
- spec/integration/rdf_nested_attributes_spec.rb
|
|
643
|
-
- spec/integration/relation_delegation_spec.rb
|
|
644
|
-
- spec/integration/relation_spec.rb
|
|
645
|
-
- spec/integration/scoped_query_spec.rb
|
|
646
|
-
- spec/integration/scoping_spec.rb
|
|
647
|
-
- spec/integration/solr_hit_spec.rb
|
|
648
|
-
- spec/integration/versionable_spec.rb
|
|
649
|
-
- spec/integration/with_metadata_spec.rb
|
|
650
|
-
- spec/lib/active_fedora/null_logger_spec.rb
|
|
651
|
-
- spec/rcov.opts
|
|
652
|
-
- spec/spec.opts
|
|
653
|
-
- spec/spec_helper.rb
|
|
654
|
-
- spec/support/an_active_model.rb
|
|
655
|
-
- spec/unit/active_fedora/indexing/inserter_spec.rb
|
|
656
|
-
- spec/unit/active_fedora_spec.rb
|
|
657
|
-
- spec/unit/aggregation/list_source_spec.rb
|
|
658
|
-
- spec/unit/aggregation/ordered_reader_spec.rb
|
|
659
|
-
- spec/unit/association_hash_spec.rb
|
|
660
|
-
- spec/unit/attached_files_spec.rb
|
|
661
|
-
- spec/unit/attributes_spec.rb
|
|
662
|
-
- spec/unit/base_active_model_spec.rb
|
|
663
|
-
- spec/unit/base_cma_spec.rb
|
|
664
|
-
- spec/unit/base_extra_spec.rb
|
|
665
|
-
- spec/unit/base_spec.rb
|
|
666
|
-
- spec/unit/builder/has_and_belongs_to_many_spec.rb
|
|
667
|
-
- spec/unit/callback_spec.rb
|
|
668
|
-
- spec/unit/change_set_spec.rb
|
|
669
|
-
- spec/unit/checksum_spec.rb
|
|
670
|
-
- spec/unit/code_configurator_spec.rb
|
|
671
|
-
- spec/unit/collection_proxy_spec.rb
|
|
672
|
-
- spec/unit/config_spec.rb
|
|
673
|
-
- spec/unit/core/fedora_id_translator_spec.rb
|
|
674
|
-
- spec/unit/core/fedora_uri_translator_spec.rb
|
|
675
|
-
- spec/unit/core/logger_spec.rb
|
|
676
|
-
- spec/unit/core_spec.rb
|
|
677
|
-
- spec/unit/default_model_mapper_spec.rb
|
|
678
|
-
- spec/unit/fedora_spec.rb
|
|
679
|
-
- spec/unit/file/streaming_spec.rb
|
|
680
|
-
- spec/unit/file_configurator_spec.rb
|
|
681
|
-
- spec/unit/file_io_spec.rb
|
|
682
|
-
- spec/unit/file_path_builder_spec.rb
|
|
683
|
-
- spec/unit/file_spec.rb
|
|
684
|
-
- spec/unit/files_hash_spec.rb
|
|
685
|
-
- spec/unit/filter_spec.rb
|
|
686
|
-
- spec/unit/finder_methods_spec.rb
|
|
687
|
-
- spec/unit/fixity_service_spec.rb
|
|
688
|
-
- spec/unit/forbidden_attributes_protection_spec.rb
|
|
689
|
-
- spec/unit/has_and_belongs_to_many_association_spec.rb
|
|
690
|
-
- spec/unit/has_many_association_spec.rb
|
|
691
|
-
- spec/unit/indexers/global_indexer_spec.rb
|
|
692
|
-
- spec/unit/indexing/map/index_object_spec.rb
|
|
693
|
-
- spec/unit/indexing/map_spec.rb
|
|
694
|
-
- spec/unit/indexing_service_spec.rb
|
|
695
|
-
- spec/unit/indexing_spec.rb
|
|
696
|
-
- spec/unit/inheritance_spec.rb
|
|
697
|
-
- spec/unit/ldp_resource_spec.rb
|
|
698
|
-
- spec/unit/loadable_from_json_spec.rb
|
|
699
|
-
- spec/unit/logger_spec.rb
|
|
700
|
-
- spec/unit/model_classifier_spec.rb
|
|
701
|
-
- spec/unit/ordered_spec.rb
|
|
702
|
-
- spec/unit/orders/list_node_spec.rb
|
|
703
|
-
- spec/unit/orders/ordered_list_spec.rb
|
|
704
|
-
- spec/unit/orders/reflection_spec.rb
|
|
705
|
-
- spec/unit/pathing_spec.rb
|
|
706
|
-
- spec/unit/persistence_spec.rb
|
|
707
|
-
- spec/unit/property_predicate_spec.rb
|
|
708
|
-
- spec/unit/property_spec.rb
|
|
709
|
-
- spec/unit/query_result_builder_spec.rb
|
|
710
|
-
- spec/unit/query_spec.rb
|
|
711
|
-
- spec/unit/querying_spec.rb
|
|
712
|
-
- spec/unit/rdf/indexing_service_spec.rb
|
|
713
|
-
- spec/unit/rdf_vocab_spec.rb
|
|
714
|
-
- spec/unit/readonly_spec.rb
|
|
715
|
-
- spec/unit/reflection_spec.rb
|
|
716
|
-
- spec/unit/rspec_matchers/belong_to_associated_active_fedora_object_matcher_spec.rb
|
|
717
|
-
- spec/unit/rspec_matchers/have_many_associated_active_fedora_objects_matcher_spec.rb
|
|
718
|
-
- spec/unit/rspec_matchers/have_predicate_matcher_spec.rb
|
|
719
|
-
- spec/unit/schema_indexing_strategy_spec.rb
|
|
720
|
-
- spec/unit/scoping_spec.rb
|
|
721
|
-
- spec/unit/serializers_spec.rb
|
|
722
|
-
- spec/unit/solr_config_options_spec.rb
|
|
723
|
-
- spec/unit/solr_hit_spec.rb
|
|
724
|
-
- spec/unit/solr_query_builder_spec.rb
|
|
725
|
-
- spec/unit/solr_service_spec.rb
|
|
726
|
-
- spec/unit/sparql_insert_spec.rb
|
|
727
|
-
- spec/unit/validations_spec.rb
|
|
728
|
-
- spec/unit/with_metadata/default_metadata_class_factory_spec.rb
|
|
729
|
-
- spec/unit/with_metadata/metadata_node_spec.rb
|
|
730
602
|
homepage: https://github.com/samvera/active_fedora
|
|
731
603
|
licenses:
|
|
732
604
|
- Apache-2.0
|
|
@@ -739,7 +611,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
739
611
|
requirements:
|
|
740
612
|
- - "~>"
|
|
741
613
|
- !ruby/object:Gem::Version
|
|
742
|
-
version: '2.
|
|
614
|
+
version: '2.4'
|
|
743
615
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
744
616
|
requirements:
|
|
745
617
|
- - ">="
|