ballast 2.1.1 → 2.1.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.
- checksums.yaml +4 -4
- data/.yardopts +1 -1
- data/CHANGELOG.md +4 -0
- data/doc/Ballast/AjaxResponse.html +1 -1
- data/doc/Ballast/Concerns/AjaxHandling.html +1 -1
- data/doc/Ballast/Concerns/Common.html +1 -1
- data/doc/Ballast/Concerns/ErrorsHandling.html +1 -1
- data/doc/Ballast/Concerns/View.html +1 -1
- data/doc/Ballast/Concerns.html +1 -1
- data/doc/Ballast/Configuration.html +1 -1
- data/doc/Ballast/Emoji/Character.html +1 -1
- data/doc/Ballast/Emoji/Utils.html +1 -1
- data/doc/Ballast/Emoji.html +1 -1
- data/doc/Ballast/Errors/Base.html +1 -1
- data/doc/Ballast/Errors/Failure.html +1 -1
- data/doc/Ballast/Errors/InvalidDomain.html +1 -1
- data/doc/Ballast/Errors/ValidationFailure.html +1 -1
- data/doc/Ballast/Errors.html +1 -1
- data/doc/Ballast/Middlewares/DefaultHost.html +1 -1
- data/doc/Ballast/Middlewares.html +1 -1
- data/doc/Ballast/RequestDomainMatcher.html +1 -1
- data/doc/Ballast/Service/Response.html +1 -1
- data/doc/Ballast/Service.html +1 -1
- data/doc/Ballast/Version.html +2 -2
- data/doc/Ballast.html +1 -1
- data/doc/_index.html +1 -1
- data/doc/file.README.html +1 -1
- data/doc/index.html +1 -1
- data/doc/top-level-namespace.html +1 -1
- data/lib/ballast/concerns/errors_handling.rb +1 -1
- data/lib/ballast/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 1617ae2b96b4be7c5f592c8562a4c0deb1e81547
|
|
4
|
+
data.tar.gz: 8375b698a6ffa1f6f569e7e35702ebd826f353f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 21d5dbc18cd35c7148de649edb81096e221780fdbf4e71bb581cc7a4a35176c73aad72b79c0df7375c643a53ab50897f29e9a55af218d2fbc479ab85a262d0b5
|
|
7
|
+
data.tar.gz: 8266d6e7a2bb2b508f8c4ad5cd709d0fcdda9ba07b2caba746107a6cf625f1fca78047f9c85e0a240037ab10ed240cff424e8c6709e3ac47ea87f8733c151118
|
data/.yardopts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
-m markdown
|
|
1
|
+
-m markdown --legacy
|
data/CHANGELOG.md
CHANGED
|
@@ -1459,7 +1459,7 @@
|
|
|
1459
1459
|
</div>
|
|
1460
1460
|
|
|
1461
1461
|
<div id="footer">
|
|
1462
|
-
Generated on
|
|
1462
|
+
Generated on Sat Jan 31 12:23:09 2015 by
|
|
1463
1463
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1464
1464
|
0.8.7.6 (ruby-2.2.0).
|
|
1465
1465
|
</div>
|
|
@@ -658,7 +658,7 @@
|
|
|
658
658
|
</div>
|
|
659
659
|
|
|
660
660
|
<div id="footer">
|
|
661
|
-
Generated on
|
|
661
|
+
Generated on Sat Jan 31 12:23:09 2015 by
|
|
662
662
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
663
663
|
0.8.7.6 (ruby-2.2.0).
|
|
664
664
|
</div>
|
|
@@ -956,7 +956,7 @@ and <code>%:Z</code> for the zone name considering also DST.</p>
|
|
|
956
956
|
</div>
|
|
957
957
|
|
|
958
958
|
<div id="footer">
|
|
959
|
-
Generated on
|
|
959
|
+
Generated on Sat Jan 31 12:23:09 2015 by
|
|
960
960
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
961
961
|
0.8.7.6 (ruby-2.2.0).
|
|
962
962
|
</div>
|
|
@@ -274,7 +274,7 @@
|
|
|
274
274
|
</div>
|
|
275
275
|
|
|
276
276
|
<div id="footer">
|
|
277
|
-
Generated on
|
|
277
|
+
Generated on Sat Jan 31 12:23:09 2015 by
|
|
278
278
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
279
279
|
0.8.7.6 (ruby-2.2.0).
|
|
280
280
|
</div>
|
|
@@ -881,7 +881,7 @@
|
|
|
881
881
|
</div>
|
|
882
882
|
|
|
883
883
|
<div id="footer">
|
|
884
|
-
Generated on
|
|
884
|
+
Generated on Sat Jan 31 12:23:08 2015 by
|
|
885
885
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
886
886
|
0.8.7.6 (ruby-2.2.0).
|
|
887
887
|
</div>
|
data/doc/Ballast/Concerns.html
CHANGED
|
@@ -118,7 +118,7 @@
|
|
|
118
118
|
</div>
|
|
119
119
|
|
|
120
120
|
<div id="footer">
|
|
121
|
-
Generated on
|
|
121
|
+
Generated on Sat Jan 31 12:23:08 2015 by
|
|
122
122
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
123
123
|
0.8.7.6 (ruby-2.2.0).
|
|
124
124
|
</div>
|
|
@@ -451,7 +451,7 @@ Subfolders are not supported.</p>
|
|
|
451
451
|
</div>
|
|
452
452
|
|
|
453
453
|
<div id="footer">
|
|
454
|
-
Generated on
|
|
454
|
+
Generated on Sat Jan 31 12:23:09 2015 by
|
|
455
455
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
456
456
|
0.8.7.6 (ruby-2.2.0).
|
|
457
457
|
</div>
|
|
@@ -405,7 +405,7 @@
|
|
|
405
405
|
</div>
|
|
406
406
|
|
|
407
407
|
<div id="footer">
|
|
408
|
-
Generated on
|
|
408
|
+
Generated on Sat Jan 31 12:23:08 2015 by
|
|
409
409
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
410
410
|
0.8.7.6 (ruby-2.2.0).
|
|
411
411
|
</div>
|
|
@@ -790,7 +790,7 @@
|
|
|
790
790
|
</div>
|
|
791
791
|
|
|
792
792
|
<div id="footer">
|
|
793
|
-
Generated on
|
|
793
|
+
Generated on Sat Jan 31 12:23:08 2015 by
|
|
794
794
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
795
795
|
0.8.7.6 (ruby-2.2.0).
|
|
796
796
|
</div>
|
data/doc/Ballast/Emoji.html
CHANGED
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Sat Jan 31 12:23:08 2015 by
|
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
121
|
0.8.7.6 (ruby-2.2.0).
|
|
122
122
|
</div>
|
|
@@ -346,7 +346,7 @@
|
|
|
346
346
|
</div>
|
|
347
347
|
|
|
348
348
|
<div id="footer">
|
|
349
|
-
Generated on
|
|
349
|
+
Generated on Sat Jan 31 12:23:09 2015 by
|
|
350
350
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
351
351
|
0.8.7.6 (ruby-2.2.0).
|
|
352
352
|
</div>
|
|
@@ -152,7 +152,7 @@
|
|
|
152
152
|
</div>
|
|
153
153
|
|
|
154
154
|
<div id="footer">
|
|
155
|
-
Generated on
|
|
155
|
+
Generated on Sat Jan 31 12:23:09 2015 by
|
|
156
156
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
157
157
|
0.8.7.6 (ruby-2.2.0).
|
|
158
158
|
</div>
|
|
@@ -148,7 +148,7 @@
|
|
|
148
148
|
</div>
|
|
149
149
|
|
|
150
150
|
<div id="footer">
|
|
151
|
-
Generated on
|
|
151
|
+
Generated on Sat Jan 31 12:23:09 2015 by
|
|
152
152
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
153
153
|
0.8.7.6 (ruby-2.2.0).
|
|
154
154
|
</div>
|
|
@@ -156,7 +156,7 @@
|
|
|
156
156
|
</div>
|
|
157
157
|
|
|
158
158
|
<div id="footer">
|
|
159
|
-
Generated on
|
|
159
|
+
Generated on Sat Jan 31 12:23:09 2015 by
|
|
160
160
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
161
161
|
0.8.7.6 (ruby-2.2.0).
|
|
162
162
|
</div>
|
data/doc/Ballast/Errors.html
CHANGED
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Sat Jan 31 12:23:08 2015 by
|
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
121
|
0.8.7.6 (ruby-2.2.0).
|
|
122
122
|
</div>
|
|
@@ -347,7 +347,7 @@
|
|
|
347
347
|
</div>
|
|
348
348
|
|
|
349
349
|
<div id="footer">
|
|
350
|
-
Generated on
|
|
350
|
+
Generated on Sat Jan 31 12:23:09 2015 by
|
|
351
351
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
352
352
|
0.8.7.6 (ruby-2.2.0).
|
|
353
353
|
</div>
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
</div>
|
|
117
117
|
|
|
118
118
|
<div id="footer">
|
|
119
|
-
Generated on
|
|
119
|
+
Generated on Sat Jan 31 12:23:09 2015 by
|
|
120
120
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
121
121
|
0.8.7.6 (ruby-2.2.0).
|
|
122
122
|
</div>
|
|
@@ -914,7 +914,7 @@
|
|
|
914
914
|
</div>
|
|
915
915
|
|
|
916
916
|
<div id="footer">
|
|
917
|
-
Generated on
|
|
917
|
+
Generated on Sat Jan 31 12:23:09 2015 by
|
|
918
918
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
919
919
|
0.8.7.6 (ruby-2.2.0).
|
|
920
920
|
</div>
|
|
@@ -1269,7 +1269,7 @@
|
|
|
1269
1269
|
</div>
|
|
1270
1270
|
|
|
1271
1271
|
<div id="footer">
|
|
1272
|
-
Generated on
|
|
1272
|
+
Generated on Sat Jan 31 12:23:09 2015 by
|
|
1273
1273
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1274
1274
|
0.8.7.6 (ruby-2.2.0).
|
|
1275
1275
|
</div>
|
data/doc/Ballast/Service.html
CHANGED
|
@@ -1301,7 +1301,7 @@
|
|
|
1301
1301
|
</div>
|
|
1302
1302
|
|
|
1303
1303
|
<div id="footer">
|
|
1304
|
-
Generated on
|
|
1304
|
+
Generated on Sat Jan 31 12:23:09 2015 by
|
|
1305
1305
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
1306
1306
|
0.8.7.6 (ruby-2.2.0).
|
|
1307
1307
|
</div>
|
data/doc/Ballast/Version.html
CHANGED
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
|
|
152
152
|
</div>
|
|
153
153
|
</dt>
|
|
154
|
-
<dd><pre class="code"><span class='integer val'>
|
|
154
|
+
<dd><pre class="code"><span class='integer val'>2</span>
|
|
155
155
|
</pre></dd>
|
|
156
156
|
|
|
157
157
|
<dt id="STRING-constant" class="">STRING =
|
|
@@ -184,7 +184,7 @@
|
|
|
184
184
|
</div>
|
|
185
185
|
|
|
186
186
|
<div id="footer">
|
|
187
|
-
Generated on
|
|
187
|
+
Generated on Sat Jan 31 12:23:08 2015 by
|
|
188
188
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
189
189
|
0.8.7.6 (ruby-2.2.0).
|
|
190
190
|
</div>
|
data/doc/Ballast.html
CHANGED
|
@@ -256,7 +256,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
|
|
|
256
256
|
</div>
|
|
257
257
|
|
|
258
258
|
<div id="footer">
|
|
259
|
-
Generated on
|
|
259
|
+
Generated on Sat Jan 31 12:23:08 2015 by
|
|
260
260
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
261
261
|
0.8.7.6 (ruby-2.2.0).
|
|
262
262
|
</div>
|
data/doc/_index.html
CHANGED
|
@@ -339,7 +339,7 @@
|
|
|
339
339
|
</div>
|
|
340
340
|
|
|
341
341
|
<div id="footer">
|
|
342
|
-
Generated on
|
|
342
|
+
Generated on Sat Jan 31 12:23:08 2015 by
|
|
343
343
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
344
344
|
0.8.7.6 (ruby-2.2.0).
|
|
345
345
|
</div>
|
data/doc/file.README.html
CHANGED
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
</div></div>
|
|
107
107
|
|
|
108
108
|
<div id="footer">
|
|
109
|
-
Generated on
|
|
109
|
+
Generated on Sat Jan 31 12:23:08 2015 by
|
|
110
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
111
111
|
0.8.7.6 (ruby-2.2.0).
|
|
112
112
|
</div>
|
data/doc/index.html
CHANGED
|
@@ -106,7 +106,7 @@
|
|
|
106
106
|
</div></div>
|
|
107
107
|
|
|
108
108
|
<div id="footer">
|
|
109
|
-
Generated on
|
|
109
|
+
Generated on Sat Jan 31 12:23:08 2015 by
|
|
110
110
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
111
111
|
0.8.7.6 (ruby-2.2.0).
|
|
112
112
|
</div>
|
|
@@ -103,7 +103,7 @@
|
|
|
103
103
|
</div>
|
|
104
104
|
|
|
105
105
|
<div id="footer">
|
|
106
|
-
Generated on
|
|
106
|
+
Generated on Sat Jan 31 12:23:08 2015 by
|
|
107
107
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
|
108
108
|
0.8.7.6 (ruby-2.2.0).
|
|
109
109
|
</div>
|
|
@@ -34,7 +34,7 @@ module Ballast
|
|
|
34
34
|
def send_or_render_error(layout, format = nil)
|
|
35
35
|
format ||= request.format.to_sym
|
|
36
36
|
|
|
37
|
-
if ajax_request? || format.match(/^json/)
|
|
37
|
+
if ajax_request? || (format && format.match(/^json/))
|
|
38
38
|
details = {description: @error[:title], backtrace: @error[:exception].safe_send(:backtrace)}
|
|
39
39
|
prepare_ajax_response(status: @error[:status], data: details, error: @error[:error]).reply(format: format)
|
|
40
40
|
else
|
data/lib/ballast/version.rb
CHANGED