ballast 1.9.1 → 1.9.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e262e645bbaa4d5bbd251e8f78a8a234e6868e8d
4
- data.tar.gz: b9dc8f5a95ff0c8117b53a5b2883e989bbfcfd2f
3
+ metadata.gz: 90402cc90960febdb8c01d502ce768c698aaf7d9
4
+ data.tar.gz: e5768f863f473dd98c8f4005dea595c5b38b0846
5
5
  SHA512:
6
- metadata.gz: 14a9cd8b49bac63e05a5d892800c9d594af66fd9f101d8190d976f04e408f7b2debac26321e707b5ac2f385cf2875e16e71f0e03239fd219cda610d260cd8271
7
- data.tar.gz: 856764b23b919a0e333033a7f6f4be09115ff16d0072b8a7f4110887024b8428d1233ad517d20628d23223d98ceb4540fd4d4ff0c88a44b70dedf2a7d74d1d26
6
+ metadata.gz: d626150b5ba00faa379862990f78b9495c8cf93e92d678d7388629147d6026b9deb8fd43102cbad2911ec301ed94a2ba579bf05af132c99861819a27ac88710f
7
+ data.tar.gz: d4172451c0b918126da6017027a6c277e812e8de7bc35143830880064aa3512878d2fa46d75fc1d040a6847165ade9a68db33f2d2afd267a70adee347b507635
data/CHANGELOG.md CHANGED
@@ -1,4 +1,8 @@
1
- ### 1.9.0 / 2014-03-08
1
+ ### 1.9.2 / 2014-03-09
2
+
3
+ * Fixed type for HTML in `Ballast::Concerns::ErrorsHandling::handle_error`.
4
+
5
+ ### 1.9.1 / 2014-03-08
2
6
 
3
7
  * `Ballast::Configuration` now makes sure file with dashes are accessible in the dotted notation.
4
8
 
data/doc/Ballast.html CHANGED
@@ -259,7 +259,7 @@ Licensed under the MIT license, which can be found at http://www.opensource.org/
259
259
  </div>
260
260
 
261
261
  <div id="footer">
262
- Generated on Sat Mar 8 10:05:53 2014 by
262
+ Generated on Sun Mar 9 20:39:20 2014 by
263
263
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
264
264
  0.8.7.3 (ruby-2.1.0).
265
265
  </div>
@@ -118,7 +118,7 @@
118
118
  </div>
119
119
 
120
120
  <div id="footer">
121
- Generated on Sat Mar 8 10:05:53 2014 by
121
+ Generated on Sun Mar 9 20:39:20 2014 by
122
122
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
123
123
  0.8.7.3 (ruby-2.1.0).
124
124
  </div>
@@ -895,7 +895,7 @@
895
895
  </div>
896
896
 
897
897
  <div id="footer">
898
- Generated on Sat Mar 8 10:05:53 2014 by
898
+ Generated on Sun Mar 9 20:39:20 2014 by
899
899
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
900
900
  0.8.7.3 (ruby-2.1.0).
901
901
  </div>
@@ -1098,7 +1098,7 @@ and <code>%:Z</code> for the zone name considering also DST.</p>
1098
1098
  </div>
1099
1099
 
1100
1100
  <div id="footer">
1101
- Generated on Sat Mar 8 10:05:53 2014 by
1101
+ Generated on Sun Mar 9 20:39:20 2014 by
1102
1102
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1103
1103
  0.8.7.3 (ruby-2.1.0).
1104
1104
  </div>
@@ -291,7 +291,7 @@
291
291
  </div>
292
292
 
293
293
  <div id="footer">
294
- Generated on Sat Mar 8 10:05:53 2014 by
294
+ Generated on Sun Mar 9 20:39:20 2014 by
295
295
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
296
296
  0.8.7.3 (ruby-2.1.0).
297
297
  </div>
@@ -850,7 +850,7 @@
850
850
  </div>
