table_setter 0.1.5 → 0.1.6

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/VERSION.yml CHANGED
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :minor: 1
3
- :patch: 5
4
- :major: 0
5
3
  :build:
4
+ :patch: 6
5
+ :major: 0
@@ -209,14 +209,26 @@ script/generate table-setter</pre>
209
209
  How to deploy a rack app in heroku.</li>
210
210
  <li><a href="http://github.com/propublica/table-fu/issues">Issues</a><br>
211
211
  The github issue tracker. Post bug reports and feature requests here.</li>
212
- <li><a href="http://www.yaml.org/">YAML</a>
212
+ <li><a href="http://www.yaml.org/">YAML</a><br>
213
213
  The YAML homepage. <strong>TableSetter</strong> config files are YAML files.
214
214
  </li>
215
215
  <li><a href="doc/index.html">API Docs</a></li>
216
+ <li><a href="http://www.pbs.org/newshour/interactive/static/tables/health-states/">In the Wild: PBS NewsHour</a><br>
217
+ A state by state breakdown of legislative challenges to health care reform.
218
+ </li>
219
+ <li>
220
+ <a href="http://media.apps.chicagotribune.com/tables/speed.html">In the Wild: Chicago Tribune</a><br>
221
+ A table showing leniency rates of Chicago area judges in speeding cases.
222
+
223
+ </li>
216
224
  </ul>
217
225
  <h2><a id="credits" href="#toc">Credits</a></h2>
218
- <p><a href="http://github.com/thejefflarson">Jeff Larson</a> (Maintainer), <a href="http://github.com/brianboyer/">Brian Boyer</a>, <a href="http://github.com/kleinmatic">Scott Klein</a>, <a href="http://github.com/markpercival">Mark Percival</a>, and <a href="http://github.com/seebq">Charles Brian Quinn</a>.</p>
226
+ <p><a href="http://github.com/thejefflarson">Jeff Larson</a> (Maintainer), <a href="http://github.com/brianboyer/">Brian Boyer</a>, <a href="http://github.com/kleinmatic">Scott Klein</a>, <a href="http://github.com/markpercival">Mark Percival</a>, <a href="http://github.com/seebq">Charles Brian Quinn</a>, and <a href="http://github.com/bouvard">Christopher Groskopf</a>.</p>
219
227
  <h2><a id="changes" href="#toc">Change Log</a></h2>
228
+ <strong>1.6</strong>
229
+ <p>Fix in <strong>build_assets</strong> in command.rb, via <a href="http://github.com/propublica/table-setter/commit/2dd207d57eda4d78520b8a5fa99e6e085952206a">Christopher Groskopf</a></p>
230
+ <strong>1.5</strong>
231
+ <p>Bugfixes.</p>
220
232
  <strong>1.4</strong>
221
233
  <p>Javascript fixes and thin added as a dependency.</p>
222
234
  <strong>1.3</strong>
data/index.html CHANGED
@@ -8,7 +8,7 @@
8
8
  </head>
9
9
  <body>
10
10
  <a href="http://www.propublica.org" class="propublica">&nbsp;</a>
11
- <h1>TableSetter <small>&ndash; Version: 0.1.4</small></h1>
11
+ <h1>TableSetter <small>&ndash; Version: 0.1.6</small></h1>
12
12
  <p><a href="https://github.com/propublica/table-setter">TableSetter</a> is a Ruby app that provides an easy way to present CSVs hosted locally or remotely (e.g. on google, etc) in custom HTML. TableSetter in the wild: <a href="http://projects.propublica.org/tables/failed-banks">a list of all stimulus projects from last year</a>, <a href="http://projects.propublica.org/tables/stimulus-spending-progress">the stimulus spending progress</a>, or <a href="http://projects.propublica.org/tables/failed-banks">a list of failed banks due to the last recession</a>.</p>
13
13
  <p>Each table is filterable and sortable on multiple columns. Also each column can be formatted in one of many different styles. In production mode, <strong>TableSetter</strong> provides valid expires headers and can be coupled with an upstream cache like <a href="http://rtomayko.github.com/rack-cache/">Rack::Cache</a> or varnish for speedy presentation.</p>
14
14
  <h2><a id="toc">Table of Contents</a></h2>
@@ -206,14 +206,26 @@ script/generate table-setter</pre>
206
206
  How to deploy a rack app in heroku.</li>
207
207
  <li><a href="http://github.com/propublica/table-fu/issues">Issues</a><br>
208
208
  The github issue tracker. Post bug reports and feature requests here.</li>
209
- <li><a href="http://www.yaml.org/">YAML</a>
209
+ <li><a href="http://www.yaml.org/">YAML</a><br>
210
210
  The YAML homepage. <strong>TableSetter</strong> config files are YAML files.
211
211
  </li>
