ballast 2.2.1 → 2.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e0045bb5b0118483db7f72217afda2de7e046e1
4
- data.tar.gz: c22a0b06575026afcf3434bb652fe4d23efe3cc9
3
+ metadata.gz: 903a831f14ad4e705f187cd71ca640cc805f1409
4
+ data.tar.gz: 639d3bb3e66fbee14919ddaa32bfb1407fc873f0
5
5
  SHA512:
6
- metadata.gz: 60cae974e698ed37241e89a5a847fd82f020430c2c5c7c721c05ddc6c2c95510565b1bc73118f5161e597f10224006070118f540593e8f407b4195e30d44e7f0
7
- data.tar.gz: 4d8d0f9ab9623e8d6ac4873fef3c5c7bd985d8c74d78d2c07049f44206ba59bd945990df1b32cd09e63ad416aa8f06fe1b796638c6c322cc5faccde5f1b95269
6
+ metadata.gz: a0a71c1ad8a56c25b65e63e484c8ae7c353e78bb44a50555452ea57cbf410a3ab87557017e85edfef31a5f44abe94c5539a30281bc6e8301b4040b0c46891232
7
+ data.tar.gz: 3611b01af30b0a9ce0593095df5ec2ae262f364e64ab4ef81da45c1f95a511f855c2fd4a2403b12c8bd05a8c02cf2f01f82541f12995cc9d0eba3248feb6a680
data/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 2.2.2 / 2014-02-07
2
+
3
+ * Minor fix in `Ballast::Service::Response.reply`.
4
+
1
5
  ### 2.2.1 / 2014-02-07
2
6
 
3
7
  * Minor fix in `Ballast::Service::Response.reply`.
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 Sat Feb 7 19:16:42 2015 by
259
+ Generated on Sat Feb 7 19:34:05 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>
@@ -629,7 +629,7 @@
629
629
 
630
630
  <span class='comment val'># :nodoc:</span>
631
631
  <span class='rubyid_def def kw'>def</span> <span class='rubyid_choose_format identifier id'>choose_format</span><span class='lparen token'>(</span><span class='rubyid_format identifier id'>format</span><span class='rparen token'>)</span>
