effective_cpd 1.4.2 → 1.4.4

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: 3b0933a04c3fbbcd4f6aa4676848f9f2d3a707a97b199f25ee3439562d73049d
4
- data.tar.gz: 3b8f990c0c13f8112ed97ea24133dcf2cf1cb5f66fc2464ec8b686c83dc81aa7
3
+ metadata.gz: 6b3ab431275c110356affc6c6a2f7fd4291b974f1f5ac5d2ab289cc5a6426b1e
4
+ data.tar.gz: 78eca26e37a10c4b1d832738ea92cccbe43c20c157deba577b1a4509e0786294
5
5
  SHA512:
6
- metadata.gz: 5c4a5860719ddb9336610bca4d45d17c23756d46255f94cc18719d45853401275e1458e89ad0cb2b6f97e3b7db8f6cd3932ca869843f8da806d4fd07ddcf82fd
7
- data.tar.gz: a513062879d048f4401040b1114fdbbb2e8622ea836d306824ec3f1aeec54846235a932283954821578ccb4aac79e0daba26da46cc0c91678f5dc22e8ae1106b
6
+ metadata.gz: 9be8da936ad87f771a1c3deed17301140e4d15a60d0d15ba14353b60d69f53b39683efe05351bfb147a7f6ccdfcb5fdb74163bd55628f30a0c7cfd6d98326061
7
+ data.tar.gz: a6e902aaa8115ec5b0e9dfdc246884207fc941597ab38fc0fc49e56cfcb68b6ca0e3c02fb083991183c529375dbce4750898205f36a063036c2094a542160260
@@ -256,12 +256,11 @@ module EffectiveCpdAudit
256
256
  def required_steps
257
257
  steps = [:start, :information, :instructions, :demographics]
258
258
 
259
- steps << :conflict if cpd_audit_level.conflict_of_interest?
260
-
261
- steps << :exemption if cpd_audit_level.can_request_exemption?
259
+ steps << :conflict if cpd_audit_level.conflict_of_interest? && !was_submitted?
260
+ steps << :exemption if cpd_audit_level.can_request_exemption? && !was_submitted?
262
261
 
263
262
  unless exemption_requested?
264
- steps << :extension if cpd_audit_level.can_request_extension?
263
+ steps << :extension if cpd_audit_level.can_request_extension? && !was_submitted?
265
264
  end
266
265
 
267
266
  if exemption_requested? || extension_requested?
@@ -1,6 +1,7 @@
1
1
  en:
2
2
  effective_cpd:
3
3
  name: 'Continuing Professional Development'
4
+ acronym: 'CPD'
4
5
  credit: 'Credit'
5
6
  chat: 'Send a Message'
6
7
  chat_sidebar: 'Send a Message'
@@ -1,3 +1,3 @@
1
1
  module EffectiveCpd
2
- VERSION = '1.4.2'
2
+ VERSION = '1.4.4'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: effective_cpd
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.2
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Code and Effect
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-03-09 00:00:00.000000000 Z
11
+ date: 2023-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails