active-fedora 8.2.2 → 8.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.travis.yml +0 -3
- data/lib/active_fedora/rubydora_connection.rb +1 -3
- data/lib/active_fedora/version.rb +1 -1
- data/spec/unit/rubydora_connection_spec.rb +2 -3
- 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: 14a1d01552ad1821d03959fddc442595c09926cf
|
4
|
+
data.tar.gz: e9942c211a7287c57150ac01abca1ec594fdcc72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 50bf4274c29193f087882dc0d2cbf47e7298fef5bf26e7d60aa5fb687ea2ada3e1b6c97e79ff0e531accce14326d91fe5e26b253a8e275d1950214833fcec618
|
7
|
+
data.tar.gz: 4dc7b2f84662de31dcd013a72e2a98cb326ae019cbc3fe0ace6de2f2215bc189bd8efdefc621023f2352b554d6d5737a605787a0c6d4db3935feda96867bc8bf
|
data/.travis.yml
CHANGED
@@ -13,9 +13,7 @@ module ActiveFedora
|
|
13
13
|
|
14
14
|
def connect(force=false)
|
15
15
|
return unless @connection.nil? or force
|
16
|
-
|
17
|
-
client_options = options.reject { |k,v| not allowable_options.include?(k) }
|
18
|
-
@connection = Rubydora.connect client_options
|
16
|
+
@connection = Rubydora.connect options
|
19
17
|
|
20
18
|
Rubydora::Transaction.after_rollback do |options|
|
21
19
|
begin
|
@@ -3,11 +3,10 @@ require 'active_fedora/rubydora_connection'
|
|
3
3
|
|
4
4
|
describe ActiveFedora::RubydoraConnection do
|
5
5
|
describe 'initialize' do
|
6
|
-
it "should pass through
|
7
|
-
@instance = ActiveFedora::RubydoraConnection.new :timeout => 3600, :
|
6
|
+
it "should pass through options" do
|
7
|
+
@instance = ActiveFedora::RubydoraConnection.new :timeout => 3600, :force => true, :validateChecksum=>true
|
8
8
|
expect(@instance.connection.client.options[:timeout]).to eq(3600)
|
9
9
|
expect(@instance.connection.config[:validateChecksum]).to eq(true)
|
10
|
-
expect(@instance.connection.client.options.has_key?(:fake_option)).to be_falsey
|
11
10
|
end
|
12
11
|
end
|
13
12
|
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: 8.
|
4
|
+
version: 8.3.0
|
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: 2016-11-
|
13
|
+
date: 2016-11-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: rsolr
|