rbbt-rest 1.3.14 → 1.3.15

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/rbbt/rest/common/misc.rb +3 -1
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a408afc2c389ab8d792cfc8da6447eb15392d18d
4
- data.tar.gz: 182bcd9287fbd791df683500c0c8b529530b0007
3
+ metadata.gz: f08fcbd956646a8e174d322e1467f778289d5f19
4
+ data.tar.gz: 3e0df4846c39499d8f250a0a38eec88e7589c0fe
5
5
  SHA512:
6
- metadata.gz: 29b5143526794fb9a99f35c74ea1b0cf8324f96cb2026ffa1825142416fa48f4fee0bf7c0a5d4483f9bdc9070ca1eaeaf68a998dff6fe7bdf3e0e7a783d01a93
7
- data.tar.gz: 6abadd9366fcc0e1e6b4111a9dae83ce78c92831acd7cda810062378ec78ba4164602c66086e3cc825845b04a783c36a5ce86e44f43b04f93f9f760ca0561e64
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 Hash
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rbbt-rest
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.14
4
+ version: 1.3.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Vazquez