tangofoxtrot-table_helper 0.2.2
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.
- data/CHANGELOG.rdoc +45 -0
- data/LICENSE +20 -0
- data/README.rdoc +171 -0
- data/Rakefile +96 -0
- data/init.rb +1 -0
- data/lib/table_helper.rb +211 -0
- data/lib/table_helper/body.rb +113 -0
- data/lib/table_helper/body_row.rb +74 -0
- data/lib/table_helper/cell.rb +60 -0
- data/lib/table_helper/collection_table.rb +138 -0
- data/lib/table_helper/footer.rb +52 -0
- data/lib/table_helper/header.rb +109 -0
- data/lib/table_helper/html_element.rb +42 -0
- data/lib/table_helper/row.rb +110 -0
- data/test/app_root/app/models/person.rb +2 -0
- data/test/app_root/db/migrate/001_create_people.rb +11 -0
- data/test/helpers/table_helper_test.rb +45 -0
- data/test/test_helper.rb +14 -0
- data/test/unit/body_row_test.rb +155 -0
- data/test/unit/body_test.rb +299 -0
- data/test/unit/cell_test.rb +126 -0
- data/test/unit/collection_table_test.rb +228 -0
- data/test/unit/footer_test.rb +110 -0
- data/test/unit/header_test.rb +270 -0
- data/test/unit/html_element_test.rb +74 -0
- data/test/unit/row_builder_test.rb +55 -0
- data/test/unit/row_test.rb +204 -0
- metadata +97 -0
metadata
ADDED
@@ -0,0 +1,97 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tangofoxtrot-table_helper
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.2.2
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Aaron Pfeifer
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
|
12
|
+
date: 2009-08-12 00:00:00 -07:00
|
13
|
+
default_executable:
|
14
|
+
dependencies: []
|
15
|
+
|
16
|
+
description: Adds a helper method for generating HTML tables from collections in Rails
|
17
|
+
email: aaron@pluginaweek.org
|
18
|
+
executables: []
|
19
|
+
|
20
|
+
extensions: []
|
21
|
+
|
22
|
+
extra_rdoc_files: []
|
23
|
+
|
24
|
+
files:
|
25
|
+
- lib/table_helper
|
26
|
+
- lib/table_helper/body.rb
|
27
|
+
- lib/table_helper/body_row.rb
|
28
|
+
- lib/table_helper/cell.rb
|
29
|
+
- lib/table_helper/collection_table.rb
|
30
|
+
- lib/table_helper/footer.rb
|
31
|
+
- lib/table_helper/header.rb
|
32
|
+
- lib/table_helper/html_element.rb
|
33
|
+
- lib/table_helper/row.rb
|
34
|
+
- lib/table_helper.rb
|
35
|
+
- test/app_root
|
36
|
+
- test/app_root/app
|
37
|
+
- test/app_root/app/models
|
38
|
+
- test/app_root/app/models/person.rb
|
39
|
+
- test/app_root/db
|
40
|
+
- test/app_root/db/migrate
|
41
|
+
- test/app_root/db/migrate/001_create_people.rb
|
42
|
+
- test/helpers
|
43
|
+
- test/helpers/table_helper_test.rb
|
44
|
+
- test/test_helper.rb
|
45
|
+
- test/unit
|
46
|
+
- test/unit/body_row_test.rb
|
47
|
+
- test/unit/body_test.rb
|
48
|
+
- test/unit/cell_test.rb
|
49
|
+
- test/unit/collection_table_test.rb
|
50
|
+
- test/unit/footer_test.rb
|
51
|
+
- test/unit/header_test.rb
|
52
|
+
- test/unit/html_element_test.rb
|
53
|
+
- test/unit/row_builder_test.rb
|
54
|
+
- test/unit/row_test.rb
|
55
|
+
- CHANGELOG.rdoc
|
56
|
+
- init.rb
|
57
|
+
- LICENSE
|
58
|
+
- Rakefile
|
59
|
+
- README.rdoc
|
60
|
+
has_rdoc: true
|
61
|
+
homepage: http://www.pluginaweek.org
|
62
|
+
licenses:
|
63
|
+
post_install_message:
|
64
|
+
rdoc_options: []
|
65
|
+
|
66
|
+
require_paths:
|
67
|
+
- lib
|
68
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
69
|
+
requirements:
|
70
|
+
- - ">="
|
71
|
+
- !ruby/object:Gem::Version
|
72
|
+
version: "0"
|
73
|
+
version:
|
74
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
75
|
+
requirements:
|
76
|
+
- - ">="
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: "0"
|
79
|
+
version:
|
80
|
+
requirements: []
|
81
|
+
|
82
|
+
rubyforge_project: pluginaweek
|
83
|
+
rubygems_version: 1.3.5
|
84
|
+
signing_key:
|
85
|
+
specification_version: 2
|
86
|
+
summary: Adds a helper method for generating HTML tables from collections in Rails
|
87
|
+
test_files:
|
88
|
+
- test/helpers/table_helper_test.rb
|
89
|
+
- test/unit/body_row_test.rb
|
90
|
+
- test/unit/body_test.rb
|
91
|
+
- test/unit/cell_test.rb
|
92
|
+
- test/unit/collection_table_test.rb
|
93
|
+
- test/unit/footer_test.rb
|
94
|
+
- test/unit/header_test.rb
|
95
|
+
- test/unit/html_element_test.rb
|
96
|
+
- test/unit/row_builder_test.rb
|
97
|
+
- test/unit/row_test.rb
|