active-fedora 6.7.8 → 6.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rspec +1 -0
- data/.rubocop.yml +1 -0
- data/.rubocop_todo.yml +938 -0
- data/.travis.yml +5 -6
- data/Gemfile +3 -1
- data/Rakefile +7 -5
- data/active-fedora.gemspec +7 -8
- data/lib/active_fedora/om_datastream.rb +1 -0
- data/lib/active_fedora/rdf_xml_writer.rb +31 -62
- data/lib/active_fedora/version.rb +1 -1
- data/spec/config_helper.rb +14 -14
- data/spec/integration/associations_spec.rb +232 -232
- data/spec/integration/attributes_spec.rb +11 -12
- data/spec/integration/auditable_spec.rb +10 -10
- data/spec/integration/base_spec.rb +163 -163
- data/spec/integration/bug_spec.rb +7 -7
- data/spec/integration/complex_rdf_datastream_spec.rb +88 -88
- data/spec/integration/datastream_collections_spec.rb +69 -69
- data/spec/integration/datastream_spec.rb +43 -43
- data/spec/integration/datastreams_spec.rb +63 -63
- data/spec/integration/delegating_spec.rb +14 -14
- data/spec/integration/delete_all_spec.rb +38 -42
- data/spec/integration/fedora_solr_sync_spec.rb +5 -5
- data/spec/integration/full_featured_model_spec.rb +101 -101
- data/spec/integration/has_many_associations_spec.rb +24 -24
- data/spec/integration/model_spec.rb +30 -30
- data/spec/integration/nested_attribute_spec.rb +41 -41
- data/spec/integration/ntriples_datastream_spec.rb +107 -107
- data/spec/integration/om_datastream_spec.rb +67 -67
- data/spec/integration/persistence_spec.rb +6 -6
- data/spec/integration/rdf_nested_attributes_spec.rb +56 -56
- data/spec/integration/relation_delegation_spec.rb +24 -26
- data/spec/integration/rels_ext_datastream_spec.rb +20 -20
- data/spec/integration/scoped_query_spec.rb +40 -41
- data/spec/integration/solr_instance_loader_spec.rb +4 -4
- data/spec/integration/solr_service_spec.rb +46 -46
- data/spec/rails3_test_app/config/application.rb +1 -1
- data/spec/rails3_test_app/config/environments/development.rb +0 -1
- data/spec/rails3_test_app/config/environments/production.rb +1 -1
- data/spec/rails3_test_app/spec/spec_helper.rb +3 -3
- data/spec/rails3_test_app/spec/unit/rails_3_init.rb +4 -4
- data/spec/samples/hydra-mods_article_datastream.rb +334 -334
- data/spec/samples/hydra-rights_metadata_datastream.rb +57 -57
- data/spec/samples/marpa-dc_datastream.rb +17 -17
- data/spec/samples/models/audio_record.rb +16 -16
- data/spec/samples/models/image.rb +2 -2
- data/spec/samples/models/mods_article.rb +5 -5
- data/spec/samples/models/oral_history.rb +18 -18
- data/spec/samples/models/seminar.rb +24 -24
- data/spec/samples/models/seminar_audio_file.rb +17 -17
- data/spec/samples/oral_history_sample_model.rb +21 -21
- data/spec/samples/special_thing.rb +14 -14
- data/spec/spec_helper.rb +7 -11
- data/spec/support/an_active_model.rb +2 -2
- data/spec/support/mock_fedora.rb +16 -17
- data/spec/unit/active_fedora_spec.rb +58 -58
- data/spec/unit/association_proxy_spec.rb +5 -7
- data/spec/unit/base_active_model_spec.rb +25 -26
- data/spec/unit/base_cma_spec.rb +5 -5
- data/spec/unit/base_datastream_management_spec.rb +27 -27
- data/spec/unit/base_delegate_spec.rb +80 -82
- data/spec/unit/base_delegate_to_spec.rb +37 -39
- data/spec/unit/base_extra_spec.rb +48 -48
- data/spec/unit/base_spec.rb +300 -300
- data/spec/unit/callback_spec.rb +19 -19
- data/spec/unit/code_configurator_spec.rb +17 -17
- data/spec/unit/config_spec.rb +16 -8
- data/spec/unit/content_model_spec.rb +60 -60
- data/spec/unit/datastream_collections_spec.rb +229 -229
- data/spec/unit/datastream_spec.rb +57 -54
- data/spec/unit/datastreams_spec.rb +77 -77
- data/spec/unit/file_configurator_spec.rb +217 -217
- data/spec/unit/has_and_belongs_to_many_collection_spec.rb +26 -26
- data/spec/unit/has_many_collection_spec.rb +9 -9
- data/spec/unit/inheritance_spec.rb +12 -13
- data/spec/unit/model_spec.rb +41 -51
- data/spec/unit/nom_datastream_spec.rb +15 -15
- data/spec/unit/ntriples_datastream_spec.rb +112 -112
- data/spec/unit/om_datastream_spec.rb +233 -227
- data/spec/unit/persistence_spec.rb +6 -6
- data/spec/unit/predicates_spec.rb +73 -73
- data/spec/unit/property_spec.rb +9 -17
- data/spec/unit/qualified_dublin_core_datastream_spec.rb +33 -33
- data/spec/unit/query_spec.rb +188 -217
- data/spec/unit/rdf_datastream_spec.rb +28 -21
- data/spec/unit/rdf_list_nested_attributes_spec.rb +34 -34
- data/spec/unit/rdf_list_spec.rb +80 -104
- data/spec/unit/rdf_node_spec.rb +7 -7
- data/spec/unit/rdf_xml_writer_spec.rb +10 -10
- data/spec/unit/rdfxml_rdf_datastream_spec.rb +27 -27
- data/spec/unit/relationship_graph_spec.rb +51 -51
- data/spec/unit/rels_ext_datastream_spec.rb +75 -69
- data/spec/unit/rspec_matchers/belong_to_associated_active_fedora_object_matcher_spec.rb +15 -15
- data/spec/unit/rspec_matchers/have_many_associated_active_fedora_objects_matcher_spec.rb +15 -15
- data/spec/unit/rspec_matchers/have_predicate_matcher_spec.rb +15 -15
- data/spec/unit/rspec_matchers/match_fedora_datastream_matcher_spec.rb +12 -12
- data/spec/unit/rubydora_connection_spec.rb +5 -5
- data/spec/unit/semantic_node_spec.rb +59 -59
- data/spec/unit/serializers_spec.rb +4 -4
- data/spec/unit/service_definitions_spec.rb +26 -26
- data/spec/unit/simple_datastream_spec.rb +17 -17
- data/spec/unit/solr_config_options_spec.rb +27 -28
- data/spec/unit/solr_digital_object_spec.rb +21 -21
- data/spec/unit/solr_service_spec.rb +81 -81
- data/spec/unit/unsaved_digital_object_spec.rb +20 -20
- data/spec/unit/validations_spec.rb +21 -21
- metadata +70 -58
- data/gemfiles/gemfile.rails3 +0 -11
- data/gemfiles/gemfile.rails4 +0 -10
@@ -1,46 +1,46 @@
|
|
1
1
|
require 'spec_helper'
|
2
2
|
|
3
3
|
describe ActiveFedora::UnsavedDigitalObject do
|
4
|
-
|
5
|
-
describe
|
4
|
+
|
5
|
+
describe 'an unsaved instance' do
|
6
6
|
before do
|
7
|
-
@obj = ActiveFedora::UnsavedDigitalObject.new(ActiveFedora::Base, 'bar')
|
7
|
+
@obj = ActiveFedora::UnsavedDigitalObject.new(ActiveFedora::Base, 'bar')
|
8
8
|
end
|
9
|
-
it
|
9
|
+
it 'should have ownerId property' do
|
10
10
|
@obj.ownerId = 'fooo'
|
11
|
-
@obj.ownerId.
|
11
|
+
expect(@obj.ownerId).to eq('fooo')
|
12
12
|
end
|
13
13
|
|
14
|
-
it
|
14
|
+
it 'should have state' do
|
15
15
|
@obj.ownerId = 'D'
|
16
|
-
@obj.ownerId.
|
16
|
+
expect(@obj.ownerId).to eq('D')
|
17
17
|
end
|
18
18
|
|
19
|
-
it
|
20
|
-
@obj.pid.
|
19
|
+
it 'should not have a default pid' do
|
20
|
+
expect(@obj.pid).to be_nil
|
21
21
|
end
|
22
|
-
it
|
23
|
-
@obj.pid =
|
24
|
-
@obj.pid.
|
22
|
+
it 'should be able to set the pid' do
|
23
|
+
@obj.pid = 'my:new_object'
|
24
|
+
expect(@obj.pid).to eq('my:new_object')
|
25
25
|
end
|
26
26
|
end
|
27
27
|
|
28
28
|
|
29
|
-
describe
|
29
|
+
describe '#save' do
|
30
30
|
before :all do
|
31
|
-
obj = ActiveFedora::UnsavedDigitalObject.new(ActiveFedora::Base, 'bar')
|
31
|
+
obj = ActiveFedora::UnsavedDigitalObject.new(ActiveFedora::Base, 'bar')
|
32
32
|
obj.label = 'my label'
|
33
33
|
obj.ownerId = 'fooo'
|
34
34
|
@saved_obj = obj.save
|
35
35
|
end
|
36
|
-
it
|
37
|
-
@saved_obj.
|
36
|
+
it 'should be a digital object' do
|
37
|
+
expect(@saved_obj).to be_kind_of ActiveFedora::DigitalObject
|
38
38
|
end
|
39
|
-
it
|
40
|
-
@saved_obj.ownerId.
|
39
|
+
it 'should set the ownerId property' do
|
40
|
+
expect(@saved_obj.ownerId).to eq('fooo')
|
41
41
|
end
|
42
|
-
it
|
43
|
-
@saved_obj.label.
|
42
|
+
it 'should set the label property' do
|
43
|
+
expect(@saved_obj.label).to eq('my label')
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
@@ -3,16 +3,16 @@ require 'spec_helper'
|
|
3
3
|
describe ActiveFedora::Base do
|
4
4
|
before :all do
|
5
5
|
class ValidationStub < ActiveFedora::Base
|
6
|
-
has_metadata :type=>ActiveFedora::SimpleDatastream, :name=>
|
7
|
-
m.field
|
8
|
-
m.field
|
6
|
+
has_metadata :type => ActiveFedora::SimpleDatastream, :name => 'someData' do |m|
|
7
|
+
m.field 'fubar', :string
|
8
|
+
m.field 'swank', :text
|
9
9
|
end
|
10
|
-
delegate :fubar, :to=>'someData', multiple: true
|
11
|
-
delegate :swank, :to=>'someData', multiple: false
|
10
|
+
delegate :fubar, :to => 'someData', multiple: true
|
11
|
+
delegate :swank, :to => 'someData', multiple: false
|
12
12
|
|
13
13
|
validates_presence_of :fubar
|
14
|
-
validates_length_of :swank, :minimum=>5
|
15
|
-
|
14
|
+
validates_length_of :swank, :minimum => 5
|
15
|
+
|
16
16
|
end
|
17
17
|
end
|
18
18
|
|
@@ -22,28 +22,28 @@ describe ActiveFedora::Base do
|
|
22
22
|
Object.send(:remove_const, :ValidationStub)
|
23
23
|
end
|
24
24
|
|
25
|
-
describe
|
25
|
+
describe 'a valid object' do
|
26
26
|
before do
|
27
|
-
subject.attributes={ fubar:'here', swank:'long enough'}
|
27
|
+
subject.attributes = { fubar: 'here', swank: 'long enough'}
|
28
28
|
end
|
29
|
-
|
30
|
-
it {
|
29
|
+
|
30
|
+
it { is_expected.to be_valid}
|
31
31
|
end
|
32
|
-
describe
|
32
|
+
describe 'an invalid object' do
|
33
33
|
before do
|
34
|
-
subject.attributes={ swank:'smal'}
|
34
|
+
subject.attributes = { swank: 'smal'}
|
35
35
|
end
|
36
|
-
it
|
37
|
-
subject.
|
38
|
-
subject.errors[:fubar].
|
39
|
-
subject.errors[:swank].
|
36
|
+
it 'should have errors' do
|
37
|
+
expect(subject).not_to be_valid
|
38
|
+
expect(subject.errors[:fubar]).to eq(["can't be blank"])
|
39
|
+
expect(subject.errors[:swank]).to eq(['is too short (minimum is 5 characters)'])
|
40
40
|
end
|
41
41
|
end
|
42
42
|
|
43
|
-
describe
|
44
|
-
it
|
45
|
-
subject.required?(:fubar).
|
46
|
-
subject.required?(:swank).
|
43
|
+
describe 'required terms' do
|
44
|
+
it 'should be required' do
|
45
|
+
expect(subject.required?(:fubar)).to be_truthy
|
46
|
+
expect(subject.required?(:swank)).to be_falsey
|
47
47
|
end
|
48
48
|
end
|
49
49
|
|
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: 6.
|
4
|
+
version: 6.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matt Zumwalt
|
@@ -10,258 +10,270 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2016-10-13 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rsolr
|
17
17
|
requirement: !ruby/object:Gem::Requirement
|
18
18
|
requirements:
|
19
|
-
- -
|
19
|
+
- - ">="
|
20
20
|
- !ruby/object:Gem::Version
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
|
-
- -
|
26
|
+
- - ">="
|
27
27
|
- !ruby/object:Gem::Version
|
28
28
|
version: '0'
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: om
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
|
-
- - ~>
|
33
|
+
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: 3.0
|
35
|
+
version: '3.0'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- - ~>
|
40
|
+
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: 3.0
|
42
|
+
version: '3.0'
|
43
43
|
- !ruby/object:Gem::Dependency
|
44
44
|
name: nom-xml
|
45
45
|
requirement: !ruby/object:Gem::Requirement
|
46
46
|
requirements:
|
47
|
-
- -
|
47
|
+
- - ">="
|
48
48
|
- !ruby/object:Gem::Version
|
49
49
|
version: 0.5.1
|
50
50
|
type: :runtime
|
51
51
|
prerelease: false
|
52
52
|
version_requirements: !ruby/object:Gem::Requirement
|
53
53
|
requirements:
|
54
|
-
- -
|
54
|
+
- - ">="
|
55
55
|
- !ruby/object:Gem::Version
|
56
56
|
version: 0.5.1
|
57
57
|
- !ruby/object:Gem::Dependency
|
58
58
|
name: activesupport
|
59
59
|
requirement: !ruby/object:Gem::Requirement
|
60
60
|
requirements:
|
61
|
-
- -
|
61
|
+
- - ">="
|
62
62
|
- !ruby/object:Gem::Version
|
63
|
-
version: 3
|
63
|
+
version: '3'
|
64
64
|
type: :runtime
|
65
65
|
prerelease: false
|
66
66
|
version_requirements: !ruby/object:Gem::Requirement
|
67
67
|
requirements:
|
68
|
-
- -
|
68
|
+
- - ">="
|
69
69
|
- !ruby/object:Gem::Version
|
70
|
-
version: 3
|
70
|
+
version: '3'
|
71
71
|
- !ruby/object:Gem::Dependency
|
72
72
|
name: mediashelf-loggable
|
73
73
|
requirement: !ruby/object:Gem::Requirement
|
74
74
|
requirements:
|
75
|
-
- -
|
75
|
+
- - ">="
|
76
76
|
- !ruby/object:Gem::Version
|
77
77
|
version: '0'
|
78
78
|
type: :runtime
|
79
79
|
prerelease: false
|
80
80
|
version_requirements: !ruby/object:Gem::Requirement
|
81
81
|
requirements:
|
82
|
-
- -
|
82
|
+
- - ">="
|
83
83
|
- !ruby/object:Gem::Version
|
84
84
|
version: '0'
|
85
85
|
- !ruby/object:Gem::Dependency
|
86
86
|
name: rubydora
|
87
87
|
requirement: !ruby/object:Gem::Requirement
|
88
88
|
requirements:
|
89
|
-
- - ~>
|
89
|
+
- - "~>"
|
90
90
|
- !ruby/object:Gem::Version
|
91
|
-
version: 1.
|
91
|
+
version: '1.6'
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: 1.6.5
|
92
95
|
type: :runtime
|
93
96
|
prerelease: false
|
94
97
|
version_requirements: !ruby/object:Gem::Requirement
|
95
98
|
requirements:
|
96
|
-
- - ~>
|
99
|
+
- - "~>"
|
100
|
+
- !ruby/object:Gem::Version
|
101
|
+
version: '1.6'
|
102
|
+
- - ">="
|
97
103
|
- !ruby/object:Gem::Version
|
98
|
-
version: 1.
|
104
|
+
version: 1.6.5
|
99
105
|
- !ruby/object:Gem::Dependency
|
100
106
|
name: rdf
|
101
107
|
requirement: !ruby/object:Gem::Requirement
|
102
108
|
requirements:
|
103
|
-
- - ~>
|
109
|
+
- - "~>"
|
110
|
+
- !ruby/object:Gem::Version
|
111
|
+
version: '1.1'
|
112
|
+
- - ">="
|
104
113
|
- !ruby/object:Gem::Version
|
105
114
|
version: 1.1.1.1
|
106
115
|
type: :runtime
|
107
116
|
prerelease: false
|
108
117
|
version_requirements: !ruby/object:Gem::Requirement
|
109
118
|
requirements:
|
110
|
-
- - ~>
|
119
|
+
- - "~>"
|
120
|
+
- !ruby/object:Gem::Version
|
121
|
+
version: '1.1'
|
122
|
+
- - ">="
|
111
123
|
- !ruby/object:Gem::Version
|
112
124
|
version: 1.1.1.1
|
113
125
|
- !ruby/object:Gem::Dependency
|
114
126
|
name: rdf-rdfxml
|
115
127
|
requirement: !ruby/object:Gem::Requirement
|
116
128
|
requirements:
|
117
|
-
- -
|
129
|
+
- - "~>"
|
118
130
|
- !ruby/object:Gem::Version
|
119
|
-
version: 1.
|
131
|
+
version: '1.1'
|
120
132
|
type: :runtime
|
121
133
|
prerelease: false
|
122
134
|
version_requirements: !ruby/object:Gem::Requirement
|
123
135
|
requirements:
|
124
|
-
- -
|
136
|
+
- - "~>"
|
125
137
|
- !ruby/object:Gem::Version
|
126
|
-
version: 1.
|
138
|
+
version: '1.1'
|
127
139
|
- !ruby/object:Gem::Dependency
|
128
140
|
name: deprecation
|
129
141
|
requirement: !ruby/object:Gem::Requirement
|
130
142
|
requirements:
|
131
|
-
- -
|
143
|
+
- - ">="
|
132
144
|
- !ruby/object:Gem::Version
|
133
145
|
version: '0'
|
134
146
|
type: :runtime
|
135
147
|
prerelease: false
|
136
148
|
version_requirements: !ruby/object:Gem::Requirement
|
137
149
|
requirements:
|
138
|
-
- -
|
150
|
+
- - ">="
|
139
151
|
- !ruby/object:Gem::Version
|
140
152
|
version: '0'
|
141
153
|
- !ruby/object:Gem::Dependency
|
142
154
|
name: rdoc
|
143
155
|
requirement: !ruby/object:Gem::Requirement
|
144
156
|
requirements:
|
145
|
-
- -
|
157
|
+
- - ">="
|
146
158
|
- !ruby/object:Gem::Version
|
147
159
|
version: '0'
|
148
160
|
type: :development
|
149
161
|
prerelease: false
|
150
162
|
version_requirements: !ruby/object:Gem::Requirement
|
151
163
|
requirements:
|
152
|
-
- -
|
164
|
+
- - ">="
|
153
165
|
- !ruby/object:Gem::Version
|
154
166
|
version: '0'
|
155
167
|
- !ruby/object:Gem::Dependency
|
156
168
|
name: yard
|
157
169
|
requirement: !ruby/object:Gem::Requirement
|
158
170
|
requirements:
|
159
|
-
- -
|
171
|
+
- - ">="
|
160
172
|
- !ruby/object:Gem::Version
|
161
173
|
version: '0'
|
162
174
|
type: :development
|
163
175
|
prerelease: false
|
164
176
|
version_requirements: !ruby/object:Gem::Requirement
|
165
177
|
requirements:
|
166
|
-
- -
|
178
|
+
- - ">="
|
167
179
|
- !ruby/object:Gem::Version
|
168
180
|
version: '0'
|
169
181
|
- !ruby/object:Gem::Dependency
|
170
182
|
name: RedCloth
|
171
183
|
requirement: !ruby/object:Gem::Requirement
|
172
184
|
requirements:
|
173
|
-
- -
|
185
|
+
- - ">="
|
174
186
|
- !ruby/object:Gem::Version
|
175
187
|
version: '0'
|
176
188
|
type: :development
|
177
189
|
prerelease: false
|
178
190
|
version_requirements: !ruby/object:Gem::Requirement
|
179
191
|
requirements:
|
180
|
-
- -
|
192
|
+
- - ">="
|
181
193
|
- !ruby/object:Gem::Version
|
182
194
|
version: '0'
|
183
195
|
- !ruby/object:Gem::Dependency
|
184
196
|
name: rake
|
185
197
|
requirement: !ruby/object:Gem::Requirement
|
186
198
|
requirements:
|
187
|
-
- -
|
199
|
+
- - ">="
|
188
200
|
- !ruby/object:Gem::Version
|
189
201
|
version: '0'
|
190
202
|
type: :development
|
191
203
|
prerelease: false
|
192
204
|
version_requirements: !ruby/object:Gem::Requirement
|
193
205
|
requirements:
|
194
|
-
- -
|
206
|
+
- - ">="
|
195
207
|
- !ruby/object:Gem::Version
|
196
208
|
version: '0'
|
197
209
|
- !ruby/object:Gem::Dependency
|
198
210
|
name: jettywrapper
|
199
211
|
requirement: !ruby/object:Gem::Requirement
|
200
212
|
requirements:
|
201
|
-
- -
|
213
|
+
- - ">="
|
202
214
|
- !ruby/object:Gem::Version
|
203
215
|
version: 1.4.0
|
204
216
|
type: :development
|
205
217
|
prerelease: false
|
206
218
|
version_requirements: !ruby/object:Gem::Requirement
|
207
219
|
requirements:
|
208
|
-
- -
|
220
|
+
- - ">="
|
209
221
|
- !ruby/object:Gem::Version
|
210
222
|
version: 1.4.0
|
211
223
|
- !ruby/object:Gem::Dependency
|
212
224
|
name: rspec
|
213
225
|
requirement: !ruby/object:Gem::Requirement
|
214
226
|
requirements:
|
215
|
-
- - ~>
|
227
|
+
- - "~>"
|
216
228
|
- !ruby/object:Gem::Version
|
217
|
-
version: '2.
|
229
|
+
version: '2.99'
|
218
230
|
type: :development
|
219
231
|
prerelease: false
|
220
232
|
version_requirements: !ruby/object:Gem::Requirement
|
221
233
|
requirements:
|
222
|
-
- - ~>
|
234
|
+
- - "~>"
|
223
235
|
- !ruby/object:Gem::Version
|
224
|
-
version: '2.
|
236
|
+
version: '2.99'
|
225
237
|
- !ruby/object:Gem::Dependency
|
226
238
|
name: equivalent-xml
|
227
239
|
requirement: !ruby/object:Gem::Requirement
|
228
240
|
requirements:
|
229
|
-
- -
|
241
|
+
- - ">="
|
230
242
|
- !ruby/object:Gem::Version
|
231
243
|
version: '0'
|
232
244
|
type: :development
|
233
245
|
prerelease: false
|
234
246
|
version_requirements: !ruby/object:Gem::Requirement
|
235
247
|
requirements:
|
236
|
-
- -
|
248
|
+
- - ">="
|
237
249
|
- !ruby/object:Gem::Version
|
238
250
|
version: '0'
|
239
251
|
- !ruby/object:Gem::Dependency
|
240
252
|
name: rest-client
|
241
253
|
requirement: !ruby/object:Gem::Requirement
|
242
254
|
requirements:
|
243
|
-
- -
|
255
|
+
- - ">="
|
244
256
|
- !ruby/object:Gem::Version
|
245
257
|
version: '0'
|
246
258
|
type: :development
|
247
259
|
prerelease: false
|
248
260
|
version_requirements: !ruby/object:Gem::Requirement
|
249
261
|
requirements:
|
250
|
-
- -
|
262
|
+
- - ">="
|
251
263
|
- !ruby/object:Gem::Version
|
252
264
|
version: '0'
|
253
265
|
- !ruby/object:Gem::Dependency
|
254
266
|
name: webmock
|
255
267
|
requirement: !ruby/object:Gem::Requirement
|
256
268
|
requirements:
|
257
|
-
- -
|
269
|
+
- - ">="
|
258
270
|
- !ruby/object:Gem::Version
|
259
271
|
version: '0'
|
260
272
|
type: :development
|
261
273
|
prerelease: false
|
262
274
|
version_requirements: !ruby/object:Gem::Requirement
|
263
275
|
requirements:
|
264
|
-
- -
|
276
|
+
- - ">="
|
265
277
|
- !ruby/object:Gem::Version
|
266
278
|
version: '0'
|
267
279
|
description: ActiveFedora provides for creating and managing objects in the Fedora
|
@@ -274,10 +286,13 @@ extra_rdoc_files:
|
|
274
286
|
- LICENSE
|
275
287
|
- README.textile
|
276
288
|
files:
|
277
|
-
- .gitignore
|
278
|
-
- .gitmodules
|
279
|
-
- .mailmap
|
280
|
-
- .
|
289
|
+
- ".gitignore"
|
290
|
+
- ".gitmodules"
|
291
|
+
- ".mailmap"
|
292
|
+
- ".rspec"
|
293
|
+
- ".rubocop.yml"
|
294
|
+
- ".rubocop_todo.yml"
|
295
|
+
- ".travis.yml"
|
281
296
|
- CONSOLE_GETTING_STARTED.textile
|
282
297
|
- CONTRIBUTING.md
|
283
298
|
- CONTRIBUTORS.md
|
@@ -295,8 +310,6 @@ files:
|
|
295
310
|
- config/solr.yml
|
296
311
|
- config/solr_mappings_af_0.1.yml
|
297
312
|
- config/solr_mappings_bl_2.4.yml
|
298
|
-
- gemfiles/gemfile.rails3
|
299
|
-
- gemfiles/gemfile.rails4
|
300
313
|
- lib/active-fedora.rb
|
301
314
|
- lib/active_fedora.rb
|
302
315
|
- lib/active_fedora/associations.rb
|
@@ -540,17 +553,17 @@ require_paths:
|
|
540
553
|
- lib
|
541
554
|
required_ruby_version: !ruby/object:Gem::Requirement
|
542
555
|
requirements:
|
543
|
-
- -
|
556
|
+
- - ">="
|
544
557
|
- !ruby/object:Gem::Version
|
545
558
|
version: 1.9.3
|
546
559
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
547
560
|
requirements:
|
548
|
-
- -
|
561
|
+
- - ">="
|
549
562
|
- !ruby/object:Gem::Version
|
550
563
|
version: '0'
|
551
564
|
requirements: []
|
552
565
|
rubyforge_project:
|
553
|
-
rubygems_version: 2.
|
566
|
+
rubygems_version: 2.5.1
|
554
567
|
signing_key:
|
555
568
|
specification_version: 4
|
556
569
|
summary: A convenience libary for manipulating documents in the Fedora Repository.
|
@@ -696,4 +709,3 @@ test_files:
|
|
696
709
|
- spec/unit/solr_service_spec.rb
|
697
710
|
- spec/unit/unsaved_digital_object_spec.rb
|
698
711
|
- spec/unit/validations_spec.rb
|
699
|
-
has_rdoc:
|