rancher-api 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/Gemfile.lock +1 -1
- data/README.md +4 -0
- data/lib/rancher/api/configuration.rb +1 -1
- data/lib/rancher/api/models/machine.rb +0 -2
- data/lib/rancher/api/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 884e264e5922dbe427b6cc1c0bad442e641535e4
|
4
|
+
data.tar.gz: e5a34d02c9a76121666ef88431b52b7dcc096f80
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6d77b40ccc8305cbd120401fe86c464c8a24604e9f65eaf5d995d052a24ad0ad5a760d665517ecf4ad652906bb542cdd381ae5dbac4bae4dbc9a5ac4b88e344b
|
7
|
+
data.tar.gz: 00dd6bb39c76e1f3d7c748f78564fcba4011d537929add53bfe5dd7daf013452bb210f7e893404da47d162483b06b6284d139107cdec33325c73f6b4a41076f8
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
3
3
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
4
4
|
|
5
|
+
## [0.7.0] - 2016-12-15
|
6
|
+
|
7
|
+
### Changed
|
8
|
+
|
9
|
+
- environment variable `RANCHER_URL` now must be set to environment url, i.e. `http://<rancher host>/v1/projects/1a9`
|
10
|
+
|
5
11
|
## [0.6.0] - 2016-12-14
|
6
12
|
|
7
13
|
### Changed
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -76,6 +76,10 @@ end
|
|
76
76
|
|
77
77
|
#### Using environment variables
|
78
78
|
|
79
|
+
IMPORTANT NOTE: Use environment's API keys. This is done for compatibility with rancher-compose to utilize same keys
|
80
|
+
|
81
|
+
By default, the API keys under the API section are account API keys and you need to create an environment API key, which is in the Advanced Options.
|
82
|
+
|
79
83
|
You can configure `rancher-api` gem using `rancher-compose`-compatible environment variables:
|
80
84
|
|
81
85
|
- RANCHER_URL
|
@@ -9,8 +9,6 @@ module Rancher
|
|
9
9
|
DIGITAL_OCEAN = 'digitalocean'.freeze
|
10
10
|
VMWARE_VSPHERE = 'vmwarevsphere'.freeze
|
11
11
|
|
12
|
-
collection_path 'projects/:project_id/machines'
|
13
|
-
|
14
12
|
attributes :name, :state, :amazonec2Config, :azureConfig, :description,
|
15
13
|
:digitaloceanConfig, :driver, :exoscaleConfig, :externalId,
|
16
14
|
:labels, :openstackConfig, :packetConfig, :rackspaceConfig,
|
data/lib/rancher/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rancher-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Kurkin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-12-
|
11
|
+
date: 2016-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: her
|