droplet_kit 3.4.0 → 3.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/droplet_kit/resources/database_resource.rb +1 -1
- data/lib/droplet_kit/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: 953e00f1928e2b046ce82fb398ae9748878a14a278dd72a954d8fc4b3d29f746
|
4
|
+
data.tar.gz: d816967003f3304e06f1fb0e8391025012cbc8ea7996a6f90c0a2616d7bb6487
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '069a463110c700fd4a06a6ecf0d2c6ed09fb11e1b8c8cc5af5b0bdf2347fabfb364e010848094fd996dacf56e212af1abb67e60e4129db86654c6d7d40cce860'
|
7
|
+
data.tar.gz: 384560837a422364d01f56d0fa7514e726ffefd40a1cd3bcefb42a3bb4159e41fe42a218d7c2727fd177b0f2d5574d75468671ee77fab619d11a83ffc2dd8948
|
@@ -13,7 +13,7 @@ module DropletKit
|
|
13
13
|
|
14
14
|
action :create_cluster, 'POST /v2/databases' do
|
15
15
|
body { |object| DatabaseClusterMapping.representation_for(:create, object) }
|
16
|
-
handler(
|
16
|
+
handler(201) { |response, database| DatabaseClusterMapping.extract_into_object(database, response.body, :read) }
|
17
17
|
handler(422) { |response| ErrorMapping.fail_with(FailedCreate, response.body) }
|
18
18
|
end
|
19
19
|
|
data/lib/droplet_kit/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: droplet_kit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.4.
|
4
|
+
version: 3.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert Ross
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-01-
|
11
|
+
date: 2020-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: virtus
|