effective_cpd 1.7.0 → 1.7.1

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: 94c7c2fc57c5109c37e1ae0216f297eebb6556210e96db897e6592cd357b49e7
4
- data.tar.gz: 2561bc3bae5ca830c72ad9b3499b0e303db66fa5121c685b2d15fb3a5743da85
3
+ metadata.gz: 502981a987e34f6022514dacb5bc5bbcc9f07a3290b607932c97f057a9a73ed0
4
+ data.tar.gz: 47d5f95962bdede3f7590d956c48fc5bded7fd1db9e3f2127400cf049f8f47d7
5
5
  SHA512:
6
- metadata.gz: 750ffcaba4258184debafb988238cbe47774b19a74a494656d600dff4234fc1e94d057040f177f9c07348e81ad2f32258abe52f76b4d4e3a53fa163562586d97
7
- data.tar.gz: 6571b2816b5616a2fd00928d3ebf142cf7ada391eccd5b7bfa9ca18e5ecc1708ba2d3728e5a67fe046b21879158d04ed2b45a5a3352faaae5dbcbfcc2bf28453
6
+ metadata.gz: 8368077022f74fd35ea5d2a33daa93f88315bbf7400f42ff4c9ff93144c361ac6f827740e6a7ef232520b1daae9fe3c00d5622d7779b22da10be26cade9c0577
7
+ data.tar.gz: 1ae3852f5a4cce0e49744e464f1fa912602496b440fcb8f3aaec8173fc768df1e85c85a81c3058ff41c26c044d3c0ada2d844970cc94ebe018e7b62787578f26
@@ -216,7 +216,8 @@ module Effective
216
216
  title: @cpd_audit.to_s,
217
217
  level: @cpd_audit.cpd_audit_level.to_s,
218
218
  determination: @cpd_audit.determination.to_s,
219
- missing_info_reason: @cpd_audit.missing_info_reason.to_s
219
+ missing_info_reason: @cpd_audit.missing_info_reason.to_s,
220
+ feedback: @cpd_audit.feedback.to_s,
220
221
  },
221
222
  auditee: {
222
223
  name: @cpd_audit.name,
@@ -228,7 +229,8 @@ module Effective
228
229
  {
229
230
  review: {
230
231
  title: @cpd_audit_review.to_s,
231
- recommendation: @cpd_audit_review.recommendation.to_s
232
+ recommendation: @cpd_audit_review.recommendation.to_s,
233
+ feedback: @cpd_audit_review.feedback.to_s,
232
234
  },
233
235
  reviewer: {
234
236
  name: @cpd_audit_review.name,
@@ -665,4 +665,8 @@ module EffectiveCpdAudit
665
665
  (current_user || user).class.send(EffectiveCpd.audit_reviewer_user_scope).sorted_by_in_progress_cpd_audit_reviews
666
666
  end
667
667
 
668
+ def feedback
669
+ cpd_audit_reviews.map(&:feedback).join('\n')
670
+ end
671
+
668
672
  end
@@ -8,6 +8,10 @@ Your {{ audit.title }} has been closed.
8
8
 
9
9
  The following determination was made: {{ audit.determination }}
10
10
 
11
+ The following feedback was provided by the reviewer:
12
+
13
+ {{ audit.feedback }}
14
+
11
15
  Please check below for any additional details
12
16
 
13
17
  {{ url }}
@@ -1,3 +1,3 @@
1
1
  module EffectiveCpd
2
- VERSION = '1.7.0'
2
+ VERSION = '1.7.1'
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.7.0
4
+ version: 1.7.1
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-07-20 00:00:00.000000000 Z
11
+ date: 2023-07-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -206,6 +206,20 @@ dependencies:
206
206
  - - ">="
207
207
  - !ruby/object:Gem::Version
208
208
  version: '0'
209
+ - !ruby/object:Gem::Dependency
210
+ name: psych
211
+ requirement: !ruby/object:Gem::Requirement
212
+ requirements:
213
+ - - "<"
214
+ - !ruby/object:Gem::Version
215
+ version: '4'
216
+ type: :development
217
+ prerelease: false
218
+ version_requirements: !ruby/object:Gem::Requirement
219
+ requirements:
220
+ - - "<"
221
+ - !ruby/object:Gem::Version
222
+ version: '4'
209
223
  description: Continuing professional development and audits rails engine
210
224
  email:
211
225
  - info@codeandeffect.com
@@ -483,7 +497,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
483
497
  - !ruby/object:Gem::Version
484
498
  version: '0'
485
499
  requirements: []
486
- rubygems_version: 3.4.10
500
+ rubygems_version: 3.3.7
487
501
  signing_key:
488
502
  specification_version: 4
489
503
  summary: Continuing professional development and audits rails engine