spreadsheet 0.9.7 → 0.9.8
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 +8 -8
- data/.travis.yml +1 -0
- data/GUIDE.md +7 -1
- data/Gemfile +0 -1
- data/History.md +8 -0
- data/README.md +2 -5
- data/lib/spreadsheet/excel/internals.rb +8 -8
- data/lib/spreadsheet.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NjJhMDIxNjBlNzdiZGI4YWYzMTdkODVjMGRlOTI5ZjdhNGM1ZDAxNA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NjAzZTBhMmM5OWJiOWRjZDQ0ZGNkNTdhM2JkNWI0NWM0NWExYzM3OA==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
MDMxZjE5YTllNDlmODlkMGFhZmYzNDZiZjY5ZmMwNTkyODczNTU3ZTcwZTlm
|
10
|
+
NjQ2MjlkY2QzYjc4MmRkMDY2YjBmN2QzZmU1MDc0MDlhNTQ1YTE4MTJiY2Ew
|
11
|
+
MTNkOGI0YTlkZDQyMDM1NzAyYzYwNDk0ODZjNWFmYjNiNTAyMDM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
YmIzMTE4NzY1NGIwN2E1NDdiOGEyMWFjODU2NTg4ZGI3ZjBjMTljZTZmYTY2
|
14
|
+
MDIxOGE1ZjcyMTdlNWEwZDVkN2EyMmEzZTc2MjVmY2JkYTgyZGVlNzNiOTAy
|
15
|
+
NzI2MDE1OTMyMWJlZmNkMTA2Y2ViMjM5NmU5MDFiMTgwNTgxYjQ=
|
data/.travis.yml
CHANGED
data/GUIDE.md
CHANGED
@@ -169,6 +169,12 @@ end
|
|
169
169
|
book.write '/path/to/output/excel-file.xls'
|
170
170
|
```
|
171
171
|
|
172
|
+
Or you can directly access the cell that you want and add your text on it:
|
173
|
+
|
174
|
+
```ruby
|
175
|
+
sheet.rows[2][1] = "X"
|
176
|
+
```
|
177
|
+
|
172
178
|
## Date and DateTime
|
173
179
|
Excel does not know a separate Datatype for Dates. Instead it encodes Dates
|
174
180
|
into standard floating-point numbers and recognizes a Date-Cell by its
|
@@ -317,7 +323,7 @@ Again, you will have to manually uninstall the spreadsheet-excel library.
|
|
317
323
|
|
318
324
|
If you perform fancy formatting, you may run into trouble as the
|
319
325
|
Format implementation has changed considerably. If that is the case, please
|
320
|
-
drop me a line at
|
326
|
+
drop me a line at "zdavatz at ywesee dot com" and I will try to help you. Don't
|
321
327
|
forget to include the offending code-snippet!
|
322
328
|
|
323
329
|
All compatibility code is deprecated and will be removed in version 1.0.0
|
data/Gemfile
CHANGED
data/History.md
CHANGED
data/README.md
CHANGED
@@ -1,10 +1,7 @@
|
|
1
|
-
Forked to continue comment extraction based on andrewinkelmann's fork
|
2
|
-
|
3
|
-
|
4
|
-
Last Update: 31.05.2013 - Zeno R.R. Davatz
|
5
|
-
|
6
1
|
# Spreadsheet
|
7
2
|
|
3
|
+
[](http://travis-ci.org/zdavatz/spreadsheet)
|
4
|
+
|
8
5
|
https://github.com/zdavatz/spreadsheet
|
9
6
|
|
10
7
|
The Mailing List can be found here:
|
@@ -34,10 +34,10 @@ module Internals
|
|
34
34
|
866 => "IBM866", #(Cyrillic (Russian))
|
35
35
|
869 => "IBM869", #(Greek (Modern))
|
36
36
|
874 => "WINDOWS-874", #(Thai)
|
37
|
-
932 => "
|
38
|
-
936 => "
|
39
|
-
949 => "
|
40
|
-
950 => "
|
37
|
+
932 => "Windows-31J", #(Japanese Shift-JIS)
|
38
|
+
936 => "GBK", #(Chinese Simplified GBK)
|
39
|
+
949 => "CP949", #(Korean (Wansung))
|
40
|
+
950 => "CP950", #(Chinese Traditional BIG5)
|
41
41
|
1200 => "UTF-16LE", #(BIFF8)
|
42
42
|
1250 => "WINDOWS-1250", #(Latin II) (Central European)
|
43
43
|
1251 => "WINDOWS-1251", #(Cyrillic)
|
@@ -380,9 +380,9 @@ module Internals
|
|
380
380
|
:wsbool => 0x0081, # ○ WSBOOL ➜ 6.113
|
381
381
|
:defcolwidth => 0x0055, # ○ DEFCOLWIDTH ➜ 6.29
|
382
382
|
:sort => 0x0090, # ○ SORT ➜ 6.95
|
383
|
-
:note => 0x001c,
|
384
|
-
:obj => 0x005d,
|
385
|
-
:drawing => 0x00EC,
|
383
|
+
:note => 0x001c,
|
384
|
+
:obj => 0x005d,
|
385
|
+
:drawing => 0x00EC,
|
386
386
|
:txo => 0x01B6,
|
387
387
|
}
|
388
388
|
=begin ## unknown opcodes
|
@@ -441,7 +441,7 @@ module Internals
|
|
441
441
|
0x0d => :slanted_medium_dash_dotted
|
442
442
|
}
|
443
443
|
# ensure reader always gets a valid line style
|
444
|
-
XF_BORDER_LINE_STYLES.default = :none
|
444
|
+
XF_BORDER_LINE_STYLES.default = :none
|
445
445
|
SELYTS_ENIL_REDROB_FX = XF_BORDER_LINE_STYLES.invert
|
446
446
|
SELYTS_ENIL_REDROB_FX.default = 0x00
|
447
447
|
OPCODE_SIZE = 4
|
data/lib/spreadsheet.rb
CHANGED
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: 0.9.
|
4
|
+
version: 0.9.8
|
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-
|
11
|
+
date: 2014-08-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: ruby-ole
|
@@ -170,7 +170,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
170
170
|
version: '0'
|
171
171
|
requirements: []
|
172
172
|
rubyforge_project: spreadsheet
|
173
|
-
rubygems_version: 2.
|
173
|
+
rubygems_version: 2.3.0
|
174
174
|
signing_key:
|
175
175
|
specification_version: 4
|
176
176
|
summary: ''
|