berkeley_library-holdings 1.0.4 → 1.0.5
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 07eb4a47cc918d522af40c8454b6bb76644c583ec8c1e3dbab51b97dfc8d2829
|
4
|
+
data.tar.gz: 5fe389f206854c6b81c91fa70fb8b8bfea944d4527d20dda7347eac7fcf9fc48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26212582ba5896d6afa8eea5a3673d2a3a014759f742019cd0405021eadf360026c5b4da2aeda19b0bd2d0aaa8a7ae996133714b1b3f0f035e79e1c2e77ebf56
|
7
|
+
data.tar.gz: 61162d2b5a4d700092346e51e7283ad625ba103be7b2033d317e2d78c122a10cf785f7aa6277dd41beee9feb373992696b51b8182f5bd208b2f7ecb0f8aa992f
|
data/CHANGES.md
CHANGED
@@ -7,7 +7,7 @@ module BerkeleyLibrary
|
|
7
7
|
SUMMARY = 'Holdings-related utilities for the UC Berkeley Library'.freeze
|
8
8
|
DESCRIPTION = 'A collection of holdings-related utilities for the UC Berkeley Library'.freeze
|
9
9
|
LICENSE = 'MIT'.freeze
|
10
|
-
VERSION = '1.0.
|
10
|
+
VERSION = '1.0.5'.freeze
|
11
11
|
HOMEPAGE = 'https://github.com/BerkeleyLibrary/holdings'.freeze
|
12
12
|
end
|
13
13
|
end
|
@@ -7,6 +7,8 @@ module BerkeleyLibrary
|
|
7
7
|
module RubyXLWorksheetExtensions
|
8
8
|
def first_blank_column_index
|
9
9
|
sheet_data.rows.inject(0) do |first_blank_c_index, row|
|
10
|
+
next first_blank_c_index unless row
|
11
|
+
|
10
12
|
trailing_blank_cells = row.cells.reverse.take_while(&:blank?)
|
11
13
|
row_first_blank_c_index = row.size - trailing_blank_cells.size
|
12
14
|
[first_blank_c_index, row_first_blank_c_index].max
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: berkeley_library-holdings
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Moles
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-06-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: berkeley_library-logging
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '0.1'
|
34
34
|
- - ">="
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: 0.1.
|
36
|
+
version: 0.1.9
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '0.1'
|
44
44
|
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: 0.1.
|
46
|
+
version: 0.1.9
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: marcel
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|