active-fedora 5.7.1 → 6.0.0.pre1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (65) hide show
  1. data/.gitmodules +1 -1
  2. data/Gemfile +2 -1
  3. data/History.txt +0 -14
  4. data/Rakefile +1 -2
  5. data/active-fedora.gemspec +2 -2
  6. data/lib/active_fedora.rb +1 -16
  7. data/lib/active_fedora/associations.rb +8 -11
  8. data/lib/active_fedora/associations/association_collection.rb +2 -4
  9. data/lib/active_fedora/associations/has_and_belongs_to_many_association.rb +3 -12
  10. data/lib/active_fedora/associations/has_many_association.rb +0 -4
  11. data/lib/active_fedora/base.rb +6 -6
  12. data/lib/active_fedora/config.rb +0 -7
  13. data/lib/active_fedora/datastream.rb +0 -37
  14. data/lib/active_fedora/datastream_collections.rb +0 -10
  15. data/lib/active_fedora/datastreams.rb +0 -17
  16. data/lib/active_fedora/digital_object.rb +1 -1
  17. data/lib/active_fedora/file_configurator.rb +0 -22
  18. data/lib/active_fedora/fixture_loader.rb +1 -1
  19. data/lib/active_fedora/nokogiri_datastream.rb +9 -51
  20. data/lib/active_fedora/qualified_dublin_core_datastream.rb +1 -1
  21. data/lib/active_fedora/querying.rb +8 -4
  22. data/lib/active_fedora/rdf_datastream.rb +10 -9
  23. data/lib/active_fedora/rdf_node.rb +1 -1
  24. data/lib/active_fedora/rdf_node/term_proxy.rb +9 -5
  25. data/lib/active_fedora/relation.rb +1 -1
  26. data/lib/active_fedora/rels_ext_datastream.rb +1 -8
  27. data/lib/active_fedora/semantic_node.rb +0 -35
  28. data/lib/active_fedora/simple_datastream.rb +1 -1
  29. data/lib/active_fedora/solr_service.rb +6 -8
  30. data/lib/active_fedora/version.rb +1 -1
  31. data/lib/tasks/active_fedora_dev.rake +11 -3
  32. data/solr/conf/schema.xml +10 -1
  33. data/spec/integration/base_spec.rb +2 -347
  34. data/spec/integration/complex_rdf_datastream_spec.rb +1 -1
  35. data/spec/integration/full_featured_model_spec.rb +1 -9
  36. data/spec/integration/ntriples_datastream_spec.rb +4 -4
  37. data/spec/integration/om_datastream_spec.rb +2 -1
  38. data/spec/integration/rels_ext_datastream_spec.rb +1 -89
  39. data/spec/integration/scoped_query_spec.rb +4 -4
  40. data/spec/samples/hydra-mods_article_datastream.rb +2 -2
  41. data/spec/spec_helper.rb +3 -0
  42. data/spec/unit/base_spec.rb +7 -81
  43. data/spec/unit/datastream_spec.rb +0 -25
  44. data/spec/unit/has_many_collection_spec.rb +2 -27
  45. data/spec/unit/ntriples_datastream_spec.rb +28 -39
  46. data/spec/unit/om_datastream_spec.rb +13 -13
  47. data/spec/unit/qualified_dublin_core_datastream_spec.rb +1 -1
  48. data/spec/unit/query_spec.rb +1 -24
  49. data/spec/unit/semantic_node_spec.rb +0 -2
  50. data/spec/unit/simple_datastream_spec.rb +2 -2
  51. data/spec/unit/solr_config_options_spec.rb +1 -1
  52. metadata +76 -57
  53. checksums.yaml +0 -7
  54. data/.travis.yml +0 -8
  55. data/lib/active_fedora/file_management.rb +0 -81
  56. data/lib/active_fedora/metadata_datastream_helper.rb +0 -43
  57. data/lib/active_fedora/named_relationships.rb +0 -99
  58. data/lib/active_fedora/relationships.rb +0 -663
  59. data/spec/integration/base_file_management_spec.rb +0 -24
  60. data/spec/integration/has_many_associations_spec.rb +0 -64
  61. data/spec/integration/metadata_datastream_helper_spec.rb +0 -100
  62. data/spec/integration/semantic_node_spec.rb +0 -457
  63. data/spec/unit/base_file_management_spec.rb +0 -95
  64. data/spec/unit/has_and_belongs_to_many_collection_spec.rb +0 -59
  65. data/spec/unit/relationships_spec.rb +0 -871
@@ -10,18 +10,18 @@ describe ActiveFedora::OmDatastream do
10
10
  }
11
11
  @sample_raw_xml = "<foo><xmlelement/></foo>"
12
12
  @solr_doc = {"id"=>"hydrange_article1",
13
- ActiveFedora::SolrService.solr_name("name_role_roleTerm", :string, :searchable) =>["creator","submitter","teacher"],
14
- ActiveFedora::SolrService.solr_name("name_0_role", :string, :searchable)=>"\r\ncreator\r\nsubmitter\r\n",
15
- ActiveFedora::SolrService.solr_name("name_1_role", :string, :searchable)=>"\r\n teacher \r\n",
16
- ActiveFedora::SolrService.solr_name("name_0_role_0_roleTerm", :string, :searchable)=>"creator",
17
- ActiveFedora::SolrService.solr_name("name_0_role_1_roleTerm", :string, :searchable)=>"submitter",
18
- ActiveFedora::SolrService.solr_name("name_1_role_0_roleTerm", :string, :searchable)=>["teacher"]}
13
+ ActiveFedora::SolrService.solr_name("name_role_roleTerm", type: :string) =>["creator","submitter","teacher"],
14
+ ActiveFedora::SolrService.solr_name("name_0_role", type: :string)=>"\r\ncreator\r\nsubmitter\r\n",
15
+ ActiveFedora::SolrService.solr_name("name_1_role", type: :string)=>"\r\n teacher \r\n",
16
+ ActiveFedora::SolrService.solr_name("name_0_role_0_roleTerm", type: :string)=>"creator",
17
+ ActiveFedora::SolrService.solr_name("name_0_role_1_roleTerm", type: :string)=>"submitter",
18
+ ActiveFedora::SolrService.solr_name("name_1_role_0_roleTerm", type: :string)=>["teacher"]}
19
19
  end
20
20
 
21
21
  before(:each) do
22
22
  @mock_inner = mock('inner object')
23
23
  @mock_repo = mock('repository')
24
- @mock_repo.stub(:datastream_dissemination=>'My Content', :config=>{}, :datastream=>'')
24
+ @mock_repo.stub(:datastream_dissemination=>'My Content', :config=>{})
25
25
  @mock_inner.stub(:repository).and_return(@mock_repo)
26
26
  @mock_inner.stub(:pid)
27
27
  @mock_inner.stub(:new? => false)
@@ -173,7 +173,6 @@ describe ActiveFedora::OmDatastream do
173
173
  it "should persist the product of .to_xml in fedora" do
174
174
  @mock_repo.stub(:datastream).and_return('')
175
175
  @test_ds.stub(:new? => true)
176
- @test_ds.stub(:ng_xml_changed? => true)
177
176
  @test_ds.stub(:to_xml => "fake xml")
178
177
  @mock_repo.should_receive(:add_datastream).with(:pid => nil, :dsid => 'descMetadata', :versionable => true, :content => 'fake xml', :controlGroup => 'X', :dsState => 'A', :mimeType=>'text/xml')
179
178
 
@@ -183,7 +182,7 @@ describe ActiveFedora::OmDatastream do
183
182
  end
184
183
  end
185
184
 
186
- describe 'setting content' do
185
+ describe '.content=' do
187
186
  subject { ActiveFedora::OmDatastream.new(@mock_inner, "descMetadata") }
188
187
  it "should update the content" do
189
188
  subject.stub(:new? => false )
@@ -226,6 +225,7 @@ describe ActiveFedora::OmDatastream do
226
225
  @test_ds2.should_not be_changed
227
226
  @test_ds2.ng_xml = @sample_raw_xml
228
227
  @test_ds2.should be_changed
228
+ @test_ds2.instance_variable_get(:@content).should be_nil
229
229
  end
230
230
  end
231
231
 
@@ -308,11 +308,11 @@ describe ActiveFedora::OmDatastream do
308
308
 
309
309
  describe '.has_solr_name?' do
310
310
  it "should return true if the given key exists in the solr document passed in" do
311
- @test_ds.has_solr_name?(ActiveFedora::SolrService.solr_name("name_0_role_0_roleTerm", :string, :searchable),@solr_doc).should == true
312
- @test_ds.has_solr_name?(ActiveFedora::SolrService.solr_name("name_0_role_0_roleTerm", :string, :searchable).to_sym,@solr_doc).should == true
313
- @test_ds.has_solr_name?(ActiveFedora::SolrService.solr_name("name_1_role_1_roleTerm", :string, :searchable),@solr_doc).should == false
311
+ @test_ds.has_solr_name?(ActiveFedora::SolrService.solr_name("name_0_role_0_roleTerm", type: :string),@solr_doc).should == true
312
+ @test_ds.has_solr_name?(ActiveFedora::SolrService.solr_name("name_0_role_0_roleTerm", type: :string).to_sym,@solr_doc).should == true
313
+ @test_ds.has_solr_name?(ActiveFedora::SolrService.solr_name("name_1_role_1_roleTerm", type: :string),@solr_doc).should == false
314
314
  #if not doc passed in should be new empty solr doc and always return false
315
- @test_ds.has_solr_name?(ActiveFedora::SolrService.solr_name("name_0_role_0_roleTerm", :string, :searchable)).should == false
315
+ @test_ds.has_solr_name?(ActiveFedora::SolrService.solr_name("name_0_role_0_roleTerm", type: :string)).should == false
316
316
  end
317
317
  end
318
318
 
@@ -110,7 +110,7 @@ describe ActiveFedora::QualifiedDublinCoreDatastream do
110
110
  @test_ds = ActiveFedora::QualifiedDublinCoreDatastream.new(nil, 'qdc' )
111
111
  @test_ds.title = "War and Peace"
112
112
  solr = @test_ds.to_solr
113
- solr[ActiveFedora::SolrService.solr_name('title', :string, :searchable)].should == ["War and Peace"]
113
+ solr[ActiveFedora::SolrService.solr_name('title', type: :string)].should == ["War and Peace"]
114
114
  end
115
115
 
116
116
  end
@@ -8,7 +8,7 @@ describe ActiveFedora::Base do
8
8
  end
9
9
  end
10
10
  @model_query = ActiveFedora::SolrService.solr_name("has_model", :symbol) + ":#{solr_uri("info:fedora/afmodel:SpecModel_Basic")}"
11
- @sort_query = ActiveFedora::SolrService.solr_name("system_create", :date, :searchable) + ' asc'
11
+ @sort_query = ActiveFedora::SolrService.solr_name("system_create", type: :date) + ' asc'
12
12
  end
13
13
 
14
14
  after(:all) do
@@ -81,29 +81,6 @@ describe ActiveFedora::Base do
81
81
  }.and_return('response'=>{'docs'=>mock_docs})
82
82
  SpecModel::Basic.find({:foo=>'bar', :baz=>['quix','quack']}).should == ["Fake Object1", "Fake Object2"]
83
83
  end
84
-
85
- it "should add options" do
86
- SpecModel::Basic.should_receive(:find_one).with("changeme:30", nil).and_return("Fake Object1")
87
- SpecModel::Basic.should_receive(:find_one).with("changeme:22", nil).and_return("Fake Object2")
88
-
89
- mock_docs = [{"id" => "changeme:30"},{"id" => "changeme:22"}]
90
- mock_docs.should_receive(:has_next?).and_return(false)
91
- ActiveFedora::SolrService.instance.conn.should_receive(:paginate).with() { |page, rows, method, hash|
92
- page == 1 &&
93
- rows == 1000 &&
94
- method == 'select' &&
95
- hash[:params] &&
96
- hash[:params][:sort] == [@sort_query] &&
97
- hash[:params][:fl] == 'id' &&
98
- hash[:params][:sort] == ["system_create_dt asc"] &&
99
- hash[:params][:q].split(" AND ").include?(@model_query) &&
100
- hash[:params][:q].split(" AND ").include?("foo:\"bar\"") &&
101
- hash[:params][:q].split(" AND ").include?("baz:\"quix\"") &&
102
- hash[:params][:q].split(" AND ").include?("baz:\"quack\"")
103
- }.and_return('response'=>{'docs'=>mock_docs})
104
- SpecModel::Basic.find({:foo=>'bar', :baz=>['quix','quack']}, :sort=>'title_t desc').should == ["Fake Object1", "Fake Object2"]
105
- end
106
-
107
84
  end
108
85
  end
109
86
 
@@ -5,7 +5,6 @@ require 'xmlsimple'
5
5
  @@last_pid = 0
6
6
 
7
7
  class SpecNode2
8
- include ActiveFedora::Relationships
9
8
  include ActiveFedora::SemanticNode
10
9
 
11
10
  attr_accessor :pid
@@ -24,7 +23,6 @@ describe ActiveFedora::SemanticNode do
24
23
 
25
24
  before(:each) do
26
25
  class SpecNode
27
- include ActiveFedora::Relationships
28
26
  include ActiveFedora::SemanticNode
