oddb2xml 2.3.2 → 2.3.3

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: a4a25bdc724120b7570f7d671bcb4b5f7bfbc90d
4
- data.tar.gz: 41ba2d28a669bc73e41d4767339d10eddc2d480a
3
+ metadata.gz: 6f5d2126b5e798ee01ff3d7bac5a161ed13b8ee8
4
+ data.tar.gz: 2315c6c09e502d4adc11f8876b05fea8655b8907
5
5
  SHA512:
6
- metadata.gz: 129ce0e4983949fe59d1281643330a0c5d11d367adc2cb130aa85ca2f60c33b542b7311e92fbe821d42aa8a9c4a155520a919f77fb4d11fbe84bb6b220814c78
7
- data.tar.gz: 8cf9e4fe4d4610df2794b4004abedeba5dd9ddce8c59aa99efc3ca0a8a40d63d2819a32fdaaa703ec473debdd6a0576125e7dd27ec9ac017d3937639e0ec676c
6
+ metadata.gz: eccaf5843a5fd5dcbd2f3e49162820c51e5e47fef0e38528c68d3da9a17bb83c38384276717823e5f967939a903ed85da35cf87c864ba6bb719d1644a9e6aa7b
7
+ data.tar.gz: c4719fe785483468f9c88db63574109d7c9fe11b22b53128d529cae81f6cc162fecab9bf034b416bd7e2d995478255437ec6348f58dc18a01efb68b949648662
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oddb2xml (2.3.2)
4
+ oddb2xml (2.3.3)
5
5
  archive-tar-minitar
6
6
  httpi (>= 2.4.1)
7
7
  mechanize
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ === 2.3.3 /12.01.2016
2
+
3
+ * Remove unused value 'E' from oddb_codes.xml. Thanks to Julian Sgier how reported this error
4
+
1
5
  === 2.3.2 /11.01.2016
2
6
 
3
7
  * File from swissmedic for blood products and vaccines has no longer a field Kühlkette. Therefore no longer downloading it.
@@ -206,7 +206,6 @@ module Oddb2xml
206
206
  unless @codes
207
207
  @codes = {
208
208
  'X' => {:int => 11, :txt => 'Kontraindiziert'},
209
- 'E' => {:int => 12, :txt => 'Kontraindiziert'},
210
209
  'D' => {:int => 13, :txt => 'Kombination meiden'},
211
210
  'C' => {:int => 14, :txt => 'Monitorisieren'},
212
211
  'B' => {:int => 15, :txt => 'Vorsichtsmassnahmen'},
@@ -1,3 +1,3 @@
1
1
  module Oddb2xml
2
- VERSION = "2.3.2"
2
+ VERSION = "2.3.3"
3
3
  end
data/spec/builder_spec.rb CHANGED
@@ -82,7 +82,6 @@ CODE_MISSING_ELEMENT_TESTS = [
82
82
 
83
83
  CODE_ELEMENT_TESTS = [
84
84
  ['CODE/CD/CDTYP', '11'],
85
- ['CODE/CD/CDTYP', '12'],
86
85
  ['CODE/CD/CDTYP', '13'],
87
86
  ['CODE/CD/CDTYP', '14'],
88
87
  ['CODE/CD/CDTYP', '15'],
@@ -91,7 +90,6 @@ CODE_ELEMENT_TESTS = [
91
90
  ['CODE/CD/CDVAL', 'B'],
92
91
  ['CODE/CD/CDVAL', 'C'],
93
92
  ['CODE/CD/CDVAL', 'D'],
94
- ['CODE/CD/CDVAL', 'E'],
95
93
  ['CODE/CD/CDVAL', 'X'],
96
94
  ['CODE/CD/DSCRSD', 'Kontraindiziert'],
97
95
  ['CODE/CD/DSCRSD', 'Kombination meiden'],
@@ -456,7 +454,7 @@ describe Oddb2xml::Builder do
456
454
  NrSubstances = 14
457
455
  NrLimitations = 5
458
456
  NrInteractions = 5
459
- NrCodes = 6
457
+ NrCodes = 5
460
458
  NrProdno = 23
461
459
  NrPackages = 24
462
460
  NrProducts = 19
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oddb2xml
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.2
4
+ version: 2.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yasuhiro Asaka, Zeno R.R. Davatz, Niklaus Giger
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-11 00:00:00.000000000 Z
11
+ date: 2016-01-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip