renalware-core 2.0.85 → 2.0.86
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f0619a3c5a98002ec8281db110db2468f2fec1a263ebe187f4633bdeec2128ee
|
|
4
|
+
data.tar.gz: a750c55b958f4f1d87248209e88d2b7b7e236a845cc572137568ada6b3d65b14
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a5a356a8c8090597b1a2b1ed972a1ebe908cf77a412bcd55c2a54a7e0b069838a8c4b4858bf62995e93e23d1d95a1123205b2e42e656254e9a5e6d130d22abd1
|
|
7
|
+
data.tar.gz: 96719750e97f20df80adc68330d1a5a15c44519136411e60c8885fabddcd0e044e03a42a7bfa0ce7b7e9ab0bff9578c9bc1acf6434fe8e90598f550dea63608a
|
|
@@ -30,8 +30,9 @@ module Renalware
|
|
|
30
30
|
# practices, gps, practice memberships - is strict.
|
|
31
31
|
def perform
|
|
32
32
|
ODS_DOWNLOADABLES.each do |type, options|
|
|
33
|
-
# Download the ODS file to a temporary location
|
|
34
|
-
|
|
33
|
+
# Download the ODS file to a temporary location - must be /tmp dir on linux
|
|
34
|
+
# in order for PG to have access - hence using Tempfile
|
|
35
|
+
tmp_file = Pathname(Tempfile.new(options[:filename]))
|
|
35
36
|
`wget -O #{tmp_file} #{options[:url]}`
|
|
36
37
|
file = create_feed_file(type, tmp_file)
|
|
37
38
|
Renalware::Feeds::Files::ImportJobFactory.job_class_for(file.file_type).perform_now(file)
|
data/lib/renalware/version.rb
CHANGED
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.
|
|
4
|
+
version: 2.0.86
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Airslie
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2019-06-
|
|
11
|
+
date: 2019-06-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: active_type
|