oddb2xml 2.8.4 → 2.8.6

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
  SHA256:
3
- metadata.gz: f6d013a66a9290aa9adf042bf0c29927c6489f6bef13ce32404f65f8f3c82bf8
4
- data.tar.gz: 4a2e2c51856ef0442c55890004d67c95f9c345dd5483c9f0fc1e05a9455e344e
3
+ metadata.gz: 892eeae0f576e5aa6dfe9527d808faa029b4a8a90e83e50ef9b087f168e37968
4
+ data.tar.gz: 0c8a06509c9d4665012719c073fa8019ae9f9bd44a839227e6030df53f9f7cd2
5
5
  SHA512:
6
- metadata.gz: 6f8c5c08b502c892d17ea3b54f97f5c83ad5134872c9fb8a01266e109785512c59f7eaa0f890092ab8876c3a12a1974aa2d61707a0ac743f0c034e4bf9882c7a
7
- data.tar.gz: f1bb522c9afbf5848f828ef0edd6987532efb534a926358a52c59fe3dd30395c4a5fad8409eca581e0845dff354b895ec3e0008cb5ee8d0b64ee508af1cb3b99
6
+ metadata.gz: c9349ec7a534b13c4b4491f7e4b346b85002ab297323f589ab01896bede277f9a645dacf8f0db415c60b08c9037325f89bfa263cd96006c96b5ee2ba05f1fa58
7
+ data.tar.gz: f4da184586ccf65c93df92e73f93b90f7a2921590480a463829a03b2fec08c4e9416e07a273bfcfa4a380ab0cf2c0f13899cea3282c64254493db92274421258
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- oddb2xml (2.8.4)
4
+ oddb2xml (2.8.6)
5
5
  htmlentities
6
6
  httpi
7
7
  mechanize
@@ -602,6 +602,10 @@ module Oddb2xml
602
602
  return data unless @sheet
603
603
  @sheet.each_with_index do |row, i|
604
604
  next if i <= 1
605
+ if row.nil?
606
+ puts "Empty row (#{i}) in firstbase"
607
+ next
608
+ end
605
609
  gtin = row[0].value.to_s.gsub(/^0+/, '')
606
610
  data[gtin] = {
607
611
  gtin: gtin,
@@ -1,3 +1,3 @@
1
1
  module Oddb2xml
2
- VERSION = "2.8.4"
2
+ VERSION = "2.8.6"
3
3
  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.8.4
4
+ version: 2.8.6
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: 2023-11-09 00:00:00.000000000 Z
11
+ date: 2023-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubyzip