et_full_system 8.0.1 → 8.0.3

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: 3f706e8b1dfa087b7b491b78d590f698708120211b7f445bfea2be0316875d82
4
- data.tar.gz: 1a9a8d9f965c86d74b52855791022d4b1b003aa0666e388f04fdf7d3385c1987
3
+ metadata.gz: a350b05415d7344bc33b8c18cd042599d5f307c1c33e78b4bdac71d26e4eb971
4
+ data.tar.gz: 9524bbcae757362c3963ca7fd94b37e883c82184be4f4364e2915a0b379dd7e8
5
5
  SHA512:
6
- metadata.gz: 90ed5e0c2e919724c54e25f755e2e9a1c0f81ce1991fec0ebc3ca896681de1fc850ad5bad865f695e9a0436ff860d5c75864ed52962c70c7e578e9dcd93849cd
7
- data.tar.gz: 92ac40ac2cc0addde8dff08ef2b04b975fee3fdbd36ac17df66c0547ef6fd84c8f8db74c93b5326d061faddca245b32ec6f2516f854b643115400c64241575aa
6
+ metadata.gz: 74be420ab9e61254c6a2046d5e4da067dcf377b9c9b9fc4ee2115502b0c25e6074606e93f9fcbca4e583074acb5b7a7eb5fe0aca9c7ff8827a1d4cd91bc170bc
7
+ data.tar.gz: 7a730b292cc6119104b50e9ce07c8b42da40ca2aabea7dfccdc119341174ea1e615c0b2ae58069230de8819fde15a7f4dec6a76b47e8e77221a4a1064198436c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_full_system (8.0.1)
4
+ et_full_system (8.0.3)
5
5
  azure-storage (~> 0.15.0.preview)
6
6
  dotenv (~> 2.7, >= 2.7.2)
7
7
  et_fake_ccd (~> 1.0)
@@ -31,8 +31,8 @@ GEM
31
31
  faraday (~> 0.9)
32
32
  faraday_middleware (~> 0.10)
33
33
  nokogiri (~> 1.6, >= 1.6.8)
34
- concurrent-ruby (1.2.0)
35
- date (3.3.3)
34
+ concurrent-ruby (1.2.2)
35
+ date (3.0.3)
36
36
  dotenv (2.8.1)
37
37
  et_fake_ccd (1.1.11)
38
38
  activemodel (~> 6.1)
@@ -64,49 +64,45 @@ GEM
64
64
  json-schema (2.8.1)
65
65
  addressable (>= 2.4)
66
66
  jwt (2.7.0)
67
- mail (2.8.0.1)
67
+ mail (2.8.1)
68
68
  mini_mime (>= 0.1.1)
69
69
  net-imap
70
70
  net-pop
71
71
  net-smtp
72
72
  mini_mime (1.1.2)
73
- mini_portile2 (2.8.1)
74
- minitest (5.17.0)
73
+ minitest (5.13.0)
75
74
  multi_xml (0.6.0)
76
75
  multipart-post (2.3.0)
77
76
  net-imap (0.3.4)
78
77
  date
79
78
  net-protocol
80
- net-pop (0.1.2)
81
- net-protocol
79
+ net-pop (0.1.0)
82
80
  net-protocol (0.2.1)
83
81
  timeout
84
- net-smtp (0.3.3)
85
- net-protocol
86
- nokogiri (1.14.1)
87
- mini_portile2 (~> 2.8.0)
82
+ net-smtp (0.1.0)
83
+ nokogiri (1.14.2-x86_64-linux)
88
84
  racc (~> 1.4)
89
85
  pastel (0.8.0)
90
86
  tty-color (~> 0.5)
91
87
  public_suffix (5.0.1)
92
- racc (1.6.2)
88
+ racc (1.4.16)
93
89
  rack (3.0.4.1)
94
90
  rake (13.0.1)
95
- roda (3.64.0)
91
+ roda (3.65.0)
96
92
  rack
97
93
  roda-enhanced_logger (0.4.0)
98
94
  roda (>= 3.19.0)
99
95
  tty-logger (>= 0.3, < 1.0)
100
96
  rotp (6.2.2)
101
97
  thor (1.2.1)
102
- tilt (2.0.11)
103
- timeout (0.3.1)
98
+ tilt (2.1.0)
99
+ timeout (0.1.0)
104
100
  tty-color (0.6.0)
105
101
  tty-logger (0.6.0)
106
102
  pastel (~> 0.8)
107
103
  tzinfo (2.0.6)
108
104
  concurrent-ruby (~> 1.0)
109
- zeitwerk (2.6.6)
105
+ zeitwerk (2.6.7)
110
106
 
111
107
  PLATFORMS
112
108
  ruby
@@ -144,7 +144,7 @@ services:
144
144
  environment:
