et_fake_acas_server 0.2.2 → 0.3.0

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: a62c46bbc2882af494e209a2d6df00a9460c421f4aa617701ac0279aeb3aa162
4
- data.tar.gz: cb65365826e839e3eb7f3bf8c9f69e01310f10ccdc9d9c3b5859984e94751dd8
3
+ metadata.gz: 14545033d09562e369ff246c56c6670d8fc50634e9b02676f1943fb2c4546046
4
+ data.tar.gz: 2f4d82dad49d3df5fe339c000cc9661e27176f98ee6c10f0ec6f6009c298507d
5
5
  SHA512:
6
- metadata.gz: d1cc21716f00c5c57c6b759b06e6fc97699b0f3976b13f474b1a82526ea76557f2a8eed7aa8f6d9c56937182c47b974d224212dc847114071120bc1f24e1e045
7
- data.tar.gz: 27fc5722ce845e579054a7d6d72a8d561f823201af5c9842d8f6dd3743e401486a53647c31cb96d870fd3a217160fab43f22aeb5f85e952357659e1c00be3c68
6
+ metadata.gz: 78ccba5058af660966e09a45d2b3ad3b045a2b5f74f5c79b01239598605e6d7fdacad648827c8c9fbf8cdec4f359e5a1a779434fdfd419a32be25a4d0feea5c5
7
+ data.tar.gz: 21e56c75425ceaf79aece4ad09baf37af826e0d7e7270defa69d22b8dced01d8201d87118b28cab2de67dce72c615d350cd8ab689258826e81bb4f0f1cde87e2
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_fake_acas_server (0.2.2)
5
- activesupport (~> 6.1)
4
+ et_fake_acas_server (0.3.0)
5
+ activesupport (>= 6.1)
6
6
  iodine (~> 0.7)
7
7
  nokogiri (~> 1.8, >= 1.8.2)
8
8
  ruby-mcrypt (~> 0.2)
@@ -12,46 +12,44 @@ PATH
12
12
  GEM
13
13
  remote: https://rubygems.org/
14
14
  specs:
15
- activesupport (6.1.6)
15
+ activesupport (7.0.3.1)
16
16
  concurrent-ruby (~> 1.0, >= 1.0.2)
17
17
  i18n (>= 1.6, < 2)
18
18
  minitest (>= 5.1)
19
19
  tzinfo (~> 2.0)
20
- zeitwerk (~> 2.3)
21
20
  concurrent-ruby (1.1.10)
22
- i18n (1.10.0)
21
+ i18n (1.12.0)
23
22
  concurrent-ruby (~> 1.0)
24
- iodine (0.7.47)
23
+ iodine (0.7.48)
25
24
  mini_portile2 (2.8.0)
26
- minitest (5.16.1)
25
+ minitest (5.16.2)
27
26
  multi_json (1.15.0)
28
- mustermann (1.1.1)
27
+ mustermann (2.0.2)
29
28
  ruby2_keywords (~> 0.0.1)
30
- nokogiri (1.13.6)
29
+ nokogiri (1.13.8)
31
30
  mini_portile2 (~> 2.8.0)
32
31
  racc (~> 1.4)
33
32
  racc (1.6.0)
34
- rack (2.2.3.1)
35
- rack-protection (2.2.0)
33
+ rack (2.2.4)
34
+ rack-protection (2.2.2)
36
35
  rack
37
36
  rake (13.0.1)
38
37
  ruby-mcrypt (0.2.0)
39
38
  ruby2_keywords (0.0.5)
40
- sinatra (2.2.0)
41
- mustermann (~> 1.0)
39
+ sinatra (2.2.2)
40
+ mustermann (~> 2.0)
42
41
  rack (~> 2.2)
43
- rack-protection (= 2.2.0)
42
+ rack-protection (= 2.2.2)
44
43
  tilt (~> 2.0)
45
- sinatra-contrib (2.2.0)
44
+ sinatra-contrib (2.2.2)
46
45
  multi_json
47
- mustermann (~> 1.0)
48
- rack-protection (= 2.2.0)
49
- sinatra (= 2.2.0)
46
+ mustermann (~> 2.0)
47
+ rack-protection (= 2.2.2)
48
+ sinatra (= 2.2.2)
50
49
  tilt (~> 2.0)
51
- tilt (2.0.10)
52
- tzinfo (2.0.4)
50
+ tilt (2.0.11)
51
+ tzinfo (2.0.5)
53
52
  concurrent-ruby (~> 1.0)
54
- zeitwerk (2.6.0)
55
53
 
56
54
  PLATFORMS
57
55
  ruby
@@ -27,6 +27,6 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency 'sinatra-contrib', '~> 2.0'
28
28
  spec.add_dependency 'sinatra', '~> 2.0', '>= 2.0.3'
29
29
  spec.add_dependency 'nokogiri', '~> 1.8', '>= 1.8.2'
30
- spec.add_dependency 'activesupport', '~> 6.1'
30
+ spec.add_dependency 'activesupport', '>= 6.1'
31
31
  spec.add_dependency 'ruby-mcrypt', '~> 0.2'
32
32
  end
@@ -33,7 +33,7 @@ module EtFakeAcasServer
33
33
  when /\A(R|NE|MU)000200/ then
34
34
  json_builder_for_no_match(certificate_number)
35
35
  when /\A(R|NE|MU)000500/ then
36
- json_builder_for_internal_error
36
+ halt 500, JSON.pretty_generate(json_builder_for_internal_error)
37
37
  else
38
38
  json_builder_for_found(certificate_number)
39
39
  end
@@ -1,3 +1,3 @@
1
1
  module EtFakeAcasServer
2
- VERSION = "0.2.2"
2
+ VERSION = "0.3.0"
3
3
  end
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: 0.2.2
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gary Taylor
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-06-21 00:00:00.000000000 Z
11
+ date: 2022-07-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -110,14 +110,14 @@ dependencies:
110
110
  name: activesupport
111
111
  requirement: !ruby/object:Gem::Requirement
112
112
  requirements:
113
- - - "~>"
113
+ - - ">="
114
114
  - !ruby/object:Gem::Version
115
115
  version: '6.1'
116
116
  type: :runtime
117
117
  prerelease: false
118
118
  version_requirements: !ruby/object:Gem::Requirement
119
119
  requirements:
120
- - - "~>"
120
+ - - ">="
121
121
  - !ruby/object:Gem::Version
122
122
  version: '6.1'
123
123
  - !ruby/object:Gem::Dependency