table_setter 0.1.10 → 0.1.11

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/doc/method_list.html CHANGED
@@ -2,7 +2,7 @@
2
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
3
  <html>
4
4
  <head>
5
- <meta name="Content-Type" content="text/html; charset=UTF-8" />
5
+ <meta name="Content-Type" content="text/html; charset=utf-8" />
6
6
  <link rel="stylesheet" href="css/full_list.css" type="text/css" media="screen" charset="utf-8" />
7
7
  <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
8
8
  <script type="text/javascript" charset="utf-8" src="js/jquery.js"></script>
@@ -29,7 +29,7 @@
29
29
 
30
30
 
31
31
  <li class="r1 ">
32
- <a href="TableSetter/Table.html#all-class_method" title="TableSetter::Table.all (method)">all</a>
32
+ <span class='object_link'><a href="TableSetter/Table.html#all-class_method" title="TableSetter::Table.all (method)">all</a></span>
33
33
 
34
34
  <small>TableSetter::Table</small>
35
35
 
@@ -37,7 +37,7 @@
37
37
 
38
38
 
39
39
  <li class="r2 ">
40
- <a href="TableFu/Formatting.html#bar-class_method" title="TableFu::Formatting.bar (method)">bar</a>
40
+ <span class='object_link'><a href="TableFu/Formatting.html#bar-class_method" title="TableFu::Formatting.bar (method)">bar</a></span>
41
41
 
42
42
  <small>TableFu::Formatting</small>
43
43
 
@@ -45,7 +45,7 @@
45
45
 
46
46
 
47
47
  <li class="r1 ">
48
- <a href="TableSetter/Command.html#build_out-instance_method" title="TableSetter::Command#build_out (method)">#build_out</a>
48
+ <span class='object_link'><a href="TableSetter/Command.html#build_out-instance_method" title="TableSetter::Command#build_out (method)">#build_out</a></span>
49
49
 
50
50
  <small>TableSetter::Command</small>
51
51
 
@@ -53,7 +53,7 @@
53
53
 
54
54
 
55
55
  <li class="r2 ">
56
- <a href="TableSetter/App.html#cache_timeout-class_method" title="TableSetter::App.cache_timeout (method)">cache_timeout</a>
56
+ <span class='object_link'><a href="TableSetter/App.html#cache_timeout-class_method" title="TableSetter::App.cache_timeout (method)">cache_timeout</a></span>
57
57
 
58
58
  <small>TableSetter::App</small>
59
59
 
@@ -61,7 +61,7 @@
61
61
 
62
62
 
63
63
  <li class="r1 ">
64
- <a href="TableSetter.html#config_path-class_method" title="TableSetter.config_path (method)">config_path</a>
64
+ <span class='object_link'><a href="TableSetter.html#config_path-class_method" title="TableSetter.config_path (method)">config_path</a></span>
65
65
 
66
66
  <small>TableSetter</small>
67
67
 
@@ -69,7 +69,7 @@
69
69
 
70
70
 
71
71
  <li class="r2 ">
72
- <a href="TableSetter.html#configure-class_method" title="TableSetter.configure (method)">configure</a>
72
+ <span class='object_link'><a href="TableSetter.html#configure-class_method" title="TableSetter.configure (method)">configure</a></span>
73
73
 
74
74
  <small>TableSetter</small>
75
75
 
@@ -77,7 +77,7 @@
77
77
 
78
78
 
79
79
  <li class="r1 ">
80
- <a href="TableSetter/Table.html#csv_data-instance_method" title="TableSetter::Table#csv_data (method)">#csv_data</a>
80
+ <span class='object_link'><a href="TableSetter/Table.html#csv_data-instance_method" title="TableSetter::Table#csv_data (method)">#csv_data</a></span>
81
81
 
82
82
  <small>TableSetter::Table</small>
83
83
 
@@ -85,7 +85,7 @@
85
85
 
86
86
 
87
87
  <li class="r2 ">
