assemblyai 1.0.0.pre.beta.17 → 1.0.1

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: 75a26a3b30fde2cb4837d1d485cff0f23175657d3e43dba1aace020dfd5475f9
4
- data.tar.gz: da15a89021401f9d7a6cf100fcc19bb43253fd8f8af51393ea5d22fe4206cb61
3
+ metadata.gz: 59002f9f880a36abb9cb264733bfabc548518e159441678c8609b5f087f0b2e8
4
+ data.tar.gz: 9d497a627afdf47fcba463c77437547f9c3cb56ee4a2fdddc904907c0b42b446
5
5
  SHA512:
6
- metadata.gz: '0838f9ba6245e0d8aeafc007edb2deb6949c40a91dbc80cb3cb3f0524ef669fab0da71683b4fc55d95989307b598f79b325e0bcb8d59b7f81eda7ef8b5a2b58e'
7
- data.tar.gz: 0c7146f8c84ab43746f20e8f957eb0cbce76537de022747e473ccc98b539341a84dc16c1fc771e01770141624bfaba2c90815b1160c4d91ec1f1d45579545a5d
6
+ metadata.gz: 24d88ed0df7775fefd3ba30a1337cc8b7e94400cb237bf5326fd873057fc61440aa4fe85377bcc521abe6435918894ef32f6a2f1304f7ca09cece98fa1515c05
7
+ data.tar.gz: b5b7bae8569684bd23688e0aef3e7ba28f077ae105315608e03bc90262ca7102f83559e46ffe96f416fb4c170a77b2af6d96478bfe277d7ed42a776fe306bf72
@@ -33,7 +33,7 @@ module AssemblyAI
33
33
  # @param user_agent2 [AssemblyAI::UserAgent]
34
34
  # @return [AssemblyAI::UserAgent]
35
35
  def self.merge(user_agent1, user_agent2)
36
- merged_user_agent = UserAgent.new
36
+ merged_user_agent = AssemblyAI::UserAgent.new
37
37
 
38
38
  user_agent1&.user_agent_items&.each do |key, item|
39
39
  merged_user_agent.add_item(key, item)
@@ -62,8 +62,8 @@ module AssemblyAI
62
62
  attr_reader :user_agent
63
63
 
64
64
  def initialize
65
- @user_agent = UserAgent.new
66
- @user_agent.add_item("sdk", UserAgentItem.new(name: "Ruby", version: AssemblyAI::Gemconfig::VERSION))
65
+ @user_agent = AssemblyAI::UserAgent.new
66
+ @user_agent.add_item("sdk", AssemblyAI::UserAgentItem.new(name: "Ruby", version: AssemblyAI::Gemconfig::VERSION))
67
67
  end
68
68
  end
69
69
  end
data/lib/assemblyai.rb CHANGED
@@ -3,6 +3,7 @@
3
3
  require_relative "environment"
4
4
  require_relative "types_export"
5
5
  require_relative "requests"
6
+ require_relative "assemblyai/types/user_agent"
6
7
  require_relative "assemblyai/files/client"
7
8
  require_relative "assemblyai/transcripts/client"
8
9
  require_relative "assemblyai/transcripts/polling_client"
data/lib/gemconfig.rb CHANGED
@@ -2,8 +2,8 @@
2
2
 
3
3
  module AssemblyAI
4
4
  module Gemconfig
5
- VERSION = "1.0.0-beta.17"
6
- AUTHORS = [""].freeze
5
+ VERSION = "1.0.1"
6
+ AUTHORS = ["AssemblyAI"].freeze
7
7
  EMAIL = "support@assemblyai.com"
8
8
  SUMMARY = "AssemblyAI Ruby SDK"
9
9
  DESCRIPTION = "The AssemblyAI Ruby SDK provides an easy-to-use interface for interacting with the AssemblyAI API, which supports async, audio intelligence models, as well as the latest LeMUR models.
data/lib/requests.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require_relative "environment"
4
- require_relative "user_agent"
4
+ require_relative "assemblyai/types/user_agent"
5
5
  require_relative "gemconfig"
6
6
  require "faraday"
7
7
  require "faraday/retry"
data/lib/types_export.rb CHANGED
@@ -85,3 +85,4 @@ require_relative "assemblyai/lemur/types/lemur_question"
85
85
  require_relative "assemblyai/lemur/types/lemur_model"
86
86
  require_relative "assemblyai/lemur/types/lemur_usage"
87
87
  require_relative "assemblyai/types/error"
88
+ require_relative "assemblyai/types/user_agent"
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.0.pre.beta.17
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
- - ''
7
+ - AssemblyAI
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-16 00:00:00.000000000 Z
11
+ date: 2024-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: async-http-faraday
@@ -191,11 +191,11 @@ files:
191
191
  - lib/assemblyai/transcripts/types/word_search_response.rb
192
192
  - lib/assemblyai/transcripts/types/word_search_timestamp.rb
193
193
  - lib/assemblyai/types/error.rb
194
+ - lib/assemblyai/types/user_agent.rb
194
195
  - lib/environment.rb
195
196
  - lib/gemconfig.rb
196
197
  - lib/requests.rb
197
198
  - lib/types_export.rb
198
- - lib/user_agent.rb
199
199
  homepage: https://github.com/AssemblyAI/assemblyai-ruby-sdk
200
200
  licenses: []
201
201
  metadata:
@@ -213,9 +213,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
213
213
  version: 2.7.0
214
214
  required_rubygems_version: !ruby/object:Gem::Requirement
215
215
  requirements:
216
- - - ">"
216
+ - - ">="
217
217
  - !ruby/object:Gem::Version
218
- version: 1.3.1
218
+ version: '0'
219
219
  requirements: []
220
220
  rubygems_version: 3.1.6
221
221
  signing_key: