rancher-management_api 0.3.0 → 0.3.2

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: b1aa4eb5b1e54e45ed295d11c777b6b8947142a4
4
- data.tar.gz: 63a57667995bd7ede029a24331d995265342a3bf
3
+ metadata.gz: 00b75fbc0d2c19429d742144ea500131927ea51f
4
+ data.tar.gz: 6c211f53698bde602b883556b7491460ac1fc4ea
5
5
  SHA512:
6
- metadata.gz: 02a80b5dc24fc263af1e819080756afe6a84baa58ba7f36e1f0db904d18cc8aca28fd8d5eb05d5315456ff6351632403ed59423cc46dfe27a9f031914aac7ff8
7
- data.tar.gz: 479aae3925cb26127b7702c2f3c071ce44543a255c1f8727bf29190dbab4ee199b97e3556df8c752a323f4e93b099d4f299d09a42012b84d333c5b9c78768dab
6
+ metadata.gz: b716d55076a78690784649224808733e1fc21c9a5abf7db74b9d4505827761334c288024386c1ce709297c47f85dd9308491e260d42426da8e8b3c8725fbd845
7
+ data.tar.gz: cee38eb043d58a398fd826b199a609ff3f1ad0be1d3635575e967be6bcf07d57b54d224a1db3718cfc0d77b0cfc17c176d490182749f47c65149698e3af0f4e3
data/Dockerfile CHANGED
@@ -10,4 +10,8 @@ RUN apk update && \
10
10
  ADD lib/rancher/management_api/version.rb /tmp/
11
11
  RUN gem install -N rancher-management_api
12
12
 
13
- ENTRYPOINT ["rancher-management"]
13
+ RUN mkdir -p /srv/rancher-management_api
14
+ WORKDIR /srv/rancher-management_api
15
+ ADD . /srv/rancher-management_api
16
+
17
+ ENTRYPOINT ["bin/rancher-management"]
@@ -75,6 +75,7 @@ api_key = project.create_api_key(@options[:key_name])
75
75
  registration_token = project.create_registration_token
76
76
 
77
77
  output = {
78
+ project_id: project.id,
78
79
  access_key: api_key.publicValue,
79
80
  secret_key: api_key.secretValue,
80
81
  registration_token: registration_token.token,
@@ -1,5 +1,5 @@
1
1
  module Rancher
2
2
  module ManagementApi
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.2"
4
4
  end
5
5
  end
@@ -16,7 +16,7 @@ Gem::Specification.new do |spec|
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
18
18
  spec.bindir = "bin"
19
- spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
19
+ spec.executables = ["rancher-management"]
20
20
  spec.require_paths = ["lib"]
21
21
 
22
22
  spec.add_dependency "faraday", "~> 0.9.2"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rancher-management_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Donald Plummer
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-08-03 00:00:00.000000000 Z
12
+ date: 2016-08-16 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: faraday
@@ -99,9 +99,7 @@ description: Client for creating environments and apikeys for Rancher.
99
99
  email:
100
100
  - dplummer@avvo.com
101
101
  executables:
102
- - console
103
102
  - rancher-management
104
- - setup
105
103
  extensions: []
106
104
  extra_rdoc_files: []
107
105
  files: