omniai 1.1.5 → 1.2.0

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
  SHA256:
3
- metadata.gz: a82c1b8f8724f5dd7f35239ca2454e4ec7631fa1b8b0544249a49f8b6c52962f
4
- data.tar.gz: 85e9a9ee74f30ad4c4ba6ef8fbbaa88dc0d31fea6927774d5c7a421e2d38e341
3
+ metadata.gz: d6114f0ef4a95633c3391eb421c23e8df99413c876b838053ddb89bde4e7d6f0
4
+ data.tar.gz: fe2156f9db8802f44975cc1aab0a58f34cb568e1b34fe14e33bd34c52f4b6ff9
5
5
  SHA512:
6
- metadata.gz: 42c6324488864562480cf898c8e087ac841d035468a0f4b4dbcd7c86f4239d61ca8361c80e8dcd06ddb9dc565c2e04faa047c2e1342bacf1ac8d2d3825d85b25
7
- data.tar.gz: cbeef3a03122130ce8c2bf634700df52a2a44aa1c013e8d0f2862379940965326f693f4e87f2704d0dd0a197cddf136cc5cd440d4c36a5a573ba00910845d044
6
+ metadata.gz: 2e3a7b49bd65210142978e79ccb9ed88cd19b085c48334b16939c1401217913b951d474515d2ac3fedd1984cc1c7e31e9fa2af206ee04da3765eb1cfb8e2b393
7
+ data.tar.gz: 7d966a598e0ec358785e25be08530f7f82898601030f703c78a728e31e7885841239d50c1c851ef3912060318df588050ddf7f35870f5f97254e9a23f412b045
data/lib/omniai/speak.rb CHANGED
@@ -106,7 +106,7 @@ module OmniAI
106
106
  #
107
107
  # @return [Tempfile]
108
108
  def fetch!(response:)
109
- tempfile = Tempfile.new(['', ".#{@format}"])
109
+ tempfile = Tempfile.new
110
110
  tempfile.binmode
111
111
  response.body.each { |chunk| tempfile << chunk }
112
112
  tempfile.rewind
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module OmniAI
4
- VERSION = '1.1.5'
4
+ VERSION = '1.2.0'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: omniai
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.5
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kevin Sylvestre