88
- <a href="TableSetter/Table.html#data-instance_method" title="TableSetter::Table#data (method)">#data</a>
88
+ <span class='object_link'><a href="TableSetter/Table.html#data-instance_method" title="TableSetter::Table#data (method)">#data</a></span>
89
89
 
90
90
  <small>TableSetter::Table</small>
91
91
 
@@ -93,7 +93,7 @@
93
93
 
94
94
 
95
95
  <li class="r1 ">
96
- <a href="TableSetter/Table.html#exists%3F-class_method" title="TableSetter::Table.exists? (method)">exists?</a>
96
+ <span class='object_link'><a href="TableSetter/Table.html#exists%3F-class_method" title="TableSetter::Table.exists? (method)">exists?</a></span>
97
97
 
98
98
  <small>TableSetter::Table</small>
99
99
 
@@ -101,7 +101,7 @@
101
101
 
102
102
 
103
103
  <li class="r2 ">
104
- <a href="TableSetter/Table.html#faceted%3F-instance_method" title="TableSetter::Table#faceted? (method)">#faceted?</a>
104
+ <span class='object_link'><a href="TableSetter/Table.html#faceted%3F-instance_method" title="TableSetter::Table#faceted? (method)">#faceted?</a></span>
105
105
 
106
106
  <small>TableSetter::Table</small>
107
107
 
@@ -109,7 +109,7 @@
109
109
 
110
110
 
111
111
  <li class="r1 ">
112
- <a href="TableSetter/Table.html#facets-instance_method" title="TableSetter::Table#facets (method)">#facets</a>
112
+ <span class='object_link'><a href="TableSetter/Table.html#facets-instance_method" title="TableSetter::Table#facets (method)">#facets</a></span>
113
113
 
114
114
  <small>TableSetter::Table</small>
115
115
 
@@ -117,7 +117,7 @@
117
117
 
118
118
 
119
119
  <li class="r2 ">
120
- <a href="TableSetter/Table.html#fresh_yaml_time-class_method" title="TableSetter::Table.fresh_yaml_time (method)">fresh_yaml_time</a>
120
+ <span class='object_link'><a href="TableSetter/Table.html#fresh_yaml_time-class_method" title="TableSetter::Table.fresh_yaml_time (method)">fresh_yaml_time</a></span>
121
121
 
122
122
  <small>TableSetter::Table</small>
123
123
 
@@ -125,7 +125,7 @@
125
125
 
126
126
 
127
127
  <li class="r1 ">
128
- <a href="TableSetter/Table.html#hard_paginate%3F-instance_method" title="TableSetter::Table#hard_paginate? (method)">#hard_paginate?</a>
128
+ <span class='object_link'><a href="TableSetter/Table.html#hard_paginate%3F-instance_method" title="TableSetter::Table#hard_paginate? (method)">#hard_paginate?</a></span>
129
129
 
130
130
  <small>TableSetter::Table</small>
131
131
 
@@ -133,15 +133,63 @@
133
133
 
134
134
 
135
135
  <li class="r2 ">
136
- <a href="TableSetter/Command.html#initialize-instance_method" title="TableSetter::Command#initialize (method)">#initialize</a>
136
+ <span class='object_link'><a href="TableSetter/Table.html#initialize-instance_method" title="TableSetter::Table#initialize (method)">#initialize</a></span>
137
+
138
+ <small>TableSetter::Table</small>
139
+
140
+ </li>
141
+
142
+
143
+ <li class="r1 ">
144
+ <span class='object_link'><a href="TableSetter/Command.html#initialize-instance_method" title="TableSetter::Command#initialize (method)">#initialize</a></span>
137
145
 
138
146
  <small>TableSetter::Command</small>
139
147
 
140
148
  </li>
141
149
 
142
150
 
