Spreadsheet-HTML 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 612af177715bcdf3a5a7f501b589e6e024510584
4
- data.tar.gz: 70722e9638560cbe20a7009ec90cc71d5739dc29
3
+ metadata.gz: 0e87db33e8727739ce5668df43966c13b234f225
4
+ data.tar.gz: 6b0159e16c415c243f2126d949cb09340416d3b6
5
5
  SHA512:
6
- metadata.gz: c18b62c5538242233732ec5ef6220c08a05fd39f7cbc4e3d3492b6fab0de584cd04195b49aff3aeea0adda670b0c5b2e5be2b7025168738b3b4d1d1a2ad7beba
7
- data.tar.gz: f4ae6f8eb48f98b519cc75317849df37e09cecf8e4cbe18bee880c98532cf452e429f0e81de9cf89f56e9b5ed0a41cf430eca775e78564384fe1da2ab12ee634
6
+ metadata.gz: 078110fcafb731b0a6ee6e50b434be8f898941e7f6f708a130c46c5d0d2e3286306fc4825953edba38259e41341f8afc4b68238b27e1dcfe752a814677568f3a
7
+ data.tar.gz: 860d40235b72163de7cfddcb6f3eefbb37e6e82e673582af685774134a583ac8a2dc0423af491e6b418117da1445632d30a20ae228125b8aed1096140eed79c0
data/Changes CHANGED
@@ -1,5 +1,8 @@
1
1
  Revision history for html-autotag-ruby
2
2
 
3
+ 0.0.4
4
+ - added docs location to gemspec
5
+
3
6
  0.0.3
4
7
  - added docs (hopefully in the right place)
5
8
 
@@ -17,6 +17,7 @@ Gem::Specification.new do |spec|
17
17
  spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
+ spec.extra_rdoc_files = Dir['doc/*.rdoc']
20
21
 
21
22
  spec.add_development_dependency "bundler", "~> 1.3"
22
23
  spec.add_development_dependency 'rake'
data/doc/HTML.rdoc CHANGED
@@ -75,6 +75,10 @@ level
75
75
  empty
76
76
  String. Render any empty cells with this value. Defaults to &nbps;
77
77
 
78
+ encodes
79
+ Boolean. Uses htmlentities rubygem to encode any HTML entities found in a cell's data.
80
+ (TODO: this value will be a string containing the characters to HTML encode.)
81
+
78
82
  matrix
79
83
  Boolean. Render the headings row with only <td> tags, no <th> tags.
80
84
 
@@ -90,6 +94,10 @@ flip
90
94
  Flips the table horizontally from the perspective of the headings "row" by
91
95
  negating the value of theta.
92
96
 
97
+ pinhead
98
+ Works in conjunction with theta to ensure reporting readability. Without it, south() and east()
99
+ would have data cells arranged in reverse order.
100
+
93
101
  == Dynamic Parameters
94
102
  There currently are no Dynamic Parameters, but they will be implemented soon enough.
95
103
  They will allow the client to modify headings by name and row/columns by their indices.
@@ -1,5 +1,5 @@
1
1
  module Spreadsheet
2
2
  class HTML
3
- VERSION = "0.0.3"
3
+ VERSION = "0.0.4"
4
4
  end
5
5
  end
data/readme.md CHANGED
@@ -17,9 +17,13 @@ puts generator.generate( data )
17
17
  puts generator.generate( 'data' => data )
18
18
 
19
19
  generator = Spreadsheet::HTML.new( 'data' => data )
20
- puts generator.portrait()
21
- puts generator.landscape()
20
+ puts generator.portrait( 'indent' => "\t" )
21
+ puts generator.landscape( 'encodes' => 1 )
22
22
 
23
+ puts generator.generate( 'tgroups' => 1 )
24
+ puts generator.generate( 'tgroups' => 2 )
25
+
26
+ puts generator.generate( 'tr' => { 'class' => %w{ odd even } } )
23
27
  ```
24
28
 
25
29
  Installation
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Spreadsheet-HTML
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - jeffa
@@ -63,7 +63,8 @@ email:
63
63
  - jeffa@cpan.org
64
64
  executables: []
65
65
  extensions: []
66
- extra_rdoc_files: []
66
+ extra_rdoc_files:
67
+ - doc/HTML.rdoc
67
68
  files:
68
69
  - ".gitignore"
69
70
  - ".travis.yml"