active-fedora 13.0.0 → 13.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (147) hide show
  1. checksums.yaml +4 -4
  2. data/.circleci/config.yml +19 -15
  3. data/.github_changelog_generator +2 -0
  4. data/CHANGELOG.md +3362 -0
  5. data/CONTRIBUTING.md +23 -1
  6. data/README.md +4 -0
  7. data/active-fedora.gemspec +15 -14
  8. data/config/fedora.yml +5 -5
  9. data/lib/active_fedora/aggregation/list_source.rb +4 -2
  10. data/lib/active_fedora/attributes.rb +20 -1
  11. data/lib/active_fedora/file.rb +1 -8
  12. data/lib/active_fedora/version.rb +1 -1
  13. data/lib/active_fedora/with_metadata/metadata_node.rb +1 -1
  14. data/lib/generators/active_fedora/config/fedora/templates/fedora.yml +6 -6
  15. metadata +101 -215
  16. data/spec/config_helper.rb +0 -17
  17. data/spec/fixtures/dino.jpg +0 -0
  18. data/spec/fixtures/dino_jpg_no_file_ext +0 -0
  19. data/spec/fixtures/minivan.jpg +0 -0
  20. data/spec/fixtures/rails_root/config/fake_fedora.yml +0 -7
  21. data/spec/fixtures/rails_root/config/fedora.yml +0 -12
  22. data/spec/fixtures/rails_root/config/solr.yml +0 -15
  23. data/spec/fixtures/rails_root/config/solr_mappings.yml +0 -16
  24. data/spec/fixtures/rails_root/config/solr_mappings_af_0.1.yml +0 -9
  25. data/spec/fixtures/rails_root/config/solr_mappings_bl_2.4.yml +0 -17
  26. data/spec/integration/associations/rdf_spec.rb +0 -61
  27. data/spec/integration/associations_spec.rb +0 -680
  28. data/spec/integration/attached_files_spec.rb +0 -146
  29. data/spec/integration/attributes_spec.rb +0 -73
  30. data/spec/integration/autosave_association_spec.rb +0 -24
  31. data/spec/integration/base_spec.rb +0 -184
  32. data/spec/integration/basic_contains_association_spec.rb +0 -121
  33. data/spec/integration/belongs_to_association_spec.rb +0 -260
  34. data/spec/integration/caching_spec.rb +0 -59
  35. data/spec/integration/clean_connection_spec.rb +0 -21
  36. data/spec/integration/collection_association_spec.rb +0 -166
  37. data/spec/integration/date_time_properties_spec.rb +0 -41
  38. data/spec/integration/delete_all_spec.rb +0 -64
  39. data/spec/integration/direct_container_spec.rb +0 -250
  40. data/spec/integration/directly_contains_one_association_spec.rb +0 -96
  41. data/spec/integration/eradicate_spec.rb +0 -52
  42. data/spec/integration/fedora_solr_sync_spec.rb +0 -30
  43. data/spec/integration/file_fixity_spec.rb +0 -36
  44. data/spec/integration/file_spec.rb +0 -221
  45. data/spec/integration/generators/fedora_generator_spec.rb +0 -26
  46. data/spec/integration/generators/solr_generator_spec.rb +0 -23
  47. data/spec/integration/gone_spec.rb +0 -41
  48. data/spec/integration/has_and_belongs_to_many_associations_spec.rb +0 -414
  49. data/spec/integration/has_many_associations_spec.rb +0 -436
  50. data/spec/integration/has_subresource_spec.rb +0 -34
  51. data/spec/integration/indexing/descendant_fetcher_spec.rb +0 -64
  52. data/spec/integration/indexing_spec.rb +0 -110
  53. data/spec/integration/indirect_container_spec.rb +0 -290
  54. data/spec/integration/json_serialization_spec.rb +0 -32
  55. data/spec/integration/marshal_spec.rb +0 -39
  56. data/spec/integration/nested_attribute_spec.rb +0 -177
  57. data/spec/integration/nested_hash_resources_spec.rb +0 -43
  58. data/spec/integration/persistence_spec.rb +0 -37
  59. data/spec/integration/query_result_builder_spec.rb +0 -37
  60. data/spec/integration/rdf_nested_attributes_spec.rb +0 -85
  61. data/spec/integration/relation_delegation_spec.rb +0 -52
  62. data/spec/integration/relation_spec.rb +0 -117
  63. data/spec/integration/scoped_query_spec.rb +0 -134
  64. data/spec/integration/scoping_spec.rb +0 -48
  65. data/spec/integration/solr_hit_spec.rb +0 -32
  66. data/spec/integration/versionable_spec.rb +0 -256
  67. data/spec/integration/with_metadata_spec.rb +0 -111
  68. data/spec/lib/active_fedora/null_logger_spec.rb +0 -10
  69. data/spec/rcov.opts +0 -2
  70. data/spec/spec.opts +0 -5
  71. data/spec/spec_helper.rb +0 -106
  72. data/spec/support/an_active_model.rb +0 -29
  73. data/spec/unit/active_fedora/indexing/inserter_spec.rb +0 -35
  74. data/spec/unit/active_fedora_spec.rb +0 -118
  75. data/spec/unit/aggregation/list_source_spec.rb +0 -134
  76. data/spec/unit/aggregation/ordered_reader_spec.rb +0 -43
  77. data/spec/unit/association_hash_spec.rb +0 -64
  78. data/spec/unit/attached_files_spec.rb +0 -218
  79. data/spec/unit/attributes_spec.rb +0 -146
  80. data/spec/unit/base_active_model_spec.rb +0 -28
  81. data/spec/unit/base_cma_spec.rb +0 -15
  82. data/spec/unit/base_extra_spec.rb +0 -33
  83. data/spec/unit/base_spec.rb +0 -328
  84. data/spec/unit/builder/has_and_belongs_to_many_spec.rb +0 -8
  85. data/spec/unit/callback_spec.rb +0 -65
  86. data/spec/unit/change_set_spec.rb +0 -60
  87. data/spec/unit/checksum_spec.rb +0 -25
  88. data/spec/unit/code_configurator_spec.rb +0 -41
  89. data/spec/unit/collection_proxy_spec.rb +0 -25
  90. data/spec/unit/config_spec.rb +0 -18
  91. data/spec/unit/core/fedora_id_translator_spec.rb +0 -29
  92. data/spec/unit/core/fedora_uri_translator_spec.rb +0 -19
  93. data/spec/unit/core/logger_spec.rb +0 -18
  94. data/spec/unit/core_spec.rb +0 -242
  95. data/spec/unit/default_model_mapper_spec.rb +0 -39
  96. data/spec/unit/fedora_spec.rb +0 -31
  97. data/spec/unit/file/streaming_spec.rb +0 -33
  98. data/spec/unit/file_configurator_spec.rb +0 -295
  99. data/spec/unit/file_io_spec.rb +0 -137
  100. data/spec/unit/file_path_builder_spec.rb +0 -18
  101. data/spec/unit/file_spec.rb +0 -472
  102. data/spec/unit/files_hash_spec.rb +0 -52
  103. data/spec/unit/filter_spec.rb +0 -133
  104. data/spec/unit/finder_methods_spec.rb +0 -154
  105. data/spec/unit/fixity_service_spec.rb +0 -128
  106. data/spec/unit/forbidden_attributes_protection_spec.rb +0 -50
  107. data/spec/unit/has_and_belongs_to_many_association_spec.rb +0 -125
  108. data/spec/unit/has_many_association_spec.rb +0 -131
  109. data/spec/unit/indexers/global_indexer_spec.rb +0 -41
  110. data/spec/unit/indexing/map/index_object_spec.rb +0 -25
  111. data/spec/unit/indexing/map_spec.rb +0 -27
  112. data/spec/unit/indexing_service_spec.rb +0 -28
  113. data/spec/unit/indexing_spec.rb +0 -86
  114. data/spec/unit/inheritance_spec.rb +0 -60
  115. data/spec/unit/ldp_resource_spec.rb +0 -15
  116. data/spec/unit/loadable_from_json_spec.rb +0 -40
  117. data/spec/unit/logger_spec.rb +0 -19
  118. data/spec/unit/model_classifier_spec.rb +0 -49
  119. data/spec/unit/ordered_spec.rb +0 -367
  120. data/spec/unit/orders/list_node_spec.rb +0 -151
  121. data/spec/unit/orders/ordered_list_spec.rb +0 -335
  122. data/spec/unit/orders/reflection_spec.rb +0 -22
  123. data/spec/unit/pathing_spec.rb +0 -35
  124. data/spec/unit/persistence_spec.rb +0 -115
  125. data/spec/unit/property_predicate_spec.rb +0 -35
  126. data/spec/unit/property_spec.rb +0 -25
  127. data/spec/unit/query_result_builder_spec.rb +0 -31
  128. data/spec/unit/query_spec.rb +0 -307
  129. data/spec/unit/querying_spec.rb +0 -24
  130. data/spec/unit/rdf/indexing_service_spec.rb +0 -114
  131. data/spec/unit/rdf_vocab_spec.rb +0 -30
  132. data/spec/unit/readonly_spec.rb +0 -24
  133. data/spec/unit/reflection_spec.rb +0 -42
  134. data/spec/unit/rspec_matchers/belong_to_associated_active_fedora_object_matcher_spec.rb +0 -37
  135. data/spec/unit/rspec_matchers/have_many_associated_active_fedora_objects_matcher_spec.rb +0 -38
  136. data/spec/unit/rspec_matchers/have_predicate_matcher_spec.rb +0 -38
  137. data/spec/unit/schema_indexing_strategy_spec.rb +0 -68
  138. data/spec/unit/scoping_spec.rb +0 -67
  139. data/spec/unit/serializers_spec.rb +0 -19
  140. data/spec/unit/solr_config_options_spec.rb +0 -57
  141. data/spec/unit/solr_hit_spec.rb +0 -57
  142. data/spec/unit/solr_query_builder_spec.rb +0 -18
  143. data/spec/unit/solr_service_spec.rb +0 -165
  144. data/spec/unit/sparql_insert_spec.rb +0 -31
  145. data/spec/unit/validations_spec.rb +0 -92
  146. data/spec/unit/with_metadata/default_metadata_class_factory_spec.rb +0 -29
  147. data/spec/unit/with_metadata/metadata_node_spec.rb +0 -69
