spreadsheet 0.9.6 → 0.9.7

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,15 @@
1
+ ---
2
+ !binary "U0hBMQ==":
3
+ metadata.gz: !binary |-
4
+ NTY2Mjk5NmRiYmUwZTg4MmM2ZDk4M2JkNWUwM2E2ZGZiNGFjZTdkMw==
5
+ data.tar.gz: !binary |-
6
+ NmNhMmFkYTA1ZDkyZThhMTUzYjkzOGQzYTA4NTFmODU2Y2E4ZTA5Mw==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ ZTE2NmE1MGYzNDhhN2VlYmRhY2VjNjAxZDZjZjk3NTQzNTBmYjJjYWI5ZTFh
10
+ MDA1OTExNWY3ZDBiZGI4MTc3MjliNmEyNjhiYjhjOWE1YzJkNTg2YTczZTQ2
11
+ ZWI4MWFjNDA1MWI0NGM1MjBjYzY4OGVmMjY3YzEwYWJlMzVhNTQ=
12
+ data.tar.gz: !binary |-
13
+ OTAwMzI1ODk5NTlmNzI0MWU3MmNlYjIyNGEyYzFhYjkzZjE0MWYyNjdlNGUw
14
+ MTAyYTliMTkzOWZjMTFlZDQ3NmNjODY1MThiZjc4NTc2YjA3OTllZTQ5ZjU0
15
+ ZWQyMDE4MzllZGQ5NzI0OTg0NzcwNTQ4ZGUwMWFmM2NjZGEyMWQ=
data/Gemfile CHANGED
@@ -1,9 +1,7 @@
1
1
  source "https://rubygems.org"
2
2
  gem 'ruby-ole'
3
- gem 'spreadsheet'
4
3
 
5
4
  group :development do
6
5
  gem 'ruby-ole'
7
6
  gem 'hoe', '>= 3.4'
8
- gem 'spreadsheet'
9
7
  end
data/Gemfile.lock CHANGED
@@ -5,8 +5,6 @@ GEM
5
5
  rake (>= 0.8, < 11.0)
6
6
  rake (10.1.0)
7
7
  ruby-ole (1.2.11.7)
8
- spreadsheet (0.8.9)
9
- ruby-ole (>= 1.0)
10
8
 
11
9
  PLATFORMS
12
10
  ruby
@@ -14,4 +12,3 @@ PLATFORMS
14
12
  DEPENDENCIES
15
13
  hoe (>= 3.4)
16
14
  ruby-ole
17
- spreadsheet
data/History.md CHANGED
@@ -1,3 +1,11 @@
1
+ ### 0.9.7 / 04.02.2014
2
+
3
+ * Avoid exception when reading text objects
4
+ * Add test for drawings with text (currenty broken)
5
+ * Restore xlsopcodes script which had been mangled in previous commits
6
+ * Remove ruby 1.9 from roadmap, it's already working fine
7
+ * Fix excel file format documentation which had been mangled in previous commits
8
+
1
9
  ### 0.9.6 / 02.12.2013
2
10
 
3
11
  Author: Malcolm Blyth <trashbat@co.ck>
data/Manifest.txt CHANGED
@@ -66,6 +66,7 @@ test/data/test_merged_and_protected.xls
66
66
  test/data/test_merged_cells.xls
67
67
  test/data/test_missing_row.xls
68
68
  test/data/test_pagesetup.xls
69
+ test/data/test_text_drawing.xls
69
70
  test/data/test_version_excel5.xls
70
71
  test/data/test_version_excel95.xls
71
72
  test/data/test_version_excel97.xls
data/README.md CHANGED
@@ -60,7 +60,6 @@ Floats returned for any number.
60
60
  * Formula Support
61
61
  * Document Modification: Formulas
62
62
  * Write-Support: BIFF5
63
- * Ruby 1.9 Support;
64
63
  * Remove backward compatibility code
65
64
 
66
65
  Note: Spreadsheet supports Ruby 1.8.6, 1.8.7, 1.9.2, 1.9.3
@@ -70,7 +69,6 @@ You will get a deprecated warning about iconv when using spreadsheet with Ruby
70
69
 
71
70
  ## Dependencies
72
71
 
