kube_station 0.1.0 → 0.1.2

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 6ab1d66f449cb4c94f0c5e2a166069f5167067819ec599f05db52dc6f3dbda08
4
- data.tar.gz: 89264900ee23cfd6ce6805c296fbde198a0c013bf26ea0b509a06bde16fe354e
3
+ metadata.gz: 3dcdbf1b133a68a438da045824e617823ed8f8cd0e92f3ce5980a49a99210ed3
4
+ data.tar.gz: cbba81055b55209357b2d1be11fbe46e7bd5ad23e4c61ffaa34e1d4e0248144b
5
5
  SHA512:
6
- metadata.gz: fd0acdff81401dbe5b571c6337882a1661122a4c896ea0f6ed8cf1994ee21b2427e5d5427efc723adfb27839074c2ff5f3c7583c0e3ea20923a2cd5aaae2244b
7
- data.tar.gz: 6aa3fd605f699952dfcc9c263d493ca9931fe572e8f8d44ae976ff68ebb8cb4463ffd4551670acea0c2dc41bc895226198cb9e6a68112793d00ac6ee18ec43be
6
+ metadata.gz: 5aec15c626d7630e7208f5727c5b8b90f9d1f876b4b23ec3bfdc2d702e3d939b414f780bc507aab8b45cf6787b14696633ab4b6b53cba1ea4f3f22f973e7de91
7
+ data.tar.gz: e3d75824ba8e6638cd2602954f2b85ac8fee4f6a8f10e6936fd863d9b0af40f2148b06039342ecc8048742fec03cc910be4beece2e582be288eb3a888e31e9da
@@ -9,16 +9,16 @@ module Kube
9
9
 
10
10
  private
11
11
 
12
- def set_cluster
13
- @cluster = Cluster.find(params[:cluster_id])
14
- end
12
+ def set_cluster
13
+ @cluster = Cluster.find(params[:cluster_id])
14
+ end
15
15
 
16
- def fetch_api_resources
17
- @cluster.with_connection do |instance|
18
- json = instance.connection.ctl.run("api-resources -o json")
19
- JSON.parse(json, symbolize_names: true)[:resources]
20
- end
16
+ def fetch_api_resources
17
+ @cluster.with_connection do |instance|
18
+ json = instance.connection.ctl.run("api-resources -o json")
19
+ JSON.parse(json, symbolize_names: true)[:resources]
21
20
  end
21
+ end
22
22
  end
23
23
  end
24
24
  end
@@ -25,7 +25,6 @@ export default class extends Controller {
25
25
  };
26
26
 
27
27
  const graph = new Graph({
28
- autoResize: true,
29
28
  autoFit: {
30
29
  type: 'view', // Adaptation type: 'view' or 'center'
31
30
  options: {
data/config/routes.rb CHANGED
@@ -1,4 +1,6 @@
1
1
  Kube::Station::Engine.routes.draw do
2
+ root "clusters#index"
3
+
2
4
  resources :approved, only: [:index, :new, :create, :destroy], path: "resources/approved"
3
5
 
4
6
  resources :clusters, only: [:index, :new, :create, :edit, :update] do
@@ -1,5 +1,5 @@
1
1
  module Kube
2
2
  module Station
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
@@ -0,0 +1,5 @@
1
+ module Kube
2
+ module Station
3
+ VERSION = "<%= version %>"
4
+ end
5
+ end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kube_station
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nathan Kidd
@@ -110,6 +110,7 @@ files:
110
110
  - lib/kube.rb
111
111
  - lib/kube/station/engine.rb
112
112
  - lib/kube/station/version.rb
113
+ - lib/kube/station/version.rb.erb
113
114
  - lib/kube_station.rb
114
115
  - lib/tasks/kube_tasks.rake
115
116
  homepage: https://github.com/general-intelligence-systems/kube_station