deis_client 1.5.1.dev7 → 1.5.1.dev8
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/lib/deis_client.rb +5 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 2d7a0a978f93e025d870818b1a84fbf80ee62777
|
|
4
|
+
data.tar.gz: 7a8285a7304df5de229f67b8b33a20889ffdaabf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f32c49d16b9b0af2bbd4c52e100791d3926f886d056808c0d688c3f4e32f011319a0ef1b4364122a932483e212aa4ef463272a7d6b66214f2b6891ec2648f4d4
|
|
7
|
+
data.tar.gz: 8555e5db86e9b4112f43f20b95f0018f1c63e561f3991678d803fd800e38731dcb32c33d07c5f388e637e7d186a4c3ed9a50a81d09022e45bb85a0a928548d86
|
data/lib/deis_client.rb
CHANGED
|
@@ -67,6 +67,7 @@ module Deis
|
|
|
67
67
|
containers: [:get, '/apps/:app/containers/'],
|
|
68
68
|
scale: [:post, '/apps/:app/scale/'],
|
|
69
69
|
config: [:get, '/apps/:app/config/'],
|
|
70
|
+
set_config: [:post, '/apps/:app/config/'],
|
|
70
71
|
domains: [:get, '/apps/:app/domains/'],
|
|
71
72
|
builds: [:get, '/apps/:app/builds/'],
|
|
72
73
|
create_build: [:post, '/apps/:app/builds/'],
|
|
@@ -132,6 +133,10 @@ module Deis
|
|
|
132
133
|
perform :config, app: app_id
|
|
133
134
|
end
|
|
134
135
|
|
|
136
|
+
def set_config(app_id, values)
|
|
137
|
+
perform :set_config, { app: app_id }, values: values
|
|
138
|
+
end
|
|
139
|
+
|
|
135
140
|
def domains(app_id)
|
|
136
141
|
perform :domains, app: app_id
|
|
137
142
|
end
|