851
851
 
852
852
  <div id="footer">
853
- Generated on Sat Mar 8 10:05:53 2014 by
853
+ Generated on Sun Mar 9 20:39:20 2014 by
854
854
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
855
855
  0.8.7.3 (ruby-2.1.0).
856
856
  </div>
@@ -275,7 +275,7 @@ Subfolders are not supported.</p>
275
275
  </div>
276
276
 
277
277
  <div id="footer">
278
- Generated on Sat Mar 8 10:05:54 2014 by
278
+ Generated on Sun Mar 9 20:39:21 2014 by
279
279
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
280
280
  0.8.7.3 (ruby-2.1.0).
281
281
  </div>
@@ -408,7 +408,7 @@
408
408
  </div>
409
409
 
410
410
  <div id="footer">
411
- Generated on Sat Mar 8 10:05:54 2014 by
411
+ Generated on Sun Mar 9 20:39:20 2014 by
412
412
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
413
413
  0.8.7.3 (ruby-2.1.0).
414
414
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Sat Mar 8 10:05:53 2014 by
119
+ Generated on Sun Mar 9 20:39:20 2014 by
120
120
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
121
  0.8.7.3 (ruby-2.1.0).
122
122
  </div>
@@ -317,7 +317,7 @@
317
317
  </div>
318
318
 
319
319
  <div id="footer">
320
- Generated on Sat Mar 8 10:05:53 2014 by
320
+ Generated on Sun Mar 9 20:39:20 2014 by
321
321
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
322
322
  0.8.7.3 (ruby-2.1.0).
323
323
  </div>
@@ -148,7 +148,7 @@
148
148
  </div>
149
149
 
150
150
  <div id="footer">
151
- Generated on Sat Mar 8 10:05:54 2014 by
151
+ Generated on Sun Mar 9 20:39:20 2014 by
152
152
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
153
153
  0.8.7.3 (ruby-2.1.0).
154
154
  </div>
@@ -148,7 +148,7 @@
148
148
  </div>
149
149
 
150
150
  <div id="footer">
151
- Generated on Sat Mar 8 10:05:54 2014 by
151
+ Generated on Sun Mar 9 20:39:20 2014 by
152
152
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
153
153
  0.8.7.3 (ruby-2.1.0).
154
154
  </div>
@@ -148,7 +148,7 @@
148
148
  </div>
149
149
 
150
150
  <div id="footer">
151
- Generated on Sat Mar 8 10:05:54 2014 by
151
+ Generated on Sun Mar 9 20:39:20 2014 by
152
152
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
153
153
  0.8.7.3 (ruby-2.1.0).
154
154
  </div>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Sat Mar 8 10:05:53 2014 by
119
+ Generated on Sun Mar 9 20:39:20 2014 by
120
120
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
121
121
  0.8.7.3 (ruby-2.1.0).
122
122
  </div>
@@ -345,7 +345,7 @@
345
345
  </div>
346
346
 
347
347
  <div id="footer">
348
- Generated on Sat Mar 8 10:05:54 2014 by
348
+ Generated on Sun Mar 9 20:39:21 2014 by
349
349
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
350
350
  0.8.7.3 (ruby-2.1.0).
351
351
  </div>
@@ -1295,7 +1295,7 @@ as owner will be created.</p>
1295
1295
  </div>
1296
1296
 
1297
1297
  <div id="footer">
1298
- Generated on Sat Mar 8 10:05:54 2014 by
1298
+ Generated on Sun Mar 9 20:39:21 2014 by
1299
1299
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1300
1300
  0.8.7.3 (ruby-2.1.0).
1301
1301
  </div>
@@ -588,7 +588,7 @@ as owner will be created.</p>
588
588
  </div>
589
589
 
590
590
  <div id="footer">