145
145
  POSTGRES_HOST_AUTH_METHOD: trust
146
146
  redis:
147
- image: redis
147
+ image: redis:4.0-alpine
148
148
  ports:
149
149
  - "${REDIS_PORT:-0}:6379"
150
150
  networks:
@@ -142,6 +142,7 @@ module EtFullSystem
142
142
  method_option :in_docker_compose, type: :boolean, default: false, desc: 'Set to true to assume certain services are in docker compose'
143
143
  def setup
144
144
  setup_depencencies
145
+ install_bundler if rvm_installed?
145
146
  setup_ruby_versions unless !rvm_installed? || options.in_docker_compose?
146
147
  setup_services
147
148
  end
@@ -360,7 +361,7 @@ module EtFullSystem
360
361
 
361
362
  def setup_et1_service
362
363
  puts "------------------------------------------------ SETTING UP ET1 SERVICE ---------------------------------------------------"
363
- cmd = "bash --login -c \"cd #{PROJECT_PATH}/systems/et1 && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et1.env\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
364
+ cmd = "bash --login -c \"cd #{PROJECT_PATH}/systems/et1 && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et1.env\" && bundle install --with=#{options[:rails_env]}\""
364
365
  puts cmd
365
366
  external_command cmd, 'et1 setup'
366
367
 
@@ -375,7 +376,7 @@ module EtFullSystem
375
376
 
376
377
  def setup_et3_service
377
378
  puts "------------------------------------------------ SETTING UP ET3 SERVICE ---------------------------------------------------"
378
- cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et3 && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et3.env\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
379
+ cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et3 && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et3.env\" bundle install --with=#{options[:rails_env]}\""
379
380
  puts cmd
380
381
  external_command cmd, 'et3 setup'
381
382
 
@@ -386,7 +387,7 @@ module EtFullSystem
386
387
 
387
388
  def setup_admin_service
388
389
  puts "------------------------------------------------ SETTING UP ADMIN SERVICE ---------------------------------------------------"
389
- cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/admin && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_admin.env\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
390
+ cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/admin && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_admin.env\" bundle install --with=#{options[:rails_env]}\""
390
391
  puts cmd
391
392
  external_command cmd, 'admin setup'
392
393
 
@@ -398,7 +399,7 @@ module EtFullSystem
398
399
 
399
400
  def setup_api_service
400
401
  puts "------------------------------------------------ SETTING UP API SERVICE ---------------------------------------------------"
401
- cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/api && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_api.env\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
402
+ cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/api && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_api.env\" bundle install --with=#{options[:rails_env]}\""
402
403
  puts cmd
403
404
  external_command cmd, 'api setup'
404
405
 
@@ -410,14 +411,14 @@ module EtFullSystem
410
411
 
411
412
  def setup_atos_service
412
413
  puts "------------------------------------------------ SETTING UP ATOS SERVICE ---------------------------------------------------"
413
- cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/atos && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_atos.env\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
414
+ cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/atos && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_atos.env\" bundle install --with=#{options[:rails_env]}\""
414
415
  puts cmd
415
416
  external_command cmd, 'atos setup'
416
417
  end
417
418
 
418
419
  def setup_ccd_service
419
420
  puts "------------------------------------------------ SETTING UP CCD EXPORT SERVICE ---------------------------------------------------"
420
- cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et_ccd_export && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_ccd_export.env\" gem install bundler:1.17.3 && bundle install --with=#{options[:rails_env]}\""
421
+ cmd ="bash --login -c \"cd #{PROJECT_PATH}/systems/et_ccd_export && RAILS_ENV=#{options[:rails_env]} godotenv -f \"#{GEM_PATH}/foreman/.env\" godotenv -f \"#{GEM_PATH}/foreman/et_ccd_export.env\" bundle install --with=#{options[:rails_env]}\""
421
422
  puts cmd
422
423
  external_command cmd, 'ccd setup'
423
424
  end
@@ -505,5 +506,12 @@ module EtFullSystem
505
506
  def rvm_installed?
506
507
  !`which rvm`.empty?
507
508
  end
509
+
510
+ def install_bundler
511
+ puts "------------------------------------------------ Installing bundler ---------------------------------------------------"
512
+ cmd ="bash --login -c \"cd #{PROJECT_PATH} && gem install bundler:1.17.3\""
513
+ puts cmd
514
+ external_command cmd, 'ccd setup'
515
+ end
508
516
  end
509
517
  end
@@ -1,3 +1,3 @@
1
1
  module EtFullSystem
2
- VERSION = "8.0.1"
2
+ VERSION = "8.0.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: et_full_system
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.1
4
+ version: 8.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-02-03 00:00:00.000000000 Z
11
+ date: 2023-03-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor