bbc-cosmos-tools 0.4.5 → 0.4.6
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/bbc/cosmos/tools/api.rb +6 -1
- data/lib/bbc/cosmos/tools/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: de9d5dde954f27952bf9e1ced658e64c5603be10
|
|
4
|
+
data.tar.gz: e1872b6066c68af5fda716a6875ef49daa1a08fc
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2979976efd4f151c8e92edca0f470a928029cf08642bbd88849662d0692bd5391fbcfbc39062c14b44f61bba2c8dfc6257340735c8b04c9977ea721b3b76f0b6
|
|
7
|
+
data.tar.gz: 40e6840e07d7ddfc15ed599af0576adb7b84f350988afd8669da00ba727908eedb921b3e8a40c9197759ca1e9ff0995d6876b81cefbd6b541eb48bed2f07fa58
|
data/lib/bbc/cosmos/tools/api.rb
CHANGED
|
@@ -8,7 +8,12 @@ module BBC
|
|
|
8
8
|
class API
|
|
9
9
|
|
|
10
10
|
def initialize(host, key_path)
|
|
11
|
-
@connection = Faraday.new host, :ssl => {
|
|
11
|
+
@connection = Faraday.new host, :ssl => {
|
|
12
|
+
:client_key => client_key(key_path),
|
|
13
|
+
:client_cert => client_cert(key_path),
|
|
14
|
+
:verify => false,
|
|
15
|
+
:version => 'TLSv1'
|
|
16
|
+
}
|
|
12
17
|
end
|
|
13
18
|
|
|
14
19
|
def client_key(path)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: bbc-cosmos-tools
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.4.
|
|
4
|
+
version: 0.4.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Steven Jack
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2014-11
|
|
11
|
+
date: 2014-12-11 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -146,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
146
146
|
version: '0'
|
|
147
147
|
requirements: []
|
|
148
148
|
rubyforge_project:
|
|
149
|
-
rubygems_version: 2.
|
|
149
|
+
rubygems_version: 2.2.2
|
|
150
150
|
signing_key:
|
|
151
151
|
specification_version: 4
|
|
152
152
|
summary: Tool for pusing config to cosmos and controlling cloudformation templates
|