pakyow-core 0.11.2 → 0.11.3

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: f240f9bd54afce92867f6f0ca21bbd28f8243156
4
- data.tar.gz: da4afefa6529d4a3cd95ac49652dd58fedc9ad89
3
+ metadata.gz: 21965299064896d7f6a0fe9754be19d816af9015
4
+ data.tar.gz: c43ff75f0e740c9d7c68150d45cfcd386a451728
5
5
  SHA512:
6
- metadata.gz: 649348ce2dfc54a929c6de57e205ee00be72101b2ef884f140e9485a904f5a84debb0761298b9705717941ee86a2c03de315b4f337ef97cf256501293bbfd634
7
- data.tar.gz: 7a42da0e63250f0b082b2fc2bec2d414d5d47e0ef4fdaf29177c14d65cecadce499950dfa272e3f53a36361449d3705c1dae42cdf30b7acc690cddef2752c1fc
6
+ metadata.gz: 4fb95b27d158e2bbf7a14d91a3aa3a80e3fc095b26be99b9500d81ffb8f99f551c9e5431fe52b81d11636f04260eb284f65ef8ba3ae899309dc217fa32f3a07a
7
+ data.tar.gz: f26f87083735c00dd4fe4635a850b9ad1ed4a2a0c73253655c0c73d8404b64f6cdf45fd352bc86bdb02ec2fb53026c8c423f00aad2a759bc048bd2d5a13a933d
@@ -1,3 +1,7 @@
1
+ # 0.11.3
2
+
3
+ * Adds the ability to `send` StringIO objects
4
+
1
5
  # 0.11.1
2
6
 
3
7
  * Includes `Pakyow::Helpers` into `Pakyow::App`
@@ -81,7 +81,7 @@ module Pakyow
81
81
  # default to whatever is set in the response.
82
82
  #
83
83
  def send(file_or_data, type = nil, send_as = nil)
84
- if file_or_data.is_a?(IO)
84
+ if file_or_data.is_a?(IO) || file_or_data.is_a?(StringIO)
85
85
  data = file_or_data
86
86
 
87
87
  if file_or_data.is_a?(File)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pakyow-core
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.2
4
+ version: 0.11.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bryan Powell
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-06-27 00:00:00.000000000 Z
12
+ date: 2016-07-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: pakyow-support
@@ -17,14 +17,14 @@ dependencies:
17
17
  requirements:
18
18
  - - '='
19
19
  - !ruby/object:Gem::Version
20
- version: 0.11.2
20
+ version: 0.11.3
21
21
  type: :runtime
22
22
  prerelease: false
23
23
  version_requirements: !ruby/object:Gem::Requirement
24
24
  requirements:
25
25
  - - '='
26
26
  - !ruby/object:Gem::Version
27
- version: 0.11.2
27
+ version: 0.11.3
28
28
  - !ruby/object:Gem::Dependency
29
29
  name: rack
30
30
  requirement: !ruby/object:Gem::Requirement