active-fedora 9.0.0 → 9.0.1
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.
- checksums.yaml +4 -4
- data/lib/active_fedora/fedora.rb +3 -3
- data/lib/active_fedora/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: bcb26f9bfdb6735d9ce9a9b0b296c002960d10f4
|
|
4
|
+
data.tar.gz: b41e2e83f13386a5b2c64c4e37c53319920cfdec
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2e374f17c791d3ad5284cff49c624e9c922f2a459bb163bcd649f3c3f5abcfdab72875d750bb923a80f03887fbe844440e1545a11ac9af9da3cdb77bf998c17a
|
|
7
|
+
data.tar.gz: 7d4c6d6c3d2267244ac337ad0d4b5e1f5543e4e161665c302ea6989db0dc3bc1295678efcc9c1481e81679cea138033e3b4bb0c58d58d681ac7b30476eb5831d
|
data/lib/active_fedora/fedora.rb
CHANGED
|
@@ -26,9 +26,9 @@ module ActiveFedora
|
|
|
26
26
|
|
|
27
27
|
# Call this to create a Container Resource to act as the base path for this connection
|
|
28
28
|
def init_base_path
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
29
|
+
connection.head(root_resource_path)
|
|
30
|
+
ActiveFedora::Base.logger.info "Attempted to init base path `#{root_resource_path}`, but it already exists" if ActiveFedora::Base.logger
|
|
31
|
+
false
|
|
32
32
|
rescue Ldp::NotFound
|
|
33
33
|
if !host.downcase.end_with?("/rest")
|
|
34
34
|
ActiveFedora::Base.logger.warn "Fedora URL (#{host}) does not end with /rest. This could be a problem. Check your fedora.yml config"
|
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: 9.0.
|
|
4
|
+
version: 9.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Matt Zumwalt
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2015-
|
|
13
|
+
date: 2015-02-10 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: rsolr
|