et_full_system 1.0.13 → 3.0.2

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: 8cbfc46443b473e30c77b9e73572fd3b84aafd87b72ce5402c886d7c86a63dc4
4
- data.tar.gz: e44940bd4e6fd7ab328cb85f6940f9e41b0ffba9c0f8ca0d64bf412b8fdab132
3
+ metadata.gz: 3002881ad1a80080811edbc425875e41838cc803709edb7d5a79905d622c7fce
4
+ data.tar.gz: 9cf21876dfaa6a732612472d8315ffe1919f4706fca73e3ed4bb2b0ba5df24cb
5
5
  SHA512:
6
- metadata.gz: 510efa4b018fe31e729231455b8eff1af5b9fcefd794ee521d629af5e0bcdd1a3f2306c3153645fc20bc2ee34af7341714d75377df45335d77f9ecb79f4fccd4
7
- data.tar.gz: 5e93d55fcac653126bea66e9cc4f87ca3d64800385183d62a06328e333356cd447ee242bb8279f3ee28ea876c651873dba9e98127b339d60908d2d6e5becacc6
6
+ metadata.gz: e7f0fe6dffc0cf80393d658c1247b7da094ef4d86f3439f0cccd3249994e1473da7f87f749672b52932c1181de72cbd5be4299f88af8324571f0db0c209c844a
7
+ data.tar.gz: 4b3f76da922d2e74ad44c8f8859ada4fc2d9d363131d6088bc694fd23016fd3d0724abba65d8fd4640d15835f2fcd151ef9274040bbccdd99df0e8c68edc91e8
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 2.5.1
1
+ 2.7.2
data/Gemfile.lock CHANGED
@@ -1,11 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_full_system (1.0.13)
4
+ et_full_system (3.0.2)
5
5
  aws-sdk-s3 (~> 1.9)
6
6
  azure-storage (~> 0.15.0.preview)
7
7
  dotenv (~> 2.7, >= 2.7.2)
8
- et_fake_acas_server (~> 0.1)
9
8
  et_fake_ccd (~> 1.0)
10
9
  httparty (~> 0.16)
11
10
  thor (~> 1.0)
@@ -13,9 +12,9 @@ PATH
13
12
  GEM
14
13
  remote: https://rubygems.org/
15
14
  specs:
16
- activemodel (6.1.1)
17
- activesupport (= 6.1.1)
18
- activesupport (6.1.1)
15
+ activemodel (6.1.3.2)
16
+ activesupport (= 6.1.3.2)
17
+ activesupport (6.1.3.2)
19
18
  concurrent-ruby (~> 1.0, >= 1.0.2)
20
19
  i18n (>= 1.6, < 2)
21
20
  minitest (>= 5.1)
@@ -23,21 +22,21 @@ GEM
23
22
  zeitwerk (~> 2.3)
24
23
  addressable (2.7.0)
25
24
  public_suffix (>= 2.0.2, < 5.0)
26
- aws-eventstream (1.1.0)
27
- aws-partitions (1.416.0)
28
- aws-sdk-core (3.111.0)
25
+ aws-eventstream (1.1.1)
26
+ aws-partitions (1.456.0)
27
+ aws-sdk-core (3.114.0)
29
28
  aws-eventstream (~> 1, >= 1.0.2)
30
29
  aws-partitions (~> 1, >= 1.239.0)
31
30
  aws-sigv4 (~> 1.1)
32
31
  jmespath (~> 1.0)
33
- aws-sdk-kms (1.41.0)
34
- aws-sdk-core (~> 3, >= 3.109.0)
32
+ aws-sdk-kms (1.43.0)
33
+ aws-sdk-core (~> 3, >= 3.112.0)
35
34
  aws-sigv4 (~> 1.1)
36
- aws-sdk-s3 (1.87.0)
37
- aws-sdk-core (~> 3, >= 3.109.0)
35
+ aws-sdk-s3 (1.94.1)
36
+ aws-sdk-core (~> 3, >= 3.112.0)
38
37
  aws-sdk-kms (~> 1)
39
38
  aws-sigv4 (~> 1.1)
40
- aws-sigv4 (1.2.2)
39
+ aws-sigv4 (1.2.3)
41
40
  aws-eventstream (~> 1, >= 1.0.2)
42
41
  azure-core (0.1.15)
43
42
  faraday (~> 0.9)
@@ -48,73 +47,47 @@ GEM
48
47
  faraday (~> 0.9)
49
48
  faraday_middleware (~> 0.10)
50
49
  nokogiri (~> 1.6, >= 1.6.8)
51
- concurrent-ruby (1.1.7)
50
+ concurrent-ruby (1.1.8)
52
51
  dotenv (2.7.6)
