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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6b3ab431275c110356affc6c6a2f7fd4291b974f1f5ac5d2ab289cc5a6426b1e
|
4
|
+
data.tar.gz: 78eca26e37a10c4b1d832738ea92cccbe43c20c157deba577b1a4509e0786294
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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?
|
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.
|
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-
|
11
|
+
date: 2023-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|