632
- <span class='lparen token'>(</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_params identifier id'>params</span><span class='lbrack token'>[</span><span class='symbol val'>:format</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_request identifier id'>request</span><span class='dot token'>.</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='string val'>&quot;json&quot;</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='rubyid_to_sym identifier id'>to_sym</span>
632
+ <span class='lparen token'>(</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_params identifier id'>params</span><span class='lbrack token'>[</span><span class='symbol val'>:format</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_request identifier id'>request</span><span class='dot token'>.</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='string val'>&quot;json&quot;</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='rubyid_to_sym identifier id'>to_sym</span> <span class='orop op'>||</span> <span class='symbol val'>:html</span>
633
633
  <span class='rubyid_end end kw'>end</span>
634
634
 
635
635
  <span class='comment val'># :nodoc:</span>
@@ -823,7 +823,7 @@
823
823
 
824
824
  <span class='comment val'># :nodoc:</span>
825
825
  <span class='rubyid_def def kw'>def</span> <span class='rubyid_choose_format identifier id'>choose_format</span><span class='lparen token'>(</span><span class='rubyid_format identifier id'>format</span><span class='rparen token'>)</span>
826
- <span class='lparen token'>(</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_params identifier id'>params</span><span class='lbrack token'>[</span><span class='symbol val'>:format</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_request identifier id'>request</span><span class='dot token'>.</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='string val'>&quot;json&quot;</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='rubyid_to_sym identifier id'>to_sym</span>
826
+ <span class='lparen token'>(</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_params identifier id'>params</span><span class='lbrack token'>[</span><span class='symbol val'>:format</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_request identifier id'>request</span><span class='dot token'>.</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='string val'>&quot;json&quot;</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='rubyid_to_sym identifier id'>to_sym</span> <span class='orop op'>||</span> <span class='symbol val'>:html</span>
827
827
  <span class='rubyid_end end kw'>end</span>
828
828
 
829
829
  <span class='comment val'># :nodoc:</span>
@@ -1017,7 +1017,7 @@
1017
1017
 
1018
1018
  <span class='comment val'># :nodoc:</span>
1019
1019
  <span class='rubyid_def def kw'>def</span> <span class='rubyid_choose_format identifier id'>choose_format</span><span class='lparen token'>(</span><span class='rubyid_format identifier id'>format</span><span class='rparen token'>)</span>
1020
- <span class='lparen token'>(</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_params identifier id'>params</span><span class='lbrack token'>[</span><span class='symbol val'>:format</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_request identifier id'>request</span><span class='dot token'>.</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='string val'>&quot;json&quot;</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='rubyid_to_sym identifier id'>to_sym</span>
1020
+ <span class='lparen token'>(</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_params identifier id'>params</span><span class='lbrack token'>[</span><span class='symbol val'>:format</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_request identifier id'>request</span><span class='dot token'>.</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='string val'>&quot;json&quot;</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='rubyid_to_sym identifier id'>to_sym</span> <span class='orop op'>||</span> <span class='symbol val'>:html</span>
1021
1021
  <span class='rubyid_end end kw'>end</span>
1022
1022
 
1023
1023
  <span class='comment val'># :nodoc:</span>
@@ -1211,7 +1211,7 @@
1211
1211
 
1212
1212
  <span class='comment val'># :nodoc:</span>
1213
1213
  <span class='rubyid_def def kw'>def</span> <span class='rubyid_choose_format identifier id'>choose_format</span><span class='lparen token'>(</span><span class='rubyid_format identifier id'>format</span><span class='rparen token'>)</span>
1214
- <span class='lparen token'>(</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_params identifier id'>params</span><span class='lbrack token'>[</span><span class='symbol val'>:format</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_request identifier id'>request</span><span class='dot token'>.</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='string val'>&quot;json&quot;</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='rubyid_to_sym identifier id'>to_sym</span>
1214
+ <span class='lparen token'>(</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_params identifier id'>params</span><span class='lbrack token'>[</span><span class='symbol val'>:format</span><span class='rbrack token'>]</span> <span class='orop op'>||</span> <span class='rubyid_transport identifier id'>transport</span><span class='dot token'>.</span><span class='rubyid_request identifier id'>request</span><span class='dot token'>.</span><span class='rubyid_format identifier id'>format</span> <span class='orop op'>||</span> <span class='string val'>&quot;json&quot;</span><span class='rparen token'>)</span><span class='dot token'>.</span><span class='rubyid_to_sym identifier id'>to_sym</span> <span class='orop op'>||</span> <span class='symbol val'>:html</span>
1215
1215
  <span class='rubyid_end end kw'>end</span>
1216
1216
 
1217
1217
  <span class='comment val'># :nodoc:</span>
@@ -1469,7 +1469,7 @@
1469
1469
  </div>
1470
1470
 
1471
1471
  <div id="footer">
1472
- Generated on Sat Feb 7 19:16:43 2015 by
1472
+ Generated on Sat Feb 7 19:34:06 2015 by
1473
1473
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1474
1474
  0.8.7.6 (ruby-2.2.0).
1475
1475
  </div>
@@ -118,7 +118,7 @@
118
118
  </div>
119
119
 
120
120
  <div id="footer">
121
- Generated on Sat Feb 7 19:16:43 2015 by
121
+ Generated on Sat Feb 7 19:34:06 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>
@@ -658,7 +658,7 @@
658
658
  </div>
659
659
 
660
660
  <div id="footer">
661
- Generated on Sat Feb 7 19:16:43 2015 by
661
+ Generated on Sat Feb 7 19:34:06 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 Sat Feb 7 19:16:43 2015 by
959
+ Generated on Sat Feb 7 19:34:06 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 Sat Feb 7 19:16:43 2015 by
277
+ Generated on Sat Feb 7 19:34:06 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 Sat Feb 7 19:16:43 2015 by
884
+ Generated on Sat Feb 7 19:34:06 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>
@@ -451,7 +451,7 @@ Subfolders are not supported.</p>
451
451
  </div>
452
452
 
453
453
  <div id="footer">
454
- Generated on Sat Feb 7 19:16:43 2015 by
454
+ Generated on Sat Feb 7 19:34:06 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>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Sat Feb 7 19:16:42 2015 by
119
+ Generated on Sat Feb 7 19:34:06 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>
@@ -405,7 +405,7 @@
405
405
  </div>
406
406
 
407
407
  <div id="footer">
408
- Generated on Sat Feb 7 19:16:43 2015 by
408
+ Generated on Sat Feb 7 19:34:06 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 Sat Feb 7 19:16:42 2015 by
793
+ Generated on Sat Feb 7 19:34:06 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>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Sat Feb 7 19:16:43 2015 by
119
+ Generated on Sat Feb 7 19:34:06 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 Sat Feb 7 19:16:43 2015 by
349
+ Generated on Sat Feb 7 19:34:06 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 Sat Feb 7 19:16:43 2015 by
155
+ Generated on Sat Feb 7 19:34:06 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 Sat Feb 7 19:16:43 2015 by
151
+ Generated on Sat Feb 7 19:34:06 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 Sat Feb 7 19:16:43 2015 by
159
+ Generated on Sat Feb 7 19:34:06 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>
@@ -116,7 +116,7 @@
116
116
  </div>
117
117
 
118
118
  <div id="footer">
119
- Generated on Sat Feb 7 19:16:43 2015 by
119
+ Generated on Sat Feb 7 19:34:06 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 Sat Feb 7 19:16:43 2015 by
350
+ Generated on Sat Feb 7 19:34:07 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>
@@ -914,7 +914,7 @@
914
914
  </div>
915
915
 
916
916
  <div id="footer">
917
- Generated on Sat Feb 7 19:16:43 2015 by
917
+ Generated on Sat Feb 7 19:34:07 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>
@@ -1513,7 +1513,7 @@
1513
1513
  </div>
1514
1514
 
1515
1515
  <div id="footer">
1516
- Generated on Sat Feb 7 19:16:43 2015 by
1516
+ Generated on Sat Feb 7 19:34:06 2015 by
1517
1517
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1518
1518
  0.8.7.6 (ruby-2.2.0).
1519
1519
  </div>
@@ -1269,7 +1269,7 @@
1269
1269
  </div>
1270
1270
 
1271
1271
  <div id="footer">
1272
- Generated on Sat Feb 7 19:16:43 2015 by
1272
+ Generated on Sat Feb 7 19:34:06 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>
@@ -151,7 +151,7 @@
151
151
 
152
152
  </div>
153
153
  </dt>
154
- <dd><pre class="code"><span class='integer val'>1</span>
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 Sat Feb 7 19:16:43 2015 by
187
+ Generated on Sat Feb 7 19:34:06 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/_index.html CHANGED
@@ -339,7 +339,7 @@
339
339
  </div>
340
340
 
341
341
  <div id="footer">
342
- Generated on Sat Feb 7 19:16:42 2015 by
342
+ Generated on Sat Feb 7 19:34:05 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 Sat Feb 7 19:16:42 2015 by
109
+ Generated on Sat Feb 7 19:34:05 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 Sat Feb 7 19:16:42 2015 by
109
+ Generated on Sat Feb 7 19:34:05 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 Sat Feb 7 19:16:42 2015 by
106
+ Generated on Sat Feb 7 19:34:05 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>
@@ -76,7 +76,7 @@ module Ballast
76
76
 
77
77
  # :nodoc:
78
78
  def choose_format(format)
79
- (format || transport.params[:format] || transport.request.format || "json").to_sym
79
+ (format || transport.params[:format] || transport.request.format || "json").to_sym || :html
80
80
  end
81
81
 
82
82
  # :nodoc:
@@ -16,7 +16,7 @@ module Ballast
16
16
  MINOR = 2
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(".")
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ballast
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.1
4
+ version: 2.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shogun