active_fedora-datastreams 0.3.0 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 046d91b4b339d4a8d607e9661bb0f65920aef226fab2e4501a924b7b5ed24791
4
- data.tar.gz: 9a042abf3bd4b1362e867b8a2ab306cd874bb7e7c2a7b27ec647a394d704d352
3
+ metadata.gz: aa947dc2634f37e84f14ccbd616c9d1e7e6590a6ca3688ab924c187d1a7bf652
4
+ data.tar.gz: d9de5c6aead32799f30acf90f64e1e0e7e42860cf4e3801b53dc1b4099417810
5
5
  SHA512:
6
- metadata.gz: 47c79389f4c376ed9fcad0aaa14099c9e1b2b8d4908e0b2c8b31daa57910e064778a6b5a504b49234e554666c089e51af714241eecd172f4ab737eb502418aad
7
- data.tar.gz: 54f1923d8a551b984e170f2e2128e418794486d4c4021861ef964ad4d1d5ae4690048b3f79e567a4bb1b9a5bb1d6147b0c595a5b859e5c278313ca6037cb00ab
6
+ metadata.gz: c20d66986785b7dab17021b0d46a4d507bc44429f7c6d406cfb1d5f71fd9cf126b38fd5f917acbf6ba88338ed755d2d582d31794939c8a2ed3b4056e0d30d651
7
+ data.tar.gz: fba2e3bc273344b15d7e6164137ed3ef76ec17fd95d72b89fd1c2c9552477d57f20dc497fd2580c7eb5334596b0cc1882ef5603fb1ec1f6179a949eacd3b60ec
data/.circleci/config.yml CHANGED
@@ -48,6 +48,10 @@ jobs:
48
48
  workflows:
49
49
  ci:
50
50
  jobs:
51
+ - bundle_lint_test:
52
+ name: ruby2-7_rails6-0
53
+ ruby_version: 2.7.4
54
+ rails_version: 6.0.4.6
51
55
  - bundle_lint_test:
52
56
  name: ruby2-7_rails5-2
53
57
  ruby_version: 2.7.4
@@ -60,8 +64,3 @@ workflows:
60
64
  name: ruby2-5_rails5-2
61
65
  ruby_version: 2.5.9
62
66
  rails_version: 5.2.6
63
- - bundle_lint_test:
64
- name: ruby2-4_rails5-2
65
- ruby_version: 2.4.10
66
- rails_version: 5.2.6
67
-
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
18
18
  spec.require_paths = ["lib"]
19
19
 
20
20
  spec.add_dependency "active-fedora", ">= 11.0.0.pre", "< 14"
21
- spec.add_dependency "activemodel", "< 6.0" # Pin this because there are test failures with rails 6.1
21
+ spec.add_dependency "activemodel", "< 6.1" # Pin this because there are test failures with rails 6.1
22
22
  spec.add_dependency "om", "~> 3.1"
23
23
  spec.add_dependency "nom-xml", ">= 0.5.1"
24
24
  spec.add_dependency "rdf-rdfxml", '~> 2.0'
@@ -50,16 +50,16 @@ module ActiveFedora
50
50
 
51
51
  # don't want content eagerly loaded by proxy, so implementing methods that would be implemented by define_attribute_methods
52
52
  def ng_xml_will_change!
53
- attributes_changed_by_setter['ng_xml'] = nil
53
+ attribute_will_change!("ng_xml")
54
54
  end
55
55
 
56
56
  def ng_xml_doesnt_change!
57
- attributes_changed_by_setter.delete('ng_xml')
57
+ clear_attribute_changes("ng_xml")
58
58
  end
59
59
 
60
60
  # don't want content eagerly loaded by proxy, so implementing methods that would be implemented by define_attribute_methods
61
61
  def ng_xml_changed?
62
- attributes_changed_by_setter.key? 'ng_xml'
62
+ changed_attributes.include?("ng_xml")
63
63
  end
64
64
 
65
65
  def remote_content
@@ -108,7 +108,7 @@ module ActiveFedora
108
108
  end
109
109
 
110
110
  def autocreate?
111
- attributes_changed_by_setter.key? :profile
111
+ changed_attributes.include? :profile
112
112
  end
113
113
 
114
114
  def xml_loaded
@@ -1,5 +1,5 @@
1
1
  module ActiveFedora
2
2
  module Datastreams
3
- VERSION = "0.3.0".freeze
3
+ VERSION = "0.4.0".freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_fedora-datastreams
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Coyne
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-04 00:00:00.000000000 Z
11
+ date: 2022-06-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: active-fedora
@@ -36,14 +36,14 @@ dependencies:
36
36
  requirements:
37
37
  - - "<"
38
38
  - !ruby/object:Gem::Version
39
- version: '6.0'
39
+ version: '6.1'
40
40
  type: :runtime
41
41
  prerelease: false
42
42
  version_requirements: !ruby/object:Gem::Requirement
43
43
  requirements:
44
44
  - - "<"
45
45
  - !ruby/object:Gem::Version
46
- version: '6.0'
46
+ version: '6.1'
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: om
49
49
  requirement: !ruby/object:Gem::Requirement