et_fake_ccd 1.0.8 → 1.1.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: de688c1ca8652677740a091259cbbccb016671f695286350f9f8c750b543e1b2
4
- data.tar.gz: 066c43c83e15dc3b7e371b1b8df9532df7b1eeb746159c4111acc23d4c551c7b
3
+ metadata.gz: 793c6c2279604591ddd390b31815a5b29f744ee79bcfad14853135c68f23221f
4
+ data.tar.gz: 44179a20549c501467c5496cc044aa603c0125f034d0efeaa565cb10898920c2
5
5
  SHA512:
6
- metadata.gz: 9bb7780b6675018807c4f29c3ebe7c177a90df1a6a4362a1e229805e450a16daeee3894ee04e55bced1f499746463ba44b194e70cedc9d705eb8bd1679c1286f
7
- data.tar.gz: 420a1892328c465b5b95a3d428002c199ddcd07b8266bbbe0330e13e38bff5fecbef871391bb61706407499e216472eed91f327aa14e791652a14e99d2bebcea
6
+ metadata.gz: d22a000add350493a0b4bd82e14700a5478265ebea86b4f91cff659105e4ab1636ecef020e67cb40b11d3c7daf59fc08035a52ee2dabf5085a7530c951f32fae
7
+ data.tar.gz: a3ba62f532fccdda2d943a70ec654842d8384d7c2297ff8a2cccd6d65551446d9929a536e8e4719f80c35eff4d79eef826b4c23ce0a97548a31ea282f49a5766
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- et_fake_ccd (1.0.8)
4
+ et_fake_ccd (1.1.0)
5
5
  activemodel (>= 5.2.3)
6
6
  iodine (~> 0.7)
7
7
  json-schema (~> 2.5)
@@ -13,28 +13,28 @@ PATH
13
13
  GEM
14
14
  remote: https://rubygems.org/
15
15
  specs:
16
- activemodel (6.0.2.2)
17
- activesupport (= 6.0.2.2)
18
- activesupport (6.0.2.2)
16
+ activemodel (6.0.3.2)
17
+ activesupport (= 6.0.3.2)
18
+ activesupport (6.0.3.2)
19
19
  concurrent-ruby (~> 1.0, >= 1.0.2)
20
20
  i18n (>= 0.7, < 2)
21
21
  minitest (~> 5.1)
22
22
  tzinfo (~> 1.1)
23
- zeitwerk (~> 2.2)
23
+ zeitwerk (~> 2.2, >= 2.2.2)
24
24
  addressable (2.7.0)
25
25
  public_suffix (>= 2.0.2, < 5.0)
26
26
  concurrent-ruby (1.1.6)
27
27
  diff-lcs (1.3)
28
- i18n (1.8.2)
28
+ i18n (1.8.5)
29
29
  concurrent-ruby (~> 1.0)
30
- iodine (0.7.38)
30
+ iodine (0.7.40)
31
31
  json-schema (2.8.1)
32
32
  addressable (>= 2.4)
33
- minitest (5.14.0)
34
- public_suffix (4.0.4)
35
- rack (2.2.2)
33
+ minitest (5.14.1)
34
+ public_suffix (4.0.5)
35
+ rack (2.2.3)
36
36
  rake (13.0.1)
37
- roda (3.31.0)
37
+ roda (3.33.0)
38
38
  rack
39
39
  rotp (5.1.0)
40
40
  addressable (~> 2.5)
@@ -56,7 +56,7 @@ GEM
56
56
  tilt (2.0.10)
57
57
  tzinfo (1.2.7)
58
58
  thread_safe (~> 0.1)
59
- zeitwerk (2.3.0)
59
+ zeitwerk (2.4.0)
60
60
 
61
61
  PLATFORMS
62
62
  ruby
@@ -1,7 +1,7 @@
1
1
  require 'active_model'
2
2
  module EtFakeCcd
3
3
  module Command
4
- class CreateBulkActionCaseCommand
4
+ class CreateMultipleCaseCommand
5
5
  include ActiveModel::Model
6
6
  include ActiveModel::Attributes
7
7
 
@@ -1,7 +1,7 @@
1
1
  require 'et_fake_ccd/command/lease_command'
2
2
  require 'et_fake_ccd/command/login_user_command'
3
3
  require 'et_fake_ccd/command/create_case_command'
4
- require 'et_fake_ccd/command/create_bulk_action_case_command'
4
+ require 'et_fake_ccd/command/create_multiple_case_command'
5
5
  require 'et_fake_ccd/command/upload_document_command'
6
6
  require 'et_fake_ccd/command/upload_documents_to_case_command'
7
7
  require 'et_fake_ccd/command/start_multiple_command'
@@ -19,7 +19,7 @@ module EtFakeCcd
19
19
  end
20
20
  end
21
21
  end
22
- r.is "caseworkers", String, "jurisdictions", String, "case-types", String, "event-triggers", "createBulkAction", "token" do |uid, jid, ctid|
22
+ r.is "caseworkers", String, "jurisdictions", String, "case-types", String, "event-triggers", "createMultiple", "token" do |uid, jid, ctid|
23
23
  r.get do
24
24
  if EtFakeCcd::AuthService.validate_service_token(r.headers['ServiceAuthorization'].gsub(/\ABearer /, '')) && EtFakeCcd::AuthService.validate_user_token(r.headers['Authorization'].gsub(/\ABearer /, ''))
25
25
  initiate_bulk_case(uid, jid, ctid)
@@ -69,7 +69,7 @@ module EtFakeCcd
69
69
 
70
70
  command = case json.dig('event', 'id')
71
71
  when 'initiateCase' then ::EtFakeCcd::Command::CreateCaseCommand.from_json json
72
- when 'createBulkAction' then ::EtFakeCcd::Command::CreateBulkActionCaseCommand.from_json json
72
+ when 'createMultiple' then ::EtFakeCcd::Command::CreateMultipleCaseCommand.from_json json
73
73
  else
74
74
  r.halt 400, unknown_event_error_for(r)
75
75
  end
@@ -202,7 +202,7 @@ module EtFakeCcd
202
202
  "delete_draft_response_status": nil,
203
203
  "security_classifications": {}
204
204
  },
205
- "event_id": "createBulkAction"
205
+ "event_id": "createMultiple"
206
206
  }
207
207
  JSON.generate(j)
208
208
  end
@@ -1,3 +1,3 @@
1
1
  module EtFakeCcd
2
- VERSION = "1.0.8"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: et_fake_ccd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.8
4
+ version: 1.1.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: 2020-04-30 00:00:00.000000000 Z
11
+ date: 2020-10-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: roda
@@ -180,8 +180,8 @@ files:
180
180
  - lib/et_fake_ccd/auth_service.rb
181
181
  - lib/et_fake_ccd/cli.rb
182
182
  - lib/et_fake_ccd/cli/root.rb
183
- - lib/et_fake_ccd/command/create_bulk_action_case_command.rb
184
183
  - lib/et_fake_ccd/command/create_case_command.rb
184
+ - lib/et_fake_ccd/command/create_multiple_case_command.rb
185
185
  - lib/et_fake_ccd/command/lease_command.rb
186
186
  - lib/et_fake_ccd/command/login_user_command.rb
187
187
  - lib/et_fake_ccd/command/start_multiple_command.rb
@@ -225,8 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  - !ruby/object:Gem::Version
226
226
  version: '0'
227
227
  requirements: []
228
- rubyforge_project:
229
- rubygems_version: 2.7.7
228
+ rubygems_version: 3.0.8
230
229
  signing_key:
231
230
  specification_version: 4
232
231
  summary: Fake CCD server for employment tribunals