replicate-ruby 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +3 -3
- data/lib/replicate/client/prediction.rb +1 -1
- data/lib/replicate/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7acc1b5b8bff39ba009183598b4f253d900196812bc4af2902e8011a38b47a09
|
4
|
+
data.tar.gz: 8fab50f0bd31cab1e86f395b8c674a684b3529372c0619ece1ba8781088337c4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d3c20254b964384429270cc446a7d012bb0005180356201f6f4494bc2376bc5d312a8c02d08739b67fffe9bf16fa018e46958c2d44dae426e24a364f8e4cca3d
|
7
|
+
data.tar.gz: 5a25e67df4201d0981055ec0d308963161bd25cb41490c128c252acc47053ce245930753c22e40e509d14639aae1955dd3d3d6d4c9250574fceb84250dd01390
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
replicate-ruby (0.2.
|
4
|
+
replicate-ruby (0.2.3)
|
5
5
|
addressable
|
6
6
|
faraday (>= 1.0)
|
7
7
|
faraday-multipart
|
@@ -17,13 +17,13 @@ GEM
|
|
17
17
|
coderay (1.1.3)
|
18
18
|
crack (0.4.5)
|
19
19
|
rexml
|
20
|
-
faraday (2.7.
|
20
|
+
faraday (2.7.10)
|
21
21
|
faraday-net_http (>= 2.0, < 3.1)
|
22
22
|
ruby2_keywords (>= 0.0.4)
|
23
23
|
faraday-multipart (1.0.4)
|
24
24
|
multipart-post (~> 2)
|
25
25
|
faraday-net_http (3.0.2)
|
26
|
-
faraday-retry (2.
|
26
|
+
faraday-retry (2.2.0)
|
27
27
|
faraday (~> 2.0)
|
28
28
|
hashdiff (1.0.1)
|
29
29
|
json (2.6.3)
|
@@ -30,7 +30,7 @@ module Replicate
|
|
30
30
|
# Cancel a prediction
|
31
31
|
# @see https://replicate.com/docs/reference/http#cancel-prediction
|
32
32
|
def cancel_prediction(id)
|
33
|
-
response =
|
33
|
+
response = api_endpoint.post("predictions/#{id}/cancel")
|
34
34
|
Replicate::Record::Prediction.new(self, response)
|
35
35
|
end
|
36
36
|
end
|
data/lib/replicate/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: replicate-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dreaming Tulpa
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|