rancher-api 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fb6ea154624762ec7c91dfe7db9689f6cdc53d03
4
- data.tar.gz: 70385e013a06c81dde08b83f370c22747ddbab54
3
+ metadata.gz: d9de528eea9c4b1147eaf9d9a385a18a407f66e3
4
+ data.tar.gz: 9576b8707b67a11f895a2a70d0444bde9138a0b9
5
5
  SHA512:
6
- metadata.gz: 6efeee9741e0ec187a68148b38667d0d9618b08889ef5da7e1098c9815c70a980c06e6527d1c30433f3d43ee72b13e1675f65bbc649ae0ea2f2f1b14b216c758
7
- data.tar.gz: 11f49715abca57c4efa766f71df423fc012e0bbdfe92a42e9f1df65319c24687af650b552f306f926c4d45eb0ed74ca3295d0e4508acd12a431774fc0846dcde
6
+ metadata.gz: 656b5add1ddb21b0d500fd2c3f63b37fe0f9fca66bbbfbdf541a830b81e49a3bfea695f99b6a106e845ebc3167ceaaef655563540217ff2eef783ac8f2dd4db2
7
+ data.tar.gz: a97f1925f2e393aff5b0b139c6a82761a94f57c4117714691cd067a7d5e4c9a193516005588b978e583ebc346f33e82985f22d6d63c1a46c126dc2ce709c242f
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rancher-api (0.2.0)
4
+ rancher-api (0.3.0)
5
5
  faraday_middleware
6
6
  faye-websocket
7
7
  her (~> 0.7.6)
@@ -1,3 +1,4 @@
1
+ require 'rancher/api/models/environment'
1
2
  require 'rancher/api/models/host'
2
3
  require 'rancher/api/models/instance'
3
4
  require 'rancher/api/models/machine'
@@ -0,0 +1,9 @@
1
+ module Rancher
2
+ module Api
3
+ class Environment
4
+ include ::Her::Model
5
+
6
+ belongs_to :project
7
+ end
8
+ end
9
+ end
@@ -4,6 +4,7 @@ module Rancher
4
4
  include Her::Model
5
5
 
6
6
  has_many :machines
7
+ has_many :environments
7
8
  end
8
9
  end
9
10
  end
@@ -1,5 +1,5 @@
1
1
  module Rancher
2
2
  module Api
3
- VERSION = "0.2.0"
3
+ VERSION = "0.3.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rancher-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alex Kurkin
@@ -133,6 +133,7 @@ files:
133
133
  - lib/rancher/api/middlewares.rb
134
134
  - lib/rancher/api/middlewares/json_parser_middleware.rb
135
135
  - lib/rancher/api/models.rb
136
+ - lib/rancher/api/models/environment.rb
136
137
  - lib/rancher/api/models/host.rb
137
138
  - lib/rancher/api/models/instance.rb
138
139
  - lib/rancher/api/models/instance/action.rb