qops 1.1.0 → 1.1.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: becc39290c6daab078f8e2ff60f35580868719e0
4
- data.tar.gz: 95af5da002ad688a41bd099c9004e5e6b4db3a9a
3
+ metadata.gz: 0039b418ac584d3d75e2a896d49fff4935ae9242
4
+ data.tar.gz: b212dfc56d9ecc25f34701734cba2430308daa7d
5
5
  SHA512:
6
- metadata.gz: 808fa94972bf2f7f43bbf9d29763230467a93643461d7340e0b131a998f375103256249c7628cad5ecd99296f2bbbe11f49278ee5eacafcf6f6cce7e97d189f4
7
- data.tar.gz: 76e5233bae516c5e49ce39fcb10db5228004b3fd62cb652a3873ba6c8676ca80ae1f6b97dd0caab6f5af19071998a6ae7ef820d35a39b00aacefa2246b10f89c
6
+ metadata.gz: 9c5cb09e0f5c231c3598cf464efbed01e98bc3ce6c83cee4d68e239f877c5fab0b367433f4263463a26629fe873db6e04a2349c7c33ebd26d7ec9f3da83a7709
7
+ data.tar.gz: d5099f5ce27ae5097253d7c2f47a7a4081459c1e20c43fd6c28d69b764f1e227f0dff946dc3a50d7a2793d97d585fcb742b40000f456bf3451dd90baf690e01e
@@ -152,7 +152,7 @@ class Qops::Instance < Thor # rubocop:disable Metrics/ClassLength
152
152
 
153
153
  # Find all instances to be destroyed
154
154
  retrieve_instances.each do |instance|
155
- next if instance.hostname == 'master'
155
+ next if instance.hostname == "#{config.hostname_prefix}master"
156
156
 
157
157
  # Find the latest command since the instance was deployed
158
158
  latest_command = Time.parse(instance.created_at)
@@ -308,7 +308,7 @@ class Qops::Instance < Thor # rubocop:disable Metrics/ClassLength
308
308
  end
309
309
 
310
310
  # Attempt to shutdown the instance
311
- print "Attempting instance #{instance_id}-#{instance.hostname} shutdown ..."
311
+ print "Attempting instance #{instance_id} - #{instance.hostname} shutdown ..."
312
312
  unless instance.status == 'stopped'
313
313
  config.opsworks.stop_instance(instance_id: instance_id)
314
314
  end
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  module Qops
3
- VERSION = '1.1.0'.freeze
3
+ VERSION = '1.1.1'.freeze
4
4
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: qops
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Basset
@@ -11,90 +11,90 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2016-04-07 00:00:00.000000000 Z
14
+ date: 2016-04-12 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: thor
18
18
  requirement: !ruby/object:Gem::Requirement
19
19
  requirements:
20
- - - ">="
20
+ - - '>='
21
21
  - !ruby/object:Gem::Version
22
22
  version: 0.19.1
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
26
26
  requirements:
27
- - - ">="
27
+ - - '>='
28
28
  - !ruby/object:Gem::Version
29
29
  version: 0.19.1
30
30
  - !ruby/object:Gem::Dependency
31
31
  name: aws-sdk
32
32
  requirement: !ruby/object:Gem::Requirement
33
33
  requirements:
34
- - - ">="
34
+ - - '>='
35
35
  - !ruby/object:Gem::Version
36
36
  version: 2.0.41
37
37
  type: :runtime
38
38
  prerelease: false
39
39
  version_requirements: !ruby/object:Gem::Requirement
40
40
  requirements:
41
- - - ">="
41
+ - - '>='
42
42
  - !ruby/object:Gem::Version
43
43
  version: 2.0.41
44
44
  - !ruby/object:Gem::Dependency
45
45
  name: quandl-config
46
46
  requirement: !ruby/object:Gem::Requirement
47
47
  requirements:
48
- - - ">="
48
+ - - '>='
49
49
  - !ruby/object:Gem::Version
50
50
  version: 0.1.0
51
51
  type: :runtime
52
52
  prerelease: false
53
53
  version_requirements: !ruby/object:Gem::Requirement
54
54
  requirements:
55
- - - ">="
55
+ - - '>='
56
56
  - !ruby/object:Gem::Version
57
57
  version: 0.1.0
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: quandl-slack
60
60
  requirement: !ruby/object:Gem::Requirement
61
61
  requirements:
62
- - - ">="
62
+ - - '>='
63
63
  - !ruby/object:Gem::Version
64
64
  version: '0'
65
65
  type: :runtime
66
66
  prerelease: false
67
67
  version_requirements: !ruby/object:Gem::Requirement
68
68
  requirements:
69
- - - ">="
69
+ - - '>='
70
70
  - !ruby/object:Gem::Version
71
71
  version: '0'
72
72
  - !ruby/object:Gem::Dependency
73
73
  name: activesupport
74
74
  requirement: !ruby/object:Gem::Requirement
75
75
  requirements:
76
- - - ">="
76
+ - - '>='
77
77
  - !ruby/object:Gem::Version
78
78
  version: 4.2.1
79
79
  type: :runtime
80
80
  prerelease: false
81
81
  version_requirements: !ruby/object:Gem::Requirement
82
82
  requirements:
83
- - - ">="
83
+ - - '>='
84
84
  - !ruby/object:Gem::Version
85
85
  version: 4.2.1
86
86
  - !ruby/object:Gem::Dependency
87
87
  name: rainbow
88
88
  requirement: !ruby/object:Gem::Requirement
89
89
  requirements:
90
- - - "~>"
90
+ - - ~>
91
91
  - !ruby/object:Gem::Version
92
92
  version: 2.0.0
93
93
  type: :runtime
94
94
  prerelease: false
95
95
  version_requirements: !ruby/object:Gem::Requirement
96
96
  requirements:
97
- - - "~>"
97
+ - - ~>
98
98
  - !ruby/object:Gem::Version
99
99
  version: 2.0.0
100
100
  description: Help to automate opsworks project deployments with single commands.
@@ -105,9 +105,6 @@ executables:
105
105
  extensions: []
106
106
  extra_rdoc_files: []
107
107
  files:
108
- - README.md
109
- - bin/qops
110
- - lib/qops.rb
111
108
  - lib/qops/cookbook/cookbook.rb
112
109
  - lib/qops/deployment/app.rb
113
110
  - lib/qops/deployment/helpers.rb
@@ -115,6 +112,9 @@ files:
115
112
  - lib/qops/environment.rb
116
113
  - lib/qops/helpers.rb
117
114
  - lib/qops/version.rb
115
+ - lib/qops.rb
116
+ - bin/qops
117
+ - README.md
118
118
  homepage: https://github.com/quandl/opsworks_commands
119
119
  licenses:
120
120
  - MIT
@@ -125,19 +125,18 @@ require_paths:
125
125
  - lib
126
126
  required_ruby_version: !ruby/object:Gem::Requirement
127
127
  requirements:
128
- - - ">="
128
+ - - '>='
129
129
  - !ruby/object:Gem::Version
130
130
  version: 2.2.4
131
131
  required_rubygems_version: !ruby/object:Gem::Requirement
132
132
  requirements:
133
- - - ">="
133
+ - - '>='
134
134
  - !ruby/object:Gem::Version
135
135
  version: '0'
136
136
  requirements: []
137
137
  rubyforge_project:
138
- rubygems_version: 2.5.1
138
+ rubygems_version: 2.0.14
139
139
  signing_key:
140
140
  specification_version: 4
141
141
  summary: Helper commands for deployment of opsworks projects.
142
142
  test_files: []
143
- has_rdoc: