kubeclient 0.0.4 → 0.0.5

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,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- MmU2NTVjYTgwYmZhYTZjMmYzYzAyYjkxY2RiMDI1ZGFlNDk3MmJhOQ==
4
+ OWVlZDdiMTE0MDkxZTQ2NDhlMjNiOWQ1MWIzNmQxNzcxMTMwMGEyYQ==
5
5
  data.tar.gz: !binary |-
6
- MzFhNmU3ZGJkMjY2NWU5ZWIyODUxNTk4ZDJiYjhmYjc0ZjY1MGUzMg==
6
+ MTNmZDVlNzZjMzU1NTE4Yjc3MmYxYWNkMzY5MzdjM2Q2YzhhNDQ2ZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- OWNhMmM5NjE2MDk2MTRmOWE1MzMzNjVmODczNmQxNDk4Zjc1NzM2MTZkMjY5
10
- NTQ3MTk5MzIzMTFiZmZhODMzZWQwNWNmOGMwYTM0YWNlMTc3YmNiMjk4Yzk4
11
- ZGQxMTk0MzEwMTExYTgwYzgyY2Q3Y2E5NmMyNGQ5NzA5NjYzNjQ=
9
+ MjNhNTdlN2QzODllODU0YjgyNDZiNjlhYzc5M2M1OGVkNzYxOWUzMjE5N2Vl
10
+ N2E1NjFiY2JkMDRlYTQyOTE1NzUxNDU0ZjhiODFiZjRhMjAyZWExYmZkNDNk
11
+ YzkxNjU4YWFmOTFlMGM2NzkzMjE2ZmY1MmUwNmM2OGQ3MDJhYzU=
12
12
  data.tar.gz: !binary |-
13
- M2Q5NTkwMDE1MzlkY2VjZGVjMDNiMjI3NDQ4NzZiNzQ4NTQ2ODY2Y2UxYWIw
14
- M2NhZjQ5NTY1NzY4YWRkMjY5ZjE0ZTEyOTUxZWEzNWI5ODM1ZmRhYmQ2Zjk4
15
- Y2VjMWJkYjhkZjU5ZjI2NDMwZWUwMWZmZTQ5NTFhZDk4ZTVlZmU=
13
+ MTY4ZGFjM2MyMGY5ODNiZWNjYWFmYzVlMzZhMmYwMTQ3YjY4YjFhM2MwNWRm
14
+ NzVhM2IxN2Y3NTI5YWJhMGYzNWJjMGM2NzIzMDBmOTI2MjVkOGZiZmExZTEz
15
+ NmZmODc5ZjM5OTMwNmIyZDMyMzg0MmMzNmY3Yjc2OTA3YzQyYWI=
@@ -1,3 +1,3 @@
1
1
  module Kubeclient
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.5"
3
3
  end
@@ -122,7 +122,9 @@ class KubeClientTest < MiniTest::Test
122
122
  assert_instance_of(Node, result["node"][0])
123
123
  end
124
124
 
125
- #dup method creates a shallow copy which is not good in this case since rename_keys changes the input hash
125
+ # dup method creates a shallow copy which is not good in this case
126
+ # since rename_keys changes the input hash
127
+ # hence need to create a deep_copy
126
128
  private
127
129
  def deep_copy(hash)
128
130
  Marshal.load(Marshal.dump(hash))
data/test/node_test.rb CHANGED
@@ -22,11 +22,9 @@ class NodeTest < MiniTest::Test
22
22
  assert_respond_to(node, "resources")
23
23
  assert_respond_to(node, "resource_version")
24
24
  assert_respond_to(node, "api_version")
25
- assert_respond_to(node, "resources")
26
25
 
27
26
  assert_equal 7, node.resource_version
28
27
  assert_equal 1000, node.resources.capacity.cpu
29
-
30
28
  end
31
29
 
32
30
  def test_create_node_fail
@@ -39,6 +37,5 @@ class NodeTest < MiniTest::Test
39
37
  client = Kubeclient::Client.new 'http://localhost:8080/api/' , "v1beta1"
40
38
  assert_raises(NoMethodError) { client.create_node our_node }
41
39
 
42
-
43
40
  end
44
41
  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.0.4
4
+ version: 0.0.5
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-01-06 00:00:00.000000000 Z
11
+ date: 2015-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler