spreadsheet 1.0.0 → 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/History.md +7 -0
- data/lib/spreadsheet.rb +2 -2
- data/lib/spreadsheet/excel/worksheet.rb +2 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YTU2M2U3OTQ5NzA4ZTAyNWUxOWQxYWJjNzk5YmE0ZTRiODEwMjFjYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZGEzOGZhNDliYzA1MzRkY2E2OTc4NmZlNjY5NTZkYjQ4ZDU4NGMyMg==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NmE3NDhiNzAzYjAwMjQwZmYxMDhmNWVlMjJhYjA1M2JkZDJlOTZlMTQ1MWZl
|
10
|
+
NDVkYjI3YTczMjMzZGQxOGM5OTE1M2RiYjk1MGI0MmZkNjZkOWIxZjBiMTVk
|
11
|
+
M2NiZDBlNmFmZjcxNzVjZDU1ZjdjYTI3MjBhYWEwMzZmYWI0M2Y=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OTg1Zjc3YTUyNzdiNTUzZThhYTk2MGJjN2FjZDc5ODAxMmJmNWE2ZTYyYWNk
|
14
|
+
ZDRhMGNlODVlOTJhNmY3MWUyNTJkOTY5OTFmOWI0Y2JhYmY0ODQyYmU0NjFk
|
15
|
+
OWI3ZjdiOTFjZDU5NzdiN2NhMjM1N2U5NjM0N2M2NmFiNDU0MGE=
|
data/History.md
CHANGED
data/lib/spreadsheet.rb
CHANGED
@@ -17,7 +17,7 @@
|
|
17
17
|
#
|
18
18
|
# Contact Information:
|
19
19
|
#
|
20
|
-
# E-Mail:
|
20
|
+
# E-Mail: zdavatz@ywesee.com
|
21
21
|
# P-Mail: ywesee GmbH
|
22
22
|
# Zeno R.R. Davatz
|
23
23
|
# Winterthurerstrasse 52
|
@@ -45,7 +45,7 @@ module Spreadsheet
|
|
45
45
|
|
46
46
|
##
|
47
47
|
# The version of Spreadsheet you are using.
|
48
|
-
VERSION = '1.0.
|
48
|
+
VERSION = '1.0.1'
|
49
49
|
|
50
50
|
##
|
51
51
|
# Default client Encoding. Change this value if your application uses a
|
@@ -102,11 +102,11 @@ class Worksheet < Spreadsheet::Worksheet
|
|
102
102
|
compact = @rows.compact
|
103
103
|
first_rows = compact.collect do |row| row.first_used end.compact.min
|
104
104
|
first_addrs = @row_addresses.compact.collect do |addr|
|
105
|
-
addr[:first_used] end.min
|
105
|
+
addr[:first_used] end.compact.min
|
106
106
|
@dimensions[2] = [ first_rows, first_addrs ].compact.min || 0
|
107
107
|
last_rows = compact.collect do |row| row.first_unused end.max
|
108
108
|
last_addrs = @row_addresses.compact.collect do |addr|
|
109
|
-
addr[:first_unused] end.max
|
109
|
+
addr[:first_unused] end.compact.max
|
110
110
|
@dimensions[3] = [last_rows, last_addrs].compact.max || 0
|
111
111
|
@dimensions
|
112
112
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: spreadsheet
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masaomi Hatakeyama, Zeno R.R. Davatz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-01-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-ole
|