replicate-ruby 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/replicate/record/prediction.rb +20 -0
- data/lib/replicate/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e58708bf432115af17aef8f67789838f4044526a851785a04dd3f206d17f727
|
4
|
+
data.tar.gz: f1422c952891c61df45c4a4bd69e27f13b724185edc883df8dec00addec7679a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 234415f451e806a5d2c800cf11da2aa626b131f4c8f5d3df501c317607a5637c267bc757d75115bb8fd5c6378500bd6c38c749c722f7a38ebad4f6bd8b7b5f7d
|
7
|
+
data.tar.gz: ea46776b902acd5cec2283fd8bd390127244771c0250e05623303f1d5284e1aa982240eecd5227b2b2f243d01ccc8d8c099442a33c28f114287b97e9765e26ba
|
data/Gemfile.lock
CHANGED
@@ -19,6 +19,26 @@ module Replicate
|
|
19
19
|
false
|
20
20
|
end
|
21
21
|
end
|
22
|
+
|
23
|
+
def starting?
|
24
|
+
status == "starting"
|
25
|
+
end
|
26
|
+
|
27
|
+
def processing?
|
28
|
+
status == "processing"
|
29
|
+
end
|
30
|
+
|
31
|
+
def succeeded?
|
32
|
+
status == "succeeded"
|
33
|
+
end
|
34
|
+
|
35
|
+
def failed?
|
36
|
+
status == "failed"
|
37
|
+
end
|
38
|
+
|
39
|
+
def canceled?
|
40
|
+
status == "canceled"
|
41
|
+
end
|
22
42
|
end
|
23
43
|
end
|
24
44
|
end
|
data/lib/replicate/version.rb
CHANGED