et_full_system 8.0.3 → 8.1.0.pre.rc1

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: a350b05415d7344bc33b8c18cd042599d5f307c1c33e78b4bdac71d26e4eb971
4
- data.tar.gz: 9524bbcae757362c3963ca7fd94b37e883c82184be4f4364e2915a0b379dd7e8
3
+ metadata.gz: 16b38008980e266ef8a4739a6f077232a8fb89a0d017861706890b4eb637717f
4
+ data.tar.gz: a16617a9c8f0d0bacd1265258a96075fc67074dacfb49ac74836189fb4824a51
5
5
  SHA512:
6
- metadata.gz: 74be420ab9e61254c6a2046d5e4da067dcf377b9c9b9fc4ee2115502b0c25e6074606e93f9fcbca4e583074acb5b7a7eb5fe0aca9c7ff8827a1d4cd91bc170bc
7
- data.tar.gz: 7a730b292cc6119104b50e9ce07c8b42da40ca2aabea7dfccdc119341174ea1e615c0b2ae58069230de8819fde15a7f4dec6a76b47e8e77221a4a1064198436c
6
+ metadata.gz: 453d6ee7cc9d71e9caf16ed66989b3658abff3b547f4f3d5fd68c5a3822ba0daefc2a161551e9b66396e0e82840a8dd29e82385a60bb43e76bfdf43a9d03a510
7
+ data.tar.gz: 7855a8dc90c98aaf8000f0ddc62c94f7b43e781314f1b262e9c70bdd693bb5a7058b31029ed4ed3ca5c4fbb923bd6630ac1565e4db94c3d70542a0f9d2a2cd59
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.7.5
1
+ 2.7.7
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_full_system (8.0.3)
4
+ et_full_system (8.1.0.pre.rc1)
5
5
  azure-storage (~> 0.15.0.preview)
6
6
  dotenv (~> 2.7, >= 2.7.2)
7
7
  et_fake_ccd (~> 1.0)
@@ -20,7 +20,7 @@ GEM
20
20
  minitest (>= 5.1)
21
21
  tzinfo (~> 2.0)
22
22
  zeitwerk (~> 2.3)
23
- addressable (2.8.1)
23
+ addressable (2.8.4)
24
24
  public_suffix (>= 2.0.2, < 6.0)
25
25
  azure-core (0.1.15)
26
26
  faraday (~> 0.9)
@@ -32,7 +32,7 @@ GEM
32
32
  faraday_middleware (~> 0.10)
33
33
  nokogiri (~> 1.6, >= 1.6.8)
34
34
  concurrent-ruby (1.2.2)
35
- date (3.0.3)
35
+ date (3.3.3)
36
36
  dotenv (2.8.1)
37
37
  et_fake_ccd (1.1.11)
38
38
  activemodel (~> 6.1)
@@ -58,9 +58,9 @@ GEM
58
58
  httparty (0.21.0)
59
59
  mini_mime (>= 1.0.0)
60
60
  multi_xml (>= 0.5.2)
61
- i18n (1.12.0)
61
+ i18n (1.14.1)
62
62
  concurrent-ruby (~> 1.0)
63
- iodine (0.7.53)
63
+ iodine (0.7.54)
64
64
  json-schema (2.8.1)
65
65
  addressable (>= 2.4)
66
66
  jwt (2.7.0)
@@ -70,39 +70,43 @@ GEM
70
70
  net-pop
71
71
  net-smtp
72
72
  mini_mime (1.1.2)
73
- minitest (5.13.0)
73
+ mini_portile2 (2.8.2)
74
+ minitest (5.18.0)
74
75
  multi_xml (0.6.0)
75
76
  multipart-post (2.3.0)
76
77
  net-imap (0.3.4)
77
78
  date
78
79
  net-protocol
79
- net-pop (0.1.0)
80
+ net-pop (0.1.2)
81
+ net-protocol
80
82
  net-protocol (0.2.1)
81
83
  timeout
82
- net-smtp (0.1.0)
83
- nokogiri (1.14.2-x86_64-linux)
84
+ net-smtp (0.3.3)
85
+ net-protocol
86
+ nokogiri (1.15.2)
87
+ mini_portile2 (~> 2.8.2)
84
88
  racc (~> 1.4)
