cnvrg 0.3.6 → 0.3.8

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.
@@ -35,6 +35,26 @@ module Cnvrg
35
35
  return config.to_h[:api].gsub("/api", "")
36
36
  end
37
37
  end
38
+ def is_verify_ssl
39
+ home_dir = File.expand_path('~')
40
+ config = ""
41
+ begin
42
+ if File.exist? home_dir+"/.cnvrg/config.yml"
43
+ config = YAML.load_file(home_dir+"/.cnvrg/config.yml")
44
+ else
45
+ return true
46
+
47
+ end
48
+
49
+ rescue
50
+ return true
51
+ end
52
+ if !config or config.empty? or config.to_h[:verify_ssl].nil?
53
+ return true
54
+ else
55
+ return config.to_h[:verify_ssl]
56
+ end
57
+ end
38
58
 
39
59
  def os
40
60
 
@@ -254,13 +254,7 @@ module Cnvrg
254
254
  return false
255
255
  end
256
256
 
257
-
258
-
259
-
260
-
261
257
  end
262
-
263
-
264
258
  end
265
259
 
266
260
  def self.clone_dir_remote(project_slug, project_owner, project_name)
@@ -1,4 +1,4 @@
1
1
  module Cnvrg
2
- VERSION = '0.3.6'
2
+ VERSION = '0.3.8'
3
3
  end
4
4
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cnvrg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.6
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yochay Ettun
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2018-03-06 00:00:00.000000000 Z
12
+ date: 2018-03-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler
@@ -371,6 +371,20 @@ dependencies:
371
371
  - - ">="
372
372
  - !ruby/object:Gem::Version
373
373
  version: '0'
374
+ - !ruby/object:Gem::Dependency
375
+ name: down
376
+ requirement: !ruby/object:Gem::Requirement
377
+ requirements:
378
+ - - ">="
379
+ - !ruby/object:Gem::Version
380
+ version: '0'
381
+ type: :runtime
382
+ prerelease: false
383
+ version_requirements: !ruby/object:Gem::Requirement
384
+ requirements:
385
+ - - ">="
386
+ - !ruby/object:Gem::Version
387
+ version: '0'
374
388
  description: A CLI tool for interacting with cnvrg.io.
375
389
  email:
376
390
  - info@cnvrg.io