151
+ <li class="r2 ">
152
+ <span class='object_link'><a href="TableSetter/Command.html#install_assets-instance_method" title="TableSetter::Command#install_assets (method)">#install_assets</a></span>
153
+
154
+ <small>TableSetter::Command</small>
155
+
156
+ </li>
157
+
158
+
159
+ <li class="r1 ">
160
+ <span class='object_link'><a href="TableFu/Formatting.html#join-class_method" title="TableFu::Formatting.join (method)">join</a></span>
161
+
162
+ <small>TableFu::Formatting</small>
163
+
164
+ </li>
165
+
166
+
167
+ <li class="r2 ">
168
+ <span class='object_link'><a href="TableFu/Formatting.html#joinbr-class_method" title="TableFu::Formatting.joinbr (method)">joinbr</a></span>
169
+
170
+ <small>TableFu::Formatting</small>
171
+
172
+ </li>
173
+
174
+
143
175
  <li class="r1 ">
144
- <a href="TableSetter/Table.html#initialize-instance_method" title="TableSetter::Table#initialize (method)">#initialize</a>
176
+ <span class='object_link'><a href="TableFu/Formatting.html#joincomma-class_method" title="TableFu::Formatting.joincomma (method)">joincomma</a></span>
177
+
178
+ <small>TableFu::Formatting</small>
179
+
180
+ </li>
181
+
182
+
183
+ <li class="r2 ">
184
+ <span class='object_link'><a href="TableFu/Formatting.html#link-class_method" title="TableFu::Formatting.link (method)">link</a></span>
185
+
186
+ <small>TableFu::Formatting</small>
187
+
188
+ </li>
189
+
190
+
191
+ <li class="r1 ">
192
+ <span class='object_link'><a href="TableSetter/Table.html#load-instance_method" title="TableSetter::Table#load (method)">#load</a></span>
145
193
 
146
194
  <small>TableSetter::Table</small>
147
195
 
@@ -149,15 +197,15 @@
149
197
 
150
198
 
151
199
  <li class="r2 ">
152
- <a href="TableSetter/Command.html#install_assets-instance_method" title="TableSetter::Command#install_assets (method)">#install_assets</a>
200
+ <span class='object_link'><a href="TableFu/Formatting.html#markdown-class_method" title="TableFu::Formatting.markdown (method)">markdown</a></span>
153
201
 
154
- <small>TableSetter::Command</small>
202
+ <small>TableFu::Formatting</small>
155
203
 
156
204
  </li>
157
205
 
158
206
 
159
207
  <li class="r1 ">
160
- <a href="TableSetter/Table.html#load-instance_method" title="TableSetter::Table#load (method)">#load</a>
208
+ <span class='object_link'><a href="TableSetter/Table.html#method_missing-instance_method" title="TableSetter::Table#method_missing (method)">#method_missing</a></span>
161
209
 
162
210
  <small>TableSetter::Table</small>
163
211
 
@@ -165,7 +213,7 @@
165
213
 
166
214
 
167
215
  <li class="r2 ">
168
- <a href="TableSetter/Table.html#method_missing-instance_method" title="TableSetter::Table#method_missing (method)">#method_missing</a>
216
+ <span class='object_link'><a href="TableSetter/Table.html#next_page-instance_method" title="TableSetter::Table#next_page (method)">#next_page</a></span>
169
217
 
170
218
  <small>TableSetter::Table</small>
171
219
 
@@ -173,7 +221,7 @@
173
221
 
174
222
 
175
223
  <li class="r1 ">
176
- <a href="TableSetter/Table.html#next_page-instance_method" title="TableSetter::Table#next_page (method)">#next_page</a>
224
+ <span class='object_link'><a href="TableSetter/Table.html#page-instance_method" title="TableSetter::Table#page (method)">#page</a></span>
177
225
 
178
226
  <small>TableSetter::Table</small>
179
227
 
@@ -181,7 +229,7 @@
181
229
 
182
230
 
183
231
  <li class="r2 ">
184
- <a href="TableSetter/Table.html#page-instance_method" title="TableSetter::Table#page (method)">#page</a>
232
+ <span class='object_link'><a href="TableSetter/Table.html#paginate%21-instance_method" title="TableSetter::Table#paginate! (method)">#paginate!</a></span>
185
233
 
186
234
  <small>TableSetter::Table</small>
