occi-api 4.3.11 → 4.3.12
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/occi/api/client/http/authn_plugins/token.rb +3 -0
- data/lib/occi/api/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 61576559d246bbfb62b5f52f21120cadd2aa7734
|
|
4
|
+
data.tar.gz: 30a9c0dfac745ed5a90c7ecb248f037fa214b60a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 364f6def52870319d4c53e8c838bb1da8ad6ecb23c465d82fe0b2f85ac5e1503174cbc306777111252584c787362458190bdfcbe9c7264a59e197e4504dbb232
|
|
7
|
+
data.tar.gz: 6a68d407491a356eea7187fd0aa1ef4c7aa625284a54b79269bcbc2cd03fa1e349b59698e2d5c291d1b1179a287936e48e590fbb0320a58d0e4e2beca9443e53
|
|
@@ -9,6 +9,9 @@ module Occi::Api::Client
|
|
|
9
9
|
raise ArgumentError, "Missing required option 'token' for token auth!" if @options[:token].blank?
|
|
10
10
|
raise ArgumentError, "Token cannot be a multi-line string!" if @options[:token].strip.lines.count > 1
|
|
11
11
|
@env_ref.class.headers['X-Auth-Token'] = @options[:token].strip
|
|
12
|
+
|
|
13
|
+
@env_ref.class.ssl_ca_path @options[:ca_path] if @options[:ca_path]
|
|
14
|
+
@env_ref.class.ssl_ca_file @options[:ca_file] if @options[:ca_file]
|
|
12
15
|
end
|
|
13
16
|
|
|
14
17
|
end
|
data/lib/occi/api/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: occi-api
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 4.3.
|
|
4
|
+
version: 4.3.12
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Florian Feldhaus
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2017-
|
|
13
|
+
date: 2017-06-14 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: occi-core
|
|
@@ -463,7 +463,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
463
463
|
version: '0'
|
|
464
464
|
requirements: []
|
|
465
465
|
rubyforge_project:
|
|
466
|
-
rubygems_version: 2.
|
|
466
|
+
rubygems_version: 2.6.8
|
|
467
467
|
signing_key:
|
|
468
468
|
specification_version: 4
|
|
469
469
|
summary: OCCI development library providing a high-level client API
|