discerner 2.0.3 → 2.0.4
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
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 88645173fdadecf73aa691ce4c08988b0ec45edb
|
|
4
|
+
data.tar.gz: 992a3eff4bdf48feba80dd6f2361f2012df547c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b6a923211f3551ae3f713cf65c5fcf75437a0b6d9a328bd198fbd11ac094120d6d858fc4e5192e991fc159e138072e4679722baf2870ae92a05b2a3202ca97a6
|
|
7
|
+
data.tar.gz: c6fbc44e44cc98dc4a295a8110315cedbfa22a71411ec9efddb177b3c43a29a5cc1ecf2cce9db2d4175a59d32ac36b4bbdb23cf1b8ffe4e180770c7078f76a9b
|
data/lib/discerner/parser.rb
CHANGED
|
@@ -87,8 +87,6 @@ module Discerner
|
|
|
87
87
|
notification_message "processing dictionary '#{dictionary_name}'"
|
|
88
88
|
|
|
89
89
|
dictionary = Discerner::Dictionary.find_or_initialize_by(name: dictionary_name)
|
|
90
|
-
dictionary.namespace_type = hash[:namespace_type]
|
|
91
|
-
dictionary.namespace_id = hash[:namespace_id]
|
|
92
90
|
dictionary.deleted_at = nil
|
|
93
91
|
|
|
94
92
|
if dictionary.new_record?
|
data/lib/discerner/version.rb
CHANGED
|
@@ -1,8 +1,6 @@
|
|
|
1
1
|
# ---- General structure:
|
|
2
2
|
# :dictionaries:
|
|
3
3
|
# - :name: string # has to be unique within not-deleted dictionaries
|
|
4
|
-
# :namespace_type: # string to define dictionary namespace type (optional). This can be used to link Discerner::Disctionary with outside entities.
|
|
5
|
-
# :namespace_id: # integer to define dictionary namespace id (optional). This can be used to link Discerner::Disctionary with outside entities.
|
|
6
4
|
# :parameter_categories:
|
|
7
5
|
# - :name: string # has to be unique within the dictionary
|
|
8
6
|
# :parameters:
|
|
@@ -35,8 +33,6 @@
|
|
|
35
33
|
---
|
|
36
34
|
:dictionaries:
|
|
37
35
|
- :name: Sample dictionary
|
|
38
|
-
:namespace_type: Cohort
|
|
39
|
-
:namespace_id: 1
|
|
40
36
|
:parameter_categories:
|
|
41
37
|
- :name: Demographic criteria
|
|
42
38
|
:parameters:
|