assemblyai 1.0.1 → 1.0.2.pre.beta.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: 59002f9f880a36abb9cb264733bfabc548518e159441678c8609b5f087f0b2e8
4
- data.tar.gz: 9d497a627afdf47fcba463c77437547f9c3cb56ee4a2fdddc904907c0b42b446
3
+ metadata.gz: '02278a07135fb19a23f3920bc8c80892879cf6f1d65201af7e236e4d6546dbdb'
4
+ data.tar.gz: 1d57a851c8b5bea178482738933d511f208e1988a7f03d8fdd6bd75c3b92b617
5
5
  SHA512:
6
- metadata.gz: 24d88ed0df7775fefd3ba30a1337cc8b7e94400cb237bf5326fd873057fc61440aa4fe85377bcc521abe6435918894ef32f6a2f1304f7ca09cece98fa1515c05
7
- data.tar.gz: b5b7bae8569684bd23688e0aef3e7ba28f077ae105315608e03bc90262ca7102f83559e46ffe96f416fb4c170a77b2af6d96478bfe277d7ed42a776fe306bf72
6
+ metadata.gz: b3fe50a85f91e9db378952cdade40e9beaac5714b7c1abee98992c9ab81d4a1d3f8466f44ed9f5851c8ad8cb7ef3dd0903cb50e048e1e474e06956824c510065
7
+ data.tar.gz: 73f3b166c3cba56cd5e9fe1410aec96c3091bd53c019d2f617b2d0613e36cc4409b7f4d8393f065b9792325d10f81070964fae1aff77454813380d64909af324
@@ -3,6 +3,7 @@
3
3
  require_relative "../../requests"
4
4
  require_relative "types/uploaded_file"
5
5
  require "async"
6
+ require "pathname"
6
7
 
7
8
  module AssemblyAI
8
9
  class FilesClient
@@ -25,7 +26,7 @@ module AssemblyAI
25
26
  if file.is_a? String
26
27
  begin
27
28
  path = Pathname.new(file)
28
- rescue StandardError
29
+ rescue RuntimeError
29
30
  file_data = file
30
31
  end
31
32
  unless path.nil?
data/lib/gemconfig.rb CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  module AssemblyAI
4
4
  module Gemconfig
5
- VERSION = "1.0.1"
5
+ VERSION = "1.0.2-beta.0"
6
6
  AUTHORS = ["AssemblyAI"].freeze
7
7
  EMAIL = "support@assemblyai.com"
8
8
  SUMMARY = "AssemblyAI Ruby SDK"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: assemblyai
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2.pre.beta.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - AssemblyAI
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-08-15 00:00:00.000000000 Z
11
+ date: 2024-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async-http-faraday
@@ -202,7 +202,7 @@ metadata:
202
202
  homepage_uri: https://github.com/AssemblyAI/assemblyai-ruby-sdk
203
203
  source_code_uri: https://github.com/AssemblyAI/assemblyai-ruby-sdk
204
204
  changelog_uri: https://github.com/AssemblyAI/assemblyai-ruby-sdk/blob/master/CHANGELOG.md
205
- post_install_message:
205
+ post_install_message:
206
206
  rdoc_options: []
207
207
  require_paths:
208
208
  - lib
@@ -217,8 +217,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
217
217
  - !ruby/object:Gem::Version
218
218
  version: '0'
219
219
  requirements: []
220
- rubygems_version: 3.1.6
221
- signing_key:
220
+ rubygems_version: 3.5.3
221
+ signing_key:
222
222
  specification_version: 4
223
223
  summary: AssemblyAI Ruby SDK
224
224
  test_files: []