rbbt-rest 1.3.14 → 1.3.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/rbbt/rest/common/misc.rb +3 -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: f08fcbd956646a8e174d322e1467f778289d5f19
|
4
|
+
data.tar.gz: 3e0df4846c39499d8f250a0a38eec88e7589c0fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d0d126412856cc2e81471d5947b46f33bd6ecba7952bff933699c4ff3b80f2ad1d4b1d88a2f33b75a4883e572e6c758c39c3d4db170f76b143ab2ae6a68713c3
|
7
|
+
data.tar.gz: 8c5793aee698691501c46ee175584a64faadd36eb185be64c104004f744160febd33ace8bf94ddc2f84d96c8d2ab060ff6cf854e721d7e3a501ca513d3669078
|
@@ -140,7 +140,9 @@ module RbbtRESTHelpers
|
|
140
140
|
text.split(/\r?\n/).collect{|l| l.strip}
|
141
141
|
when text =~ /\|/
|
142
142
|
text.split(/\|/).collect{|l| l.strip}
|
143
|
-
when
|
143
|
+
when IO === text
|
144
|
+
text
|
145
|
+
when Hash === text
|
144
146
|
io = text[:tempfile].open
|
145
147
|
class << io
|
146
148
|
attr_accessor :filename
|