187
235
 
@@ -189,7 +237,7 @@
189
237
 
190
238
 
191
239
  <li class="r1 ">
192
- <a href="TableSetter/Table.html#paginate%21-instance_method" title="TableSetter::Table#paginate! (method)">#paginate!</a>
240
+ <span class='object_link'><a href="TableSetter/Table.html#per_page-instance_method" title="TableSetter::Table#per_page (method)">#per_page</a></span>
193
241
 
194
242
  <small>TableSetter::Table</small>
195
243
 
@@ -197,7 +245,7 @@
197
245
 
198
246
 
199
247
  <li class="r2 ">
200
- <a href="TableSetter/Table.html#per_page-instance_method" title="TableSetter::Table#per_page (method)">#per_page</a>
248
+ <span class='object_link'><a href="TableSetter/Table.html#prev_page-instance_method" title="TableSetter::Table#prev_page (method)">#prev_page</a></span>
201
249
 
202
250
  <small>TableSetter::Table</small>
203
251
 
@@ -205,15 +253,15 @@
205
253
 
206
254
 
207
255
  <li class="r1 ">
208
- <a href="TableSetter/Table.html#prev_page-instance_method" title="TableSetter::Table#prev_page (method)">#prev_page</a>
256
+ <span class='object_link'><a href="TableFu/Formatting.html#small-class_method" title="TableFu::Formatting.small (method)">small</a></span>
209
257
 
210
- <small>TableSetter::Table</small>
258
+ <small>TableFu::Formatting</small>
211
259
 
212
260
  </li>
213
261
 
214
262
 
215
263
  <li class="r2 ">
216
- <a href="TableSetter/Table.html#sort_array-instance_method" title="TableSetter::Table#sort_array (method)">#sort_array</a>
264
+ <span class='object_link'><a href="TableSetter/Table.html#sort_array-instance_method" title="TableSetter::Table#sort_array (method)">#sort_array</a></span>
217
265
 
218
266
  <small>TableSetter::Table</small>
219
267
 
@@ -221,7 +269,7 @@
221
269
 
222
270
 
223
271
  <li class="r1 ">
224
- <a href="TableSetter/Table.html#sortable%3F-instance_method" title="TableSetter::Table#sortable? (method)">#sortable?</a>
272
+ <span class='object_link'><a href="TableSetter/Table.html#sortable%3F-instance_method" title="TableSetter::Table#sortable? (method)">#sortable?</a></span>
225
273
 
226
274
  <small>TableSetter::Table</small>
227
275
 
@@ -229,7 +277,7 @@
229
277
 
230
278
 
231
279
  <li class="r2 ">
232
- <a href="TableSetter/Command.html#start_server-instance_method" title="TableSetter::Command#start_server (method)">#start_server</a>
280
+ <span class='object_link'><a href="TableSetter/Command.html#start_server-instance_method" title="TableSetter::Command#start_server (method)">#start_server</a></span>
233
281
 
234
282
  <small>TableSetter::Command</small>
235
283
 
@@ -237,23 +285,23 @@
237
285
 
238
286
 
239
287
  <li class="r1 ">
240
- <a href="TableSetter/Table.html#table_opts-instance_method" title="TableSetter::Table#table_opts (method)">#table_opts</a>
288
+ <span class='object_link'><a href="TableFu/Formatting.html#strong-class_method" title="TableFu::Formatting.strong (method)">strong</a></span>
241
289
 
242
- <small>TableSetter::Table</small>
290
+ <small>TableFu::Formatting</small>
243
291
 
244
292
  </li>
245
293
 
246
294
 
247
295
  <li class="r2 ">
248
- <a href="TableSetter.html#table_path-class_method" title="TableSetter.table_path (method)">table_path</a>
296
+ <span class='object_link'><a href="TableSetter/Table.html#table_opts-instance_method" title="TableSetter::Table#table_opts (method)">#table_opts</a></span>
249
297
 
250
- <small>TableSetter</small>
298
+ <small>TableSetter::Table</small>
251
299
 
