effective_cpd 0.1.17 → 0.1.18
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/effective/cpd_scorer.rb +4 -1
- data/lib/effective_cpd/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c4f27b1163b09341852b3e9a136eebeffa80e30dc20662fb396e736d41a5b016
|
4
|
+
data.tar.gz: a6dac2da3b6a5e808cab6a225d7cc575541543103f5baa19a2ed732b143d71ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c6f824e59e41b7b36284caaf1b6afd53692aca36b42671faf4fbe0b54e0f17748f03406e8e359f30be00d68fd15c9fa16deaa8dc72bf2608d446381fc7ab22d5
|
7
|
+
data.tar.gz: 3629eeb492a02a5645773d8412c9d301182e2ccf95548303a469d7c9783f36a36e087b60368b11ed42ae8bd65e0f02b6c05f796fbfaf171097210b3f7aa33ac8
|
@@ -161,7 +161,10 @@ module Effective
|
|
161
161
|
description: existing.description,
|
162
162
|
)
|
163
163
|
|
164
|
-
existing.files.each
|
164
|
+
existing.files.each do |file|
|
165
|
+
blob = EffectiveResources.clone_blob(file.blob)
|
166
|
+
activity.files.attach(blob)
|
167
|
+
end
|
165
168
|
|
166
169
|
activity.assign_attributes(
|
167
170
|
carry_over: existing.carry_forward,
|