85
89
  pastel (0.8.0)
86
90
  tty-color (~> 0.5)
87
91
  public_suffix (5.0.1)
88
- racc (1.4.16)
92
+ racc (1.7.0)
89
93
  rack (3.0.4.1)
90
94
  rake (13.0.1)
91
- roda (3.65.0)
95
+ roda (3.66.0)
92
96
  rack
93
97
  roda-enhanced_logger (0.4.0)
94
98
  roda (>= 3.19.0)
95
99
  tty-logger (>= 0.3, < 1.0)
96
100
  rotp (6.2.2)
97
- thor (1.2.1)
101
+ thor (1.2.2)
98
102
  tilt (2.1.0)
99
- timeout (0.1.0)
103
+ timeout (0.3.2)
100
104
  tty-color (0.6.0)
101
105
  tty-logger (0.6.0)
102
106
  pastel (~> 0.8)
103
107
  tzinfo (2.0.6)
104
108
  concurrent-ruby (~> 1.0)
105
- zeitwerk (2.6.7)
109
+ zeitwerk (2.6.8)
106
110
 
107
111
  PLATFORMS
108
112
  ruby
@@ -143,7 +143,7 @@ module EtFullSystem
143
143
  def setup
144
144
  setup_depencencies
145
145
  install_bundler if rvm_installed?
146
- setup_ruby_versions unless !rvm_installed? || options.in_docker_compose?
146
+ setup_ruby_versions
147
147
  setup_services
148
148
  end
149
149
 
@@ -172,6 +172,7 @@ module EtFullSystem
172
172
  File.read(version_file).split("\n").first.gsub(/\Aruby-/, '')
173
173
  end.uniq - [RUBY_VERSION]
174
174
 
175
+ install_rvm
175
176
  versions.each do |version|
176
177
  puts "------------------------------------------------ SETTING UP ruby #{version} ---------------------------------------------------"
177
178
  cmd = "bash --login -c \"rvm install #{version}\""
@@ -507,6 +508,21 @@ module EtFullSystem
507
508
  !`which rvm`.empty?
508
509
  end
509
510
 
511
+ def install_rvm
512
+ return if rvm_installed?
513
+
514
+ raise "Refusing to install rvm locally - please install yourself" if !in_docker_compose?
515
+
516
+ puts "------------------------------------------------ Installing rvm ---------------------------------------------------"
517
+ cmds = ["gpg --keyserver keyserver.ubuntu.com --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB"]
518
+ cmds << "bash --login -c \"cd #{PROJECT_PATH} && curl -sSL https://get.rvm.io | bash -s stable\""
519
+
520
+ cmds.each do |cmd|
521
+ puts cmd
522
+ external_command cmd, 'rvm setup'
523
+ end
524
+ end
525
+
510
526
  def install_bundler
511
527
  puts "------------------------------------------------ Installing bundler ---------------------------------------------------"
512
528
  cmd ="bash --login -c \"cd #{PROJECT_PATH} && gem install bundler:1.17.3\""
@@ -1,3 +1,3 @@
1
1
  module EtFullSystem
2
- VERSION = "8.0.3"
2
+ VERSION = "8.1.0-rc1"
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.3
4
+ version: 8.1.0.pre.rc1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-02 00:00:00.000000000 Z
11
+ date: 2023-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -175,7 +175,7 @@ homepage: https://github.com/ministryofjustice/et-full-system
175
175
  licenses:
176
176
  - MIT
177
177
  metadata: {}
178
- post_install_message:
178
+ post_install_message:
179
179
  rdoc_options: []
180
180
  require_paths:
181
181
  - lib
@@ -186,12 +186,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
186
186
  version: '0'
187
187
  required_rubygems_version: !ruby/object:Gem::Requirement
188
188
  requirements:
189
- - - ">="
189
+ - - ">"
190
190
  - !ruby/object:Gem::Version
191
- version: '0'
191
+ version: 1.3.1
192
192
  requirements: []
193
193
  rubygems_version: 3.1.6
194
- signing_key:
194
+ signing_key:
195
195
  specification_version: 4
196
196
  summary: Runs the employment tribunals system - all services and background jobs
197
197
  test_files: []