29
27
 
30
28
  attr_accessor :pid
@@ -54,8 +54,8 @@ describe ActiveFedora::SimpleDatastream do
54
54
  describe "#to_solr" do
55
55
  it "should have title" do
56
56
  solr = @test_ds.to_solr
57
- solr[ActiveFedora::SolrService.solr_name('publisher', :string, :searchable)].should == ["publisher1"]
58
- solr[ActiveFedora::SolrService.solr_name('creation_date', :date)].should == ["2012-01-15"]
57
+ solr[ActiveFedora::SolrService.solr_name('publisher', type: :string)].should == ["publisher1"]
58
+ solr[ActiveFedora::SolrService.solr_name('creation_date', type: :date)].should == ["2012-01-15"]
59
59
  end
60
60
  end
61
61
 
@@ -34,7 +34,7 @@ describe ActiveFedora do
34
34
 
35
35
  it "should be used by ActiveFedora::Base#find_with_conditions" do
36
36
  mock_response = mock("SolrResponse")
37
- ActiveFedora::SolrService.should_receive(:query).with("#{ActiveFedora::SolrService.solr_name("has_model", :symbol)}:info\\:fedora\\/afmodel\\:SolrSpecModel_Basic AND " + SOLR_DOCUMENT_ID + ':"changeme\\:30"', {:sort => ["#{ActiveFedora::SolrService.solr_name("system_create", :date)} asc"]}).and_return(mock_response)
37
+ ActiveFedora::SolrService.should_receive(:query).with("#{ActiveFedora::SolrService.solr_name("has_model", :symbol)}:info\\:fedora\\/afmodel\\:SolrSpecModel_Basic AND " + SOLR_DOCUMENT_ID + ':"changeme\\:30"', {:sort => ["#{ActiveFedora::SolrService.solr_name("system_create", type: :date)} asc"]}).and_return(mock_response)
38
38
 
39
39
  SolrSpecModel::Basic.find_with_conditions(:id=>"changeme:30").should equal(mock_response)
40
40
  end
metadata CHANGED
@@ -1,7 +1,8 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active-fedora
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.7.1
4
+ version: 6.0.0.pre1
5
+ prerelease: 6
5
6
  platform: ruby
6
7
  authors:
7
8
  - Matt Zumwalt
@@ -10,25 +11,28 @@ authors:
10
11
  autorequire:
11
12
  bindir: bin
12
13
  cert_chain: []
13
- date: 2013-10-08 00:00:00.000000000 Z
14
+ date: 2013-01-23 00:00:00.000000000 Z
14
15
  dependencies:
15
16
  - !ruby/object:Gem::Dependency
16
17
  name: rsolr
17
18
  requirement: !ruby/object:Gem::Requirement
19
+ none: false
18
20
  requirements:
19
- - - '>='
21
+ - - ! '>='
20
22
  - !ruby/object:Gem::Version
21
23
  version: '0'
22
24
  type: :runtime
23
25
  prerelease: false
24
26
  version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
25
28
  requirements:
26
- - - '>='
29
+ - - ! '>='
27
30
  - !ruby/object:Gem::Version
28
31
  version: '0'
29
32
  - !ruby/object:Gem::Dependency
30
33
  name: om
31
34
  requirement: !ruby/object:Gem::Requirement
35
+ none: false
32
36
  requirements:
33
37
  - - ~>
34
38
  - !ruby/object:Gem::Version
@@ -36,6 +40,7 @@ dependencies:
36
40
  type: :runtime
37
41
  prerelease: false
38
42
  version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
39
44
  requirements:
40
45
  - - ~>
41
46
  - !ruby/object:Gem::Version
@@ -43,62 +48,71 @@ dependencies:
43
48
  - !ruby/object:Gem::Dependency
44
49
  name: nom-xml
45
50
  requirement: !ruby/object:Gem::Requirement
51
+ none: false
46
52
  requirements:
47
- - - '>='
53
+ - - ! '>='
48
54
  - !ruby/object:Gem::Version
49
55
  version: 0.5.1
50
56
  type: :runtime
51
57
  prerelease: false
52
58
  version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
53
60
  requirements:
54
- - - '>='
61
+ - - ! '>='
55
62
  - !ruby/object:Gem::Version
56
63
  version: 0.5.1
57
64
  - !ruby/object:Gem::Dependency
58
65
  name: solrizer
59
66
  requirement: !ruby/object:Gem::Requirement
67
+ none: false
60
68
  requirements:
61
69
  - - ~>
