active-fedora 5.6.2 → 5.6.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 36cbadd6320acedd29786e7fc1205da8de33af9d
4
+ data.tar.gz: 4660a096abd53d763e734c5b8c2ea992437de9ac
5
+ SHA512:
6
+ metadata.gz: aa335c3d8a5a78c9a75fab436c489ff93c1bb584140e16d660698ec390a16463acf540959e9d408142cffac4179e9c13eba4443bf070e80fd845fb73ecb4ecfb
7
+ data.tar.gz: 45d345c38cc5b411aea4df64292b5af9a991e0c178d031ee730f45af90fee534e4c0c980270b9bbf51294ed185f3b311db2d84dc962e3e40442a547cf016d0da
@@ -0,0 +1,3 @@
1
+ ���HQ�Pq߰� ��������}��ϰ�#��n
2
+ FA�ˮ)iS����kP�j�(�ZʻIj�xגh���h6�&���$)�LAfG�7��YE��w9���F����Ħ���ۘ��y��4DdE�@8����⫐�^�# ?�iU ��@Mu�F���@+LTk��7z��7TP����
3
+ I~x�W
Binary file
@@ -0,0 +1,8 @@
1
+ language: ruby
2
+ rvm:
3
+ - "1.9.3"
4
+ - "2.0.0"
5
+
6
+ notifications:
7
+ irc: "irc.freenode.org#projecthydra"
8
+
data/Rakefile CHANGED
@@ -11,8 +11,9 @@ load "lib/tasks/active_fedora_dev.rake" if defined?(Rake)
11
11
 