212
212
  <li><a href="doc/index.html">API Docs</a></li>
213
+ <li><a href="http://www.pbs.org/newshour/interactive/static/tables/health-states/">In the Wild: PBS NewsHour</a><br>
214
+ A state by state breakdown of legislative challenges to health care reform.
215
+ </li>
216
+ <li>
217
+ <a href="http://media.apps.chicagotribune.com/tables/speed.html">In the Wild: Chicago Tribune</a><br>
218
+ A table showing leniency rates of Chicago area judges in speeding cases.
219
+
220
+ </li>
213
221
  </ul>
214
222
  <h2><a id="credits" href="#toc">Credits</a></h2>
215
- <p><a href="http://github.com/thejefflarson">Jeff Larson</a> (Maintainer), <a href="http://github.com/brianboyer/">Brian Boyer</a>, <a href="http://github.com/kleinmatic">Scott Klein</a>, <a href="http://github.com/markpercival">Mark Percival</a>, and <a href="http://github.com/seebq">Charles Brian Quinn</a>.</p>
223
+ <p><a href="http://github.com/thejefflarson">Jeff Larson</a> (Maintainer), <a href="http://github.com/brianboyer/">Brian Boyer</a>, <a href="http://github.com/kleinmatic">Scott Klein</a>, <a href="http://github.com/markpercival">Mark Percival</a>, <a href="http://github.com/seebq">Charles Brian Quinn</a>, and <a href="http://github.com/bouvard">Christopher Groskopf</a>.</p>
216
224
  <h2><a id="changes" href="#toc">Change Log</a></h2>
225
+ <strong>1.6</strong>
226
+ <p>Fix in <strong>build_assets</strong> in command.rb, via <a href="http://github.com/propublica/table-setter/commit/2dd207d57eda4d78520b8a5fa99e6e085952206a">Christopher Groskopf</a></p>
227
+ <strong>1.5</strong>
228
+ <p>Bugfixes.</p>
217
229
  <strong>1.4</strong>
218
230
  <p>Javascript fixes and thin added as a dependency.</p>
219
231
  <strong>1.3</strong>
@@ -91,7 +91,7 @@ options:
91
91
  end
92
92
 
93
93
  def build_assets
94
- Dir[ROOT + "/template/public/**/*"].each do |path|
94
+ Dir[TableSetter.config_path + "/public/**/*"].each do |path|
95
95
  copy_file path, File.join(path.gsub(ROOT + "/template/public/", "#{@out_dir}/"))
96
96
  end
97
97
  end
data/table_setter.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{table_setter}
8
- s.version = "0.1.5"
8
+ s.version = "0.1.6"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Jeff Larson"]
12
- s.date = %q{2010-03-29}
12
+ s.date = %q{2010-05-03}
13
13
  s.description = %q{A sinatra based app for rendering CSVs hosted on google docs or locally in custom HTML}
14
14
  s.email = %q{thejefflarson@gmail.com}
15
15
  s.executables = ["table-setter", "table-setter"]
@@ -126,7 +126,7 @@ Gem::Specification.new do |s|
126
126
  s.rdoc_options = ["--charset=UTF-8"]
127
127
  s.require_paths = ["lib"]
128
128
  s.rubyforge_project = %q{table-setter}
129
- s.rubygems_version = %q{1.3.5}
129
+ s.rubygems_version = %q{1.3.6}
130
130
  s.summary = %q{A sinatra based app for rendering CSVs in custom HTML}