62
70
  - !ruby/object:Gem::Version
63
- version: '2.1'
71
+ version: 3.0.0.pre1
64
72
  type: :runtime
65
73
  prerelease: false
66
74
  version_requirements: !ruby/object:Gem::Requirement
75
+ none: false
67
76
  requirements:
68
77
  - - ~>
69
78
  - !ruby/object:Gem::Version
70
- version: '2.1'
79
+ version: 3.0.0.pre1
71
80
  - !ruby/object:Gem::Dependency
72
81
  name: activeresource
73
82
  requirement: !ruby/object:Gem::Requirement
83
+ none: false
74
84
  requirements:
75
- - - '>='
85
+ - - ! '>='
76
86
  - !ruby/object:Gem::Version
77
87
  version: 3.0.0
78
88
  type: :runtime
79
89
  prerelease: false
80
90
  version_requirements: !ruby/object:Gem::Requirement
91
+ none: false
81
92
  requirements:
82
- - - '>='
93
+ - - ! '>='
83
94
  - !ruby/object:Gem::Version
84
95
  version: 3.0.0
85
96
  - !ruby/object:Gem::Dependency
86
97
  name: activesupport
87
98
  requirement: !ruby/object:Gem::Requirement
99
+ none: false
88
100
  requirements:
89
- - - '>='
101
+ - - ! '>='
90
102
  - !ruby/object:Gem::Version
91
103
  version: 3.0.0
92
104
  type: :runtime
93
105
  prerelease: false
94
106
  version_requirements: !ruby/object:Gem::Requirement
107
+ none: false
95
108
  requirements:
96
- - - '>='
109
+ - - ! '>='
97
110
  - !ruby/object:Gem::Version
98
111
  version: 3.0.0
99
112
  - !ruby/object:Gem::Dependency
100
113
  name: builder
101
114
  requirement: !ruby/object:Gem::Requirement
115
+ none: false
102
116
  requirements:
103
117
  - - ~>
104
118
  - !ruby/object:Gem::Version
@@ -106,6 +120,7 @@ dependencies:
106
120
  type: :runtime
107
121
  prerelease: false
108
122
  version_requirements: !ruby/object:Gem::Requirement
123
+ none: false
109
124
  requirements:
110
125
  - - ~>
111
126
  - !ruby/object:Gem::Version
@@ -113,48 +128,55 @@ dependencies:
113
128
  - !ruby/object:Gem::Dependency
114
129
  name: mediashelf-loggable
115
130
  requirement: !ruby/object:Gem::Requirement
131
+ none: false
116
132
  requirements:
117
- - - '>='
133
+ - - ! '>='
118
134
  - !ruby/object:Gem::Version
119
135
  version: '0'
120
136
  type: :runtime
121
137
  prerelease: false
122
138
  version_requirements: !ruby/object:Gem::Requirement
139
+ none: false
123
140
  requirements:
124
- - - '>='
141
+ - - ! '>='
125
142
  - !ruby/object:Gem::Version
126
143
  version: '0'
127
144
  - !ruby/object:Gem::Dependency
128
145
  name: rubydora
129
146
  requirement: !ruby/object:Gem::Requirement
147
+ none: false
130
148
  requirements:
131
149
  - - ~>
132
150
  - !ruby/object:Gem::Version
133
- version: '1.6'
151
+ version: '1.2'
134
152
  type: :runtime
135
153
  prerelease: false
136
154
  version_requirements: !ruby/object:Gem::Requirement
155
+ none: false
137
156
  requirements:
138
157
  - - ~>
139
158
  - !ruby/object:Gem::Version
140
- version: '1.6'
159
+ version: '1.2'
141
160
  - !ruby/object:Gem::Dependency
142
161
  name: rdf
143
162
  requirement: !ruby/object:Gem::Requirement
163
+ none: false
144
164
  requirements:
145
- - - '>='
165
+ - - ! '>='
146
166
  - !ruby/object:Gem::Version
147
167
  version: '0'
148
168
  type: :runtime
149
169
  prerelease: false
150
170
  version_requirements: !ruby/object:Gem::Requirement
171
+ none: false
151
172
  requirements:
152
- - - '>='
173
+ - - ! '>='
153
174
  - !ruby/object:Gem::Version
154
175
  version: '0'
155
176
  - !ruby/object:Gem::Dependency
156
177
  name: rdf-rdfxml
157
178
  requirement: !ruby/object:Gem::Requirement
179
+ none: false
158
180
  requirements:
159
181
  - - ~>
160
182
  - !ruby/object:Gem::Version
