assemblyai 1.0.0 → 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: 2227423f1daaad40b83bbfc08c6d56e58478da4e0f75472e5fe482ee16b782d4
4
- data.tar.gz: '08b19784d46dea0924f7cdac48f5d6d0949fb21cec1a4493ea0ae65d1904d2ac'
3
+ metadata.gz: 59002f9f880a36abb9cb264733bfabc548518e159441678c8609b5f087f0b2e8
4
+ data.tar.gz: 9d497a627afdf47fcba463c77437547f9c3cb56ee4a2fdddc904907c0b42b446
5
5
  SHA512:
6
- metadata.gz: 4bfa6c425d258467b82119159d3b92437640536365b4b3f012d7e8b4008541aecf9c4ba180955c32776e9b481ac4fcc13ea38da90439277228a3a9f3304eb717
7
- data.tar.gz: 57b7a6fbaad10c79a564b965c5012b8ab836422f9134df0dce1dd76fbaf81e83e21dc2491009ccdec7d4568b128dbde88ffc9ad3ba8311a62087eeded032b3ff
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,7 +2,7 @@
2
2
 
3
3
  module AssemblyAI
4
4
  module Gemconfig
5
- VERSION = "1.0.0"
5
+ VERSION = "1.0.1"
6
6
  AUTHORS = ["AssemblyAI"].freeze
7
7
  EMAIL = "support@assemblyai.com"
8
8
  SUMMARY = "AssemblyAI Ruby SDK"
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
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-08-05 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: