ish_models 3.1.0.18 → 3.1.0.20

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: b697e15fa3600c6da649b862c536b7acfc36670075e5afc236982dbdd932b378
4
- data.tar.gz: 92615b9c83accdc281029599e92cdd17aad4a6bc510663d4f590b25314daeeb5
3
+ metadata.gz: e376c27171200c2fc25d4b6c7bb8d866a6a01642b009d3302e591d34252a6fd5
4
+ data.tar.gz: 8912f90aaf505ed8749439308c47a4c91106c59e8ceaa2f42136032d1912e2f2
5
5
  SHA512:
6
- metadata.gz: ca7d47294b41367f1c12828b325a76aa5ef4481f0ebbd4698834a9a622d48ff5dba420aafa57e4f5f7f6ace1de1712236c05ea1c78eba0a8ee46089c3dd980be
7
- data.tar.gz: d4b87a0122efe2328406d064687f9620b1f3410daf4ce57ad0fe47eaab06297f5d40b57e6a1ea92b36c0ccb0af2fa02db082664a96f557c64e45681b650465d9
6
+ metadata.gz: 5480969543c02a514ca62abeddbdf09541c8a9a8969b88fa742c41bcff0922df086791a8d996b74edaf5bdfe4522d5328b846554d5c16250eea565d23398391c
7
+ data.tar.gz: 7ecdf9d17d8642a7e053c79782f9dba2f2a6dca6abd040008b80f1bf9047f2a869db2d902815735cc62ce312d9b2100295a2fb15ce645bcd3056cc559b8cfec3
@@ -34,16 +34,16 @@ class WcoHosting::Serverhost
34
34
  add_docker_service( app )
35
35
  add_nginx_site( app )
36
36
  # load_database( app )
37
- add_subdomain( app )
37
+ create_subdomain( app )
38
38
 
39
39
  update({ next_port: app.serverhost.next_port + 1 })
40
40
  end
41
41
 
42
- def add_subdomain app
42
+ def create_subdomain app
43
43
  ac = ActionController::Base.new
44
44
  ac.instance_variable_set( :@app, app )
45
45
  rendered_str = ac.render_to_string("wco_hosting/scripts/create_subdomain.json")
46
- # puts '+++ add_subdomain rendered_str:'; print rendered_str
46
+ # puts '+++ create_subdomain rendered_str:'; print rendered_str
47
47
 
48
48
  file = Tempfile.new('prefix')
49
49
  file.write rendered_str
@@ -6,7 +6,7 @@
6
6
  {
7
7
  "Action": "CREATE",
8
8
  "ResourceRecordSet": {
9
- "Name": "<%= @app.origin %>",
9
+ "Name": "<%= @app.host %>",
10
10
  "Type": "A",
11
11
  "TTL": 3600,
12
12
  "ResourceRecords": [{ "Value": "<%= @app.serverhost.public_ip %>" }]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ish_models
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.1.0.18
4
+ version: 3.1.0.20
5
5
  platform: ruby
6
6
  authors:
7
7
  - mac_a2141
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-12-23 00:00:00.000000000 Z
11
+ date: 2023-12-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails