ballast 1.9.3 → 2.0.0
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.
- checksums.yaml +4 -4
- data/.rubocop.yml +35 -0
- data/.travis-gemfile +4 -5
- data/.travis.yml +3 -2
- data/CHANGELOG.md +62 -6
- data/Gemfile +7 -8
- data/README.md +2 -2
- data/ballast.gemspec +9 -12
- data/doc/Ballast/AjaxResponse.html +1380 -0
- data/doc/Ballast/Concerns/AjaxHandling.html +662 -0
- data/doc/Ballast/Concerns/Common.html +81 -361
- data/doc/Ballast/Concerns/ErrorsHandling.html +18 -36
- data/doc/Ballast/Concerns/View.html +181 -157
- data/doc/Ballast/Concerns.html +6 -6
- data/doc/Ballast/Configuration.html +204 -31
- data/doc/Ballast/Emoji/Character.html +411 -0
- data/doc/Ballast/Emoji/Utils.html +794 -0
- data/doc/Ballast/Emoji.html +125 -0
- data/doc/Ballast/Errors/{BaseError.html → Base.html} +61 -34
- data/doc/Ballast/Errors/{PerformError.html → Failure.html} +21 -17
- data/doc/Ballast/Errors/InvalidDomain.html +11 -11
- data/doc/Ballast/Errors/{ValidationError.html → ValidationFailure.html} +24 -16
- data/doc/Ballast/Errors.html +5 -5
- data/doc/Ballast/Middlewares/DefaultHost.html +6 -6
- data/doc/Ballast/Middlewares.html +4 -4
- data/doc/Ballast/RequestDomainMatcher.html +28 -28
- data/doc/Ballast/Service/Response.html +1243 -0
- data/doc/Ballast/Service.html +1314 -0
- data/doc/Ballast/Version.html +7 -7
- data/doc/Ballast.html +15 -15
- data/doc/_index.html +59 -30
- data/doc/class_list.html +6 -2
- data/doc/css/style.css +1 -0
- data/doc/file.README.html +6 -6
- data/doc/file_list.html +5 -1
- data/doc/frames.html +1 -1
- data/doc/index.html +6 -6
- data/doc/js/full_list.js +4 -1
- data/doc/method_list.html +167 -79
- data/doc/top-level-namespace.html +41 -4
- data/lib/ballast/ajax_response.rb +76 -0
- data/lib/ballast/concerns/ajax_handling.rb +73 -0
- data/lib/ballast/concerns/common.rb +25 -47
- data/lib/ballast/concerns/errors_handling.rb +21 -30
- data/lib/ballast/concerns/view.rb +24 -22
- data/lib/ballast/configuration.rb +30 -10
- data/lib/ballast/emoji.rb +114 -0
- data/lib/ballast/errors.rb +16 -13
- data/lib/ballast/middlewares/default_host.rb +3 -3
- data/lib/ballast/request_domain_matcher.rb +7 -7
- data/lib/ballast/service.rb +147 -0
- data/lib/ballast/version.rb +3 -3
- data/lib/ballast.rb +22 -22
- data/spec/ballast/ajax_response_spec.rb +61 -0
- data/spec/ballast/concerns/ajax_handling_spec.rb +86 -0
- data/spec/ballast/concerns/common_spec.rb +17 -52
- data/spec/ballast/concerns/errors_handling_spec.rb +35 -29
- data/spec/ballast/concerns/view_spec.rb +21 -32
- data/spec/ballast/configuration_spec.rb +66 -16
- data/spec/ballast/emoji_spec.rb +103 -0
- data/spec/ballast/errors_spec.rb +5 -5
- data/spec/ballast/middlewares/default_host_spec.rb +3 -5
- data/spec/ballast/request_domain_matcher_spec.rb +4 -4
- data/spec/ballast/service_spec.rb +137 -0
- data/spec/spec_helper.rb +1 -13
- metadata +42 -80
- data/doc/Ballast/Concerns/Ajax.html +0 -945
- data/doc/Ballast/Context.html +0 -417
- data/doc/Ballast/Operation.html +0 -1304
- data/doc/Ballast/OperationsChain.html +0 -597
- data/lib/ballast/concerns/ajax.rb +0 -134
- data/lib/ballast/context.rb +0 -38
- data/lib/ballast/operation.rb +0 -136
- data/lib/ballast/operations_chain.rb +0 -45
- data/spec/ballast/concerns/ajax_spec.rb +0 -141
- data/spec/ballast/context_spec.rb +0 -23
- data/spec/ballast/operation_spec.rb +0 -177
- data/spec/ballast/operations_chain_spec.rb +0 -61
data/doc/Ballast/Version.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Ballast::Version
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '../';
|
20
|
-
framesUrl = "../frames.html#!"
|
20
|
+
framesUrl = "../frames.html#!Ballast/Version.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -119,7 +119,7 @@
|
|
119
119
|
|
120
120
|
</div>
|
121
121
|
</dt>
|
122
|
-
<dd><pre class="code"><span class='int'>
|
122
|
+
<dd><pre class="code"><span class='int'>2</span></pre></dd>
|
123
123
|
|
124
124
|
<dt id="MINOR-constant" class="">MINOR =
|
125
125
|
<div class="docstring">
|
@@ -134,7 +134,7 @@
|
|
134
134
|
|
135
135
|
</div>
|
136
136
|
</dt>
|
137
|
-
<dd><pre class="code"><span class='int'>
|
137
|
+
<dd><pre class="code"><span class='int'>0</span></pre></dd>
|
138
138
|
|
139
139
|
<dt id="PATCH-constant" class="">PATCH =
|
140
140
|
<div class="docstring">
|
@@ -149,7 +149,7 @@
|
|
149
149
|
|
150
150
|
</div>
|
151
151
|
</dt>
|
152
|
-
<dd><pre class="code"><span class='int'>
|
152
|
+
<dd><pre class="code"><span class='int'>0</span></pre></dd>
|
153
153
|
|
154
154
|
<dt id="STRING-constant" class="">STRING =
|
155
155
|
<div class="docstring">
|
@@ -180,9 +180,9 @@
|
|
180
180
|
</div>
|
181
181
|
|
182
182
|
<div id="footer">
|
183
|
-
Generated on
|
183
|
+
Generated on Sun Nov 2 09:40:00 2014 by
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
185
|
-
0.8.7.
|
185
|
+
0.8.7.6 (ruby-2.1.3).
|
186
186
|
</div>
|
187
187
|
|
188
188
|
</body>
|
data/doc/Ballast.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
Module: Ballast
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '';
|
20
|
-
framesUrl = "frames.html#!"
|
20
|
+
framesUrl = "frames.html#!Ballast.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -79,8 +79,8 @@
|
|
79
79
|
|
80
80
|
|
81
81
|
<dt class="r1 last">Defined in:</dt>
|
82
|
-
<dd class="r1 last">lib/ballast
|
83
|
-
lib/ballast.rb,<br /> lib/ballast/
|
82
|
+
<dd class="r1 last">lib/ballast.rb<span class="defines">,<br />
|
83
|
+
lib/ballast/emoji.rb,<br /> lib/ballast/errors.rb,<br /> lib/ballast/version.rb,<br /> lib/ballast/service.rb,<br /> lib/ballast/configuration.rb,<br /> lib/ballast/concerns/view.rb,<br /> lib/ballast/ajax_response.rb,<br /> lib/ballast/concerns/common.rb,<br /> lib/ballast/request_domain_matcher.rb,<br /> lib/ballast/concerns/ajax_handling.rb,<br /> lib/ballast/concerns/errors_handling.rb,<br /> lib/ballast/middlewares/default_host.rb</span>
|
84
84
|
</dd>
|
85
85
|
|
86
86
|
</dl>
|
@@ -101,11 +101,11 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
101
101
|
<p class="children">
|
102
102
|
|
103
103
|
|
104
|
-
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Ballast/Concerns.html" title="Ballast::Concerns (module)">Concerns</a></span>, <span class='object_link'><a href="Ballast/Errors.html" title="Ballast::Errors (module)">Errors</a></span>, <span class='object_link'><a href="Ballast/Middlewares.html" title="Ballast::Middlewares (module)">Middlewares</a></span>, <span class='object_link'><a href="Ballast/Version.html" title="Ballast::Version (module)">Version</a></span>
|
104
|
+
<strong class="modules">Modules:</strong> <span class='object_link'><a href="Ballast/Concerns.html" title="Ballast::Concerns (module)">Concerns</a></span>, <span class='object_link'><a href="Ballast/Emoji.html" title="Ballast::Emoji (module)">Emoji</a></span>, <span class='object_link'><a href="Ballast/Errors.html" title="Ballast::Errors (module)">Errors</a></span>, <span class='object_link'><a href="Ballast/Middlewares.html" title="Ballast::Middlewares (module)">Middlewares</a></span>, <span class='object_link'><a href="Ballast/Version.html" title="Ballast::Version (module)">Version</a></span>
|
105
105
|
|
106
106
|
|
107
107
|
|
108
|
-
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Ballast/
|
108
|
+
<strong class="classes">Classes:</strong> <span class='object_link'><a href="Ballast/AjaxResponse.html" title="Ballast::AjaxResponse (class)">AjaxResponse</a></span>, <span class='object_link'><a href="Ballast/Configuration.html" title="Ballast::Configuration (class)">Configuration</a></span>, <span class='object_link'><a href="Ballast/RequestDomainMatcher.html" title="Ballast::RequestDomainMatcher (class)">RequestDomainMatcher</a></span>, <span class='object_link'><a href="Ballast/Service.html" title="Ballast::Service (class)">Service</a></span>
|
109
109
|
|
110
110
|
|
111
111
|
</p>
|
@@ -141,7 +141,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
141
141
|
|
142
142
|
|
143
143
|
|
144
|
-
<span class="summary_desc"><div class='inline'><p>If running under eventmachine,
|
144
|
+
<span class="summary_desc"><div class='inline'><p>If running under eventmachine, runs the block in a thread of its threadpool using EM::Synchrony, otherwise runs the block directly.</p>
|
145
145
|
</div></span>
|
146
146
|
|
147
147
|
</li>
|
@@ -167,7 +167,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
167
167
|
|
168
168
|
</h3><div class="docstring">
|
169
169
|
<div class="discussion">
|
170
|
-
<p>If running under eventmachine,
|
170
|
+
<p>If running under eventmachine, runs the block in a thread of its threadpool using EM::Synchrony, otherwise runs the block directly.</p>
|
171
171
|
|
172
172
|
|
173
173
|
</div>
|
@@ -217,7 +217,6 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
217
217
|
<pre class="lines">
|
218
218
|
|
219
219
|
|
220
|
-
36
|
221
220
|
37
|
222
221
|
38
|
223
222
|
39
|
@@ -228,15 +227,16 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
228
227
|
44
|
229
228
|
45
|
230
229
|
46
|
231
|
-
47
|
230
|
+
47
|
231
|
+
48</pre>
|
232
232
|
</td>
|
233
233
|
<td>
|
234
|
-
<pre class="code"><span class="info file"># File 'lib/ballast.rb', line
|
234
|
+
<pre class="code"><span class="info file"># File 'lib/ballast.rb', line 37</span>
|
235
235
|
|
236
236
|
<span class='kw'>def</span> <span class='kw'>self</span><span class='period'>.</span><span class='id identifier rubyid_in_em_thread'>in_em_thread</span><span class='lparen'>(</span><span class='id identifier rubyid_start_reactor'>start_reactor</span> <span class='op'>=</span> <span class='kw'>false</span><span class='comma'>,</span> <span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
237
|
-
<span class='kw'>if</span> <span class='const'>EM</span><span class='period'>.</span><span class='id identifier rubyid_reactor_running?'>reactor_running?</span>
|
237
|
+
<span class='kw'>if</span> <span class='const'>EM</span><span class='period'>.</span><span class='id identifier rubyid_reactor_running?'>reactor_running?</span>
|
238
238
|
<span class='id identifier rubyid_run_in_thread'>run_in_thread</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
239
|
-
<span class='kw'>elsif</span> <span class='id identifier rubyid_start_reactor'>start_reactor</span>
|
239
|
+
<span class='kw'>elsif</span> <span class='id identifier rubyid_start_reactor'>start_reactor</span>
|
240
240
|
<span class='const'>EM</span><span class='period'>.</span><span class='id identifier rubyid_synchrony'>synchrony</span> <span class='kw'>do</span>
|
241
241
|
<span class='const'>Ballast</span><span class='period'>.</span><span class='id identifier rubyid_in_em_thread'>in_em_thread</span><span class='lparen'>(</span><span class='op'>&</span><span class='id identifier rubyid_block'>block</span><span class='rparen'>)</span>
|
242
242
|
<span class='const'>EM</span><span class='period'>.</span><span class='id identifier rubyid_stop'>stop</span>
|
@@ -255,9 +255,9 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
255
255
|
</div>
|
256
256
|
|
257
257
|
<div id="footer">
|
258
|
-
Generated on
|
258
|
+
Generated on Sun Nov 2 09:40:00 2014 by
|
259
259
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
260
|
-
0.8.7.
|
260
|
+
0.8.7.6 (ruby-2.1.3).
|
261
261
|
</div>
|
262
262
|
|
263
263
|
</body>
|
data/doc/_index.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<head>
|
5
5
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
6
6
|
<title>
|
7
|
-
Documentation by YARD 0.8.7.
|
7
|
+
Documentation by YARD 0.8.7.6
|
8
8
|
|
9
9
|
</title>
|
10
10
|
|
@@ -15,7 +15,7 @@
|
|
15
15
|
<script type="text/javascript" charset="utf-8">
|
16
16
|
hasFrames = window.top.frames.main ? true : false;
|
17
17
|
relpath = '';
|
18
|
-
framesUrl = "frames.html#!"
|
18
|
+
framesUrl = "frames.html#!_index.html";
|
19
19
|
</script>
|
20
20
|
|
21
21
|
|
@@ -56,7 +56,7 @@
|
|
56
56
|
|
57
57
|
<iframe id="search_frame"></iframe>
|
58
58
|
|
59
|
-
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.
|
59
|
+
<div id="content"><h1 class="noborder title">Documentation by YARD 0.8.7.6</h1>
|
60
60
|
<div id="listing">
|
61
61
|
<h1 class="alphaindex">Alphabetic Index</h1>
|
62
62
|
|
@@ -85,12 +85,19 @@
|
|
85
85
|
<ul>
|
86
86
|
|
87
87
|
<li>
|
88
|
-
<span class='object_link'><a href="Ballast/Concerns/
|
88
|
+
<span class='object_link'><a href="Ballast/Concerns/AjaxHandling.html" title="Ballast::Concerns::AjaxHandling (module)">AjaxHandling</a></span>
|
89
89
|
|
90
90
|
<small>(Ballast::Concerns)</small>
|
91
91
|
|
92
92
|
</li>
|
93
93
|
|
94
|
+
<li>
|
95
|
+
<span class='object_link'><a href="Ballast/AjaxResponse.html" title="Ballast::AjaxResponse (class)">AjaxResponse</a></span>
|
96
|
+
|
97
|
+
<small>(Ballast)</small>
|
98
|
+
|
99
|
+
</li>
|
100
|
+
|
94
101
|
</ul>
|
95
102
|
</ul>
|
96
103
|
|
@@ -105,7 +112,7 @@
|
|
105
112
|
</li>
|
106
113
|
|
107
114
|
<li>
|
108
|
-
<span class='object_link'><a href="Ballast/Errors/
|
115
|
+
<span class='object_link'><a href="Ballast/Errors/Base.html" title="Ballast::Errors::Base (class)">Base</a></span>
|
109
116
|
|
110
117
|
<small>(Ballast::Errors)</small>
|
111
118
|
|
@@ -120,28 +127,28 @@
|
|
120
127
|
<ul>
|
121
128
|
|
122
129
|
<li>
|
123
|
-
<span class='object_link'><a href="Ballast/
|
130
|
+
<span class='object_link'><a href="Ballast/Emoji/Character.html" title="Ballast::Emoji::Character (module)">Character</a></span>
|
124
131
|
|
125
|
-
<small>(Ballast::
|
132
|
+
<small>(Ballast::Emoji)</small>
|
126
133
|
|
127
134
|
</li>
|
128
135
|
|
129
136
|
<li>
|
130
|
-
<span class='object_link'><a href="Ballast/Concerns.html" title="Ballast::Concerns (module)">
|
137
|
+
<span class='object_link'><a href="Ballast/Concerns/Common.html" title="Ballast::Concerns::Common (module)">Common</a></span>
|
131
138
|
|
132
|
-
<small>(Ballast)</small>
|
139
|
+
<small>(Ballast::Concerns)</small>
|
133
140
|
|
134
141
|
</li>
|
135
142
|
|
136
143
|
<li>
|
137
|
-
<span class='object_link'><a href="Ballast/
|
144
|
+
<span class='object_link'><a href="Ballast/Concerns.html" title="Ballast::Concerns (module)">Concerns</a></span>
|
138
145
|
|
139
146
|
<small>(Ballast)</small>
|
140
147
|
|
141
148
|
</li>
|
142
149
|
|
143
150
|
<li>
|
144
|
-
<span class='object_link'><a href="Ballast/
|
151
|
+
<span class='object_link'><a href="Ballast/Configuration.html" title="Ballast::Configuration (class)">Configuration</a></span>
|
145
152
|
|
146
153
|
<small>(Ballast)</small>
|
147
154
|
|
@@ -170,6 +177,13 @@
|
|
170
177
|
<li class="letter">E</li>
|
171
178
|
<ul>
|
172
179
|
|
180
|
+
<li>
|
181
|
+
<span class='object_link'><a href="Ballast/Emoji.html" title="Ballast::Emoji (module)">Emoji</a></span>
|
182
|
+
|
183
|
+
<small>(Ballast)</small>
|
184
|
+
|
185
|
+
</li>
|
186
|
+
|
173
187
|
<li>
|
174
188
|
<span class='object_link'><a href="Ballast/Errors.html" title="Ballast::Errors (module)">Errors</a></span>
|
175
189
|
|
@@ -188,6 +202,21 @@
|
|
188
202
|
</ul>
|
189
203
|
|
190
204
|
|
205
|
+
<ul id="alpha_F" class="alpha">
|
206
|
+
<li class="letter">F</li>
|
207
|
+
<ul>
|
208
|
+
|
209
|
+
<li>
|
210
|
+
<span class='object_link'><a href="Ballast/Errors/Failure.html" title="Ballast::Errors::Failure (class)">Failure</a></span>
|
211
|
+
|
212
|
+
<small>(Ballast::Errors)</small>
|
213
|
+
|
214
|
+
</li>
|
215
|
+
|
216
|
+
</ul>
|
217
|
+
</ul>
|
218
|
+
|
219
|
+
|
191
220
|
<ul id="alpha_I" class="alpha">
|
192
221
|
<li class="letter">I</li>
|
193
222
|
<ul>
|
@@ -203,6 +232,9 @@
|
|
203
232
|
</ul>
|
204
233
|
|
205
234
|
|
235
|
+
</td><td valign='top' width="33%">
|
236
|
+
|
237
|
+
|
206
238
|
<ul id="alpha_M" class="alpha">
|
207
239
|
<li class="letter">M</li>
|
208
240
|
<ul>
|
@@ -218,24 +250,21 @@
|
|
218
250
|
</ul>
|
219
251
|
|
220
252
|
|
221
|
-
|
222
|
-
|
223
|
-
|
224
|
-
<ul id="alpha_O" class="alpha">
|
225
|
-
<li class="letter">O</li>
|
253
|
+
<ul id="alpha_R" class="alpha">
|
254
|
+
<li class="letter">R</li>
|
226
255
|
<ul>
|
227
256
|
|
228
257
|
<li>
|
229
|
-
<span class='object_link'><a href="Ballast/
|
258
|
+
<span class='object_link'><a href="Ballast/RequestDomainMatcher.html" title="Ballast::RequestDomainMatcher (class)">RequestDomainMatcher</a></span>
|
230
259
|
|
231
260
|
<small>(Ballast)</small>
|
232
261
|
|
233
262
|
</li>
|
234
263
|
|
235
264
|
<li>
|
236
|
-
<span class='object_link'><a href="Ballast/
|
265
|
+
<span class='object_link'><a href="Ballast/Service/Response.html" title="Ballast::Service::Response (class)">Response</a></span>
|
237
266
|
|
238
|
-
<small>(Ballast)</small>
|
267
|
+
<small>(Ballast::Service)</small>
|
239
268
|
|
240
269
|
</li>
|
241
270
|
|
@@ -243,14 +272,14 @@
|
|
243
272
|
</ul>
|
244
273
|
|
245
274
|
|
246
|
-
<ul id="
|
247
|
-
<li class="letter">
|
275
|
+
<ul id="alpha_S" class="alpha">
|
276
|
+
<li class="letter">S</li>
|
248
277
|
<ul>
|
249
278
|
|
250
279
|
<li>
|
251
|
-
<span class='object_link'><a href="Ballast/
|
280
|
+
<span class='object_link'><a href="Ballast/Service.html" title="Ballast::Service (class)">Service</a></span>
|
252
281
|
|
253
|
-
<small>(Ballast
|
282
|
+
<small>(Ballast)</small>
|
254
283
|
|
255
284
|
</li>
|
256
285
|
|
@@ -258,14 +287,14 @@
|
|
258
287
|
</ul>
|
259
288
|
|
260
289
|
|
261
|
-
<ul id="
|
262
|
-
<li class="letter">
|
290
|
+
<ul id="alpha_U" class="alpha">
|
291
|
+
<li class="letter">U</li>
|
263
292
|
<ul>
|
264
293
|
|
265
294
|
<li>
|
266
|
-
<span class='object_link'><a href="Ballast/
|
295
|
+
<span class='object_link'><a href="Ballast/Emoji/Utils.html" title="Ballast::Emoji::Utils (module)">Utils</a></span>
|
267
296
|
|
268
|
-
<small>(Ballast)</small>
|
297
|
+
<small>(Ballast::Emoji)</small>
|
269
298
|
|
270
299
|
</li>
|
271
300
|
|
@@ -278,7 +307,7 @@
|
|
278
307
|
<ul>
|
279
308
|
|
280
309
|
<li>
|
281
|
-
<span class='object_link'><a href="Ballast/Errors/
|
310
|
+
<span class='object_link'><a href="Ballast/Errors/ValidationFailure.html" title="Ballast::Errors::ValidationFailure (class)">ValidationFailure</a></span>
|
282
311
|
|
283
312
|
<small>(Ballast::Errors)</small>
|
284
313
|
|
@@ -310,9 +339,9 @@
|
|
310
339
|
</div>
|
311
340
|
|
312
341
|
<div id="footer">
|
313
|
-
Generated on
|
342
|
+
Generated on Sun Nov 2 09:39:59 2014 by
|
314
343
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
315
|
-
0.8.7.
|
344
|
+
0.8.7.6 (ruby-2.1.3).
|
316
345
|
</div>
|
317
346
|
|
318
347
|
</body>
|
data/doc/class_list.html
CHANGED
@@ -20,7 +20,11 @@
|
|
20
20
|
</head>
|
21
21
|
<body>
|
22
22
|
<script type="text/javascript" charset="utf-8">
|
23
|
-
|
23
|
+
var hasFrames = false;
|
24
|
+
try {
|
25
|
+
hasFrames = window.top.frames.main ? true : false;
|
26
|
+
} catch (e) { }
|
27
|
+
if (hasFrames) {
|
24
28
|
document.getElementById('base_target').target = 'main';
|
25
29
|
document.body.className = 'frames';
|
26
30
|
}
|
@@ -46,7 +50,7 @@
|
|
46
50
|
|
47
51
|
<ul id="full_list" class="class">
|
48
52
|
<li><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></li>
|
49
|
-
<li><a class='toggle'></a> <span class='object_link'><a href="Ballast.html" title="Ballast (module)">Ballast</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><a class='toggle'></a> <span class='object_link'><a href="Ballast/Concerns.html" title="Ballast::Concerns (module)">Concerns</a></span><small class='search_info'>Ballast</small></li><ul><li><span class='object_link'><a href="Ballast/Concerns/
|
53
|
+
<li><a class='toggle'></a> <span class='object_link'><a href="Ballast.html" title="Ballast (module)">Ballast</a></span><small class='search_info'>Top Level Namespace</small></li><ul><li><span class='object_link'><a href="Ballast/AjaxResponse.html" title="Ballast::AjaxResponse (class)">AjaxResponse</a></span> < Object<small class='search_info'>Ballast</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Ballast/Concerns.html" title="Ballast::Concerns (module)">Concerns</a></span><small class='search_info'>Ballast</small></li><ul><li><span class='object_link'><a href="Ballast/Concerns/AjaxHandling.html" title="Ballast::Concerns::AjaxHandling (module)">AjaxHandling</a></span><small class='search_info'>Ballast::Concerns</small></li><li><span class='object_link'><a href="Ballast/Concerns/Common.html" title="Ballast::Concerns::Common (module)">Common</a></span><small class='search_info'>Ballast::Concerns</small></li><li><span class='object_link'><a href="Ballast/Concerns/ErrorsHandling.html" title="Ballast::Concerns::ErrorsHandling (module)">ErrorsHandling</a></span><small class='search_info'>Ballast::Concerns</small></li><li><span class='object_link'><a href="Ballast/Concerns/View.html" title="Ballast::Concerns::View (module)">View</a></span><small class='search_info'>Ballast::Concerns</small></li></ul><li><span class='object_link'><a href="Ballast/Configuration.html" title="Ballast::Configuration (class)">Configuration</a></span> < HashWithIndifferentAccess<small class='search_info'>Ballast</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Ballast/Emoji.html" title="Ballast::Emoji (module)">Emoji</a></span><small class='search_info'>Ballast</small></li><ul><li><span class='object_link'><a href="Ballast/Emoji/Character.html" title="Ballast::Emoji::Character (module)">Character</a></span><small class='search_info'>Ballast::Emoji</small></li><li><span class='object_link'><a href="Ballast/Emoji/Utils.html" title="Ballast::Emoji::Utils (module)">Utils</a></span><small class='search_info'>Ballast::Emoji</small></li></ul><li><a class='toggle'></a> <span class='object_link'><a href="Ballast/Errors.html" title="Ballast::Errors (module)">Errors</a></span><small class='search_info'>Ballast</small></li><ul><li><span class='object_link'><a href="Ballast/Errors/Base.html" title="Ballast::Errors::Base (class)">Base</a></span> < RuntimeError<small class='search_info'>Ballast::Errors</small></li><li><span class='object_link'><a href="Ballast/Errors/Failure.html" title="Ballast::Errors::Failure (class)">Failure</a></span> < Base<small class='search_info'>Ballast::Errors</small></li><li><span class='object_link'><a href="Ballast/Errors/InvalidDomain.html" title="Ballast::Errors::InvalidDomain (class)">InvalidDomain</a></span> < Base<small class='search_info'>Ballast::Errors</small></li><li><span class='object_link'><a href="Ballast/Errors/ValidationFailure.html" title="Ballast::Errors::ValidationFailure (class)">ValidationFailure</a></span> < Failure<small class='search_info'>Ballast::Errors</small></li></ul><li><a class='toggle'></a> <span class='object_link'><a href="Ballast/Middlewares.html" title="Ballast::Middlewares (module)">Middlewares</a></span><small class='search_info'>Ballast</small></li><ul><li><span class='object_link'><a href="Ballast/Middlewares/DefaultHost.html" title="Ballast::Middlewares::DefaultHost (class)">DefaultHost</a></span> < Object<small class='search_info'>Ballast::Middlewares</small></li></ul><li><span class='object_link'><a href="Ballast/RequestDomainMatcher.html" title="Ballast::RequestDomainMatcher (class)">RequestDomainMatcher</a></span> < Object<small class='search_info'>Ballast</small></li><li><a class='toggle'></a> <span class='object_link'><a href="Ballast/Service.html" title="Ballast::Service (class)">Service</a></span> < Object<small class='search_info'>Ballast</small></li><ul><li><span class='object_link'><a href="Ballast/Service/Response.html" title="Ballast::Service::Response (class)">Response</a></span> < Object<small class='search_info'>Ballast::Service</small></li></ul><li><span class='object_link'><a href="Ballast/Version.html" title="Ballast::Version (module)">Version</a></span><small class='search_info'>Ballast</small></li></ul>
|
50
54
|
|
51
55
|
</ul>
|
52
56
|
</div>
|
data/doc/css/style.css
CHANGED
@@ -291,6 +291,7 @@ li.r2 { background: #fafafa; }
|
|
291
291
|
-moz-box-shadow: -2px 2px 6px #bbb;
|
292
292
|
z-index: 5000;
|
293
293
|
position: relative;
|
294
|
+
overflow-x: auto;
|
294
295
|
}
|
295
296
|
#toc.nofloat { float: none; max-width: none; border: none; padding: 0; margin: 20px 0; -webkit-box-shadow: none; -moz-box-shadow: none; }
|
296
297
|
#toc.nofloat.hidden { padding: 0; background: 0; margin-bottom: 5px; }
|
data/doc/file.README.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '';
|
20
|
-
framesUrl = "frames.html#!
|
20
|
+
framesUrl = "frames.html#!file.README.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -72,7 +72,7 @@
|
|
72
72
|
|
73
73
|
<p>A collection of base utilities for Ruby on Rails.</p>
|
74
74
|
|
75
|
-
<p>http://sw.
|
75
|
+
<p>http://sw.cowtech.it/ballast</p>
|
76
76
|
|
77
77
|
<p>http://rdoc.info/gems/ballast</p>
|
78
78
|
|
@@ -80,7 +80,7 @@
|
|
80
80
|
|
81
81
|
<p>Ballast is a gem which tries to solve common issues which we all (or, at least, me) usually encounter when we develop with Ruby On Rails.</p>
|
82
82
|
|
83
|
-
<p>The first big issue is having fat controllers. To solve this, ballast enbraces the idea of the <a href="https://github.com/collectiveidea/interactor">interactor</a> gem and it
|
83
|
+
<p>The first big issue is having fat controllers. To solve this, ballast enbraces the idea of the <a href="https://github.com/collectiveidea/interactor">interactor</a> gem and it implements a service interface.</p>
|
84
84
|
|
85
85
|
<p>The second issue is handling AJAX actions in a short way. To solve this, ballast provides the Ajax concern to ease the handling of JSON data, both inbound and outbound.</p>
|
86
86
|
|
@@ -106,9 +106,9 @@
|
|
106
106
|
</div></div>
|
107
107
|
|
108
108
|
<div id="footer">
|
109
|
-
Generated on
|
109
|
+
Generated on Sun Nov 2 09:40:00 2014 by
|
110
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
111
|
-
0.8.7.
|
111
|
+
0.8.7.6 (ruby-2.1.3).
|
112
112
|
</div>
|
113
113
|
|
114
114
|
</body>
|
data/doc/file_list.html
CHANGED
@@ -20,7 +20,11 @@
|
|
20
20
|
</head>
|
21
21
|
<body>
|
22
22
|
<script type="text/javascript" charset="utf-8">
|
23
|
-
|
23
|
+
var hasFrames = false;
|
24
|
+
try {
|
25
|
+
hasFrames = window.top.frames.main ? true : false;
|
26
|
+
} catch (e) { }
|
27
|
+
if (hasFrames) {
|
24
28
|
document.getElementById('base_target').target = 'main';
|
25
29
|
document.body.className = 'frames';
|
26
30
|
}
|
data/doc/frames.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
5
5
|
<head>
|
6
6
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
7
|
-
<title>Documentation by YARD 0.8.7.
|
7
|
+
<title>Documentation by YARD 0.8.7.6</title>
|
8
8
|
</head>
|
9
9
|
<script type="text/javascript" charset="utf-8">
|
10
10
|
window.onload = function() {
|
data/doc/index.html
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
<title>
|
7
7
|
File: README
|
8
8
|
|
9
|
-
— Documentation by YARD 0.8.7.
|
9
|
+
— Documentation by YARD 0.8.7.6
|
10
10
|
|
11
11
|
</title>
|
12
12
|
|
@@ -17,7 +17,7 @@
|
|
17
17
|
<script type="text/javascript" charset="utf-8">
|
18
18
|
hasFrames = window.top.frames.main ? true : false;
|
19
19
|
relpath = '';
|
20
|
-
framesUrl = "frames.html#!
|
20
|
+
framesUrl = "frames.html#!file.README.html";
|
21
21
|
</script>
|
22
22
|
|
23
23
|
|
@@ -72,7 +72,7 @@
|
|
72
72
|
|
73
73
|
<p>A collection of base utilities for Ruby on Rails.</p>
|
74
74
|
|
75
|
-
<p>http://sw.
|
75
|
+
<p>http://sw.cowtech.it/ballast</p>
|
76
76
|
|
77
77
|
<p>http://rdoc.info/gems/ballast</p>
|
78
78
|
|
@@ -80,7 +80,7 @@
|
|
80
80
|
|
81
81
|
<p>Ballast is a gem which tries to solve common issues which we all (or, at least, me) usually encounter when we develop with Ruby On Rails.</p>
|
82
82
|
|
83
|
-
<p>The first big issue is having fat controllers. To solve this, ballast enbraces the idea of the <a href="https://github.com/collectiveidea/interactor">interactor</a> gem and it
|
83
|
+
<p>The first big issue is having fat controllers. To solve this, ballast enbraces the idea of the <a href="https://github.com/collectiveidea/interactor">interactor</a> gem and it implements a service interface.</p>
|
84
84
|
|
85
85
|
<p>The second issue is handling AJAX actions in a short way. To solve this, ballast provides the Ajax concern to ease the handling of JSON data, both inbound and outbound.</p>
|
86
86
|
|
@@ -106,9 +106,9 @@
|
|
106
106
|
</div></div>
|
107
107
|
|
108
108
|
<div id="footer">
|
109
|
-
Generated on
|
109
|
+
Generated on Sun Nov 2 09:40:00 2014 by
|
110
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
111
|
-
0.8.7.
|
111
|
+
0.8.7.6 (ruby-2.1.3).
|
112
112
|
</div>
|
113
113
|
|
114
114
|
</body>
|
data/doc/js/full_list.js
CHANGED
@@ -123,7 +123,10 @@ function linkList() {
|
|
123
123
|
}
|
124
124
|
}
|
125
125
|
if (clicked) clicked.removeClass('clicked');
|
126
|
-
var win
|
126
|
+
var win;
|
127
|
+
try {
|
128
|
+
win = window.top.frames.main ? window.top.frames.main : window.parent;
|
129
|
+
} catch (e) { win = window.parent; }
|
127
130
|
if (this.tagName.toLowerCase() == "a") {
|
128
131
|
clicked = $(this).parents('li').addClass('clicked');
|
129
132
|
win.location = this.href;
|