131
131
  s.test_files = [
132
132
  "spec/spec_helper.rb",
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: table_setter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ prerelease: false
5
+ segments:
6
+ - 0
7
+ - 1
8
+ - 6
9
+ version: 0.1.6
5
10
  platform: ruby
6
11
  authors:
7
12
  - Jeff Larson
@@ -9,89 +14,122 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-03-29 00:00:00 -04:00
17
+ date: 2010-05-03 00:00:00 -04:00
13
18
  default_executable:
14
19
  dependencies:
15
20
  - !ruby/object:Gem::Dependency
16
21
  name: rspec
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
22
+ prerelease: false
23
+ requirement: &id001 !ruby/object:Gem::Requirement
20
24
  requirements:
21
25
  - - ">="
22
26
  - !ruby/object:Gem::Version
27
+ segments:
28
+ - 1
29
+ - 2
30
+ - 9
23
31
  version: 1.2.9
24
- version:
32
+ type: :development
33
+ version_requirements: *id001
25
34
  - !ruby/object:Gem::Dependency
26
35
  name: rack
27
- type: :runtime
28
- version_requirement:
29
- version_requirements: !ruby/object:Gem::Requirement
36
+ prerelease: false
37
+ requirement: &id002 !ruby/object:Gem::Requirement
30
38
  requirements:
31
39
  - - ">="
32
40
  - !ruby/object:Gem::Version
41
+ segments:
42
+ - 1
43
+ - 1
44
+ - 0
33
45
  version: 1.1.0
34
- version:
46
+ type: :runtime
47
+ version_requirements: *id002
35
48
  - !ruby/object:Gem::Dependency
36
49
  name: thin
37
- type: :runtime
38
- version_requirement:
39
- version_requirements: !ruby/object:Gem::Requirement
50
+ prerelease: false
51
+ requirement: &id003 !ruby/object:Gem::Requirement
40
52
  requirements:
41
53
  - - ">="
42
54
  - !ruby/object:Gem::Version
55
+ segments:
56
+ - 1
57
+ - 2
58
+ - 5
43
59
  version: 1.2.5
44
- version:
60
+ type: :runtime
61
+ version_requirements: *id003
45
62
  - !ruby/object:Gem::Dependency
46
63
  name: table_fu
47
- type: :runtime
48
- version_requirement:
49
- version_requirements: !ruby/object:Gem::Requirement
64
+ prerelease: false
65
+ requirement: &id004 !ruby/object:Gem::Requirement
50
66
  requirements:
51
67
  - - ">="
52
68
  - !ruby/object:Gem::Version
69
+ segments:
70
+ - 0
71
+ - 1
72
+ - 1
53
73
  version: 0.1.1
54
- version:
74
+ type: :runtime
75
+ version_requirements: *id004
55
76
  - !ruby/object:Gem::Dependency
56
77
  name: sinatra
57
- type: :runtime
58
- version_requirement:
59
- version_requirements: !ruby/object:Gem::Requirement
78
+ prerelease: false
79
+ requirement: &id005 !ruby/object:Gem::Requirement
60
80
  requirements:
61
81
  - - ">="
62
82
  - !ruby/object:Gem::Version
83
+ segments:
84
+ - 1
85
+ - 0
86
+ - 0
63
87
  version: 1.0.0
64
- version:
88
+ type: :runtime
89
+ version_requirements: *id005
65
90
  - !ruby/object:Gem::Dependency
66
91
  name: sinatra-static-assets
67
- type: :runtime
68
- version_requirement:
69
- version_requirements: !ruby/object:Gem::Requirement
92
+ prerelease: false
93
+ requirement: &id006 !ruby/object:Gem::Requirement
70
94
  requirements:
71
95
  - - ">="
72
96
  - !ruby/object:Gem::Version
97
+ segments:
98
+ - 0
99
+ - 5
100
+ - 0
73
101
  version: 0.5.0
74
- version:
102
+ type: :runtime
103
+ version_requirements: *id006
75
104
  - !ruby/object:Gem::Dependency
76
105
  name: emk-sinatra-url-for
77
- type: :runtime
78
- version_requirement:
79
- version_requirements: !ruby/object:Gem::Requirement
106
+ prerelease: false
107
+ requirement: &id007 !ruby/object:Gem::Requirement
80
108
  requirements:
81
109
  - - ">="
82
110
  - !ruby/object:Gem::Version
111
+ segments:
112
+ - 0
113
+ - 2
114
+ - 1
83
115
  version: 0.2.1
84
- version:
116
+ type: :runtime
117
+ version_requirements: *id007
85
118
  - !ruby/object:Gem::Dependency
86
119
  name: curb
87
- type: :runtime
88
- version_requirement:
89
- version_requirements: !ruby/object:Gem::Requirement
120
+ prerelease: false
121
+ requirement: &id008 !ruby/object:Gem::Requirement
90
122
  requirements:
91
123
  - - ">="
92
124
  - !ruby/object:Gem::Version
125
+ segments:
126
+ - 0
127
+ - 6
128
+ - 6
129
+ - 0
93
130
  version: 0.6.6.0
94
- version:
131
+ type: :runtime
132
+ version_requirements: *id008
95
133
  description: A sinatra based app for rendering CSVs hosted on google docs or locally in custom HTML
96
134
  email: thejefflarson@gmail.com
97
135
  executables:
@@ -219,18 +257,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
219
257
  requirements:
220
258
  - - ">="
221
259
  - !ruby/object:Gem::Version
260
+ segments:
261
+ - 0
222
262
  version: "0"
223
- version:
224
263
  required_rubygems_version: !ruby/object:Gem::Requirement
225
264
  requirements:
226
265
  - - ">="
227
266
  - !ruby/object:Gem::Version
267
+ segments:
268
+ - 0
228
269
  version: "0"
229
- version:
230
270
  requirements: []
231
271
 
232
272
  rubyforge_project: table-setter
233
- rubygems_version: 1.3.5
273
+ rubygems_version: 1.3.6
234
274
  signing_key:
235
275
  specification_version: 3
236
276
  summary: A sinatra based app for rendering CSVs in custom HTML