ish_models 3.1.0.19 → 3.1.0.21

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
  SHA256:
3
- metadata.gz: 9e5a104c643900d87bcef9c2371677fe36129208bb2e8a300ff1ff568479a146
4
- data.tar.gz: 06a5bc4a629a76ff9511d15be1ec48fb95a8c6c153631aa7ea5a86dba2917313
3
+ metadata.gz: ead7d5e807173bc1c22c1f9fd650499a113e3e6a64d915afd4cc752162835365
4
+ data.tar.gz: 7319e2a4a4585f67be8f3687d65131795e9c007c73fe44c5a23c538142d4b9a1
5
5
  SHA512:
6
- metadata.gz: 6d595a1c221423ddf6028c30c85e1e3766289667a97614d730808b124275a798ab482280b8c4f09717b98a4889cd8d9de3a9fd0debf2056d67160bba56a74f10
7
- data.tar.gz: f3f31c844e571e06dccd9fa7e567ce5c3c275f64150fc3f5a873ae0b4322190e656a4c85ed6baac0e83cfa72a60c1806e4a9116077952e48933f9d272e4ae140
6
+ metadata.gz: 1de2e68777cebb2ae5454cc921ceffa19f04f4963c0aa1a3edb48476f80d358554693480e4be10c49e9ad95db9bfc5445590a33f9cea374bbae63f7f3efb40b3
7
+ data.tar.gz: b271f96d417b40484c427a833bceb5c0c9fd2b2997781432a50b7290974f10c70a5b68872b0b3bff6c3080de7806012faf0ba8ee8aa78f91242b61faf487f219
@@ -50,8 +50,8 @@ class WcoHosting::Serverhost
50
50
  file.close
51
51
 
52
52
  cmd = "aws route53 change-resource-record-sets \
53
- --hosted-zone-id <%= app.route53_zone %> \
54
- --change-batch file://<%= file.path %> "
53
+ --hosted-zone-id #{ app.route53_zone } \
54
+ --change-batch file://#{ file.path } "
55
55
  do_exec( cmd )
56
56
  end
57
57
 
@@ -168,23 +168,26 @@ class WcoHosting::Serverhost
168
168
  end
169
169
 
170
170
  def do_exec cmd
171
- @messages ||= []
172
- @errors ||= []
173
- @statuses ||= []
171
+ # @messages ||= []
172
+ # @errors ||= []
173
+ # @statuses ||= []
174
174
 
175
175
  puts! cmd, '#do_exec'
176
176
  stdout, stderr, status = Open3.capture3(cmd)
177
177
  puts "+++ +++ stdout"
178
178
  puts stdout
179
- @messages.push( stdout )
179
+ # @messages.push( stdout )
180
180
  puts "+++ +++ stderr"
181
181
  puts stderr
182
- @errors.push( stderr )
182
+ # @errors.push( stderr )
183
183
  puts! status, 'status'
184
- @statuses.push( status.to_s.split.last.to_i )
184
+ # @statuses.push( status.to_s.split.last.to_i )
185
185
  end
186
186
 
187
187
  def done_exec
188
+ @messages ||= []
189
+ @errors ||= []
190
+ @statuses ||= []
188
191
  OpenStruct.new( statuses: @statuses, errors: @errors, messages: @messages )
189
192
  end
190
193
 
@@ -5,6 +5,6 @@ server {
5
5
  location / {
6
6
  proxy_pass http://127.0.0.1:<%= @app.port %>/;
7
7
  }
8
- # ssl_certificate /etc/letsencrypt/live/<%= @app.host %>/fullchain.pem; # managed by Certbot
9
- # ssl_certificate_key /etc/letsencrypt/live/<%= @app.host %>/privkey.pem; # managed by Certbot
8
+ ssl_certificate /etc/letsencrypt/live/<%= @app.host %>/fullchain.pem; # managed by Certbot
9
+ ssl_certificate_key /etc/letsencrypt/live/<%= @app.host %>/privkey.pem; # managed by Certbot
10
10
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.19
4
+ version: 3.1.0.21
5
5
  platform: ruby
6
6
  authors:
7
7
  - mac_a2141