kubeclient 0.1.10 → 0.1.11

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of kubeclient might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e43821f5d44f8c1c576f9a026781bd392216148d
4
- data.tar.gz: 6034365578182ed965eebf2c4947de38c76aa8f8
3
+ metadata.gz: 969c44ae3642047678c13559de1790323feffa7e
4
+ data.tar.gz: 5a19f3d5e8e0c8d764bc2746999f2a78d8fde8bb
5
5
  SHA512:
6
- metadata.gz: 39321cd7d662320e4a91665aa6619afe4271378233f4e64cb47e957298fbf378c59ead7912728a758c9dc37977f43a26daff9fea5a7b4ba1325defbfa563d2dc
7
- data.tar.gz: 596d4e2b33a4a9b950859799a5ccfaaf69c56ade5a7e3c78a71cfc027c0a06be1c5549816d3388034228c77a03b51b79e782afdc82d4a06b3534c38d4b8daf74
6
+ metadata.gz: da458497e1dd0590faea0ce5175c10670ba424b074444845f15bca7f122dd3fd460448ac1d385cb762906dc493297967281a9c3d1f432d5d98ffa27f7f0a2100
7
+ data.tar.gz: 7fb264604c4ba1d5a6405ec51a6ea1eb2d9686bc08bf71cc2b7aa24eec5574d51eeb016bf9cace170e7a08d6a97ff1e6fbe9f47c32df9fefceeab20ec67db13c
data/kubeclient.gemspec CHANGED
@@ -27,5 +27,5 @@ Gem::Specification.new do |spec|
27
27
  spec.add_dependency 'rest-client'
28
28
  spec.add_dependency 'activesupport'
29
29
  spec.add_dependency 'json'
30
- spec.add_dependency 'recursive-open-struct'
30
+ spec.add_dependency 'recursive-open-struct', '= 0.6.1'
31
31
  end
@@ -138,6 +138,11 @@ module Kubeclient
138
138
  # to_hash should be called because of issue #9 in recursive open
139
139
  # struct
140
140
  hash = entity_config.to_hash
141
+ # TODO: temporary solution to add "kind" and apiVersion to request
142
+ # until this issue is solved
143
+ # https://github.com/GoogleCloudPlatform/kubernetes/issues/6439
144
+ hash['kind'] = entity_type
145
+ hash['apiVersion'] = @api_version
141
146
  handle_exception do
142
147
  rest_client[get_resource_name(entity_type)].post(hash.to_json)
143
148
  end
@@ -1,4 +1,4 @@
1
1
  # Kubernetes REST-API Client
2
2
  module Kubeclient
3
- VERSION = '0.1.10'
3
+ VERSION = '0.1.11'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kubeclient
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.10
4
+ version: 0.1.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alissa Bonas
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-07 00:00:00.000000000 Z
11
+ date: 2015-04-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -126,16 +126,16 @@ dependencies:
126
126
  name: recursive-open-struct
127
127
  requirement: !ruby/object:Gem::Requirement
128
128
  requirements:
129
- - - '>='
129
+ - - '='
130
130
  - !ruby/object:Gem::Version
131
- version: '0'
131
+ version: 0.6.1
132
132
  type: :runtime
133
133
  prerelease: false
134
134
  version_requirements: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - '>='
136
+ - - '='
137
137
  - !ruby/object:Gem::Version
138
- version: '0'
138
+ version: 0.6.1
139
139
  description: A client for Kubernetes REST api
140
140
  email:
141
141
  - abonas@redhat.com