@@ -162,6 +184,7 @@ dependencies:
162
184
  type: :runtime
163
185
  prerelease: false
164
186
  version_requirements: !ruby/object:Gem::Requirement
187
+ none: false
165
188
  requirements:
166
189
  - - ~>
167
190
  - !ruby/object:Gem::Version
@@ -169,99 +192,113 @@ dependencies:
169
192
  - !ruby/object:Gem::Dependency
170
193
  name: deprecation
171
194
  requirement: !ruby/object:Gem::Requirement
195
+ none: false
172
196
  requirements:
173
- - - '>='
197
+ - - ! '>='
174
198
  - !ruby/object:Gem::Version
175
199
  version: '0'
176
200
  type: :runtime
177
201
  prerelease: false
178
202
  version_requirements: !ruby/object:Gem::Requirement
203
+ none: false
179
204
  requirements:
180
- - - '>='
205
+ - - ! '>='
181
206
  - !ruby/object:Gem::Version
182
207
  version: '0'
183
208
  - !ruby/object:Gem::Dependency
184
209
  name: yard
185
210
  requirement: !ruby/object:Gem::Requirement
211
+ none: false
186
212
  requirements:
187
- - - '>='
213
+ - - ! '>='
188
214
  - !ruby/object:Gem::Version
189
215
  version: '0'
190
216
  type: :development
191
217
  prerelease: false
192
218
  version_requirements: !ruby/object:Gem::Requirement
219
+ none: false
193
220
  requirements:
194
- - - '>='
221
+ - - ! '>='
195
222
  - !ruby/object:Gem::Version
196
223
  version: '0'
197
224
  - !ruby/object:Gem::Dependency
198
225
  name: RedCloth
199
226
  requirement: !ruby/object:Gem::Requirement
227
+ none: false
200
228
  requirements:
201
- - - '>='
229
+ - - ! '>='
202
230
  - !ruby/object:Gem::Version
203
231
  version: '0'
204
232
  type: :development
205
233
  prerelease: false
206
234
  version_requirements: !ruby/object:Gem::Requirement
235
+ none: false
207
236
  requirements:
208
- - - '>='
237
+ - - ! '>='
209
238
  - !ruby/object:Gem::Version
210
239
  version: '0'
211
240
  - !ruby/object:Gem::Dependency
212
241
  name: rake
213
242
  requirement: !ruby/object:Gem::Requirement
243
+ none: false
214
244
  requirements:
215
- - - '>='
245
+ - - ! '>='
216
246
  - !ruby/object:Gem::Version
217
247
  version: '0'
218
248
  type: :development
219
249
  prerelease: false
220
250
  version_requirements: !ruby/object:Gem::Requirement
251
+ none: false
221
252
  requirements:
222
- - - '>='
253
+ - - ! '>='
223
254
  - !ruby/object:Gem::Version
224
255
  version: '0'
225
256
  - !ruby/object:Gem::Dependency
226
257
  name: jettywrapper
227
258
  requirement: !ruby/object:Gem::Requirement
259
+ none: false
228
260
  requirements:
229
- - - '>='
261
+ - - ! '>='
230
262
  - !ruby/object:Gem::Version
231
263
  version: 1.2.0
232
264
  type: :development
233
265
  prerelease: false
234
266
  version_requirements: !ruby/object:Gem::Requirement
267
+ none: false
235
268
  requirements:
236
- - - '>='
269
+ - - ! '>='
237
270
  - !ruby/object:Gem::Version
238
271
  version: 1.2.0
239
272
  - !ruby/object:Gem::Dependency
240
273
  name: rspec
241
274
  requirement: !ruby/object:Gem::Requirement
275
+ none: false
242
276
  requirements:
243
- - - '>='
277
+ - - ! '>='
244
278
  - !ruby/object:Gem::Version
245
279
  version: 2.9.0
246
280
  type: :development
247
281
  prerelease: false
248
282
  version_requirements: !ruby/object:Gem::Requirement
283
+ none: false
249
284
  requirements:
250
- - - '>='
285
+ - - ! '>='
251
286
  - !ruby/object:Gem::Version
252
287
  version: 2.9.0
253
288
  - !ruby/object:Gem::Dependency
254
289
  name: equivalent-xml
255
290
  requirement: !ruby/object:Gem::Requirement
291
+ none: false
256
292
  requirements:
257
- - - '>='
293
+ - - ! '>='
258
294
  - !ruby/object:Gem::Version
259
295
  version: '0'
260
296
  type: :development
