knuckle_cluster 1.2.1 → 1.3.1

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: 3d7a0dd836d8eefb37421b1175b18d015bd10937
4
- data.tar.gz: 75d8bc71322dd8f75fe3dbf328c9310900ce5d0a
3
+ metadata.gz: 59a86619f9fb8211ea0f2ff5c7f63c376c518594
4
+ data.tar.gz: 63403a1079066e89441bc79add6434376014f39f
5
5
  SHA512:
6
- metadata.gz: f37ce827c3b94c732e34de888ca37b2657a74c62d589d3fff8c273d72465c3bde4a28df293b3a2bddb56a3ab2b64b1a5517e1061c7b5d33dd55c8022bc3828d6
7
- data.tar.gz: 459afa76e9844bba56278658496a34ff5c5255bfaf41d7179d37a027edac822e848abf73c15721c3358565ca0bf10daf96aa9f7a1926ebd9d345c9179be694a5
6
+ metadata.gz: 9bf7bf698d1c171c7f1d014c8776dd2d9bc66c98c2f85a964a05ae3d444c4a58fdb751c00de0ac135f59dcd4a3be902fb3d0db5ddde3978d9beb5149a508f530
7
+ data.tar.gz: d3d36dfe6b4681b99365393ca25705c93a999588428cdc2b0488e333da244c729de19abb9b6a78f01af04dde6bbda103a1338214f6d96c3e7a5ef759015e48e3
data/README.md CHANGED
@@ -188,7 +188,7 @@ Argument | Description
188
188
  -------- | -----------
189
189
  cluster_name | The name of the cluster (not the ARN). eg 'my-super-cluster'. One of `cluster_name`,`spot_request_id` or `asg_name` is required.
190
190
  spot_request_id | The spot request ID you are connecting to. eg 'sfr-abcdef'. One of `cluster_name`,`spot_request_id` or `asg_name` is required.
191
- asg_name | The spot request ID you are connecting to. eg 'sfr-abcdef'. One of `cluster_name`,`spot_request_id` or `asg_name` is required.
191
+ asg_name | The auto-scaling group name you are connecting to. eg 'very-scaly-group'. One of `cluster_name`,`spot_request_id` or `asg_name` is required.
192
192
  region | The AWS region you would like to use. Defaults to `us-east-1`
193
193
  bastion | if you have a bastion to proxy to your ecs cluster via ssh, put the name of it here as defined in your `~/.ssh/config` file.
194
194
  rsa_key_location | The RSA key needed to connect to an ecs agent eg `~/.ssh/id_rsa`.
@@ -20,10 +20,14 @@ Gem::Specification.new do |spec|
20
20
  spec.require_paths = ["lib"]
21
21
 
22
22
  spec.add_development_dependency "bundler", "~> 1.14"
23
- spec.add_development_dependency "rake", "~> 10.0"
24
- spec.add_development_dependency "rspec", "~> 3.0"
23
+ spec.add_development_dependency "rake", "~> 10.0"
24
+ spec.add_development_dependency "rspec", "~> 3.0"
25
+
26
+ spec.add_dependency 'aws-sdk-core', '~> 3'
27
+ spec.add_dependency 'aws-sdk-ec2', '~> 1'
28
+ spec.add_dependency 'aws-sdk-ecs', '~> 1'
29
+ spec.add_dependency 'aws-sdk-autoscaling', '~> 1'
25
30
 
26
- spec.add_dependency 'aws-sdk', '~> 2.8'
27
31
  spec.add_dependency 'table_print', '~> 1.5'
28
32
 
29
33
  spec.bindir = "bin"
@@ -52,11 +52,11 @@ module KnuckleCluster
52
52
  end
53
53
 
54
54
  def ec2_client
55
- @ec2_client ||= Aws::EC2::Client.new(aws_client_config)
55
+ @ec2_client ||= ::Aws::EC2::Client.new(aws_client_config)
56
56
  end
57
57
 
58
58
  def autoscaling_client
59
- @autoscaling_client ||= Aws::AutoScaling::Client.new(aws_client_config)
59
+ @autoscaling_client ||= ::Aws::AutoScaling::Client.new(aws_client_config)
60
60
  end
61
61
 
62
62
  end
@@ -76,11 +76,11 @@ module KnuckleCluster
76
76
  end
77
77
 
78
78
  def ec2_client
79
- @ec2_client ||= Aws::EC2::Client.new(aws_client_config)
79
+ @ec2_client ||= ::Aws::EC2::Client.new(aws_client_config)
80
80
  end
81
81
 
82
82
  def ecs_client
83
- @ecs_client ||= Aws::ECS::Client.new(aws_client_config)
83
+ @ecs_client ||= ::Aws::ECS::Client.new(aws_client_config)
84
84
  end
85
85
  end
86
86
  end
@@ -46,7 +46,7 @@ module KnuckleCluster
46
46
  end
47
47
 
48
48
  def ec2_client
49
- @ec2_client ||= Aws::EC2::Client.new(aws_client_config)
49
+ @ec2_client ||= ::Aws::EC2::Client.new(aws_client_config)
50
50
  end
51
51
 
52
52
  end
@@ -1,3 +1,3 @@
1
1
  module KnuckleCluster
2
- VERSION = '1.2.1'
2
+ VERSION = '1.3.1'
3
3
  end
@@ -4,7 +4,11 @@ require 'knuckle_cluster/spot_request_instance_registry'
4
4
  require "knuckle_cluster/version"
5
5
  require "knuckle_cluster/configuration"
6
6
 
7
- require 'aws-sdk'
7
+ require 'aws-sdk-core'
8
+ require 'aws-sdk-ec2'
9
+ require 'aws-sdk-ecs'
10
+ require 'aws-sdk-autoscaling'
11
+
8
12
  require 'forwardable'
9
13
  require 'table_print'
10
14
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: knuckle_cluster
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Envato
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-10-05 00:00:00.000000000 Z
11
+ date: 2017-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -53,19 +53,61 @@ dependencies:
53
53
  - !ruby/object:Gem::Version
54
54
  version: '3.0'
55
55
  - !ruby/object:Gem::Dependency
56
- name: aws-sdk
56
+ name: aws-sdk-core
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - "~>"
60
60
  - !ruby/object:Gem::Version
61
- version: '2.8'
61
+ version: '3'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - "~>"
67
67
  - !ruby/object:Gem::Version
68
- version: '2.8'
68
+ version: '3'
69
+ - !ruby/object:Gem::Dependency
70
+ name: aws-sdk-ec2
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1'
83
+ - !ruby/object:Gem::Dependency
84
+ name: aws-sdk-ecs
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '1'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '1'
97
+ - !ruby/object:Gem::Dependency
98
+ name: aws-sdk-autoscaling
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '1'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '1'
69
111
  - !ruby/object:Gem::Dependency
70
112
  name: table_print
71
113
  requirement: !ruby/object:Gem::Requirement
@@ -131,7 +173,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
131
173
  version: '0'
132
174
  requirements: []
133
175
  rubyforge_project:
134
- rubygems_version: 2.6.8
176
+ rubygems_version: 2.6.11
135
177
  signing_key:
136
178
  specification_version: 4
137
179
  summary: Handy cluster tool