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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5a6dfd10717c2d461bac0b6cc9f6995d3cf6dc20
4
- data.tar.gz: 69d6d72ca460c5e2bd94d6a7958d1ca4052e206e
3
+ metadata.gz: 14a1d01552ad1821d03959fddc442595c09926cf
4
+ data.tar.gz: e9942c211a7287c57150ac01abca1ec594fdcc72
5
5
  SHA512:
6
- metadata.gz: 5b86606eba5e479f3134b09294403fc3aaf3425960cf96545e6701ea490fbbdc008d4522d2ae892989fedd153100754c0e1581e9596fb44823ef9ced057ed9ff
7
- data.tar.gz: c7220c220a6420afe2d64b4f5150ac28b176fb5a656079529a77d92265fc030a530acfe583a31abeb039a2ae97566b79bb4cba50aff8f987f7ade9f996656690
6
+ metadata.gz: 50bf4274c29193f087882dc0d2cbf47e7298fef5bf26e7d60aa5fb687ea2ada3e1b6c97e79ff0e531accce14326d91fe5e26b253a8e275d1950214833fcec618
7
+ data.tar.gz: 4dc7b2f84662de31dcd013a72e2a98cb326ae019cbc3fe0ace6de2f2215bc189bd8efdefc621023f2352b554d6d5737a605787a0c6d4db3935feda96867bc8bf
@@ -10,9 +10,6 @@ matrix:
10
10
  - rvm: 2.1.10
11
11
  env: RAILS_VERSION=4.2.7.1
12
12
 
13
- notifications:
14
- irc: "irc.freenode.org#projecthydra"
15
-
16
13
  env:
17
14
  global:
18
15
  - NOKOGIRI_USE_SYSTEM_LIBRARIES=true
@@ -13,9 +13,7 @@ module ActiveFedora
13
13
 
14
14
  def connect(force=false)
15
15
  return unless @connection.nil? or force
16
- allowable_options = [:url, :user, :password, :timeout, :open_timeout, :ssl_client_cert, :ssl_client_key, :validateChecksum]
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
@@ -1,3 +1,3 @@
1
1
  module ActiveFedora
2
- VERSION = "8.2.2"
2
+ VERSION = "8.3.0"
3
3
  end
@@ -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 valid options" do
7
- @instance = ActiveFedora::RubydoraConnection.new :timeout => 3600, :fake_option => :missing, :force => true, :validateChecksum=>true
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.2.2
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-17 00:00:00.000000000 Z
13
+ date: 2016-11-21 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rsolr