53
- et_fake_acas_server (0.1.10)
54
- activesupport (>= 5.2)
55
- iodine (~> 0.7)
56
- nokogiri (~> 1.8, >= 1.8.2)
57
- ruby-mcrypt (~> 0.2)
58
- sinatra (~> 2.0, >= 2.0.3)
59
- sinatra-contrib (~> 2.0)
60
- et_fake_ccd (1.1.1)
52
+ et_fake_ccd (1.1.9)
61
53
  activemodel (>= 5.2.3)
62
54
  iodine (~> 0.7)
63
55
  json-schema (~> 2.5)
64
56
  roda (~> 3.21)
65
- rotp (~> 5.1)
57
+ rotp (~> 6.2)
66
58
  thor (~> 1.0)
67
59
  tilt (~> 2.0, >= 2.0.9)
68
- faraday (0.17.3)
60
+ faraday (0.17.4)
69
61
  multipart-post (>= 1.2, < 3)
70
62
  faraday_middleware (0.14.0)
71
63
  faraday (>= 0.7.4, < 1.0)
72
64
  httparty (0.18.1)
73
65
  mime-types (~> 3.0)
74
66
  multi_xml (>= 0.5.2)
75
- i18n (1.8.7)
67
+ i18n (1.8.10)
76
68
  concurrent-ruby (~> 1.0)
77
- iodine (0.7.43)
69
+ iodine (0.7.44)
78
70
  jmespath (1.4.0)
79
71
  json-schema (2.8.1)
80
72
  addressable (>= 2.4)
81
73
  mime-types (3.3.1)
82
74
  mime-types-data (~> 3.2015)
83
- mime-types-data (3.2020.1104)
84
- mini_portile2 (2.5.0)
85
- minitest (5.14.3)
86
- multi_json (1.15.0)
75
+ mime-types-data (3.2021.0225)
76
+ mini_portile2 (2.5.1)
77
+ minitest (5.14.4)
87
78
  multi_xml (0.6.0)
88
79
  multipart-post (2.1.1)
89
- mustermann (1.1.1)
90
- ruby2_keywords (~> 0.0.1)
91
- nokogiri (1.11.1)
80
+ nokogiri (1.11.4)
92
81
  mini_portile2 (~> 2.5.0)
93
82
  racc (~> 1.4)
94
83
  public_suffix (4.0.6)
95
84
  racc (1.5.2)
96
85
  rack (2.2.3)
97
- rack-protection (2.1.0)
98
- rack
99
86
  rake (13.0.1)
100
- roda (3.39.0)
87
+ roda (3.44.0)
101
88
  rack
102
- rotp (5.1.0)
103
- addressable (~> 2.5)
104
- ruby-mcrypt (0.2.0)
105
- ruby2_keywords (0.0.2)
106
- sinatra (2.1.0)
107
- mustermann (~> 1.0)
108
- rack (~> 2.2)
109
- rack-protection (= 2.1.0)
110
- tilt (~> 2.0)
111
- sinatra-contrib (2.1.0)
112
- multi_json
113
- mustermann (~> 1.0)
114
- rack-protection (= 2.1.0)
115
- sinatra (= 2.1.0)
116
- tilt (~> 2.0)
117
- thor (1.0.1)
89
+ rotp (6.2.0)
90
+ thor (1.1.0)
118
91
  tilt (2.0.10)
119
92
  tzinfo (2.0.4)
120
93
  concurrent-ruby (~> 1.0)
data/docker/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM phusion/passenger-customizable:0.9.34
1
+ FROM phusion/passenger-customizable:1.0.12
2
2
  # Set correct environment variables.
3
3
  ENV HOME /root
4
4
  ARG GEM_VERSION=>0
@@ -17,31 +17,28 @@ CMD ["/sbin/my_init"]
17
17
  #
18
18
  # Ruby support
19
19
 
20
- # The following 2 lines are temporary - see https://github.com/phusion/passenger-docker/issues/234
21
- # Try to remove and build from scratch maybe after january 2019
22
- RUN curl -sSL https://rvm.io/pkuczynski.asc | gpg --import -
23
- RUN curl -sSL https://rvm.io/mpapis.asc -o /pd_build/ruby_support/mpapis-pubkey.asc
20
+
24
21
  #RUN /pd_build/ruby-2.0.*.sh
25
22
  #RUN /pd_build/ruby-2.1.*.sh
26
23
  #RUN /pd_build/ruby-2.2.*.sh
27
24
  #RUN /pd_build/ruby-2.3.*.sh
28
25
  #RUN /pd_build/ruby-2.4.*.sh
29
- RUN /pd_build/ruby-2.5.*.sh
26
+ RUN /pd_build/ruby-2.7.*.sh
30
27
  #RUN /pd_build/jruby-9.1.*.sh
31
28
  # Python support.
32
29
  #RUN /pd_build/python.sh
33
30
  # Node.js and Meteor standalone support.