591
- Generated on Sat Mar 8 10:05:54 2014 by
591
+ Generated on Sun Mar 9 20:39:21 2014 by
592
592
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
593
593
  0.8.7.3 (ruby-2.1.0).
594
594
  </div>
@@ -908,7 +908,7 @@
908
908
  </div>
909
909
 
910
910
  <div id="footer">
911
- Generated on Sat Mar 8 10:05:54 2014 by
911
+ Generated on Sun Mar 9 20:39:21 2014 by
912
912
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
913
913
  0.8.7.3 (ruby-2.1.0).
914
914
  </div>
@@ -149,7 +149,7 @@
149
149
 
150
150
  </div>
151
151
  </dt>
152
- <dd><pre class="code"><span class='int'>1</span></pre></dd>
152
+ <dd><pre class="code"><span class='int'>2</span></pre></dd>
153
153
 
154
154
  <dt id="STRING-constant" class="">STRING =
155
155
  <div class="docstring">
@@ -180,7 +180,7 @@
180
180
  </div>
181
181
 
182
182
  <div id="footer">
183
- Generated on Sat Mar 8 10:05:53 2014 by
183
+ Generated on Sun Mar 9 20:39:20 2014 by
184
184
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
185
185
  0.8.7.3 (ruby-2.1.0).
186
186
  </div>
data/doc/_index.html CHANGED
@@ -310,7 +310,7 @@
310
310
  </div>
311
311
 
312
312
  <div id="footer">
313
- Generated on Sat Mar 8 10:05:53 2014 by
313
+ Generated on Sun Mar 9 20:39:20 2014 by
314
314
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
315
315
  0.8.7.3 (ruby-2.1.0).
316
316
  </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 Sat Mar 8 10:05:53 2014 by
109
+ Generated on Sun Mar 9 20:39:20 2014 by
110
110
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
111
111
  0.8.7.3 (ruby-2.1.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 Sat Mar 8 10:05:53 2014 by
109
+ Generated on Sun Mar 9 20:39:20 2014 by
110
110
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
111
111
  0.8.7.3 (ruby-2.1.0).
112
112
  </div>
@@ -103,7 +103,7 @@
103
103
  </div>
104
104
 
105
105
  <div id="footer">
106
- Generated on Sat Mar 8 10:05:53 2014 by
106
+ Generated on Sun Mar 9 20:39:20 2014 by
107
107
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
108
108
  0.8.7.3 (ruby-2.1.0).
109
109
  </div>
@@ -47,7 +47,7 @@ module Ballast
47
47
  data = prepare_ajax(@error_code, details, @error_message || @error.message)
48
48
  send_ajax(data, format: format)
49
49
  else
50
- render(nothing: true, status: @error_code, layout: layout, formats: [:html])
50
+ render(html: "", status: @error_code, layout: layout, formats: [:html])
51
51
  end
52
52
  end
53
53
  end
@@ -16,7 +16,7 @@ module Ballast
16
16
  MINOR = 9
17
17
 
18
18
  # The patch version.
19
- PATCH = 1
19
+ PATCH = 2
20
20
 
21
21
  # The current version of ballast.
22
22
  STRING = [MAJOR, MINOR, PATCH].compact.join(".")
@@ -63,7 +63,7 @@ describe Ballast::Concerns::ErrorsHandling do
63
63
 
64
64
  it "should render a HTML error" do
65
65
  allow(subject).to receive(:request).and_return(OpenStruct.new(format: :html))
66
- expect(subject).to receive(:render).with(nothing: true, status: 500, layout: "LAYOUT", formats: [:html])
66
+ expect(subject).to receive(:render).with(html: "", status: 500, layout: "LAYOUT", formats: [:html])
67
67
  subject.handle_error(RuntimeError.new("ERROR"), "LAYOUT")
68
68
  end
69
69
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ballast
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.1
4
+ version: 1.9.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shogun
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-03-08 00:00:00.000000000 Z
11
+ date: 2014-03-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: actionpack