oddb2xml 2.2.3 → 2.2.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 +4 -4
- data/.travis.yml +1 -0
- data/Gemfile.lock +1 -1
- data/History.txt +5 -0
- data/README.md +67 -45
- data/lib/oddb2xml/builder.rb +11 -11
- data/lib/oddb2xml/extractor.rb +1 -0
- data/lib/oddb2xml/util.rb +29 -1
- data/lib/oddb2xml/version.rb +1 -1
- data/lib/oddb2xml/xml_definitions.rb +0 -1
- data/oddb2xml.xsd +13 -0
- data/oddb_calc.xsd +2 -0
- data/spec/builder_spec.rb +44 -6
- data/spec/calc_spec.rb +2 -3
- data/spec/cli_spec.rb +22 -4
- data/spec/data/{swissmedic_info.zip → AipsDownload.zip} +0 -0
- data/spec/data/swissmedic_package.xlsx +0 -0
- data/spec/downloader_spec.rb +89 -36
- data/spec/extractor_spec.rb +9 -9
- data/spec/fixtures/vcr_cassettes/oddb2xml.json +2807 -1
- data/spec/spec_helper.rb +1 -1
- metadata +4 -4
data/spec/spec_helper.rb
CHANGED
|
@@ -114,7 +114,7 @@ VCR.configure do |config|
|
|
|
114
114
|
# List of request matchers to use to determine what recorded HTTP interaction to replay. Defaults to [:method, :uri]. The built-in matchers are :method, :uri, :host, :path, :headers and :body. You can also pass the name of a registered custom request matcher or any object that responds to #call.
|
|
115
115
|
|
|
116
116
|
config.before_http_request(:real?) do |request|
|
|
117
|
-
$stderr.puts("before real request: #{request.method} #{request.uri}")
|
|
117
|
+
$stderr.puts("before real request: #{request.method} #{request.uri} #{caller[0..5].join("\n")}")
|
|
118
118
|
$stderr.flush
|
|
119
119
|
end
|
|
120
120
|
end
|
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.2.
|
|
4
|
+
version: 2.2.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yasuhiro Asaka, Zeno R.R. Davatz
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-
|
|
11
|
+
date: 2015-09-09 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rubyzip
|
|
@@ -319,6 +319,7 @@ files:
|
|
|
319
319
|
- spec/cli_spec.rb
|
|
320
320
|
- spec/composition_syntax_spec.rb
|
|
321
321
|
- spec/compressor_spec.rb
|
|
322
|
+
- spec/data/AipsDownload.zip
|
|
322
323
|
- spec/data/GL_Diff_SB.xml
|
|
323
324
|
- spec/data/ItCodes.xml
|
|
324
325
|
- spec/data/PR121001.txt
|
|
@@ -346,7 +347,6 @@ files:
|
|
|
346
347
|
- spec/data/swissmedic_fridge.xlsx
|
|
347
348
|
- spec/data/swissmedic_fridges.html
|
|
348
349
|
- spec/data/swissmedic_info.html
|
|
349
|
-
- spec/data/swissmedic_info.zip
|
|
350
350
|
- spec/data/swissmedic_info_2.html
|
|
351
351
|
- spec/data/swissmedic_orphan.xlsx
|
|
352
352
|
- spec/data/swissmedic_orphans.html
|
|
@@ -396,6 +396,7 @@ test_files:
|
|
|
396
396
|
- spec/cli_spec.rb
|
|
397
397
|
- spec/composition_syntax_spec.rb
|
|
398
398
|
- spec/compressor_spec.rb
|
|
399
|
+
- spec/data/AipsDownload.zip
|
|
399
400
|
- spec/data/GL_Diff_SB.xml
|
|
400
401
|
- spec/data/ItCodes.xml
|
|
401
402
|
- spec/data/PR121001.txt
|
|
@@ -423,7 +424,6 @@ test_files:
|
|
|
423
424
|
- spec/data/swissmedic_fridge.xlsx
|
|
424
425
|
- spec/data/swissmedic_fridges.html
|
|
425
426
|
- spec/data/swissmedic_info.html
|
|
426
|
-
- spec/data/swissmedic_info.zip
|
|
427
427
|
- spec/data/swissmedic_info_2.html
|
|
428
428
|
- spec/data/swissmedic_orphan.xlsx
|
|
429
429
|
- spec/data/swissmedic_orphans.html
|