libis-format 0.9.36 → 0.9.37

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 102c089d1a23d177c40e693c0e2d87182659e6e9
4
- data.tar.gz: 4a9b393229a17eac40db9a2540a84fc8e2e75eeb
3
+ metadata.gz: 675cfff96c503a9e4815f6b8f63521ebef16e18d
4
+ data.tar.gz: c7194c4d45dec03b46fb82fe77ee627e820e01fe
5
5
  SHA512:
6
- metadata.gz: 3470b7edeab6bea691f5a25ba02d76cba85618026a61beb1ace8023c73d3270a916b585ae006189792cc0b064f760c28f4f7871f983859d7158bf7037aad8067
7
- data.tar.gz: 6d90ae9419afb3c2cda8d060e4fb6b809fa575cfacf407049dc25694ff51fa74bc812ad38f2b5f1cc38a41a50fedcf2130290fa3913fd2ce6bfc267ea46947d2
6
+ metadata.gz: d88b635b271233ad6123d42998760ee032219fc5e1a1beb76154e49a2cafc1cab5fd6dbe7d95b093dd624b3935ffe21edc863e3f8767a023d1b5c25575d6441f
7
+ data.tar.gz: e63ae8359c4278fc5df9736ffd58f65918e09c461d1b9653327df72d09863f8ac8801d5c1f97231fd4648aa3099c942830d0585dfc28e494dbbc10e15b494ce9
@@ -143,7 +143,7 @@ module Libis
143
143
  # Not much we can do. probably Nokogiri chrashed opening the XML file. What caused this?
144
144
  # (XML not parsable, false XML identification, ???)
145
145
  # so we log and continue.
146
- log_msg(result, :warn, "Error paring XML file #{file}: #{e.message} @ #{e.backtrace.first}")
146
+ log_msg(result, :warn, "Error parsing XML file #{file}: #{e.message} @ #{e.backtrace.first}")
147
147
  end
148
148
 
149
149
  def process_results(result)
@@ -1,5 +1,5 @@
1
1
  module Libis
2
2
  module Format
3
- VERSION = '0.9.36'
3
+ VERSION = '0.9.37'
4
4
  end
5
5
  end
@@ -65,10 +65,6 @@ fidolist =
65
65
 
66
66
  describe 'Identfier' do
67
67
 
68
- dir = File.join File.absolute_path(File.dirname(__FILE__)), 'data'
69
-
70
- let (:identifier) { ::Libis::Format::Identifier }
71
-
72
68
  before :all do
73
69
  ::Libis::Tools::Config.logger.appenders =
74
70
  ::Logging::Appenders.string_io('StringIO', layout: ::Libis::Tools::Config.get_log_formatter)
@@ -77,7 +73,21 @@ describe 'Identfier' do
77
73
  ::Libis::Format::Config[:fido_path] = '/usr/local/bin/fido'
78
74
  end
79
75
 
80
- let(:logoutput) {::Libis::Tools::Config.logger.appenders.last.sio}
76
+ let (:identifier) { ::Libis::Format::Identifier }
77
+ let (:logoutput) {::Libis::Tools::Config.logger.appenders.last.sio}
78
+ let (:dir) {File.join File.absolute_path(File.dirname(__FILE__)), 'data'}
79
+
80
+ # context 'bug test' do
81
+ #
82
+ # let (:dir) {'/nas/vol03/lbs/alma/etd-kul/sap/FIIW/out/0623689_17450'}
83
+ #
84
+ # it 'just works' do
85
+ # result = identifier.get(dir)
86
+ # ap result
87
+ # expect(result).not_to be_nil
88
+ # end
89
+ #
90
+ # end
81
91
 
82
92
  it 'should initialize correctly' do
83
93
  expect(identifier.xml_validations.size).to be 1
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libis-format
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.36
4
+ version: 0.9.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-27 00:00:00.000000000 Z
11
+ date: 2017-10-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler