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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MGEzZGQzMDI3OTM2ZWM2YjAzOGY1MWU0NDk5YjJmMzFiOGRlMzc5MA==
4
+ YTU2M2U3OTQ5NzA4ZTAyNWUxOWQxYWJjNzk5YmE0ZTRiODEwMjFjYg==
5
5
  data.tar.gz: !binary |-
6
- MTQ3ZWNhYzYyM2I4NWVlZGNlODUyN2MxZDExYWQ3MjI0ODQ3NWZlNg==
6
+ ZGEzOGZhNDliYzA1MzRkY2E2OTc4NmZlNjY5NTZkYjQ4ZDU4NGMyMg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZDczOGZkZmY0OTlhNzY5MWNjNTBkN2I2OGU2Mzg2NTdiZjRiNWJkNGMzYzRl
10
- YzU1MTQxYjYyNjYyY2UwZWQxOGRmYzQzZjgxYTYzZDdhMTgxYTAwYTI1ODBl
11
- OTdhNmE5NzVlYWYxMjhlNDAwMjc0NzdlY2E4ZmRiMmU2NDk1ZTc=
9
+ NmE3NDhiNzAzYjAwMjQwZmYxMDhmNWVlMjJhYjA1M2JkZDJlOTZlMTQ1MWZl
10
+ NDVkYjI3YTczMjMzZGQxOGM5OTE1M2RiYjk1MGI0MmZkNjZkOWIxZjBiMTVk
11
+ M2NiZDBlNmFmZjcxNzVjZDU1ZjdjYTI3MjBhYWEwMzZmYWI0M2Y=
12
12
  data.tar.gz: !binary |-
13
- ZjczMGE3ZDUyZWQ2NzFlZjA2NDEwNjU3NTQxODM3ZDM2MTg4ZDhmNWE5Y2Rk
14
- ZTQ3ZjIzMDhiM2U1NDVmOTgzOWJhNWVkYWNlYTllODI1OTMwOTVhYWY4YjM5
15
- YjI2YzMxZWQ2MjY1YzM5YmQ4MjEwODJhZDg5YTM3YmY1NTZhMjM=
13
+ OTg1Zjc3YTUyNzdiNTUzZThhYTk2MGJjN2FjZDc5ODAxMmJmNWE2ZTYyYWNk
14
+ ZDRhMGNlODVlOTJhNmY3MWUyNTJkOTY5OTFmOWI0Y2JhYmY0ODQyYmU0NjFk
15
+ OWI3ZjdiOTFjZDU5NzdiN2NhMjM1N2U5NjM0N2M2NmFiNDU0MGE=
data/History.md CHANGED
@@ -1,3 +1,10 @@
1
+ ### 1.0.1 / 22.01.2015
2
+
3
+ Author: Sergey Konotopov <lalalalalala@gmail.com>
4
+ Date: Wed Jan 21 13:19:56 2015 +0300
5
+
6
+ * Fixing Excel::Worksheet#dimensions
7
+
1
8
  ### 1.0.0 / 29.08.2014
2
9
 
3
10
  * added spreadsheet/errors.rb to Manifest.txt
@@ -17,7 +17,7 @@
17
17
  #
18
18
  # Contact Information:
19
19
  #
20
- # E-Mail: mhatakeyama@ywesee.com, zdavatz@ywesee.com
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.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.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: 2014-08-29 00:00:00.000000000 Z
11
+ date: 2015-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-ole