kubeclient 0.1.2 → 0.1.3

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: ae09dbbbec4a787210bc1a0da2e5a7d9c832bf5d
4
- data.tar.gz: 97bf049dda0f6e3cc60c485349ea2da2540aa806
3
+ metadata.gz: ca55a9d279694fdfe302e2c0ed579b0d861a4e30
4
+ data.tar.gz: 20451ff5f5f26f4faac84bdc25a1593fb665c275
5
5
  SHA512:
6
- metadata.gz: fdd7085f59fad729afc1641dc61dc78c82b989bd02f8bd1dbebdbd27cd0e63c9cf644b7fd1df54e411d89e830d99bc596bae6cc66be82720dd8b058edece836b
7
- data.tar.gz: ddb87120503b364ca0e79eb84a1e9baeb52cccb3850b5ea134e0555cc840c828f8093374ea6fe8bb97e4936b50781848c560954da114531a07c63c011e7291f6
6
+ metadata.gz: 5e881043d6da7b76e7e649af1e69c463f1c367c78329d674fc498ac6030424a7a6258940b5a0932981d2bd20812946c5511022a8946bf3049d7d0045a34f5287
7
+ data.tar.gz: c86dde3beaa0b4cf0418a36177586cc342cfc28fd6ad6a198ae4098efd95873d21f00dbfa64bd62243c47e1fffd916b2ad1aaf733ba58980fd4eed867487998d
@@ -128,9 +128,7 @@ module Kubeclient
128
128
 
129
129
  public
130
130
 
131
- # FIXME: fix the accessor names
132
- # rubocop:disable Style/AccessorMethodName
133
- def get_all_entities
131
+ def all_entities
134
132
  ENTITIES.each_with_object({}) do |entity, result_hash|
135
133
  # method call for get each entities
136
134
  # build hash of entity name to array of the entities
@@ -1,4 +1,4 @@
1
1
  # Kubernetes REST-API Client
2
2
  module Kubeclient
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
@@ -82,7 +82,7 @@ class KubeClientTest < MiniTest::Test
82
82
  .to_return(body: open_test_json_file('event_list_b3.json'), status: 200)
83
83
 
84
84
  client = Kubeclient::Client.new 'http://localhost:8080/api/', 'v1beta1'
85
- result = client.get_all_entities
85
+ result = client.all_entities
86
86
  assert_equal(5, result.keys.size)
87
87
  assert_instance_of(EntityList, result['node'])
88
88
  assert_instance_of(EntityList, result['service'])
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kubeclient
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alissa Bonas