xlsx_writer 0.4.0 → 0.4.1

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
+ ZmU0NDJmNzRkNTEzZDc2NWMwMzk2ZGNmMzEwYmIzMjYzOGIzMDk5Yg==
5
+ data.tar.gz: !binary |-
6
+ YzZlMTkxOWVkOGNlYzk1NGI3ZWFjNTNiNjU1OThhMzM3ZjFjOGE4ZA==
7
+ SHA512:
8
+ metadata.gz: !binary |-
9
+ NmRmMGE0ZDVkY2VmYTJiNDgyODU3Zjc1ZmIwNWEyYzY2ZjU1Zjk1MTk0ZmY4
10
+ OWFhOGYwNTY3ZWUxOWI4ZTlhYjI1YzgxZjVhMmQ5Nzg1NDAyNjNiMjg2M2U3
11
+ NDQ4MGRmZDFmYmRhY2YyYmU3ZDRmMzk1MmNiMmQyOTdmMjEyYmI=
12
+ data.tar.gz: !binary |-
13
+ NGNhMGVkZDc3NTkzN2ExYzVjNThjZjhmYWE1YjJlMzA3NGQyYTg5MTc2NmY4
14
+ NTdiZjZjNjdlYmQwNTA5OGRkODgyMGJiYjUzMjM0ODZjNjQ5NzZkMDQyMGE1
15
+ NGFlZjA3MDMxNjc4Y2ZkYWNmYjhhMmZiZDIwMWVlZjU0YjgyNTc=
data/CHANGELOG CHANGED
@@ -1,3 +1,10 @@
1
+ 0.4.1 / 2013-10-29
2
+
3
+ * Bug fixes
4
+
5
+ * Don't treat "false" (String) as true in a boolean column thanks @igagnidz in https://github.com/seamusabshere/xlsx_writer/pull/4
6
+ * Now you should be able to scroll the bottom pane (below the autofilters)
7
+
1
8
  0.4.0 / 2012-07-19
2
9
 
3
10
  * Enhancements
data/foo.rb CHANGED
@@ -19,8 +19,7 @@ require 'xlsx_writer'
19
19
  # @sheet1.add_autofilter 'A1:B1'
20
20
 
21
21
  @sheet2 = @doc.add_sheet("Sheet2")
22
- @sheet2.add_row(['one', 'two'])
23
- @sheet2.add_row(['a', 1])
22
+ @sheet2.add_row(['a', 'a'])
24
23
  @sheet2.add_row(['false1', false])
25
24
  @sheet2.add_row(['false2', {:value => false, :type => :Boolean}])
26
25
  @sheet2.add_row(['false3', 'faLse'])
@@ -110,7 +110,7 @@ class XlsxWriter
110
110
  (value.to_date - JAN_1_1900.to_date).to_i
111
111
  end
112
112
  when :Boolean
113
- value ? 1 : 0
113
+ value.to_s.downcase == 'true' ? 1 : 0
114
114
  else
115
115
  value.fast_xs
116
116
  end
@@ -59,7 +59,7 @@ EOS
59
59
  f.write <<-EOS
60
60
  <sheetViews>
61
61
  <sheetView workbookViewId="0">
62
- <pane ySplit="#{y_split}" topLeftCell="#{freeze_top_left}" activePane="topLeft" state="frozen"/>
62
+ <pane ySplit="#{y_split}" topLeftCell="#{freeze_top_left}" activePane="bottomLeft" state="frozen"/>
63
63
  </sheetView>
64
64
  </sheetViews>
65
65
  EOS
@@ -1,3 +1,3 @@
1
1
  class XlsxWriter
2
- VERSION = '0.4.0'
2
+ VERSION = '0.4.1'
3
3
  end
metadata CHANGED
@@ -1,8 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xlsx_writer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
5
- prerelease:
4
+ version: 0.4.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Dee Zsombor
@@ -11,12 +10,11 @@ authors:
11
10
  autorequire:
12
11
  bindir: bin
13
12
  cert_chain: []
14
- date: 2012-07-19 00:00:00.000000000 Z
13
+ date: 2013-10-29 00:00:00.000000000 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: activesupport
18
17
  requirement: !ruby/object:Gem::Requirement
19
- none: false
20
18
  requirements:
21
19
  - - ! '>='
22
20
  - !ruby/object:Gem::Version
@@ -24,7 +22,6 @@ dependencies:
24
22
  type: :runtime
25
23
  prerelease: false
26
24
  version_requirements: !ruby/object:Gem::Requirement
27
- none: false
28
25
  requirements:
29
26
  - - ! '>='
30
27
  - !ruby/object:Gem::Version
@@ -32,7 +29,6 @@ dependencies:
32
29
  - !ruby/object:Gem::Dependency
33
30
  name: fast_xs
34
31
  requirement: !ruby/object:Gem::Requirement
35
- none: false
36
32
  requirements:
37
33
  - - ! '>='
38
34
  - !ruby/object:Gem::Version
@@ -40,7 +36,6 @@ dependencies:
40
36
  type: :runtime
41
37
  prerelease: false
42
38
  version_requirements: !ruby/object:Gem::Requirement
