dor-services 7.2.3 → 7.2.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/dor/config.rb +2 -0
  3. data/lib/dor/version.rb +1 -1
  4. metadata +13 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1cf931389a78b1f002196d761584e55e09759a17eff347f61e4295eda226a9e1
4
- data.tar.gz: 001a7b784e12e1cee59bb13179fd3a2bbd8ccf78243896bc8f9e75589398d53c
3
+ metadata.gz: 57815dc1bd6975e0c465e24baa1c7dbe62ad7b1a9e981d33e0c5eef6a17760db
4
+ data.tar.gz: 063fb43bd5f584359cf71bccca0013bfa40621a1571b2866efa1b8cbbae7d336
5
5
  SHA512:
6
- metadata.gz: cf8f72c317b9c72747947d35e32ddb896cf072d851460194aea901de5d1f90e230f10ad886123fddf90e4d5205ad1106e5ab7a2355c5351264e1b35385f4c305
7
- data.tar.gz: 13fe617ccdad97060f571794a8379eadcbaf00e6da13787ea3ad2d3b0d35ec790c6392040670dfe6df19a8c1f20c875eee8b74dc1b6bdcc544b9eb289bc7e691
6
+ metadata.gz: cb972848b34b46f78aafbeb4cd250406a989f3563b0d0ea3ae630aa1b64de9afd19e68d1ec664f64aea68d35d5a56ddda2db2e87d42ce636174dfd6da6e7e888
7
+ data.tar.gz: 134334347411b72274708334175656d887d564463176a884d07e546bcbd7750a271c72635ee18ab827b7cd4e89456cefbd12c1b95e5e3ff978b957e80d59a85f
@@ -97,6 +97,8 @@ module Dor
97
97
  }
98
98
  params[:username] = config.dor_services.user if config.dor_services&.user.present?
99
99
  params[:password] = config.dor_services.pass if config.dor_services&.pass.present?
100
+ params[:token] = config.dor_services.token if config.dor_services&.token.present?
101
+ params[:token_header] = config.dor_services.token_header if config.dor_services&.token_header.present?
100
102
 
101
103
  Dor::Services::Client.configure(params)
102
104
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Dor
4
- VERSION = '7.2.3'
4
+ VERSION = '7.2.4'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dor-services
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.2.3
4
+ version: 7.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Klein
@@ -14,7 +14,7 @@ authors:
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
- date: 2019-08-09 00:00:00.000000000 Z
17
+ date: 2019-08-14 00:00:00.000000000 Z
18
18
  dependencies:
19
19
  - !ruby/object:Gem::Dependency
20
20
  name: active-fedora
@@ -82,16 +82,22 @@ dependencies:
82
82
  name: dor-services-client
83
83
  requirement: !ruby/object:Gem::Requirement
84
84
  requirements:
85
- - - "~>"
85
+ - - ">="
86
+ - !ruby/object:Gem::Version
87
+ version: 1.5.0
88
+ - - "<"
86
89
  - !ruby/object:Gem::Version
87
- version: '1.5'
90
+ version: 3.0.0
88
91
  type: :runtime
89
92
  prerelease: false
90
93
  version_requirements: !ruby/object:Gem::Requirement
91
94
  requirements:
92
- - - "~>"
95
+ - - ">="
96
+ - !ruby/object:Gem::Version
97
+ version: 1.5.0
98
+ - - "<"
93
99
  - !ruby/object:Gem::Version
94
- version: '1.5'
100
+ version: 3.0.0
95
101
  - !ruby/object:Gem::Dependency
96
102
  name: json
97
103
  requirement: !ruby/object:Gem::Requirement
@@ -584,7 +590,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
584
590
  version: 1.3.6
585
591
  requirements: []
586
592
  rubyforge_project:
587
- rubygems_version: 2.7.6
593
+ rubygems_version: 2.7.8
588
594
  signing_key:
589
595
  specification_version: 4
590
596
  summary: Ruby implmentation of DOR services used by the SULAIR Digital Library