renalware-core 2.0.117 → 2.0.118

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 90a6805bb8cf3b390ced2cb486b99fcc5ffe4d422a191f93cd0db17d7ecd48d5
4
- data.tar.gz: 8f1f5c571e429f2733916bc467bb4795c644bab6499c8d33827265847a3c06c9
3
+ metadata.gz: 362a3539cb21366fb7702b1e0e6131abbe433e9e6212898ad9a599c80ed67ba7
4
+ data.tar.gz: eb33cd22ab7bbda713cfefe9d9cf007eb79bff1ed3dcac72b7a7edb09781a85f
5
5
  SHA512:
6
- metadata.gz: 01a912fcb03003db4ab86ce2561dc66370548a0f37e00e90f97e2db932a66723f69d7db0d62c11ff1e2ef5cdd768dbd9d262894a7dcd7e504b13c271ea86e0e3
7
- data.tar.gz: b3b0b0b66293404ff97e20c05bbc79598e999cdc5aa35ebc44eda9c902ba2adf465f76b20ea03932b4c392711b2aa4b82bf8bd69814c96884429f66184a169c6
6
+ metadata.gz: e502880f5d989ea8741e218033bf9f5235ffd9be6ce2c05229f8da46f06c2f509f254014dfc0363b637b5c6a6fc5e46532af3e2c922bc4e373a352602ca5f115
7
+ data.tar.gz: 120370c1f5c9fb3ece4f87f30cae88a33f07d4c2de6077de0a4c5a7adff832b4df862bdefd08459d579ff00c2ffb3d736fa81cd15c7160cee3bde5de6869bc0f
@@ -197,7 +197,7 @@ module Renalware
197
197
  end
198
198
 
199
199
  def action
200
- ACTIONS.fetch(type)
200
+ ACTIONS.fetch(type, :no_matching_command)
201
201
  end
202
202
 
203
203
  def practice_code
@@ -31,6 +31,8 @@ module Renalware
31
31
  end
32
32
 
33
33
  allow_listeners_to_post_process_the_message
34
+ rescue Feeds::DuplicateMessageError => e
35
+ Rails.logger.warn("Rejected duplicate HL7 message: #{e.message}")
34
36
  rescue StandardError => e
35
37
  notify_exception(e)
36
38
  raise e
@@ -64,11 +66,6 @@ module Renalware
64
66
  # current job to retry.
65
67
  message_to_broadcast = "#{hl7_message.message_type.downcase}_message_processed"
66
68
  broadcast(message_to_broadcast.to_sym, feed_message: feed_message)
67
- rescue Feeds::DuplicateMessageError => e
68
- Rails.logger.warn("Rejected duplicate HL7 message: #{e.message}")
69
- rescue StandardError => e
70
- notify_exception(e)
71
- raise e
72
69
  end
73
70
 
74
71
  def parse_raw_message_into_hl7_object
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Renalware
4
- VERSION = "2.0.117"
4
+ VERSION = "2.0.118"
5
5
  end
data/lib/tasks/hd.rake CHANGED
@@ -16,7 +16,7 @@ namespace :hd do
16
16
  namespace :diary do
17
17
  task housekeeping: :environment do
18
18
  Rails.logger = Logger.new(STDOUT)
19
- Delayed::Job.enqueue Renalware::HD::Scheduling::ArchiveYesterdaysSlotsJob.new
19
+ Delayed::Job.enqueue Renalware::HD::Scheduling::DiaryHousekeepingJob.new
20
20
  end
21
21
  end
22
22
  end
@@ -89,7 +89,12 @@ ensure
89
89
  end
90
90
 
91
91
  def enhance_assets_precompile_with_renalware_webpacker_compile
92
- Rake::Task["assets:precompile"].enhance(["renalware:webpacker_compile"])
92
+ # Becuase of an issue deploying BLT (not affecting KCH for some reason) I am temporarily
93
+ # removing the engine webpacker_precompile and insterad just doing yarn_install.
94
+ # The utter mess of webpacker in an engine means I think that I will need to publish a
95
+ # @renalware/core npm package at gem publish time and reference that from the host app.
96
+ # Rake::Task["assets:precompile"].enhance(["renalware:webpacker_compile"])
97
+ Rake::Task["assets:precompile"].enhance(["renalware:yarn_install"])
93
98
  end
94
99
 
95
100
  # When a host app runs rake assets:precompile, hook into this and enhance the
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: renalware-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.117
4
+ version: 2.0.118
5
5
  platform: ruby
6
6
  authors:
7
7
  - Airslie
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-29 00:00:00.000000000 Z
11
+ date: 2019-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionview-component