12
12
  CLEAN.include %w[**/.DS_Store tmp *.log *.orig *.tmp **/*~]
13
13
 
14
+ task :ci => ['jetty:clean', 'active_fedora:ci']
14
15
  task :spec => ['active_fedora:rspec']
15
16
  task :rcov => ['active_fedora:rcov']
16
17
 
17
18
 
18
- task :default => [:spec]
19
+ task :default => [:ci]
@@ -18,7 +18,7 @@ Gem::Specification.new do |s|
18
18
  s.add_dependency('rsolr')
19
19
  s.add_dependency('om', '~> 1.8.0')
20
20
  s.add_dependency('nom-xml', '>=0.5.1')
21
- s.add_dependency('solrizer', '>=2.1.0') #can also use version 3
21
+ s.add_dependency('solrizer', '~>2.1')
22
22
  s.add_dependency("activeresource", '>= 3.0.0')
23
23
  s.add_dependency("activesupport", '>= 3.0.0')
24
24
  s.add_dependency("builder", '~> 3.0.0')
@@ -74,7 +74,7 @@ module ActiveFedora
74
74
  flatten_deeper(records).each do |record|
75
75
  raise_on_type_mismatch(record)
76
76
  add_record_to_target_with_callbacks(record) do |r|
77
- result &&= insert_record(record) unless @owner.new_record?
77
+ result &&= insert_record(record)
78
78
  end
79
79
  end
80
80
 
@@ -31,16 +31,25 @@ module ActiveFedora
31
31
 
32
32
  ### TODO save relationship
33
33
  @owner.add_relationship(@reflection.options[:property], record)
34
- if (@reflection.options[:inverse_of])
34
+
35
+ if @owner.new_record? and @reflection.options[:inverse_of]
36
+ logger.warn("has_and_belongs_to_many #{@reflection.inspect} is cowardly refusing to insert the inverse relationship into #{record}, because #{@owner} is not persisted yet.")
37
+ elsif @reflection.options[:inverse_of]
35
38
  record.add_relationship(@reflection.options[:inverse_of], @owner)
39
+ record.save
36
40
  end
37
- record.save
41
+
38
42
  return true
39
43
  end
40
44
 
41
45
  def delete_records(records)
42
46
  records.each do |r|
43
- r.remove_relationship(@reflection.options[:property], @owner)
47
+ @owner.remove_relationship(@reflection.options[:property], r)
48
+
49
+ if (@reflection.options[:inverse_of])
50
+ r.remove_relationship(@reflection.options[:inverse_of], @owner)
51
+ r.save
52
+ end
44
53
  end
45
54
  end
46
55
  end
@@ -31,6 +31,10 @@ module ActiveFedora
31
31
  end
32
32
 
33
33
  def insert_record(record, force = false, validate = true)
34
+ if @owner.new_record?
35
+ logger.warn("has_many #{@reflection.inspect} is cowardly refusing to insert a relationship into #{record}, because #{@owner} is not persisted yet.")
36
+ return true
37
+ end
34
38
  set_belongs_to_association_for(record)
35
39
  #force ? record.save! : record.save(:validate => validate)
36
40
  record.save
@@ -35,7 +35,7 @@ module ActiveFedora
35
35
  obj = Deprecation.silence(Rubydora::DigitalObject) do
36
36
  begin
37
37
  super(pid, conn)
38
- rescue Rubydora::FedoraInvalidRequest => e
38
+ rescue Rubydora::FedoraInvalidRequest, (Rubydora::RecordNotFound rescue nil)
39
39
  # PID is nil
40
40
  raise ActiveFedora::ObjectNotFoundError, "Unable to find '#{pid}' in fedora. See logger for details."
41
41
  end
@@ -14,7 +14,7 @@ module ActiveFedora
14
14
  begin
15
15
  ActiveFedora::Base.find(pid).delete
16
16
  1
17
- rescue ActiveFedora::ObjectNotFoundError
17
+ rescue ActiveFedora::ObjectNotFoundError, (Rubydora::RecordNotFound rescue ActiveFedora::ObjectNotFoundError)
18
18
  logger.debug "The object #{pid} has already been deleted (or was never created)."
19
19
  0
20
20
  rescue Errno::ECONNREFUSED => e
@@ -1,3 +1,3 @@
1
1
  module ActiveFedora
2
- VERSION = "5.6.2"
2
+ VERSION = "5.6.3"
3
3
  end
@@ -14,7 +14,7 @@ namespace :active_fedora do
14
14
 
15
15
  YARD::Rake::YardocTask.new(:doc) do |yt|
16
16
  yt.files = Dir.glob(File.join(project_root, 'lib', '**', '*.rb')) +
17
- [ File.join(project_root, 'README.textile'),'-', File.join(project_root,'CONSOLE_GETTING_STARTED.textile'),'-', File.join(project_root,'NOKOGIRI_DATASTREAMS.textile') ]
17
+ [ '-', File.join(project_root, 'README.textile'), File.join(project_root,'CONSOLE_GETTING_STARTED.textile'), File.join(project_root,'NOKOGIRI_DATASTREAMS.textile') ]
18
18
  yt.options = ['--output-dir', doc_destination, '--readme', 'README.textile']
19
19
  end
20
20
  rescue LoadError
@@ -36,13 +36,6 @@ require 'rspec/core/rake_task'
36
36
  spec.rcov = true
37
37
  end
38
38
 
39
- task :clean_jetty do
40
- Dir.chdir("./jetty")
41
- system("git clean -f -d")
42
- system("git checkout .")
43
- Dir.chdir("..")
44
- end
45
-
46
39
  desc "Loads or refreshes the fixtures needed to run the tests"
47
40
  task :fixtures => :environment do
48
41
  ENV["pid"] = "hydrangea:fixture_mods_article1"
@@ -60,7 +53,6 @@ require 'rspec/core/rake_task'
60
53
 
61
54
  desc "Copies the default SOLR config for the bundled Testing Server"
62
55
  task :configure_jetty do
63
- Rake::Task["active_fedora:clean_jetty"].invoke
64
56
  FileList['solr/conf/*'].each do |f|
65
57
  cp("#{f}", 'jetty/solr/development-core/conf/', :verbose => true)
66
58
  cp("#{f}", 'jetty/solr/test-core/conf/', :verbose => true)
@@ -68,8 +60,8 @@ require 'rspec/core/rake_task'
68
60
  end
69
61
 
70
62
 
71
- desc "Hudson build"
72
- task :hudson do
63
+ desc "CI build"
64
+ task :ci do
73
65
  ENV['environment'] = "test"
74
66
  Rake::Task["active_fedora:configure_jetty"].invoke
75
67
  jetty_params = Jettywrapper.load_config
@@ -74,7 +74,17 @@ describe ActiveFedora::RelsExtDatastream do
74
74
  # make sure that _something_ was actually added to the object's relationships hash
75
75
  @test_object.ids_for_outbound(:is_member_of).size.should == 1
76
76
  new_rels = ActiveFedora::Base.find(@test_object.pid).relationships
77
- new_rels.should == @test_object.relationships
77
+
78
+ new_rels.to_a.each do |stmt|
79
+ @test_object.relationships.should have_statement(stmt)
80
+ end
81
+
82
+
83
+ @test_object.relationships.to_a.each do |stmt|
84
+ new_rels.should have_statement(stmt)
85
+ end
86
+
87
+ # new_rels.should == @test_object.relationships
78
88
  end
79
89
 
80
90
  describe '#from_solr' do
@@ -0,0 +1,59 @@
1
+ require 'spec_helper'
2
+
3
+ describe ActiveFedora::Associations::HasAndBelongsToManyAssociation do
4
+ it "should call add_relationship" do
5
+ subject = stub("subject", :new_record? => false, :pid => 'subject:a', :internal_uri => 'info:fedora/subject:a', :ids_for_outbound => [])
6
+ predicate = stub(:klass => mock.class, :options=>{:property=>'predicate'}, :class_name=> nil)
7
+ ActiveFedora::SolrService.stub(:query).and_return([])
8
+ ac = ActiveFedora::Associations::HasAndBelongsToManyAssociation.new(subject, predicate)
9
+ object = stub("object", :new_record? => false, :pid => 'object:b', :save => nil)
10
+
11
+ subject.should_receive(:add_relationship).with('predicate', object)
12
+
13
+ ac << object
14
+
15
+ end
16
+
17
+ it "should call add_relationship on subject and object when inverse_of given" do
18
+ subject = stub("subject", :new_record? => false, :pid => 'subject:a', :internal_uri => 'info:fedora/subject:a', :ids_for_outbound => [])
19
+ predicate = stub(:klass => mock.class, :options=>{:property=>'predicate', :inverse_of => 'inverse_predicate'}, :class_name=> nil)
20
+ ActiveFedora::SolrService.stub(:query).and_return([])
21
+ ac = ActiveFedora::Associations::HasAndBelongsToManyAssociation.new(subject, predicate)
22
+ object = stub("object", :new_record? => false, :pid => 'object:b', :save => nil)
23
+
24
+ subject.should_receive(:add_relationship).with('predicate', object)
25
+
26
+ object.should_receive(:add_relationship).with('inverse_predicate', subject)
27
+
28
+ ac << object
29
+
30
+ end
31
+
32
+ it "should call remove_relationship" do
33
+ subject = stub("subject", :new_record? => false, :pid => 'subject:a', :internal_uri => 'info:fedora/subject:a')
34
+ predicate = stub(:klass => mock.class, :options=>{:property=>'predicate'}, :class_name=> nil)
35
+ ActiveFedora::SolrService.stub(:query).and_return([])
36
+ ac = ActiveFedora::Associations::HasAndBelongsToManyAssociation.new(subject, predicate)
37
+ object = stub("object", :new_record? => false, :pid => 'object:b', :save => nil)
38
+
39
+ subject.should_receive(:remove_relationship).with('predicate', object)
40
+
41
+ ac.delete(object)
42
+
43
+ end
44
+
45
+ it "should call remove_relationship on subject and object when inverse_of given" do
46
+ subject = stub("subject", :new_record? => false, :pid => 'subject:a', :internal_uri => 'info:fedora/subject:a')
47
+ predicate = stub(:klass => mock.class, :options=>{:property=>'predicate', :inverse_of => 'inverse_predicate'}, :class_name=> nil)
48
+ ActiveFedora::SolrService.stub(:query).and_return([])
49
+ ac = ActiveFedora::Associations::HasAndBelongsToManyAssociation.new(subject, predicate)
50
+ object = stub("object", :new_record? => false, :pid => 'object:b', :save => nil)
51
+
52
+ subject.should_receive(:remove_relationship).with('predicate', object)
53
+ object.should_receive(:remove_relationship).with('inverse_predicate', subject)
54
+
55
+ ac.delete(object)
56
+
57
+ end
58
+
59
+ end
@@ -1,6 +1,32 @@
1
1
  require 'spec_helper'
2
2
 
3
3
  describe ActiveFedora::Associations::HasManyAssociation do
4
+ it "should call add_relationship" do
5
+ subject = stub("subject", :new_record? => false, :pid => 'subject:a', :internal_uri => 'info:fedora/subject:a')
6
+ predicate = stub(:klass => mock.class, :options=>{:property=>'predicate'}, :class_name=> nil)
7
+ ActiveFedora::SolrService.stub(:query).and_return([])
8
+ ac = ActiveFedora::Associations::HasManyAssociation.new(subject, predicate)
9
+ object = stub("object", :new_record? => false, :pid => 'object:b', :save => nil)
10
+
11
+ object.should_receive(:add_relationship).with('predicate', subject)
12
+
13
+ ac << object
14
+
15
+ end
16
+
17
+ it "should call remove_relationship" do
18
+ subject = stub("subject", :new_record? => false, :pid => 'subject:a', :internal_uri => 'info:fedora/subject:a')
19
+ predicate = stub(:klass => mock.class, :options=>{:property=>'predicate'}, :class_name=> nil)
20
+ ActiveFedora::SolrService.stub(:query).and_return([])
21
+ ac = ActiveFedora::Associations::HasManyAssociation.new(subject, predicate)
22
+ object = stub("object", :new_record? => false, :pid => 'object:b', :save => nil)
23
+
24
+ object.should_receive(:remove_relationship).with('predicate', subject)
25
+
26
+ ac.delete(object)
27
+
28
+ end
29
+
4
30
  it "should be able to replace the collection" do
5
31
  @owner = stub(:new_record? => false, :to_ary => nil, :internal_uri => 'info:fedora/changeme:99')
6
32
  @reflection = stub(:klass => mock.class, :options=>{:property=>'predicate'}, :class_name=> nil)
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active-fedora
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.6.2
5
- prerelease:
4
+ version: 5.6.3
6
5
  platform: ruby
7
6
  authors:
8
7
  - Matt Zumwalt
@@ -10,29 +9,48 @@ authors:
10
9
  - Justin Coyne
11
10
  autorequire:
12
11
  bindir: bin
13
- cert_chain: []
14
- date: 2013-02-06 00:00:00.000000000 Z
12
+ cert_chain:
13
+ - |
14
+ -----BEGIN CERTIFICATE-----
15
+ MIIDaDCCAlCgAwIBAgIBATANBgkqhkiG9w0BAQUFADA9MQ4wDAYDVQQDDAVjaHJp
16
+ czEVMBMGCgmSJomT8ixkARkWBWNiZWVyMRQwEgYKCZImiZPyLGQBGRYEaW5mbzAe
17
+ Fw0xMzAzMDcwNDI1MzRaFw0xNDAzMDcwNDI1MzRaMD0xDjAMBgNVBAMMBWNocmlz
18
+ MRUwEwYKCZImiZPyLGQBGRYFY2JlZXIxFDASBgoJkiaJk/IsZAEZFgRpbmZvMIIB
19
+ IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA2UC2Jw9BQ7bNTyVHaxGKbCqV
20
+ H+BggkU9CWOBB8YA7j2ebcAjRlj6AemKWHB0fPEi9qmGaE1bMbus8IJbFcjkZNqG
21
+ 6yHVdOq9tacSH4iiEdH3QioWSte0zY7vwD9u92QLaNzUAm9yjIYF6ZDNM/dl25Hb
22
+ UYDURJXfLOKe3AivodRujsHRxDLFpS6FjdmwB9m8N2JBs/uOrUULB48aaa36pWWE
23
+ w4rhqT9kOpZl8BRdE/pTrePlQGDZ8Oe74gVWJth4lavtMaPP+UqHigmlnFvWO9+D
24
+ a+9q1qwvQ3ySYRJIACIsYaY6rlhZ6i+PGKhbCnG6at6bC9TVu2JfKbC/LBP9mwID
25
+ AQABo3MwcTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNVHQ4EFgQU61dLp5FY
26
+ qfqrGhr0V8WPGwAIEKQwGwYDVR0RBBQwEoEQY2hyaXNAY2JlZXIuaW5mbzAbBgNV
27
+ HRIEFDASgRBjaHJpc0BjYmVlci5pbmZvMA0GCSqGSIb3DQEBBQUAA4IBAQBuQW5N
28
+ 6NaEla5fJftOPCecLSB5z8oS+fAO8LbfcUqHSo+y/1ZkN8kF8Y1SaoqPpqxuOZ4g
29
+ zX+X6k0gJHLKHTNufTaLhORd66Tp1raoW2qqKEcoshOcoQyw/mh9KYLVaQEX8US8
30
+ 0yZ9dRMWFtRjwvkvueNMzLZidH+GsaDq/bxR9/9PAv+4RxQRYw+nrAglf2DxINSI
31
+ o8CdBnIKvzS1JRgM172NHIwScyJdDFWxfBh1CTG9VRXTwQfyQmM0h1GThWYcdNw7
32
+ W4KPvarE4dgxT4TXIIKkh/K/Z9yaYt73biInVukEI9H2HHWkuAyblxg1jcR/zy+w
33
+ K27NJ2vhSpx2PPhb
34
+ -----END CERTIFICATE-----
35
+ date: 2013-04-11 00:00:00.000000000 Z
15
36
  dependencies:
16
37
  - !ruby/object:Gem::Dependency
17
38
  name: rsolr
18
39
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
40
  requirements:
21
- - - ! '>='
41
+ - - '>='
22
42
  - !ruby/object:Gem::Version
23
43
  version: '0'
24
44
  type: :runtime
25
45
  prerelease: false
26
46
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
47
  requirements:
29
- - - ! '>='
48
+ - - '>='
30
49
  - !ruby/object:Gem::Version
31
50
  version: '0'
32
51
  - !ruby/object:Gem::Dependency
33
52
  name: om
34
53
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
54
  requirements:
37
55
  - - ~>
38
56
  - !ruby/object:Gem::Version
@@ -40,7 +58,6 @@ dependencies:
40
58
  type: :runtime
41
59
  prerelease: false
42
60
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
61
  requirements:
45
62
  - - ~>
46
63
  - !ruby/object:Gem::Version
@@ -48,71 +65,62 @@ dependencies:
48
65
  - !ruby/object:Gem::Dependency
49
66
  name: nom-xml
50
67
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
68
  requirements:
53
- - - ! '>='
69
+ - - '>='
54
70
  - !ruby/object:Gem::Version
55
71
  version: 0.5.1
56
72
  type: :runtime
57
73
  prerelease: false
58
74
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
75
  requirements:
61
- - - ! '>='
76
+ - - '>='
62
77
  - !ruby/object:Gem::Version
63
78
  version: 0.5.1
64
79
  - !ruby/object:Gem::Dependency
65
80
  name: solrizer
66
81
  requirement: !ruby/object:Gem::Requirement
67
- none: false
68
82
  requirements:
69
- - - ! '>='
83
+ - - ~>
70
84
  - !ruby/object:Gem::Version
71
- version: 2.1.0
85
+ version: '2.1'
72
86
  type: :runtime
73
87
  prerelease: false
74
88
  version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
89
  requirements:
77
- - - ! '>='
90
+ - - ~>
78
91
  - !ruby/object:Gem::Version
79
- version: 2.1.0
92
+ version: '2.1'
80
93
  - !ruby/object:Gem::Dependency
81
94
  name: activeresource
82
95
  requirement: !ruby/object:Gem::Requirement
83
- none: false
84
96
  requirements:
85
- - - ! '>='
97
+ - - '>='
86
98
  - !ruby/object:Gem::Version
87
99
  version: 3.0.0
88
100
  type: :runtime
89
101
  prerelease: false
90
102
  version_requirements: !ruby/object:Gem::Requirement
91
- none: false
92
103
  requirements:
93
- - - ! '>='
104
+ - - '>='
94
105
  - !ruby/object:Gem::Version
95
106
  version: 3.0.0
96
107
  - !ruby/object:Gem::Dependency
97
108
  name: activesupport
98
109
  requirement: !ruby/object:Gem::Requirement
99
- none: false
100
110
  requirements:
101
- - - ! '>='
111
+ - - '>='
102
112
  - !ruby/object:Gem::Version
103
113
  version: 3.0.0
104
114
  type: :runtime
105
115
  prerelease: false
106
116
  version_requirements: !ruby/object:Gem::Requirement
107
- none: false
108
117
  requirements:
109
- - - ! '>='
118
+ - - '>='
110
119
  - !ruby/object:Gem::Version
111
120
  version: 3.0.0
112
121
  - !ruby/object:Gem::Dependency
113
122
  name: builder
114
123
  requirement: !ruby/object:Gem::Requirement
115
- none: false
116
124
  requirements:
117
125
  - - ~>
118
126
  - !ruby/object:Gem::Version
@@ -120,7 +128,6 @@ dependencies:
120
128
  type: :runtime
121
129
  prerelease: false
122
130
  version_requirements: !ruby/object:Gem::Requirement
123
- none: false
124
131
  requirements:
125
132
  - - ~>
126
133
  - !ruby/object:Gem::Version
@@ -128,23 +135,20 @@ dependencies:
128
135
  - !ruby/object:Gem::Dependency
129
136
  name: mediashelf-loggable
130
137
  requirement: !ruby/object:Gem::Requirement
131
- none: false
132
138
  requirements:
133
- - - ! '>='
139
+ - - '>='
134
140
  - !ruby/object:Gem::Version
135
141
  version: '0'
136
142
  type: :runtime
137
143
  prerelease: false
138
144
  version_requirements: !ruby/object:Gem::Requirement
139
- none: false
140
145
  requirements:
141
- - - ! '>='
146
+ - - '>='
142
147
  - !ruby/object:Gem::Version
143
148
  version: '0'
144
149
  - !ruby/object:Gem::Dependency
145
150
  name: rubydora
146
151
  requirement: !ruby/object:Gem::Requirement
147
- none: false
148
152
  requirements:
149
153
  - - ~>
150
154
  - !ruby/object:Gem::Version
@@ -152,7 +156,6 @@ dependencies:
152
156
  type: :runtime
153
157
  prerelease: false
154
158
  version_requirements: !ruby/object:Gem::Requirement
155
- none: false
156
159
  requirements:
157
160
  - - ~>
158
161
  - !ruby/object:Gem::Version
@@ -160,23 +163,20 @@ dependencies:
160
163
  - !ruby/object:Gem::Dependency
161
164
  name: rdf
162
165
  requirement: !ruby/object:Gem::Requirement
163
- none: false
164
166
  requirements:
165
- - - ! '>='
167
+ - - '>='
166
168
  - !ruby/object:Gem::Version
167
169
  version: '0'
168
170
  type: :runtime
169
171
  prerelease: false
170
172
  version_requirements: !ruby/object:Gem::Requirement
171
- none: false
172
173
  requirements:
173
- - - ! '>='
174
+ - - '>='
174
175
  - !ruby/object:Gem::Version
175
176
  version: '0'
176
177
  - !ruby/object:Gem::Dependency
177
178
  name: rdf-rdfxml
178
179
  requirement: !ruby/object:Gem::Requirement
179
- none: false
180
180
  requirements:
181
181
  - - ~>
182
182
  - !ruby/object:Gem::Version
@@ -184,7 +184,6 @@ dependencies:
184
184
  type: :runtime
185
185
  prerelease: false
186
186
  version_requirements: !ruby/object:Gem::Requirement
187
- none: false
188
187
  requirements:
189
188
  - - ~>
190
189
  - !ruby/object:Gem::Version
@@ -192,113 +191,99 @@ dependencies:
192
191
  - !ruby/object:Gem::Dependency
193
192
  name: deprecation
194
193
  requirement: !ruby/object:Gem::Requirement
195
- none: false
196
194
  requirements:
197
- - - ! '>='
195
+ - - '>='
198
196
  - !ruby/object:Gem::Version
199
197
  version: '0'
200
198
  type: :runtime
201
199
  prerelease: false
202
200
  version_requirements: !ruby/object:Gem::Requirement
203
- none: false
204
201
  requirements:
205
- - - ! '>='
202
+ - - '>='
206
203
  - !ruby/object:Gem::Version
207
204
  version: '0'
208
205
  - !ruby/object:Gem::Dependency
209
206
  name: yard
210
207
  requirement: !ruby/object:Gem::Requirement
211
- none: false
212
208
  requirements:
213
- - - ! '>='
209
+ - - '>='
214
210
  - !ruby/object:Gem::Version
215
211
  version: '0'
216
212
  type: :development
217
213
  prerelease: false
218
214
  version_requirements: !ruby/object:Gem::Requirement
219
- none: false
220
215
  requirements:
221
- - - ! '>='
216
+ - - '>='
222
217
  - !ruby/object:Gem::Version
223
218
  version: '0'
224
219
  - !ruby/object:Gem::Dependency
225
220
  name: RedCloth
226
221
  requirement: !ruby/object:Gem::Requirement
227
- none: false
228
222
  requirements:
229
- - - ! '>='
223
+ - - '>='
230
224
  - !ruby/object:Gem::Version
231
225
  version: '0'
232
226
  type: :development
233
227
  prerelease: false
234
228
  version_requirements: !ruby/object:Gem::Requirement
235
- none: false
236
229
  requirements:
237
- - - ! '>='
230
+ - - '>='
238
231
  - !ruby/object:Gem::Version
239
232
  version: '0'
240
233
  - !ruby/object:Gem::Dependency
241
234
  name: rake
242
235
  requirement: !ruby/object:Gem::Requirement
243
- none: false
244
236
  requirements:
245
- - - ! '>='
237
+ - - '>='
246
238
  - !ruby/object:Gem::Version
247
239
  version: '0'
248
240
  type: :development
249
241
  prerelease: false
250
242
  version_requirements: !ruby/object:Gem::Requirement
251
- none: false
252
243
  requirements:
253
- - - ! '>='
244
+ - - '>='
254
245
  - !ruby/object:Gem::Version
255
246
  version: '0'
256
247
  - !ruby/object:Gem::Dependency
257
248
  name: jettywrapper
258
249
  requirement: !ruby/object:Gem::Requirement
259
- none: false
260
250
  requirements:
261
- - - ! '>='
251
+ - - '>='
262
252
  - !ruby/object:Gem::Version
263
253
  version: 1.2.0
264
254
  type: :development
265
255
  prerelease: false
266
256
  version_requirements: !ruby/object:Gem::Requirement
267
- none: false
268
257
  requirements:
269
- - - ! '>='
258
+ - - '>='
270
259
  - !ruby/object:Gem::Version
271
260
  version: 1.2.0
272
261
  - !ruby/object:Gem::Dependency
273
262
  name: rspec
274
263
  requirement: !ruby/object:Gem::Requirement
275
- none: false
276
264
  requirements:
277
- - - ! '>='
265
+ - - '>='
278
266
  - !ruby/object:Gem::Version
279
267
  version: 2.9.0
280
268
  type: :development
281
269
  prerelease: false
282
270
  version_requirements: !ruby/object:Gem::Requirement
283
- none: false
284
271
  requirements:
285
- - - ! '>='
272
+ - - '>='
286
273
  - !ruby/object:Gem::Version
287
274
  version: 2.9.0
288
275
  - !ruby/object:Gem::Dependency
289
276
  name: equivalent-xml
290
277
  requirement: !ruby/object:Gem::Requirement
291
- none: false
292
278
  requirements:
293
- - - ! '>='
279
+ - - '>='
294
280
  - !ruby/object:Gem::Version
295
281
  version: '0'
296
282
  type: :development
297
283
  prerelease: false
298
284
  version_requirements: !ruby/object:Gem::Requirement
299
- none: false
300
285
  requirements:
301
- - - ! '>='
286
+ - - '>='
302
287
  - !ruby/object:Gem::Version
303
288
  version: '0'
304
289
  description: ActiveFedora provides for creating and managing objects in the Fedora
@@ -313,6 +298,7 @@ extra_rdoc_files:
313
298
  files:
314
299
  - .gitignore
315
300
  - .gitmodules
301
+ - .travis.yml
316
302
  - CONSOLE_GETTING_STARTED.textile
317
303
  - Gemfile
318
304
  - History.txt
@@ -519,6 +505,7 @@ files:
519
505
  - spec/unit/datastream_spec.rb
520
506
  - spec/unit/datastreams_spec.rb
521
507
  - spec/unit/file_configurator_spec.rb
508
+ - spec/unit/has_and_belongs_to_many_collection_spec.rb
522
509
  - spec/unit/has_many_collection_spec.rb
523
510
  - spec/unit/inheritance_spec.rb
524
511
  - spec/unit/model_spec.rb
@@ -548,30 +535,26 @@ files:
548
535
  - spec/unit/validations_spec.rb
549
536
  homepage: https://github.com/projecthydra/active_fedora
550
537
  licenses: []
538
+ metadata: {}
551
539
  post_install_message:
552
540
  rdoc_options: []
553
541
  require_paths:
554
542
  - lib
555
543
  required_ruby_version: !ruby/object:Gem::Requirement
556
- none: false
557
544
  requirements:
558
- - - ! '>='
545
+ - - '>='
559
546
  - !ruby/object:Gem::Version
560
547
  version: 1.9.3
561
548
  required_rubygems_version: !ruby/object:Gem::Requirement
562
- none: false
563
549
  requirements:
564
- - - ! '>='
550
+ - - '>='
565
551
  - !ruby/object:Gem::Version
566
552
  version: '0'
567
- segments:
568
- - 0
569
- hash: -3082058805428983203
570
553
  requirements: []
571
554
  rubyforge_project: rubyfedora
572
- rubygems_version: 1.8.24
555
+ rubygems_version: 2.0.0
573
556
  signing_key:
574
- specification_version: 3
557
+ specification_version: 4
575
558
  summary: A convenience libary for manipulating documents in the Fedora Repository.
576
559
  test_files:
577
560
  - spec/config_helper.rb
@@ -683,6 +666,7 @@ test_files:
683
666
  - spec/unit/datastream_spec.rb
684
667
  - spec/unit/datastreams_spec.rb
685
668
  - spec/unit/file_configurator_spec.rb
669
+ - spec/unit/has_and_belongs_to_many_collection_spec.rb
686
670
  - spec/unit/has_many_collection_spec.rb
687
671
  - spec/unit/inheritance_spec.rb
688
672
  - spec/unit/model_spec.rb
Binary file