34
31
  # (not needed if you already have the above Ruby support)
35
- #RUN /pd_build/nodejs.sh
32
+ RUN /pd_build/nodejs.sh
36
33
 
37
34
  # Get latest rubygems
38
- RUN bash --login -c "rvm --default use 2.5.1"
35
+ RUN bash --login -c "rvm --default use 2.7.2"
39
36
  RUN gem update --system
40
37
 
41
38
  # ...put your own build instructions here...
42
39
  RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - && \
43
40
  echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
44
- RUN apt-get update && apt-get -y --no-install-recommends install tzdata postgresql gettext-base wget sudo libmcrypt-dev mcrypt sqlite3 libsqlite3-dev yarn && rm -rf /var/lib/apt/lists/*
41
+ RUN apt-get update && apt-get -y --no-install-recommends install tzdata postgresql gettext-base wget sudo libmcrypt-dev mcrypt sqlite3 libsqlite3-dev yarn shared-mime-info && rm -rf /var/lib/apt/lists/*
45
42
 
46
43
  # Install jvm (small version from adoptopenjdk), grab specific version of pdftk jar file from gitlab
47
44
  RUN mkdir -p /root/pdftk
@@ -66,8 +63,6 @@ COPY docker/pdftk /usr/local/bin
66
63
  RUN chmod 0755 /usr/local/bin/pdftk
67
64
 
68
65
 
69
- RUN /pd_build/nodejs.sh
70
-
71
66
  # Enable the Redis service.
72
67
  RUN rm -f /etc/service/redis/down
73
68
 
@@ -107,7 +102,7 @@ WORKDIR /home/app/full_system
107
102
  RUN echo "app ALL=(root) NOPASSWD:ALL" > /etc/sudoers.d/user && chmod 0440 /etc/sudoers.d/user
108
103
  USER app
109
104
 
110
- RUN bash --login -c "rvm --default use 2.5.1"
105
+ RUN bash --login -c "rvm --default use 2.7.2"
111
106
  RUN bash --login -c "gem install bundler --version 1.17.3"
112
107
 
113
108
  # Install gems required outside of any bundle.
@@ -27,7 +27,6 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency 'aws-sdk-s3', '~> 1.9'
28
28
  spec.add_dependency 'azure-storage', '~> 0.15.0.preview'
29
29
  spec.add_dependency 'dotenv', '~> 2.7', '>= 2.7.2'
30
- spec.add_dependency 'et_fake_acas_server', '~> 0.1'
31
30
  spec.add_dependency 'et_fake_ccd', '~> 1.0'
32
31
 
33
32
  spec.add_development_dependency "rake", "~> 13.0"
@@ -55,7 +55,7 @@ module EtFullSystem
55
55
 
56
56
  def setup_azure_storage
57
57
  unbundled do
58
- puts `bash --login -c "cd systems/api && rvm use && dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et_api.env\" RAILS_ENV=production bundle exec rails configure_azure_storage_containers configure_azure_storage_cors"`
58
+ puts `bash --login -c "export RAILS_ENV=production && cd systems/api && rvm use && dotenv -f \"#{GEM_PATH}/foreman/.env\" dotenv -f \"#{GEM_PATH}/foreman/et_api.env\" bundle exec rails configure_azure_storage_containers configure_azure_storage_cors"`
59
59
 
60
60
  end
61
61
  end
@@ -1,3 +1,3 @@
1
1
  module EtFullSystem
2
- VERSION = "1.0.13"
2
+ VERSION = "3.0.2"
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: 1.0.13
4
+ version: 3.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-01-14 00:00:00.000000000 Z
11
+ date: 2021-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -86,20 +86,6 @@ dependencies:
86
86
  - - ">="
87
87
  - !ruby/object:Gem::Version
88
88
  version: 2.7.2
89
- - !ruby/object:Gem::Dependency
90
- name: et_fake_acas_server
91
- requirement: !ruby/object:Gem::Requirement
92
- requirements:
93
- - - "~>"
94
- - !ruby/object:Gem::Version
95
- version: '0.1'
96
- type: :runtime
97
- prerelease: false
98
- version_requirements: !ruby/object:Gem::Requirement
99
- requirements:
100
- - - "~>"
101
- - !ruby/object:Gem::Version
102
- version: '0.1'
103
89
  - !ruby/object:Gem::Dependency
104
90
  name: et_fake_ccd
105
91
  requirement: !ruby/object:Gem::Requirement
@@ -199,8 +185,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
199
185
  - !ruby/object:Gem::Version
200
186
  version: '0'
201
187
  requirements: []
202
- rubyforge_project:
203
- rubygems_version: 2.7.6
188
+ rubygems_version: 3.1.4
204
189
  signing_key:
205
190
  specification_version: 4
206
191
  summary: Runs the employment tribunals system - all services and background jobs