table_setter 0.2.9 → 0.2.10
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 +1 -1
- data/documentation/index.html.erb +2 -0
- data/index.html +3 -1
- data/lib/table_setter/table.rb +1 -1
- data/table_setter.gemspec +2 -2
- metadata +4 -4
data/VERSION.yml
CHANGED
|
@@ -239,6 +239,8 @@ script/generate table-setter</pre>
|
|
|
239
239
|
<a href="http://github.com/palewire">Ben Welsh</a>, and
|
|
240
240
|
<a href="http://github.com/jpmckinney">James McKinney</a>.</p>
|
|
241
241
|
<h2><a id="changes" href="#toc">Change Log</a></h2>
|
|
242
|
+
<strong>0.2.10</strong>
|
|
243
|
+
<p>Switch to https for google key.</p>
|
|
242
244
|
<strong>0.2.9</strong>
|
|
243
245
|
<p>Updated <strong>config.ru</strong> to fix the same bug in <strong>0.2.8</strong>, you'll want to regenerate your template.</p>
|
|
244
246
|
<strong>0.2.8</strong>
|
data/index.html
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<a href="http://www.propublica.org" class="propublica"> </a>
|
|
12
|
-
<h1>TableSetter <small>– Version: 0.2.
|
|
12
|
+
<h1>TableSetter <small>– Version: 0.2.10</small></h1>
|
|
13
13
|
<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>
|
|
14
14
|
<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>
|
|
15
15
|
<h2><a id="toc">Table of Contents</a></h2>
|
|
@@ -234,6 +234,8 @@ script/generate table-setter</pre>
|
|
|
234
234
|
<a href="http://github.com/palewire">Ben Welsh</a>, and
|
|
235
235
|
<a href="http://github.com/jpmckinney">James McKinney</a>.</p>
|
|
236
236
|
<h2><a id="changes" href="#toc">Change Log</a></h2>
|
|
237
|
+
<strong>0.2.10</strong>
|
|
238
|
+
<p>Switch to https for google key.</p>
|
|
237
239
|
<strong>0.2.9</strong>
|
|
238
240
|
<p>Updated <strong>config.ru</strong> to fix the same bug in <strong>0.2.8</strong>, you'll want to regenerate your template.</p>
|
|
239
241
|
<strong>0.2.8</strong>
|
data/lib/table_setter/table.rb
CHANGED
|
@@ -49,7 +49,7 @@ module TableSetter
|
|
|
49
49
|
# Returns a usable uri based on what sort of input we have.
|
|
50
50
|
def uri
|
|
51
51
|
case
|
|
52
|
-
when google_key then "
|
|
52
|
+
when google_key then "https://spreadsheets.google.com/pub?key=#{google_key}&output=csv"
|
|
53
53
|
when url then url
|
|
54
54
|
when file then File.expand_path("#{TableSetter.table_path}#{file}")
|
|
55
55
|
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.2.
|
|
8
|
+
s.version = "0.2.10"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = [%q{Jeff Larson}]
|
|
12
|
-
s.date = %q{2011-05-
|
|
12
|
+
s.date = %q{2011-05-20}
|
|
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 = [%q{table-setter}, %q{table-setter}]
|
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: table_setter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 3
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 2
|
|
9
|
-
-
|
|
10
|
-
version: 0.2.
|
|
9
|
+
- 10
|
|
10
|
+
version: 0.2.10
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Jeff Larson
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-05-
|
|
18
|
+
date: 2011-05-20 00:00:00 Z
|
|
19
19
|
dependencies:
|
|
20
20
|
- !ruby/object:Gem::Dependency
|
|
21
21
|
name: rspec
|