73
- * ruby 1.8
74
72
  * [ruby-ole](http://code.google.com/p/ruby-ole/)
75
73
 
76
74
 
data/excelfileformat.pdf CHANGED
Binary file
data/lib/spreadsheet.rb CHANGED
@@ -43,7 +43,7 @@ module Spreadsheet
43
43
 
44
44
  ##
45
45
  # The version of Spreadsheet you are using.
46
- VERSION = '0.9.6'
46
+ VERSION = '0.9.7'
47
47
 
48
48
  ##
49
49
  # Default client Encoding. Change this value if your application uses a
@@ -903,7 +903,7 @@ class Reader
903
903
  #p work
904
904
  end
905
905
  when :continue # this contains the actual note text
906
- if previous == :txo
906
+ if previous == :txo && @noteObject
907
907
  #puts "\nDEBUG: found Continue record"
908
908
  continueFmt = work.unpack('C')
909
909
  if (continueFmt.first == 0)
data/spreadsheet.gemspec CHANGED
@@ -1,6 +1,8 @@
1
+ require File.join(File.dirname(__FILE__), 'lib', 'spreadsheet')
2
+
1
3
  spec = Gem::Specification.new do |s|
2
4
  s.name = "spreadsheet"
3
- s.version = "0.9.5"
5
+ s.version = Spreadsheet::VERSION
4
6
  s.summary = "The Spreadsheet Library is designed to read and write Spreadsheet Documents"
5
7
  s.description = "As of version 0.6.0, only Microsoft Excel compatible spreadsheets are supported"
6
8
  s.author = "Masaomi Hatakeyama, Zeno R.R. Davatz"
Binary file
data/test/integration.rb CHANGED
@@ -1365,6 +1365,13 @@ module Spreadsheet
1365
1365
  assert_equal(:visible, book2.worksheet(1).visibility)
1366
1366
  end
1367
1367
 
1368
+ def test_text_drawing
1369
+ path = File.join @data, 'test_text_drawing.xls'
1370
+ book = Spreadsheet.open path
1371
+ assert_nothing_raised do
1372
+ book.worksheet(0).row(0)
1373
+ end
1374
+ end
1368
1375
  private
1369
1376
 
1370
1377
  # Validates the workbook's SST
metadata CHANGED
@@ -1,20 +1,18 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: spreadsheet
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.6
5
- prerelease:
4
+ version: 0.9.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Masaomi Hatakeyama, Zeno R.R. Davatz
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2013-12-02 00:00:00.000000000 Z
11
+ date: 2014-02-04 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: ruby-ole
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
17
  - - ! '>='
20
18
  - !ruby/object:Gem::Version
@@ -22,7 +20,6 @@ dependencies:
22
20
  type: :runtime
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
24
  - - ! '>='
28
25
  - !ruby/object:Gem::Version
@@ -30,7 +27,6 @@ dependencies:
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rdoc
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
31
  - - ~>
36
32
  - !ruby/object:Gem::Version
@@ -38,7 +34,6 @@ dependencies:
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
38
  - - ~>
44
39
  - !ruby/object:Gem::Version
@@ -46,7 +41,6 @@ dependencies:
46
41
  - !ruby/object:Gem::Dependency
47
42
  name: hoe
48
43
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
44
  requirements:
51
45
  - - ~>
52
46
  - !ruby/object:Gem::Version
@@ -54,7 +48,6 @@ dependencies:
54
48
  type: :development
55
49
  prerelease: false
56
50
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
51
  requirements:
59
52
  - - ~>
60
53
  - !ruby/object:Gem::Version
@@ -69,6 +62,7 @@ extra_rdoc_files:
69
62
  - LICENSE.txt
70
63
  - Manifest.txt
71
64
  files:
65
+ - .gemtest
72
66
  - .gitignore
73
67
  - .travis.yml
74
68
  - Excel97-2007BinaryFileFormatSpecification.pdf
@@ -137,6 +131,7 @@ files:
137
131
  - test/data/test_merged_cells.xls
138
132
  - test/data/test_missing_row.xls
139
133
  - test/data/test_pagesetup.xls
134
+ - test/data/test_text_drawing.xls
140
135
  - test/data/test_version_excel5.xls
141
136
  - test/data/test_version_excel95.xls
142
137
  - test/data/test_version_excel97.xls
@@ -154,9 +149,9 @@ files:
154
149
  - test/workbook.rb
155
150
  - test/workbook_protection.rb
156
151
  - test/worksheet.rb
157
- - .gemtest
158
152
  homepage:
159
153
  licenses: []
154
+ metadata: {}
160
155
  post_install_message:
161
156
  rdoc_options:
162
157
  - --main
@@ -164,21 +159,19 @@ rdoc_options:
164
159
  require_paths:
165
160
  - lib
166
161
  required_ruby_version: !ruby/object:Gem::Requirement
167
- none: false
168
162
  requirements:
169
163
  - - ! '>='
170
164
  - !ruby/object:Gem::Version
171
165
  version: '0'
172
166
  required_rubygems_version: !ruby/object:Gem::Requirement
173
- none: false
174
167
  requirements:
175
168
  - - ! '>='
176
169
  - !ruby/object:Gem::Version
177
170
  version: '0'
178
171
  requirements: []
179
172
  rubyforge_project: spreadsheet
180
- rubygems_version: 1.8.25
173
+ rubygems_version: 2.2.1
181
174
  signing_key:
182
- specification_version: 3
175
+ specification_version: 4
183
176
  summary: ''
184
177
  test_files: []