252
300
  </li>
253
301
 
254
302
 
255
303
  <li class="r1 ">
256
- <a href="TableSetter/Table.html#table_path-class_method" title="TableSetter::Table.table_path (method)">table_path</a>
304
+ <span class='object_link'><a href="TableSetter/Table.html#table_path-class_method" title="TableSetter::Table.table_path (method)">table_path</a></span>
257
305
 
258
306
  <small>TableSetter::Table</small>
259
307
 
@@ -261,15 +309,15 @@
261
309
 
262
310
 
263
311
  <li class="r2 ">
264
- <a href="TableSetter/Table.html#total_pages-instance_method" title="TableSetter::Table#total_pages (method)">#total_pages</a>
312
+ <span class='object_link'><a href="TableSetter.html#table_path-class_method" title="TableSetter.table_path (method)">table_path</a></span>
265
313
 
266
- <small>TableSetter::Table</small>
314
+ <small>TableSetter</small>
267
315
 
268
316
  </li>
269
317
 
270
318
 
271
319
  <li class="r1 ">
272
- <a href="TableSetter/Table.html#updated_at-instance_method" title="TableSetter::Table#updated_at (method)">#updated_at</a>
320
+ <span class='object_link'><a href="TableSetter/Table.html#total_pages-instance_method" title="TableSetter::Table#total_pages (method)">#total_pages</a></span>
273
321
 
274
322
  <small>TableSetter::Table</small>
275
323
 
@@ -277,7 +325,15 @@
277
325
 
278
326
 
279
327
  <li class="r2 ">
280
- <a href="TableSetter/Table.html#uri-instance_method" title="TableSetter::Table#uri (method)">#uri</a>
328
+ <span class='object_link'><a href="TableSetter/Table.html#updated_at-instance_method" title="TableSetter::Table#updated_at (method)">#updated_at</a></span>
329
+
330
+ <small>TableSetter::Table</small>
331
+
332
+ </li>
333
+
334
+
335
+ <li class="r1 ">
336
+ <span class='object_link'><a href="TableSetter/Table.html#uri-instance_method" title="TableSetter::Table#uri (method)">#uri</a></span>
281
337
 
282
338
  <small>TableSetter::Table</small>
283
339
 
@@ -2,7 +2,7 @@
2
2
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
3
  <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
4
  <head>
5
- <meta name="Content-Type" content="text/html; charset=UTF-8" />
5
+ <meta name="Content-Type" content="text/html; charset=utf-8" />
6
6
  <title>Top Level Namespace</title>
7
7
  <link rel="stylesheet" href="css/style.css" type="text/css" media="screen" charset="utf-8" />
8
8
  <link rel="stylesheet" href="css/common.css" type="text/css" media="screen" charset="utf-8" />
@@ -43,7 +43,8 @@
43
43
 
44
44
  <iframe id="search_frame"></iframe>
45
45
 
46
- <div id="content"><h1>Top Level Namespace
46
+ <div id="content"><h1>Top Level Namespace
47
+
47
48
 
48
49
 
49
50
  </h1>
@@ -56,6 +57,7 @@
56
57
 
57
58
 
58
59
 
60
+
59
61
  </dl>
60
62
  <div class="clear"></div>
61
63
 
@@ -63,7 +65,7 @@
63
65
  <p class="children">
64
66
 
65
67
 
66
- <strong class="modules">Modules:</strong> <a href="TableSetter.html" title="TableSetter (module)">TableSetter</a>
68
+ <strong class="modules">Modules:</strong> <span class='object_link'><a href="TableSetter.html" title="TableSetter (module)">TableSetter</a></span>
67
69
 
68
70
 
69
71
 
@@ -73,12 +75,13 @@
73
75
 
74
76
 
75
77
 
78
+
76
79
  </div>
77
80
 
78
81
  <div id="footer">
79
- Generated on Tue Mar 9 17:18:08 2010 by
80
- <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool">yard</a>
81
- 0.5.3 (ruby-1.8.7).
82
+ Generated on Thu Nov 4 18:34:17 2010 by
83
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
84
+ 0.6.1 (ruby-1.8.7).
82
85
  </div>
