replicate-client 0.1.2 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/replicate-client/client.rb +0 -2
- data/lib/replicate-client/model.rb +1 -1
- data/lib/replicate-client/version.rb +1 -1
- data/lib/replicate-client/webhook.rb +12 -0
- data/lib/replicate-client.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efa5152767827d0b6d95d1b83cf211c9dfb82d11885401c74394d6dbd068949e
|
4
|
+
data.tar.gz: '040619b058d796d577bb7d1b75e21d84af4e1999b3ccebcc5b168ba5469241f6'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 706867512328515a36e3af092bdd9bfb39a633e476cd37b7c4afc9f3e492be7f427c61eedc58e4ccaa85f151c5a4e17291bdcbbe1e7dc5a627c366c85dbf3125
|
7
|
+
data.tar.gz: 9a0c11660772e9f85f2e59676ce854cf9e2f4d79e2d8d701d6df6340bed17484a0297a13d1115eaed5d2b10a815be06d41feed24dce049ebdb7f2afd89ed6930
|
data/Gemfile.lock
CHANGED
@@ -36,8 +36,6 @@ module ReplicateClient
|
|
36
36
|
#
|
37
37
|
# @return [Hash] The response from the API.
|
38
38
|
def get(path)
|
39
|
-
puts "GET #{path}"
|
40
|
-
|
41
39
|
response = connection.get(build_url(path)) do |request|
|
42
40
|
request.headers["Authorization"] = "Bearer #{@configuration.access_token}"
|
43
41
|
request.headers["Content-Type"] = "application/json"
|
data/lib/replicate-client.rb
CHANGED
@@ -10,6 +10,7 @@ require_relative "replicate-client/model"
|
|
10
10
|
require_relative "replicate-client/hardware"
|
11
11
|
require_relative "replicate-client/training"
|
12
12
|
require_relative "replicate-client/deployment"
|
13
|
+
require_relative "replicate-client/webhook"
|
13
14
|
|
14
15
|
module ReplicateClient
|
15
16
|
class Error < StandardError; end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: replicate-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dylan Player
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-08-
|
11
|
+
date: 2024-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -46,6 +46,7 @@ files:
|
|
46
46
|
- lib/replicate-client/prediction.rb
|
47
47
|
- lib/replicate-client/training.rb
|
48
48
|
- lib/replicate-client/version.rb
|
49
|
+
- lib/replicate-client/webhook.rb
|
49
50
|
homepage: https://github.com/851-labs/replicate
|
50
51
|
licenses:
|
51
52
|
- MIT
|