smartcloud 0.0.82 → 0.0.83

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 26f088b84350fb24d4ad054c310174cb94bfcd2c7462aeab7550e585212aef2c
4
- data.tar.gz: 442893d4d98576b73905970bb43951f34f462e9c870dbeb9c1f4537a71ca5244
3
+ metadata.gz: 0a25efc095e4c286729b4c656ad819bc3c340fce40b390a860286f409505ace8
4
+ data.tar.gz: 6c326486c6686a34a61ac288a76c2b652f3359dd3f161def22ef0d82984d89d2
5
5
  SHA512:
6
- metadata.gz: 0326f41f3d2e535c44f00a3d977b8d2232a778fd5474296a005b492fca66cd06d1448826cf58d0fdeba8b1e50bde53c0e51645890133b5dee86fb867702980c6
7
- data.tar.gz: a3deeb8a40b3d11e72184a51956310af8c5d20510888a7e8853b250afaed412b673a6536c7c359cba7275e814bdcf00fe93b46f8a0828501d6951b19e9947f7d
6
+ metadata.gz: 07e6397b996b8f13755f6f5736e4ed29ea875efd8641d7f98a2213e7846585f51ce057a46366dc549f7cd6519dda8e575bcdc40e9d26f7a239a0dc1ae1a21e26
7
+ data.tar.gz: 8bcc770501a7d35abad3642e510870119e4a6b99cbb5c147eb721c8da159bb86667b5e029aeb5b8f99dee7a86aeb89933892afb775e3399e4e5616a3a9ae8fe1
@@ -297,7 +297,7 @@ module Smartcloud
297
297
 
298
298
  # Setup Buildpacker
299
299
  buildpacker_path = "#{Smartcloud.config.root_path}/lib/smartcloud/grids/grid-runner/buildpacks/buildpacker.rb"
300
- FileUtils.cp buildpacker_path, container_path_with_now_date
300
+ FileUtils.cp(buildpacker_path, container_path_with_now_date)
301
301
 
302
302
  puts "-----> Launching Application ... "
303
303
 
@@ -348,10 +348,6 @@ module Smartcloud
348
348
  system("grep -q '^RAILS_MASTER_KEY=' #{env_path} || echo 'RAILS_MASTER_KEY=yourmasterkey' >> #{env_path}")
349
349
  puts "-----> WARNING: Please set your RAILS_MASTER_KEY env var for this rails app." if system("grep -q '^RAILS_MASTER_KEY=yourmasterkey' #{env_path}")
350
350
 
351
- # Setup gems folder to reuse gems
352
- FileUtils.mkdir_p("#{container_path}/gems")
353
- FileUtils.symlink "#{container_path}/gems", "#{container_path_with_now_date}/vendor/bundle", force: true
354
-
355
351
  # Setup Godfile
356
352
  unless File.exist? "#{container_path_with_now_date}/Godfile"
357
353
  puts "-----> WARNING: Godfile not detected. Adding a default Godfile. It is recommended to add your own Godfile."
@@ -371,6 +367,7 @@ module Smartcloud
371
367
  --env-file='#{container_path}/env' \
372
368
  --expose='5000' \
373
369
  --volume='#{container_path_with_now_date}:/code' \
370
+ --volume='#{container_path}/gems:/code/vendor/bundle' \
374
371
  --workdir='/code' \
375
372
  --restart='always' \
376
373
  --network='nginx-network' \
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smartcloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.82
4
+ version: 0.0.83
5
5
  platform: ruby
6
6
  authors:
7
7
  - Timeboard
@@ -48,7 +48,6 @@ files:
48
48
  - lib/smartcloud/templates/dotsmartcloud/grids/grid-nginx/users.yml
49
49
  - lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/apps/containers/.keep
50
50
  - lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/apps/repositories/.keep
51
- - lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/buildpacks/rails/gems/.keep
52
51
  - lib/smartcloud/templates/dotsmartcloud/grids/grid-runner/pre-receive
53
52
  - lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/.keep
54
53
  - lib/smartcloud/templates/dotsmartcloud/grids/grid-solr/data/README.txt