cf-uaa-lib 3.9.0 → 3.10.0

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: 6254260911c7b1fe6cac6893ec9bfc879a60a591
4
- data.tar.gz: 972874b52d9076d1e26460ae740b63801222d713
3
+ metadata.gz: 339b000b5ecc7622591dc843922a7d2b3aa03f86
4
+ data.tar.gz: dd889d4ae8c9068e519957e6fef24cd3bd627e08
5
5
  SHA512:
6
- metadata.gz: f33484be036a0a8ca103aec08d389e7dc8081e9228e8b18869725ad74b18dff105471e02aa3f2cf2f3d6a0f58b889befaea852f1f6baa797dcdb5869f6b692d0
7
- data.tar.gz: 63e9f0dca7402277174a4df90ef4f4fd0957ff20f4bc55b99c270adf6e4b8874f9cf0d23077d561f22310f1a65676452e3ef0386c876e52178b97d98f2b09ab6
6
+ metadata.gz: b214f9d0e6fee14b91350d280eda4e54af0075a67fe8f8bfb344b97540efd4b580c68c4fe36e3813a737d09a02247fee2e2a95f32c96f67772f182d20bc5832a
7
+ data.tar.gz: '06719f1ede8310dc79b0fa3f33f89e21383af9c1c016a373ea37b8e61b122966d2a5f74bafca04dc4b942cc8c55b2c0ca4583fe2bd3abbdca1778ebfeb7bfb97'
@@ -6,6 +6,4 @@ before_install:
6
6
 
7
7
  rvm:
8
8
  - 1.9.3
9
-
10
-
11
-
9
+ - 2.4.1
File without changes
data/NOTICE ADDED
@@ -0,0 +1,12 @@
1
+
2
+ Copyright (c) 2015-Present CloudFoundry.org Foundation, Inc. All Rights Reserved.
3
+
4
+ This project contains software that is Copyright (c) 2012-2015 Pivotal Software, Inc.
5
+
6
+ This project is licensed to you under the Apache License, Version 2.0 (the "License").
7
+
8
+ You may not use this project except in compliance with the License.
9
+
10
+ This project may include a number of subcomponents with separate copyright notices
11
+ and license terms. Your use of these subcomponents is subject to the terms and
12
+ conditions of the subcomponent's license, as noted in the LICENSE file.
@@ -36,7 +36,7 @@ Gem::Specification.new do |s|
36
36
  s.add_dependency 'multi_json', '~> 1.12.0', '>= 1.12.1'
37
37
  s.add_dependency 'httpclient', '~> 2.8', '>= 2.8.2.4'
38
38
 
39
- s.add_development_dependency 'bundler', '~> 1.14.0', '>= 1.14.3'
39
+ s.add_development_dependency 'bundler', '~> 1.14'
40
40
  s.add_development_dependency 'rake', '~> 10.3', '>= 10.3.2'
41
41
  s.add_development_dependency 'rspec', '~> 2.14', '>= 2.14.1'
42
42
  s.add_development_dependency 'simplecov', '~> 0.8.2'
@@ -193,6 +193,8 @@ module Http
193
193
  elsif ssl_cert_store
194
194
  c.ssl_config.cert_store = ssl_cert_store
195
195
  c.ssl_config.verify_mode = OpenSSL::SSL::VERIFY_PEER
196
+ else
197
+ c.ssl_config.set_default_paths
196
198
  end
197
199
  end
198
200
  else
@@ -14,6 +14,6 @@
14
14
  # Cloud Foundry namespace
15
15
  module CF
16
16
  module UAA
17
- VERSION = '3.9.0'
17
+ VERSION = '3.10.0'
18
18
  end
19
19
  end
@@ -78,14 +78,16 @@ describe CF::UAA::Http do
78
78
  end
79
79
 
80
80
  context 'when validating ssl' do
81
- it 'does not set verify mode' do
82
- expect(http_double).not_to receive(:ssl_config)
81
+ let(:ssl_config) { double('ssl_config') }
82
+
83
+ it 'sets default values' do
84
+ expect(http_double).to receive(:ssl_config).and_return(ssl_config)
85
+ expect(ssl_config).to receive(:set_default_paths)
83
86
  http_instance.http_get('https://example.com')
84
87
  end
85
88
  end
86
89
 
87
90
  context 'when ssl certificate is provided' do
88
-
89
91
  let(:ssl_config) { double('ssl_config') }
90
92
 
91
93
  it 'passes it' do
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cf-uaa-lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.9.0
4
+ version: 3.10.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dave Syer
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2017-03-21 00:00:00.000000000 Z
15
+ date: 2017-07-10 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: multi_json
@@ -60,20 +60,14 @@ dependencies:
60
60
  requirements:
61
61
  - - "~>"
62
62
  - !ruby/object:Gem::Version
63
- version: 1.14.0
64
- - - ">="
65
- - !ruby/object:Gem::Version
66
- version: 1.14.3
63
+ version: '1.14'
67
64
  type: :development
68
65
  prerelease: false
69
66
  version_requirements: !ruby/object:Gem::Requirement
70
67
  requirements:
71
68
  - - "~>"
72
69
  - !ruby/object:Gem::Version
73
- version: 1.14.0
74
- - - ">="
75
- - !ruby/object:Gem::Version
76
- version: 1.14.3
70
+ version: '1.14'
77
71
  - !ruby/object:Gem::Dependency
78
72
  name: rake
79
73
  requirement: !ruby/object:Gem::Requirement
@@ -202,8 +196,8 @@ files:
202
196
  - ".yardopts"
203
197
  - CHANGELOG.md
204
198
  - Gemfile
205
- - LICENSE.TXT
206
- - NOTICE.TXT
199
+ - LICENSE
200
+ - NOTICE
207
201
  - README.md
208
202
  - Rakefile
209
203
  - cf-uaa-lib.gemspec
@@ -242,8 +236,15 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
236
  version: '0'
243
237
  requirements: []
244
238
  rubyforge_project: cf-uaa-lib
245
- rubygems_version: 2.5.1
239
+ rubygems_version: 2.6.11
246
240
  signing_key:
247
241
  specification_version: 4
248
242
  summary: Client library for CloudFoundry UAA
249
- test_files: []
243
+ test_files:
244
+ - spec/http_spec.rb
245
+ - spec/info_spec.rb
246
+ - spec/integration_spec.rb
247
+ - spec/scim_spec.rb
248
+ - spec/spec_helper.rb
249
+ - spec/token_coder_spec.rb
250
+ - spec/token_issuer_spec.rb
data/NOTICE.TXT DELETED
@@ -1,10 +0,0 @@
1
- Cloud Foundry
2
- Copyright (c) [2009-2014] Pivotal Software, Inc. All Rights Reserved.
3
-
4
- This product is licensed to you under the Apache License, Version 2.0 (the "License").
5
- You may not use this product except in compliance with the License.
6
-
7
- This product includes a number of subcomponents with
8
- separate copyright notices and license terms. Your use of these
9
- subcomponents is subject to the terms and conditions of the
10
- subcomponent's license, as noted in the LICENSE file.