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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 791e4b6da51ce87c852ae8fc80b3f9c0fece25e6
4
- data.tar.gz: 3b441945f2f8fb950b67c1a025cdc8f8e9379ac8
3
+ metadata.gz: 10e383310fbfc82919f2ca24da515d6cffcb7f9c
4
+ data.tar.gz: 43872ebb78085e1083b011084176204fa39a5901
5
5
  SHA512:
6
- metadata.gz: 7e8d2b677c3e75b8e665b35f563a27e5eefb873f0337403ef5cb88163725914bfa426ed85a98eb5ef58f8528d2abebfd8bdd278a499cb908458f0248f30e75ce
7
- data.tar.gz: ea0c84d56601978158f8aa92c336fa25fd9c1e8d783bd2be999c665272a6cc001c14fdc06d18587d3f6de6686380591b278c9b766aa722f0069314d69c1cbf62
6
+ metadata.gz: de203496190b8ea885cfaca547397c38fc3b60003a93c84acb9c922287cd0c3f5cff5fd6156d28a5dcbc3e18cc700c8fff0ce109e21d8dcc256a1b2146c026b3
7
+ data.tar.gz: e3f4b49008944b5d59ae0844184f6187800b8f695d97b9bd022b3ae3d343754022e83da2ba3f08723bb68665114e0ef56b0261fad94e7c124828e8619cdc9f0d
@@ -1,3 +1,3 @@
1
1
  module Canzea
2
- VERSION = "0.1.124"
2
+ VERSION = "0.1.125"
3
3
  end
@@ -12,11 +12,13 @@ class PreparePlan
12
12
  @basePath = "#{Pathname.new(Canzea::config[:catalog_location]).realpath}"
13
13
  end
14
14
 
15
- def doPatch (params, test, privateKey, serverBase, serverNumber)
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: canzea
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.124
4
+ version: 0.1.125
5
5
  platform: ruby
6
6
  authors:
7
7
  - Canzea Technologies