et_full_system 8.0.4 → 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: 2ae333db634ae66e6438da052ac10c3010236fc706f52f6f6cb26b1bbea3f98f
4
- data.tar.gz: bd254da61c9acede0c44598d4508fd0c96740f0710e71f5cda9d632a78b70d27
3
+ metadata.gz: 16b38008980e266ef8a4739a6f077232a8fb89a0d017861706890b4eb637717f
4
+ data.tar.gz: a16617a9c8f0d0bacd1265258a96075fc67074dacfb49ac74836189fb4824a51
5
5
  SHA512:
6
- metadata.gz: 65ead2b3f9f607ee827b5abce2726696ee7b7c87d6d909282128d7fefe68f25b7c5298a3eb9db74c98055418cea99ba9f9a93adcb866c61b2df2c92e71ec8365
7
- data.tar.gz: a323f0ad38e45bfb71708999f532752a39fa6af2bac84ce4517dc76eae4d615425fc6b1b54e59af3b352f890e500d2a32d6f2c532bca9deecd341b14c618be8d
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.4)
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)
@@ -12,15 +12,15 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activemodel (6.1.7.3)
16
- activesupport (= 6.1.7.3)
17
- activesupport (6.1.7.3)
15
+ activemodel (6.1.7.2)
16
+ activesupport (= 6.1.7.2)
17
+ activesupport (6.1.7.2)
18
18
  concurrent-ruby (~> 1.0, >= 1.0.2)
19
19
  i18n (>= 1.6, < 2)
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)
@@ -58,7 +58,7 @@ 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
63
  iodine (0.7.54)
64
64
  json-schema (2.8.1)
@@ -70,7 +70,8 @@ GEM
70
70
  net-pop
71
71
  net-smtp
72
72
  mini_mime (1.1.2)
73
- minitest (5.17.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)
@@ -82,12 +83,13 @@ GEM
82
83
  timeout
83
84
  net-smtp (0.3.3)
84
85
  net-protocol
85
- nokogiri (1.14.2-x86_64-linux)
86
+ nokogiri (1.15.2)
87
+ mini_portile2 (~> 2.8.2)
86
88
  racc (~> 1.4)
87
89
  pastel (0.8.0)
88
90
  tty-color (~> 0.5)
89
91
  public_suffix (5.0.1)
90
- racc (1.6.2)
92
+ racc (1.7.0)
91
93
  rack (3.0.4.1)
92
94
  rake (13.0.1)
93
95
  roda (3.66.0)
@@ -96,15 +98,15 @@ GEM
96
98
  roda (>= 3.19.0)
97
99
  tty-logger (>= 0.3, < 1.0)
98
100
  rotp (6.2.2)
99
- thor (1.2.1)
101
+ thor (1.2.2)
100
102
  tilt (2.1.0)
101
- timeout (0.3.1)
103
+ timeout (0.3.2)
102
104
  tty-color (0.6.0)
103
105
  tty-logger (0.6.0)
104
106
  pastel (~> 0.8)
105
107
  tzinfo (2.0.6)
106
108
  concurrent-ruby (~> 1.0)
107
- zeitwerk (2.6.7)
109
+ zeitwerk (2.6.8)
108
110
 
109
111
  PLATFORMS
110
112
  ruby
data/docker/Dockerfile CHANGED
@@ -8,7 +8,7 @@ ARG GEM_VERSION=>0
8
8
  ARG user_id=1000
9
9
  # Get latest rubygems
10
10
  RUN gem update --system
11
- RUN apk add --no-cache postgresql-dev libffi-dev tzdata gettext wget sudo sqlite sqlite-dev nodejs npm yarn shared-mime-info git build-base libc6-compat curl bash openjdk11-jre python2 sassc file libreoffice
11
+ RUN apk add --no-cache postgresql-dev libffi-dev tzdata gettext wget sudo sqlite sqlite-dev nodejs npm yarn shared-mime-info git build-base libc6-compat curl bash openjdk11-jre python2 sassc
12
12
  RUN addgroup app --gid 1000
13
13
  RUN adduser -SD -u 1000 --shell /bin/bash --home /home/app app app
14
14
  RUN chown -R app:app /usr/local/bundle
@@ -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.4"
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.4
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-22 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: []