civo 1.5.19 → 1.5.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/civo/application.rb +2 -2
- data/lib/civo/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: 4a5880948684bfafeb945d03c1a48528d76bf0c906e82c3b75ef3cd99280d219
|
4
|
+
data.tar.gz: 2985e3579b10cd14298c862cd7e8f358cb79f886122a23969b4d945c2e48ed33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3160b29b23fa3f72f900645cf63403f655766e25dc5efbd39ba03461807c004b5aad437bfdebe70949612193ec12f9195c1e616ade92e4765d93d7efe55a5af9
|
7
|
+
data.tar.gz: f186beea21c86c7f8bd0cf9a15bfe484e821fea7c5f689d02eeac6bd333b48c25604cf072fb2cf364816a19082bbb57d19c806c6bf827f1c1db35acf58ffef2b
|
@@ -2,8 +2,8 @@ module Civo
|
|
2
2
|
class Application < Base
|
3
3
|
get :all, "/v#{ENV["CIVO_API_VERSION"] || "2"}/applications"
|
4
4
|
get :find, "/v#{ENV["CIVO_API_VERSION"] || "2"}/applications/:id", requires: [:id]
|
5
|
-
post :create, "/v#{ENV["CIVO_API_VERSION"] || "2"}/applications", requires: [:name, :region, :network_id, :size, :
|
6
|
-
|
5
|
+
post :create, "/v#{ENV["CIVO_API_VERSION"] || "2"}/applications", requires: [:name, :region, :network_id, :size], request_body_type: :json
|
6
|
+
patch :update, "/v#{ENV["CIVO_API_VERSION"] || "2"}/applications/:id", request_body_type: :json
|
7
7
|
delete :remove, "/v#{ENV["CIVO_API_VERSION"] || "2"}/applications/:id", requires: [:id]
|
8
8
|
|
9
9
|
def to_partial_path
|
data/lib/civo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: civo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.5.
|
4
|
+
version: 1.5.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Andy Jeffries
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-01
|
11
|
+
date: 2023-02-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: flexirest
|