canzea 0.1.179 → 0.1.180

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4fac68c7df80c65b12b75508eaf55bcb97c37560
4
- data.tar.gz: 7c577a53f8c63efd8c24de8faebd33bf830fe5a2
3
+ metadata.gz: b6ee21dd993f89e12d5fc04aa0c8c314cdb6ad5c
4
+ data.tar.gz: 1b57b372898001614f35ad93e0db55c371b7a653
5
5
  SHA512:
6
- metadata.gz: '090ff2ee436390c3e2c1a570f6c1caeb4856b9254b167eec63359cf555cb31ec8d96e78242df7c60d814685ac597095ea9f410664f3ef9ad142bf78b2f476832'
7
- data.tar.gz: f837d251c5644c0fcdad975c67843d1365f3e54a9998ea6fe84be1595ec9b23b34f254b95917bd16c0a03df5e1f5a131027c0bfcbef55fb078a5dd485512184f
6
+ metadata.gz: 2a4aac6d6c9e5fbbd2b8f6ec774ffed8dddabde3e2bebe11205de0a90554f153269b6a06eeefd4483ead8b846efd4e2be9226066b99bb68b58493ad100bc40a8
7
+ data.tar.gz: cf348f25096945b0d1488be69c52aee21110fd32bfd17be2a229b5c3076aad28d3d89f774051ebf0e9bb5dfab0fe840897a22a2585a45bd1b008e10805aef327
@@ -22,13 +22,18 @@ Gem::Specification.new do |spec|
22
22
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
23
23
  spec.require_paths = ["lib"]
24
24
 
25
- spec.add_development_dependency "bundler", "~> 1.13"
26
- spec.add_development_dependency "rake", "~> 10.0"
25
+ spec.add_development_dependency "bundler", "~> 2.0.1"
26
+ spec.add_development_dependency "rake", "~> 12.3"
27
27
  spec.add_development_dependency "minitest", "~> 5.0"
28
28
 
29
- spec.add_runtime_dependency "net-ssh", "~> 4.1.0"
30
- spec.add_runtime_dependency "net-sftp", "~> 2.1"
29
+ spec.add_runtime_dependency "net-ssh", "~> 5.2.0"
30
+ spec.add_runtime_dependency "net-sftp", "~> 2.1.2"
31
31
  spec.add_runtime_dependency "mustache", "~> 1.0"
32
32
  spec.add_runtime_dependency "cri", "~> 2.4.1"
33
33
  spec.add_runtime_dependency "git", "~> 1.3"
34
+
35
+ spec.add_runtime_dependency "rbnacl", "~> 3.2"
36
+ spec.add_runtime_dependency "ed25519", "~> 1.2"
37
+ spec.add_runtime_dependency "bcrypt_pbkdf", "~> 1.0"
38
+
34
39
  end
@@ -1,3 +1,3 @@
1
1
  module Canzea
2
- VERSION = "0.1.179"
2
+ VERSION = "0.1.180"
3
3
  end
@@ -16,7 +16,7 @@ require 'canzea'
16
16
  class PushConfig
17
17
  def initialize (_relPath = "instances/#{ENV['HOSTNAME']}/")
18
18
  @relPath = _relPath
19
- @log = Logger.new(Canzea::config[:logging_root] + '/plans.log')
19
+ @log = Logger.new("#{Canzea::config[:logging_root]}/plans.log")
20
20
  end
21
21
 
22
22
  def cat(filePath)
@@ -68,7 +68,7 @@ class PushConfig
68
68
  numb = 1
69
69
  bkup = "#{folder}/#{path}.archived"
70
70
  while File.exists? "#{bkup}#{numb}"
71
- numb = numb + 1
71
+ numb = numb.next
72
72
  end
73
73
  puts "Backed up to #{bkup}#{numb}"
74
74
  File.write "#{bkup}#{numb}", File.read("#{folder}/#{path}");
@@ -172,13 +172,13 @@ class PushConfig
172
172
  begin
173
173
  g.chdir do
174
174
  g.status.changed.each do |file|
175
- count = count +1
175
+ count = count.next
176
176
  end
177
177
  g.status.added.each do |file|
178
- count = count +1
178
+ count = count.next
179
179
  end
180
180
  g.status.deleted.each do |file|
181
- count = count +1
181
+ count = count.next
182
182
  end
183
183
  end
184
184
  rescue => exception_ignore
@@ -241,13 +241,13 @@ class PushConfig
241
241
  count = 0
242
242
  g.chdir do
243
243
  g.status.changed.each do |file|
244
- count = count +1
244
+ count = count.next
245
245
  end
246
246
  g.status.added.each do |file|
247
- count = count +1
247
+ count = count.next
248
248
  end
249
249
  g.status.deleted.each do |file|
250
- count = count +1
250
+ count = count.next
251
251
  end
252
252
  end
253
253
 
@@ -18,7 +18,7 @@ class RemoteCall
18
18
  @log.info(" R [#{ref}] COMMAND: #{cmd}")
19
19
 
20
20
  begin
21
- Net::SSH.start(hostname, @username, :paranoid => false, :keys => [privateKey]) do |ssh|
21
+ Net::SSH.start(hostname, @username, :verify_host_key => :never, :keys => [privateKey]) do |ssh|
22
22
 
23
23
  chan = ssh.open_channel do |channel|
24
24
  channel.request_pty
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canzea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.179
4
+ version: 0.1.180
5
5
  platform: ruby
6
6
  authors:
7
7
  - Canzea Technologies
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-23 00:00:00.000000000 Z
11
+ date: 2019-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -16,28 +16,28 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.13'
19
+ version: 2.0.1
20
20
  type: :development
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.13'
26
+ version: 2.0.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: rake
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - "~>"
32
32
  - !ruby/object:Gem::Version
33
- version: '10.0'
33
+ version: '12.3'
34
34
  type: :development
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '12.3'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: minitest
43
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,28 +58,28 @@ dependencies:
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: 4.1.0
61
+ version: 5.2.0
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: 4.1.0
68
+ version: 5.2.0
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: net-sftp
71
71
  requirement: !ruby/object:Gem::Requirement
72
72
  requirements:
73
73
  - - "~>"
74
74
  - !ruby/object:Gem::Version
75
- version: '2.1'
75
+ version: 2.1.2
76
76
  type: :runtime
77
77
  prerelease: false
78
78
  version_requirements: !ruby/object:Gem::Requirement
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: '2.1'
82
+ version: 2.1.2
83
83
  - !ruby/object:Gem::Dependency
84
84
  name: mustache
85
85
  requirement: !ruby/object:Gem::Requirement
@@ -122,6 +122,48 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '1.3'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rbnacl
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '3.2'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '3.2'
139
+ - !ruby/object:Gem::Dependency
140
+ name: ed25519
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '1.2'
146
+ type: :runtime
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '1.2'
153
+ - !ruby/object:Gem::Dependency
154
+ name: bcrypt_pbkdf
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '1.0'
160
+ type: :runtime
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '1.0'
125
167
  description: Orchestrate the building of images based on defined ecosystem blueprints.
126
168
  email:
127
169
  - ikethecoder@canzea.com