261
297
  prerelease: false
262
298
  version_requirements: !ruby/object:Gem::Requirement
299
+ none: false
263
300
  requirements:
264
- - - '>='
301
+ - - ! '>='
265
302
  - !ruby/object:Gem::Version
266
303
  version: '0'
267
304
  description: ActiveFedora provides for creating and managing objects in the Fedora
@@ -276,7 +313,6 @@ extra_rdoc_files:
276
313
  files:
277
314
  - .gitignore
278
315
  - .gitmodules
279
- - .travis.yml
280
316
  - CONSOLE_GETTING_STARTED.textile
281
317
  - Gemfile
282
318
  - History.txt
@@ -313,13 +349,10 @@ files:
313
349
  - lib/active_fedora/delegating.rb
314
350
  - lib/active_fedora/digital_object.rb
315
351
  - lib/active_fedora/file_configurator.rb
316
- - lib/active_fedora/file_management.rb
317
352
  - lib/active_fedora/fixture_exporter.rb
318
353
  - lib/active_fedora/fixture_loader.rb
319
354
  - lib/active_fedora/locale/en.yml
320
- - lib/active_fedora/metadata_datastream_helper.rb
321
355
  - lib/active_fedora/model.rb
322
- - lib/active_fedora/named_relationships.rb
323
356
  - lib/active_fedora/nested_attributes.rb
324
357
  - lib/active_fedora/nokogiri_datastream.rb
325
358
  - lib/active_fedora/nom_datastream.rb
@@ -340,7 +373,6 @@ files:
340
373
  - lib/active_fedora/reflection.rb
341
374
  - lib/active_fedora/relation.rb
342
375
  - lib/active_fedora/relationship_graph.rb
343
- - lib/active_fedora/relationships.rb
344
376
  - lib/active_fedora/rels_ext_datastream.rb
345
377
  - lib/active_fedora/rubydora_connection.rb
346
378
  - lib/active_fedora/semantic_node.rb
@@ -397,7 +429,6 @@ files:
397
429
  - spec/fixtures/test_12.foxml.xml
398
430
  - spec/hydrangea_fixture_mods_article1.foxml.xml
399
431
  - spec/integration/associations_spec.rb
400
- - spec/integration/base_file_management_spec.rb
401
432
  - spec/integration/base_spec.rb
402
433
  - spec/integration/bug_spec.rb
403
434
  - spec/integration/complex_rdf_datastream_spec.rb
@@ -406,8 +437,6 @@ files:
406
437
  - spec/integration/datastreams_spec.rb
407
438
  - spec/integration/delete_all_spec.rb
408
439
  - spec/integration/full_featured_model_spec.rb
409
- - spec/integration/has_many_associations_spec.rb
410
- - spec/integration/metadata_datastream_helper_spec.rb
411
440
  - spec/integration/model_spec.rb
412
441
  - spec/integration/mods_article_integration_spec.rb
413
442
  - spec/integration/nested_attribute_spec.rb
@@ -416,7 +445,6 @@ files:
416
445
  - spec/integration/persistence_spec.rb
417
446
  - spec/integration/rels_ext_datastream_spec.rb
418
447
  - spec/integration/scoped_query_spec.rb
419
- - spec/integration/semantic_node_spec.rb
420
448
  - spec/integration/solr_service_spec.rb
421
449
  - spec/rails3_test_app/.gitignore
422
450
  - spec/rails3_test_app/.rspec
@@ -473,7 +501,6 @@ files:
473
501
  - spec/unit/base_delegate_spec.rb
474
502
  - spec/unit/base_delegate_to_spec.rb
475
503
  - spec/unit/base_extra_spec.rb
476
- - spec/unit/base_file_management_spec.rb
477
504
  - spec/unit/base_spec.rb
478
505
  - spec/unit/callback_spec.rb
479
506
  - spec/unit/code_configurator_spec.rb
@@ -483,7 +510,6 @@ files:
483
510
  - spec/unit/datastream_spec.rb
484
511
  - spec/unit/datastreams_spec.rb
485
512
  - spec/unit/file_configurator_spec.rb
486
- - spec/unit/has_and_belongs_to_many_collection_spec.rb
487
513
  - spec/unit/has_many_collection_spec.rb
488
514
  - spec/unit/inheritance_spec.rb
489
515
  - spec/unit/model_spec.rb
@@ -499,7 +525,6 @@ files:
499
525
  - spec/unit/rdf_xml_writer_spec.rb
500
526
  - spec/unit/rdfxml_rdf_datastream_spec.rb
