canzea 0.1.124 → 0.1.125
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/canzea/version.rb +1 -1
- data/lib/commands/prepare-plan.rb +3 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10e383310fbfc82919f2ca24da515d6cffcb7f9c
|
4
|
+
data.tar.gz: 43872ebb78085e1083b011084176204fa39a5901
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: de203496190b8ea885cfaca547397c38fc3b60003a93c84acb9c922287cd0c3f5cff5fd6156d28a5dcbc3e18cc700c8fff0ce109e21d8dcc256a1b2146c026b3
|
7
|
+
data.tar.gz: e3f4b49008944b5d59ae0844184f6187800b8f695d97b9bd022b3ae3d343754022e83da2ba3f08723bb68665114e0ef56b0261fad94e7c124828e8619cdc9f0d
|
data/lib/canzea/version.rb
CHANGED
@@ -12,11 +12,13 @@ class PreparePlan
|
|
12
12
|
@basePath = "#{Pathname.new(Canzea::config[:catalog_location]).realpath}"
|
13
13
|
end
|
14
14
|
|
15
|
-
def doPatch (
|
15
|
+
def doPatch (paramsString, test, privateKey, serverBase, serverNumber)
|
16
16
|
|
17
17
|
publicIp = File.read("#{Canzea::config[:pwd]}/vps-#{serverBase}-#{serverNumber}.json")
|
18
18
|
publicIp.strip!
|
19
19
|
|
20
|
+
params = JSON.parse(paramsString)
|
21
|
+
|
20
22
|
patches = Base64.decode64(params['patches'])
|
21
23
|
params['patches'] = JSON.parse(patches)
|
22
24
|
|