smartdc 2.0.1 → 2.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -0
- data/Gemfile +1 -0
- data/lib/smartdc/cli.rb +1 -0
- data/lib/smartdc/cli_configure.rb +2 -0
- data/lib/smartdc/version.rb +1 -1
- data/spec/spec_helper.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59ff22276533bb1cba158422a6c136ba90c39510
|
4
|
+
data.tar.gz: cccf266041d9647525404de5b9842715fd78c398
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a9180a5442ef8b2b314fa9d25563b4460ea9f634e0b89bff703dc89b68f12a1f003504c41356d69a783ae94efb962921a1bb7178253cf67b786b70a23befeeda
|
7
|
+
data.tar.gz: 963034aa9ee3bb284c95e8cc0c3db0224e8f217d40abfcd5c97e9ce3155337934fb378d3d51b7d41b8b630d920bedc8d3f064e091b005074e25504d1483ebe57
|
data/Gemfile
CHANGED
data/lib/smartdc/cli.rb
CHANGED
@@ -51,6 +51,7 @@ module Smartdc
|
|
51
51
|
config.username = sdccfg[:username] if sdccfg.key?(:username)
|
52
52
|
config.use_key = sdccfg[:use_key] if sdccfg.key?(:use_key)
|
53
53
|
config.rsa_path = sdccfg[:rsa_path] if sdccfg.key?(:rsa_path)
|
54
|
+
config.ssl_verify = sdccfg[:ssl_verify].to_s =~ /false|0/ ? false : true
|
54
55
|
config.middleware = Faraday::RackBuilder.new do |builder|
|
55
56
|
builder.adapter Faraday.default_adapter
|
56
57
|
#builder.use CassetteRack::Response::RaiseError
|
@@ -56,6 +56,7 @@ __EOS__
|
|
56
56
|
options = option(options, :Version, :version, '~7.0')
|
57
57
|
options = option(options, :Username, :username, ENV['USER'])
|
58
58
|
options = option(options, :Fingerprint, :use_key, 'none')
|
59
|
+
options = option(options, :SSLVerify, :ssl_verify, true)
|
59
60
|
|
60
61
|
puts
|
61
62
|
puts "New settings!"
|
@@ -63,6 +64,7 @@ __EOS__
|
|
63
64
|
puts "Version: #{options[:version]}"
|
64
65
|
puts "Username: #{options[:username]}"
|
65
66
|
puts "Fingerprint: #{options[:use_key]}"
|
67
|
+
puts "SSLVerify: #{options[:ssl_verify]}"
|
66
68
|
puts
|
67
69
|
|
68
70
|
self.write options
|
data/lib/smartdc/version.rb
CHANGED
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: smartdc
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ogom
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cassette-rack
|