deis_client 1.5.1.dev7 → 1.5.1.dev8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/deis_client.rb +5 -0
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 294b35c08130abe5681462bae18dc4cb6ec50f75
4
- data.tar.gz: e4fd3eb53719b74fc8108b2ae005a85859c07342
3
+ metadata.gz: 2d7a0a978f93e025d870818b1a84fbf80ee62777
4
+ data.tar.gz: 7a8285a7304df5de229f67b8b33a20889ffdaabf
5
5
  SHA512:
6
- metadata.gz: 77d1663bbeee22927188a812536265f0672ff85fd77a0a9dc51af1bdad4d192ee02b7e71226a01c886268ed2d1ed74a36a4b2a4ddf3c838b5dc5c8f1f9707388
7
- data.tar.gz: 1ee7e7c7283876966cfce733c5fefbaee2e6b5c682c14c7ab1a35a7640d6a0758bad4e3416db85774469fe06e1f86be0b496daa160ea16236bd040a42b561c67
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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deis_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.1.dev7
4
+ version: 1.5.1.dev8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Franz Liedke