501
527
  - spec/unit/relationship_graph_spec.rb
502
- - spec/unit/relationships_spec.rb
503
528
  - spec/unit/rels_ext_datastream_spec.rb
504
529
  - spec/unit/rubydora_connection_spec.rb
505
530
  - spec/unit/semantic_node_spec.rb
@@ -513,26 +538,27 @@ files:
513
538
  - spec/unit/validations_spec.rb
514
539
  homepage: https://github.com/projecthydra/active_fedora
515
540
  licenses: []
516
- metadata: {}
517
541
  post_install_message:
518
542
  rdoc_options: []
519
543
  require_paths:
520
544
  - lib
521
545
  required_ruby_version: !ruby/object:Gem::Requirement
546
+ none: false
522
547
  requirements:
523
- - - '>='
548
+ - - ! '>='
524
549
  - !ruby/object:Gem::Version
525
550
  version: 1.9.3
526
551
  required_rubygems_version: !ruby/object:Gem::Requirement
552
+ none: false
527
553
  requirements:
528
- - - '>='
554
+ - - ! '>'
529
555
  - !ruby/object:Gem::Version
530
- version: '0'
556
+ version: 1.3.1
531
557
  requirements: []
532
558
  rubyforge_project: rubyfedora
533
- rubygems_version: 2.0.3
559
+ rubygems_version: 1.8.24
534
560
  signing_key:
535
- specification_version: 4
561
+ specification_version: 3
536
562
  summary: A convenience libary for manipulating documents in the Fedora Repository.
537
563
  test_files:
538
564
  - spec/config_helper.rb
@@ -558,7 +584,6 @@ test_files:
558
584
  - spec/fixtures/test_12.foxml.xml
559
585
  - spec/hydrangea_fixture_mods_article1.foxml.xml
560
586
  - spec/integration/associations_spec.rb
561
- - spec/integration/base_file_management_spec.rb
562
587
  - spec/integration/base_spec.rb
563
588
  - spec/integration/bug_spec.rb
564
589
  - spec/integration/complex_rdf_datastream_spec.rb
@@ -567,8 +592,6 @@ test_files:
567
592
  - spec/integration/datastreams_spec.rb
568
593
  - spec/integration/delete_all_spec.rb
569
594
  - spec/integration/full_featured_model_spec.rb
570
- - spec/integration/has_many_associations_spec.rb
571
- - spec/integration/metadata_datastream_helper_spec.rb
572
595
  - spec/integration/model_spec.rb
573
596
  - spec/integration/mods_article_integration_spec.rb
574
597
  - spec/integration/nested_attribute_spec.rb
@@ -577,7 +600,6 @@ test_files:
577
600
  - spec/integration/persistence_spec.rb
578
601
  - spec/integration/rels_ext_datastream_spec.rb
579
602
  - spec/integration/scoped_query_spec.rb
580
- - spec/integration/semantic_node_spec.rb
581
603
  - spec/integration/solr_service_spec.rb
582
604
  - spec/rails3_test_app/.gitignore
583
605
  - spec/rails3_test_app/.rspec
@@ -634,7 +656,6 @@ test_files:
634
656
  - spec/unit/base_delegate_spec.rb
635
657
  - spec/unit/base_delegate_to_spec.rb
636
658
  - spec/unit/base_extra_spec.rb
637
- - spec/unit/base_file_management_spec.rb
638
659
  - spec/unit/base_spec.rb
639
660
  - spec/unit/callback_spec.rb
640
661
  - spec/unit/code_configurator_spec.rb
@@ -644,7 +665,6 @@ test_files:
644
665
  - spec/unit/datastream_spec.rb
645
666
  - spec/unit/datastreams_spec.rb
646
667
  - spec/unit/file_configurator_spec.rb
647
- - spec/unit/has_and_belongs_to_many_collection_spec.rb
648
668
  - spec/unit/has_many_collection_spec.rb
649
669
  - spec/unit/inheritance_spec.rb
650
670
  - spec/unit/model_spec.rb
@@ -660,7 +680,6 @@ test_files:
660
680
  - spec/unit/rdf_xml_writer_spec.rb
661
681
  - spec/unit/rdfxml_rdf_datastream_spec.rb
662
682
  - spec/unit/relationship_graph_spec.rb
663
- - spec/unit/relationships_spec.rb
664
683
  - spec/unit/rels_ext_datastream_spec.rb
665
684
  - spec/unit/rubydora_connection_spec.rb
666
685
  - spec/unit/semantic_node_spec.rb