@@ -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/active_fedora/issues) by:
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
@@ -12,33 +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.0'
15
+ s.required_ruby_version = '~> 2.4'
16
16
 
17
- s.add_dependency 'rsolr', '>= 1.1.2', '< 3'
18
- s.add_dependency "activesupport", '>= 4.2.4', '< 5.3'
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'
24
+ s.add_dependency 'rdf-vocab', '< 3.1.5'
25
+ s.add_dependency 'rsolr', '>= 1.1.2', '< 3'
23
26
  s.add_dependency "ruby-progressbar", '~> 1.0'
24
- s.add_dependency 'faraday', '~> 0.12'
25
- s.add_dependency 'faraday-encoding', '0.0.4'
26
27
 
27
- s.add_development_dependency "rails"
28
+ s.add_development_dependency "equivalent-xml"
29
+ s.add_development_dependency 'fcrepo_wrapper', '~> 0.2'
30
+ s.add_development_dependency "github_changelog_generator"
28
31
  s.add_development_dependency "rdoc"
29
- s.add_development_dependency "yard"
32
+ s.add_development_dependency "rails"
30
33
  s.add_development_dependency "rake"
31
- s.add_development_dependency "solr_wrapper", "~> 2.0"
32
- s.add_development_dependency 'fcrepo_wrapper', '~> 0.2'
33
34
  s.add_development_dependency "rspec", "~> 3.5"
