et_fake_acas_server 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +4 -4
- data/README.md +1 -1
- data/lib/et_fake_acas_server/json_server.rb +3 -0
- data/lib/et_fake_acas_server/version.rb +1 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 13f18f53ca70e306a7e6a3e8faf7d3863d73619fede072565353830d61aed6ed
|
4
|
+
data.tar.gz: 2a05fc12f7e97a61c39f98ca513b033b8d7ca51ff3f22d4e370cbec48fa7f056
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97cfa8a65392177bce9dd545d6798191020dad1836a0569e6025dcfde3885cd8b8c44882edd91c1bffd211885a0cc369af5a891353fe81c97e123f596e7b811e
|
7
|
+
data.tar.gz: c3b44b8e94a7162d0b2a847cd040d966d120481c56585e4d6dab3356b67c4df1e6f9edece41a9c9114b3b16ba5ec667ebd126f382500ac9e3a758ba8baed210c
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
et_fake_acas_server (1.
|
4
|
+
et_fake_acas_server (1.1.0)
|
5
5
|
activesupport (>= 6.1)
|
6
6
|
iodine (~> 0.7)
|
7
7
|
nokogiri (~> 1.8, >= 1.8.2)
|
@@ -11,7 +11,7 @@ PATH
|
|
11
11
|
GEM
|
12
12
|
remote: https://rubygems.org/
|
13
13
|
specs:
|
14
|
-
activesupport (7.0.
|
14
|
+
activesupport (7.0.4)
|
15
15
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
16
16
|
i18n (>= 1.6, < 2)
|
17
17
|
minitest (>= 5.1)
|
@@ -19,13 +19,13 @@ GEM
|
|
19
19
|
concurrent-ruby (1.1.10)
|
20
20
|
i18n (1.12.0)
|
21
21
|
concurrent-ruby (~> 1.0)
|
22
|
-
iodine (0.7.
|
22
|
+
iodine (0.7.50)
|
23
23
|
mini_portile2 (2.8.0)
|
24
24
|
minitest (5.16.3)
|
25
25
|
multi_json (1.15.0)
|
26
26
|
mustermann (2.0.2)
|
27
27
|
ruby2_keywords (~> 0.0.1)
|
28
|
-
nokogiri (1.13.
|
28
|
+
nokogiri (1.13.9)
|
29
29
|
mini_portile2 (~> 2.8.0)
|
30
30
|
racc (~> 1.4)
|
31
31
|
racc (1.6.0)
|
data/README.md
CHANGED
@@ -41,7 +41,7 @@ These are as follows (note, the 'R' can also be 'NE' or 'MU')
|
|
41
41
|
|
42
42
|
R000200/18/68 - Returns a 'No Match'
|
43
43
|
|
44
|
-
|
44
|
+
R000300/18/68 - Returns a delayed (2 mins) valid certificate for error checking
|
45
45
|
|
46
46
|
R000500/18/68 - Returns an 'Internal Error'
|
47
47
|
|
@@ -32,6 +32,9 @@ module EtFakeAcasServer
|
|
32
32
|
case certificate_number
|
33
33
|
when /\A(R|NE|MU)000200/ then
|
34
34
|
json_builder_for_no_match(certificate_number)
|
35
|
+
when /\A(R|NE|MU)000300/ then
|
36
|
+
sleep 120
|
37
|
+
json_builder_for_found(certificate_number)
|
35
38
|
when /\A(R|NE|MU)000500/ then
|
36
39
|
halt 500, JSON.pretty_generate(json_builder_for_internal_error)
|
37
40
|
else
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: et_fake_acas_server
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
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: 2022-
|
11
|
+
date: 2022-11-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -158,7 +158,7 @@ homepage: https://github.com/ministryofjustice/et_api
|
|
158
158
|
licenses:
|
159
159
|
- MIT
|
160
160
|
metadata: {}
|
161
|
-
post_install_message:
|
161
|
+
post_install_message:
|
162
162
|
rdoc_options: []
|
163
163
|
require_paths:
|
164
164
|
- lib
|
@@ -174,7 +174,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
174
174
|
version: '0'
|
175
175
|
requirements: []
|
176
176
|
rubygems_version: 3.1.6
|
177
|
-
signing_key:
|
177
|
+
signing_key:
|
178
178
|
specification_version: 4
|
179
179
|
summary: Employment Tribunal (govuk) fake acas server
|
180
180
|
test_files: []
|