83
86
 
84
87
  </body>
@@ -225,6 +225,10 @@ script/generate table-setter</pre>
225
225
  <h2><a id="credits" href="#toc">Credits</a></h2>
226
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>, <a href="http://github.com/bouvard">Christopher Groskopf</a>, and <a href="http://github.com/ryanmark">Ryan Mark</a>.</p>
227
227
  <h2><a id="changes" href="#toc">Change Log</a></h2>
228
+ <strong>1.10</strong>
229
+ <p>New formatters via <a href="http://github.com/ryanmark">Ryan Mark</a>.
230
+ <strong>1.9</strong>
231
+ <p>No Op.</p>
228
232
  <strong>1.8</strong>
229
233
  <p>Bunch of fixes from <a href="http://github.com/ryanmark">Ryan Mark</a>, and beta markdown functionality. Once Markdown is tested we'll release 0.2.0</p>
230
234
  <strong>1.7</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.8</small></h1>
11
+ <h1>TableSetter <small>&ndash; Version: 0.1.10</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>
@@ -222,6 +222,10 @@ script/generate table-setter</pre>
222
222
  <h2><a id="credits" href="#toc">Credits</a></h2>
223
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>, <a href="http://github.com/bouvard">Christopher Groskopf</a>, and <a href="http://github.com/ryanmark">Ryan Mark</a>.</p>
224
224
  <h2><a id="changes" href="#toc">Change Log</a></h2>
225
+ <strong>1.10</strong>
226
+ <p>New formatters via <a href="http://github.com/ryanmark">Ryan Mark</a>.
227
+ <strong>1.9</strong>
228
+ <p>No Op.</p>
225
229
  <strong>1.8</strong>
226
230
  <p>Bunch of fixes from <a href="http://github.com/ryanmark">Ryan Mark</a>, and beta markdown functionality. Once Markdown is tested we'll release 0.2.0</p>
227
231
  <strong>1.7</strong>
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.10"
8
+ s.version = "0.1.11"
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-05-26}
12
+ s.date = %q{2010-11-04}
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"]
@@ -141,7 +141,7 @@ Gem::Specification.new do |s|
141
141
  s.specification_version = 3
142
142
 
143
143
  if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
144
- s.add_development_dependency(%q<rspec>, [">= 1.2.9"])
144
+ s.add_development_dependency(%q<rspec>, ["~> 1.2.9"])
145
145
  s.add_runtime_dependency(%q<rack>, [">= 1.1.0"])
146
146
  s.add_runtime_dependency(%q<thin>, [">= 1.2.5"])
147
147
  s.add_runtime_dependency(%q<table_fu>, [">= 0.2.1"])
@@ -151,7 +151,7 @@ Gem::Specification.new do |s|
151
151
  s.add_runtime_dependency(%q<curb>, [">= 0.6.6.0"])
152
152
  s.add_runtime_dependency(%q<rdiscount>, [">= 1.6.3.1"])
153
153
  else
154
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
154
+ s.add_dependency(%q<rspec>, ["~> 1.2.9"])
155
155
  s.add_dependency(%q<rack>, [">= 1.1.0"])
156
156
  s.add_dependency(%q<thin>, [">= 1.2.5"])
157
157
  s.add_dependency(%q<table_fu>, [">= 0.2.1"])
@@ -162,7 +162,7 @@ Gem::Specification.new do |s|
162
162
  s.add_dependency(%q<rdiscount>, [">= 1.6.3.1"])
163
163
  end
164
164
  else
165
- s.add_dependency(%q<rspec>, [">= 1.2.9"])
165
+ s.add_dependency(%q<rspec>, ["~> 1.2.9"])
166
166
  s.add_dependency(%q<rack>, [">= 1.1.0"])
167
167
  s.add_dependency(%q<thin>, [">= 1.2.5"])
168
168
  s.add_dependency(%q<table_fu>, [">= 0.2.1"])