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 +4 -4
- data/lib/{user_agent.rb → assemblyai/types/user_agent.rb} +3 -3
- data/lib/assemblyai.rb +1 -0
- data/lib/gemconfig.rb +1 -1
- data/lib/requests.rb +1 -1
- data/lib/types_export.rb +1 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 59002f9f880a36abb9cb264733bfabc548518e159441678c8609b5f087f0b2e8
|
4
|
+
data.tar.gz: 9d497a627afdf47fcba463c77437547f9c3cb56ee4a2fdddc904907c0b42b446
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
data/lib/requests.rb
CHANGED
data/lib/types_export.rb
CHANGED
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.
|
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-
|
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:
|