Skip to content

Commit

Permalink
Adapt to new link of epha atc.csv
Browse files Browse the repository at this point in the history
  • Loading branch information
ngiger committed Jan 15, 2018
1 parent b5b94e5 commit 4785199
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
=== 2.4.9 / 15.01.2018

* Adapt to new link of epha atc.csv

=== 2.4.8 / 20.11.2017

* Adapt to new links of swissmedic download files
Expand Down
2 changes: 1 addition & 1 deletion lib/oddb2xml/util.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def Oddb2xml.calc_checksum(str)
Downloads = "#{Dir.pwd}/downloads"
end
@options = {}
@atc_csv_origin = 'https://raw.githubusercontent.com/epha/robot/master/data/manual/swissmedic/atc.csv'
@atc_csv_origin = 'http://download.epha.ch/data/atc/atc.csv'
@atc_csv_content = {}

def Oddb2xml.convert_to_8859_1(line)
Expand Down
2 changes: 1 addition & 1 deletion lib/oddb2xml/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module Oddb2xml
VERSION = "2.4.8"
VERSION = "2.4.9"
end
2 changes: 1 addition & 1 deletion spec/fixtures/vcr_cassettes/oddb2xml.json
Original file line number Diff line number Diff line change
Expand Up @@ -1025,7 +1025,7 @@
]
},
"method": "get",
"uri": "https://raw.githubusercontent.com/epha/robot/master/data/manual/swissmedic/atc.csv"
"uri": "http://download.epha.ch/data/atc/atc.csv"
},
"response": {
"body": {
Expand Down

0 comments on commit 4785199

Please sign in to comment.