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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 871591e4b1778c1b10fe6b66bd59d42cc6705607
4
- data.tar.gz: 7e11bc3fdf8410f813e0bc9dd36fb5e015f2607d
3
+ metadata.gz: bcb26f9bfdb6735d9ce9a9b0b296c002960d10f4
4
+ data.tar.gz: b41e2e83f13386a5b2c64c4e37c53319920cfdec
5
5
  SHA512:
6
- metadata.gz: d67858d7e6c9bbcbcc7761e929d454aa817e5063a7094eb0645c042e057b27e4e97e8aa2b8447119fd3796781be448a39087fa61acadfae9db448b0a28c3b761
7
- data.tar.gz: c1a1612ff58d19b86806da7dcb0b421ba6769413ceec565b1dcf030e18d57c5e9f6e1229976d119b2c048e6c1b096893b964741fb6ef7a298131e11bf6854dde
6
+ metadata.gz: 2e374f17c791d3ad5284cff49c624e9c922f2a459bb163bcd649f3c3f5abcfdab72875d750bb923a80f03887fbe844440e1545a11ac9af9da3cdb77bf998c17a
7
+ data.tar.gz: 7d4c6d6c3d2267244ac337ad0d4b5e1f5543e4e161665c302ea6989db0dc3bc1295678efcc9c1481e81679cea138033e3b4bb0c58d58d681ac7b30476eb5831d
@@ -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
- connection.get(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
- return false
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"
@@ -1,3 +1,3 @@
1
1
  module ActiveFedora
2
- VERSION = "9.0.0"
2
+ VERSION = "9.0.1"
3
3
  end
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.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-01-30 00:00:00.000000000 Z
13
+ date: 2015-02-10 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rsolr