active-fedora 4.6.0.rc4 → 5.0.0.rc1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt
CHANGED
|
@@ -262,6 +262,10 @@ describe ActiveFedora::Base do
|
|
|
262
262
|
it "habtm should not set foreign relationships if :inverse_of is not specified" do
|
|
263
263
|
@c.relationships(:is_member_of_collection).should == []
|
|
264
264
|
end
|
|
265
|
+
it "should load the collections" do
|
|
266
|
+
reloaded = Book.find(@book.pid)
|
|
267
|
+
reloaded.collections.should == [@c]
|
|
268
|
+
end
|
|
265
269
|
end
|
|
266
270
|
end
|
|
267
271
|
end
|
|
@@ -81,6 +81,7 @@ describe ActiveFedora do
|
|
|
81
81
|
|
|
82
82
|
File.stubs(:open).with(fedora_config_path).returns(fedora_config)
|
|
83
83
|
File.stubs(:open).with(solr_config_path).returns(solr_config)
|
|
84
|
+
ActiveFedora::SolrService.stubs(:load_mappings) #For the solrizer solr_mappings.yml
|
|
84
85
|
|
|
85
86
|
|
|
86
87
|
# ActiveSupport::Deprecation.expects(:warn).with("Configuring fedora with \":url\" without :user and :password is no longer supported.")
|
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:
|
|
4
|
+
version: 5.0.0.rc1
|
|
5
5
|
prerelease: 6
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2012-10-
|
|
14
|
+
date: 2012-10-25 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: rsolr
|
|
@@ -542,7 +542,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
542
542
|
version: '0'
|
|
543
543
|
segments:
|
|
544
544
|
- 0
|
|
545
|
-
hash: -
|
|
545
|
+
hash: -1658600528590412066
|
|
546
546
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
547
547
|
none: false
|
|
548
548
|
requirements:
|