34
35
  s.add_development_dependency "rspec-its"
35
- s.add_development_dependency "equivalent-xml"
36
- s.add_development_dependency "simplecov", '~> 0.8'
37
36
  s.add_development_dependency "rubocop", '~> 0.56.0'
38
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"
39
41
 
40
- s.files = `git ls-files`.split("\n")
41
- 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\/?} }
42
43
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
43
44
  s.extra_rdoc_files = [
44
45
  "LICENSE",
@@ -1,14 +1,14 @@
1
1
  development:
2
2
  user: fedoraAdmin
3
3
  password: fedoraAdmin
4
- url: http://127.0.0.1:<%= ENV['FCREPO_DEVELOPMENT_PORT'] || 8984 %>/rest
5
- base_path: /dev
4
+ url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_DEVELOPMENT_PORT'] || ENV['FCREPO_PORT'] || 8984 %>/rest
5
+ base_path: <%= ENV['FCREPO_BASE_PATH'] || '/dev' %>
6
6
  test:
7
7
  user: fedoraAdmin
8
8
  password: fedoraAdmin
9
- url: http://localhost:<%= ENV['FCREPO_TEST_PORT'] || 8986 %>/rest
10
- base_path: /test
9
+ url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_TEST_PORT'] || ENV['FCREPO_PORT'] || 8986 %>/rest
10
+ base_path: <%= ENV['FCREPO_BASE_PATH'] || '/test' %>
11
11
  production:
12
12
  user: fedoraAdmin
13
13
  password: fedoraAdmin
14
- url: http://127.0.0.1:8983/fedora/rest
14
+ url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_PORT'] || 8983 %>/rest
@@ -12,9 +12,11 @@ module ActiveFedora
12
12
  super
13
13
  end
14
14
 
15
- # Overriding so that we don't track previously_changed, which was
16
- # rather expensive.
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 :clear_changed_attributes
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
@@ -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
@@ -196,9 +191,7 @@ module ActiveFedora
196
191
  end
197
192
 
198
193
  def local_or_remote_content(ensure_fetch = true)
199
- return @content if new_record?
200
-
201
- @content ||= ensure_fetch ? remote_content : @ds_content
194
+ @content ||= ensure_fetch ? remote_content : @ds_content unless new_record?
202
195
  @content.rewind if behaves_like_io?(@content)
203
196
  @content
204
197
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveFedora
2
- VERSION = "13.0.0".freeze
2
+ VERSION = '13.2.0'.freeze
3
3
  end
@@ -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
- attributes_changed_by_setter[:type] = true if type.present?
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
@@ -1,15 +1,15 @@
1
1
  development:
2
2
  user: fedoraAdmin
3
3
  password: fedoraAdmin
4
- url: http://127.0.0.1:<%= ENV['FCREPO_DEVELOPMENT_PORT'] || 8984 %>/rest
5
- base_path: /dev
4
+ url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_DEVELOPMENT_PORT'] || ENV['FCREPO_PORT'] || 8984 %>/rest
5
+ base_path: <%= ENV['FCREPO_BASE_PATH'] || '/dev' %>
6
6
  test:
7
7
  user: fedoraAdmin
8
8
  password: fedoraAdmin
9
- url: http://127.0.0.1:<%= ENV['FCREPO_TEST_PORT'] || 8986 %>/rest
10
- base_path: /test
9
+ url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_TEST_PORT'] || ENV['FCREPO_PORT'] || 8986 %>/rest
10
+ base_path: <%= ENV['FCREPO_BASE_PATH'] || '/test' %>
11
11
  production:
12
12
  user: fedoraAdmin
13
13
  password: fedoraAdmin
14
- url: http://127.0.0.1:8983/fedora/rest
15
- base_path: /prod
14
+ url: http://<%= ENV['FCREPO_HOST'] || 'localhost' %>:<%= ENV['FCREPO_PORT'] || 8983 %>/rest
15
+ base_path: <%= ENV['FCREPO_BASE_PATH'] || '/prod' %>
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: 13.0.0
4
+ version: 13.2.0
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: 2019-08-19 00:00:00.000000000 Z
13
+ date: 2020-07-07 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
- name: rsolr
16
+ name: activemodel
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 1.1.2
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: 1.1.2
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: 4.2.4
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: 4.2.4
52
- - - "<"
53
- - !ruby/object:Gem::Version
54
- version: '5.3'
42
+ version: '5.1'
55
43
  - !ruby/object:Gem::Dependency
56
- name: activemodel
44
+ name: active-triples
57
45
  requirement: !ruby/object:Gem::Requirement
58
46
  requirements:
59
47
  - - ">="
60
48
  - !ruby/object:Gem::Version
61
- version: 4.2.10
49
+ version: 0.11.0
62
50
  - - "<"
63
51
  - !ruby/object:Gem::Version
64
- version: '5.3'
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: 4.2.10
59
+ version: 0.11.0
72
60
  - - "<"
73
61
  - !ruby/object:Gem::Version
74
- version: '5.3'
62
+ version: 2.0.0
75
63
  - !ruby/object:Gem::Dependency
76
- name: active-triples
64
+ name: deprecation
77
65
  requirement: !ruby/object:Gem::Requirement
78
66
  requirements:
79
67
  - - ">="
80
68
  - !ruby/object:Gem::Version
81
- version: 0.11.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.11.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: 2.0.0
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: deprecation
92
+ name: faraday-encoding
97
93
  requirement: !ruby/object:Gem::Requirement
98
94
  requirements:
99
95
  - - ">="
100
96
  - !ruby/object:Gem::Version
101
- version: '0'
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: '0'
104
+ version: 0.0.5
109
105
  - !ruby/object:Gem::Dependency
110
106
  name: ldp
111
107
  requirement: !ruby/object:Gem::Requirement
@@ -127,49 +123,55 @@ dependencies:
127
123
  - !ruby/object:Gem::Version
128
124
  version: '2'
129
125
  - !ruby/object:Gem::Dependency
130
- name: ruby-progressbar
126
+ name: rdf-vocab
131
127
  requirement: !ruby/object:Gem::Requirement
132
128
  requirements:
133
- - - "~>"
129
+ - - "<"
134
130
  - !ruby/object:Gem::Version
135
- version: '1.0'
131
+ version: 3.1.5
136
132
  type: :runtime
137
133
  prerelease: false
138
134
  version_requirements: !ruby/object:Gem::Requirement
139
135
  requirements:
140
- - - "~>"
136
+ - - "<"
141
137
  - !ruby/object:Gem::Version
142
- version: '1.0'
138
+ version: 3.1.5
143
139
  - !ruby/object:Gem::Dependency
144
- name: faraday
140
+ name: rsolr
145
141
  requirement: !ruby/object:Gem::Requirement
146
142
  requirements:
147
- - - "~>"
143
+ - - ">="
148
144
  - !ruby/object:Gem::Version
149
- version: '0.12'
145
+ version: 1.1.2
146
+ - - "<"
147
+ - !ruby/object:Gem::Version
148
+ version: '3'
150
149
  type: :runtime
151
150
  prerelease: false
152
151
  version_requirements: !ruby/object:Gem::Requirement
153
152
  requirements:
154
- - - "~>"
153
+ - - ">="
155
154
  - !ruby/object:Gem::Version
156
- version: '0.12'
155
+ version: 1.1.2
156
+ - - "<"
157
+ - !ruby/object:Gem::Version
158
+ version: '3'
157
159
  - !ruby/object:Gem::Dependency
158
- name: faraday-encoding
160
+ name: ruby-progressbar
159
161
  requirement: !ruby/object:Gem::Requirement
160
162
  requirements:
161
- - - '='
163
+ - - "~>"
162
164
  - !ruby/object:Gem::Version
163
- version: 0.0.4
165
+ version: '1.0'
164
166
  type: :runtime
165
167
  prerelease: false
166
168
  version_requirements: !ruby/object:Gem::Requirement
167
169
  requirements:
168
- - - '='
170
+ - - "~>"
169
171
  - !ruby/object:Gem::Version
170
- version: 0.0.4
172
+ version: '1.0'
171
173
  - !ruby/object:Gem::Dependency
172
- name: rails
174
+ name: equivalent-xml
173
175
  requirement: !ruby/object:Gem::Requirement
174
176
  requirements:
175
177
  - - ">="
@@ -183,21 +185,21 @@ dependencies:
183
185
  - !ruby/object:Gem::Version
184
186
  version: '0'
185
187
  - !ruby/object:Gem::Dependency
186
- name: rdoc
188
+ name: fcrepo_wrapper
187
189
  requirement: !ruby/object:Gem::Requirement
188
190
  requirements:
189
- - - ">="
191
+ - - "~>"
190
192
  - !ruby/object:Gem::Version
191
- version: '0'
193
+ version: '0.2'
192
194
  type: :development
193
195
  prerelease: false
194
196
  version_requirements: !ruby/object:Gem::Requirement
195
197
  requirements:
196
- - - ">="
198
+ - - "~>"
197
199
  - !ruby/object:Gem::Version
198
- version: '0'
200
+ version: '0.2'
199
201
  - !ruby/object:Gem::Dependency
200
- name: yard
202
+ name: github_changelog_generator
201
203
  requirement: !ruby/object:Gem::Requirement
202
204
  requirements:
203
205
  - - ">="
@@ -211,7 +213,7 @@ dependencies:
211
213
  - !ruby/object:Gem::Version
212
214
  version: '0'
213
215
  - !ruby/object:Gem::Dependency
214
- name: rake
216
+ name: rdoc
215
217
  requirement: !ruby/object:Gem::Requirement
216
218
  requirements:
217
219
  - - ">="
@@ -225,33 +227,33 @@ dependencies:
225
227
  - !ruby/object:Gem::Version
226
228
  version: '0'
227
229
  - !ruby/object:Gem::Dependency
228
- name: solr_wrapper
230
+ name: rails
229
231
  requirement: !ruby/object:Gem::Requirement
230
232
  requirements:
231
- - - "~>"
233
+ - - ">="
232
234
  - !ruby/object:Gem::Version
233
- version: '2.0'
235
+ version: '0'
234
236
  type: :development
235
237
  prerelease: false
236
238
  version_requirements: !ruby/object:Gem::Requirement
237
239
  requirements:
238
- - - "~>"
240
+ - - ">="
239
241
  - !ruby/object:Gem::Version
240
- version: '2.0'
242
+ version: '0'
241
243
  - !ruby/object:Gem::Dependency
242
- name: fcrepo_wrapper
244
+ name: rake
243
245
  requirement: !ruby/object:Gem::Requirement
244
246
  requirements:
245
- - - "~>"
247
+ - - ">="
246
248
  - !ruby/object:Gem::Version
247
- version: '0.2'
249
+ version: '0'
248
250
  type: :development
249
251
  prerelease: false
250
252
  version_requirements: !ruby/object:Gem::Requirement
251
253
  requirements:
252
- - - "~>"
254
+ - - ">="
253
255
  - !ruby/object:Gem::Version
254
- version: '0.2'
256
+ version: '0'
255
257
  - !ruby/object:Gem::Dependency
256
258
  name: rspec
257
259
  requirement: !ruby/object:Gem::Requirement
@@ -281,19 +283,33 @@ dependencies:
281
283
  - !ruby/object:Gem::Version
282
284
  version: '0'
283
285
  - !ruby/object:Gem::Dependency
284
- name: equivalent-xml
286
+ name: rubocop
285
287
  requirement: !ruby/object:Gem::Requirement
286
288
  requirements:
287
- - - ">="
289
+ - - "~>"
288
290
  - !ruby/object:Gem::Version
289
- version: '0'
291
+ version: 0.56.0
290
292
  type: :development
291
293
  prerelease: false
292
294
  version_requirements: !ruby/object:Gem::Requirement
293
295
  requirements:
294
- - - ">="
296
+ - - "~>"
295
297
  - !ruby/object:Gem::Version
296
- version: '0'
298
+ version: 0.56.0
299
+ - !ruby/object:Gem::Dependency
300
+ name: rubocop-rspec
301
+ requirement: !ruby/object:Gem::Requirement
302
+ requirements:
303
+ - - "~>"
304
+ - !ruby/object:Gem::Version
305
+ version: 1.12.0
306
+ type: :development
307
+ prerelease: false
308
+ version_requirements: !ruby/object:Gem::Requirement
309
+ requirements:
310
+ - - "~>"
311
+ - !ruby/object:Gem::Version
312
+ version: 1.12.0
297
313
  - !ruby/object:Gem::Dependency
298
314
  name: simplecov
299
315
  requirement: !ruby/object:Gem::Requirement
@@ -309,33 +325,33 @@ dependencies:
309
325
  - !ruby/object:Gem::Version
310
326
  version: '0.8'
311
327
  - !ruby/object:Gem::Dependency
312
- name: rubocop
328
+ name: solr_wrapper
313
329
  requirement: !ruby/object:Gem::Requirement
314
330
  requirements:
315
331
  - - "~>"
316
332
  - !ruby/object:Gem::Version
317
- version: 0.56.0
333
+ version: '2.0'
318
334
  type: :development
319
335
  prerelease: false
320
336
  version_requirements: !ruby/object:Gem::Requirement
321
337
  requirements:
322
338
  - - "~>"
323
339
  - !ruby/object:Gem::Version
324
- version: 0.56.0
340
+ version: '2.0'
325
341
  - !ruby/object:Gem::Dependency
326
- name: rubocop-rspec
342
+ name: yard
327
343
  requirement: !ruby/object:Gem::Requirement
328
344
  requirements:
329
- - - "~>"
345
+ - - ">="
330
346
  - !ruby/object:Gem::Version
331
- version: 1.12.0
347
+ version: '0'
332
348
  type: :development
333
349
  prerelease: false
334
350
  version_requirements: !ruby/object:Gem::Requirement
335
351
  requirements:
336
- - - "~>"
352
+ - - ">="
337
353
  - !ruby/object:Gem::Version
338
- version: 1.12.0
354
+ version: '0'
339
355
  description: ActiveFedora provides for creating and managing objects in the Fedora
340
356
  Repository Architecture.
341
357
  email:
@@ -347,6 +363,7 @@ extra_rdoc_files:
347
363
  - README.md
348
364
  files:
349
365
  - ".circleci/config.yml"
366
+ - ".github_changelog_generator"
350
367
  - ".gitignore"
351
368
  - ".gitmodules"
352
369
  - ".mailmap"
@@ -354,6 +371,7 @@ files:
354
371
  - ".rubocop.yml"
355
372
  - ".rubocop_todo.yml"
356
373
  - ".solr_wrapper"
374
+ - CHANGELOG.md
357
375
  - CODE_OF_CONDUCT.md
358
376
  - CONTRIBUTING.md
359
377
  - CONTRIBUTORS.md
@@ -581,138 +599,6 @@ files:
581
599
  - script/console
582
600
  - script/destroy
583
601
  - script/generate
584
- - spec/config_helper.rb
585
- - spec/fixtures/dino.jpg
586
- - spec/fixtures/dino_jpg_no_file_ext
587
- - spec/fixtures/minivan.jpg
588
- - spec/fixtures/rails_root/config/fake_fedora.yml
589
- - spec/fixtures/rails_root/config/fedora.yml
590
- - spec/fixtures/rails_root/config/solr.yml
591
- - spec/fixtures/rails_root/config/solr_mappings.yml
592
- - spec/fixtures/rails_root/config/solr_mappings_af_0.1.yml
593
- - spec/fixtures/rails_root/config/solr_mappings_bl_2.4.yml
594
- - spec/integration/associations/rdf_spec.rb
595
- - spec/integration/associations_spec.rb
596
- - spec/integration/attached_files_spec.rb
597
- - spec/integration/attributes_spec.rb
598
- - spec/integration/autosave_association_spec.rb
599
- - spec/integration/base_spec.rb
600
- - spec/integration/basic_contains_association_spec.rb
601
- - spec/integration/belongs_to_association_spec.rb
602
- - spec/integration/caching_spec.rb
603
- - spec/integration/clean_connection_spec.rb
604
- - spec/integration/collection_association_spec.rb
605
- - spec/integration/date_time_properties_spec.rb
606
- - spec/integration/delete_all_spec.rb
607
- - spec/integration/direct_container_spec.rb
608
- - spec/integration/directly_contains_one_association_spec.rb
609
- - spec/integration/eradicate_spec.rb
610
- - spec/integration/fedora_solr_sync_spec.rb
611
- - spec/integration/file_fixity_spec.rb
612
- - spec/integration/file_spec.rb
613
- - spec/integration/generators/fedora_generator_spec.rb
614
- - spec/integration/generators/solr_generator_spec.rb
615
- - spec/integration/gone_spec.rb
616
- - spec/integration/has_and_belongs_to_many_associations_spec.rb
617
- - spec/integration/has_many_associations_spec.rb
618
- - spec/integration/has_subresource_spec.rb
619
- - spec/integration/indexing/descendant_fetcher_spec.rb
620
- - spec/integration/indexing_spec.rb
621
- - spec/integration/indirect_container_spec.rb
622
- - spec/integration/json_serialization_spec.rb
623
- - spec/integration/marshal_spec.rb
624
- - spec/integration/nested_attribute_spec.rb
625
- - spec/integration/nested_hash_resources_spec.rb
626
- - spec/integration/persistence_spec.rb
627
- - spec/integration/query_result_builder_spec.rb
628
- - spec/integration/rdf_nested_attributes_spec.rb
629
- - spec/integration/relation_delegation_spec.rb
630
- - spec/integration/relation_spec.rb
631
- - spec/integration/scoped_query_spec.rb
632
- - spec/integration/scoping_spec.rb
633
- - spec/integration/solr_hit_spec.rb
634
- - spec/integration/versionable_spec.rb
635
- - spec/integration/with_metadata_spec.rb
636
- - spec/lib/active_fedora/null_logger_spec.rb
637
- - spec/rcov.opts
638
- - spec/spec.opts
639
- - spec/spec_helper.rb
640
- - spec/support/an_active_model.rb
641
- - spec/unit/active_fedora/indexing/inserter_spec.rb
642
- - spec/unit/active_fedora_spec.rb
643
- - spec/unit/aggregation/list_source_spec.rb
644
- - spec/unit/aggregation/ordered_reader_spec.rb
645
- - spec/unit/association_hash_spec.rb
646
- - spec/unit/attached_files_spec.rb
647
- - spec/unit/attributes_spec.rb
648
- - spec/unit/base_active_model_spec.rb
649
- - spec/unit/base_cma_spec.rb
650
- - spec/unit/base_extra_spec.rb
651
- - spec/unit/base_spec.rb
652
- - spec/unit/builder/has_and_belongs_to_many_spec.rb
653
- - spec/unit/callback_spec.rb
654
- - spec/unit/change_set_spec.rb
655
- - spec/unit/checksum_spec.rb
656
- - spec/unit/code_configurator_spec.rb
657
- - spec/unit/collection_proxy_spec.rb
658
- - spec/unit/config_spec.rb
659
- - spec/unit/core/fedora_id_translator_spec.rb
660
- - spec/unit/core/fedora_uri_translator_spec.rb
661
- - spec/unit/core/logger_spec.rb
662
- - spec/unit/core_spec.rb
663
- - spec/unit/default_model_mapper_spec.rb
664
- - spec/unit/fedora_spec.rb
665
- - spec/unit/file/streaming_spec.rb
666
- - spec/unit/file_configurator_spec.rb
667
- - spec/unit/file_io_spec.rb
668
- - spec/unit/file_path_builder_spec.rb
669
- - spec/unit/file_spec.rb
670
- - spec/unit/files_hash_spec.rb
671
- - spec/unit/filter_spec.rb
672
- - spec/unit/finder_methods_spec.rb
673
- - spec/unit/fixity_service_spec.rb
674
- - spec/unit/forbidden_attributes_protection_spec.rb
675
- - spec/unit/has_and_belongs_to_many_association_spec.rb
676
- - spec/unit/has_many_association_spec.rb
677
- - spec/unit/indexers/global_indexer_spec.rb
678
- - spec/unit/indexing/map/index_object_spec.rb
679
- - spec/unit/indexing/map_spec.rb
680
- - spec/unit/indexing_service_spec.rb
681
- - spec/unit/indexing_spec.rb
682
- - spec/unit/inheritance_spec.rb
683
- - spec/unit/ldp_resource_spec.rb
684
- - spec/unit/loadable_from_json_spec.rb
685
- - spec/unit/logger_spec.rb
686
- - spec/unit/model_classifier_spec.rb
687
- - spec/unit/ordered_spec.rb
688
- - spec/unit/orders/list_node_spec.rb
689
- - spec/unit/orders/ordered_list_spec.rb
690
- - spec/unit/orders/reflection_spec.rb
691
- - spec/unit/pathing_spec.rb
692
- - spec/unit/persistence_spec.rb
693
- - spec/unit/property_predicate_spec.rb
694
- - spec/unit/property_spec.rb
695
- - spec/unit/query_result_builder_spec.rb
696
- - spec/unit/query_spec.rb
697
- - spec/unit/querying_spec.rb
698
- - spec/unit/rdf/indexing_service_spec.rb
699
- - spec/unit/rdf_vocab_spec.rb
700
- - spec/unit/readonly_spec.rb
701
- - spec/unit/reflection_spec.rb
702
- - spec/unit/rspec_matchers/belong_to_associated_active_fedora_object_matcher_spec.rb
703
- - spec/unit/rspec_matchers/have_many_associated_active_fedora_objects_matcher_spec.rb
704
- - spec/unit/rspec_matchers/have_predicate_matcher_spec.rb
705
- - spec/unit/schema_indexing_strategy_spec.rb
706
- - spec/unit/scoping_spec.rb
707
- - spec/unit/serializers_spec.rb
708
- - spec/unit/solr_config_options_spec.rb
709
- - spec/unit/solr_hit_spec.rb
710
- - spec/unit/solr_query_builder_spec.rb
711
- - spec/unit/solr_service_spec.rb
712
- - spec/unit/sparql_insert_spec.rb
713
- - spec/unit/validations_spec.rb
714
- - spec/unit/with_metadata/default_metadata_class_factory_spec.rb
715
- - spec/unit/with_metadata/metadata_node_spec.rb
716
602
  homepage: https://github.com/samvera/active_fedora
717
603
  licenses:
718
604
  - Apache-2.0
@@ -725,14 +611,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
725
611
  requirements:
726
612
  - - "~>"
727
613
  - !ruby/object:Gem::Version
728
- version: '2.0'
614
+ version: '2.4'
729
615
  required_rubygems_version: !ruby/object:Gem::Requirement
730
616
  requirements:
731
617
  - - ">="
732
618
  - !ruby/object:Gem::Version
733
619
  version: '0'
734
620
  requirements: []
735
- rubygems_version: 3.0.1
621
+ rubygems_version: 3.1.4
736
622
  signing_key:
737
623
  specification_version: 4
738
624
  summary: A convenience libary for manipulating documents in the Fedora Repository.