43
- none: false
44
39
  requirements:
45
40
  - - ! '>='
46
41
  - !ruby/object:Gem::Version
@@ -48,7 +43,6 @@ dependencies:
48
43
  - !ruby/object:Gem::Dependency
49
44
  name: unix_utils
50
45
  requirement: !ruby/object:Gem::Requirement
51
- none: false
52
46
  requirements:
53
47
  - - ! '>='
54
48
  - !ruby/object:Gem::Version
@@ -56,7 +50,6 @@ dependencies:
56
50
  type: :runtime
57
51
  prerelease: false
58
52
  version_requirements: !ruby/object:Gem::Requirement
59
- none: false
60
53
  requirements:
61
54
  - - ! '>='
62
55
  - !ruby/object:Gem::Version
@@ -64,7 +57,6 @@ dependencies:
64
57
  - !ruby/object:Gem::Dependency
65
58
  name: minitest
66
59
  requirement: !ruby/object:Gem::Requirement
67
- none: false
68
60
  requirements:
69
61
  - - ! '>='
70
62
  - !ruby/object:Gem::Version
@@ -72,7 +64,6 @@ dependencies:
72
64
  type: :development
73
65
  prerelease: false
74
66
  version_requirements: !ruby/object:Gem::Requirement
75
- none: false
76
67
  requirements:
77
68
  - - ! '>='
78
69
  - !ruby/object:Gem::Version
@@ -80,7 +71,6 @@ dependencies:
80
71
  - !ruby/object:Gem::Dependency
81
72
  name: minitest-reporters
82
73
  requirement: !ruby/object:Gem::Requirement
83
- none: false
84
74
  requirements:
85
75
  - - ! '>='
86
76
  - !ruby/object:Gem::Version
@@ -88,7 +78,6 @@ dependencies:
88
78
  type: :development
89
79
  prerelease: false
90
80
  version_requirements: !ruby/object:Gem::Requirement
91
- none: false
92
81
  requirements:
93
82
  - - ! '>='
94
83
  - !ruby/object:Gem::Version
@@ -96,7 +85,6 @@ dependencies:
96
85
  - !ruby/object:Gem::Dependency
97
86
  name: yard
98
87
  requirement: !ruby/object:Gem::Requirement
99
- none: false
100
88
  requirements:
101
89
  - - ! '>='
102
90
  - !ruby/object:Gem::Version
@@ -104,7 +92,6 @@ dependencies:
104
92
  type: :development
105
93
  prerelease: false
106
94
  version_requirements: !ruby/object:Gem::Requirement
107
- none: false
108
95
  requirements:
109
96
  - - ! '>='
110
97
  - !ruby/object:Gem::Version
@@ -112,7 +99,6 @@ dependencies:
112
99
  - !ruby/object:Gem::Dependency
113
100
  name: remote_table
114
101
  requirement: !ruby/object:Gem::Requirement
115
- none: false
116
102
  requirements:
117
103
  - - ! '>='
118
104
  - !ruby/object:Gem::Version
@@ -120,7 +106,6 @@ dependencies:
120
106
  type: :development
121
107
  prerelease: false
122
108
  version_requirements: !ruby/object:Gem::Requirement
123
- none: false
124
109
  requirements:
125
110
  - - ! '>='
126
111
  - !ruby/object:Gem::Version
@@ -128,7 +113,6 @@ dependencies:
128
113
  - !ruby/object:Gem::Dependency
129
114
  name: ruby-decimal
130
115
  requirement: !ruby/object:Gem::Requirement
131
- none: false
132
116
  requirements:
133
117
  - - ! '>='
134
118
  - !ruby/object:Gem::Version
@@ -136,7 +120,6 @@ dependencies:
136
120
  type: :development
137
121
  prerelease: false
138
122
  version_requirements: !ruby/object:Gem::Requirement
139
- none: false
140
123
  requirements:
141
124
  - - ! '>='
142
125
  - !ruby/object:Gem::Version
@@ -197,27 +180,26 @@ files:
197
180
  - xlsx_writer.gemspec
198
181
  homepage: https://github.com/seamusabshere/xlsx_writer
199
182
  licenses: []
183
+ metadata: {}
200
184
  post_install_message:
201
185
  rdoc_options: []
202
186
  require_paths:
203
187
  - lib
204
188
  required_ruby_version: !ruby/object:Gem::Requirement
205
- none: false
206
189
  requirements:
207
190
  - - ! '>='
208
191
  - !ruby/object:Gem::Version
209
192
  version: '0'
210
193
  required_rubygems_version: !ruby/object:Gem::Requirement
211
- none: false
212
194
  requirements:
213
195
  - - ! '>='
214
196
  - !ruby/object:Gem::Version
215
197
  version: '0'
216
198
  requirements: []
217
199
  rubyforge_project:
218
- rubygems_version: 1.8.24
200
+ rubygems_version: 2.1.5
219
201
  signing_key:
220
- specification_version: 3
202
+ specification_version: 4
221
203
  summary: Writes XLSX files. Minimal XML and style. Supports autofilters and headers/footers
222
204
  with images and page numbers.
223
205
  test_files: