capistrano-asg 0.5.4 → 0.5.5

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: 2bb3270f8c0785153aab26555b92444813e43404
4
- data.tar.gz: 6473b0bbcf40ba94590939df3d4b8bc9bf2c8619
3
+ metadata.gz: f5b36a3b950014b5056f72b8e6203747165cf029
4
+ data.tar.gz: d776ac1d3f9c8c000ab39346dbaf2503f6db181a
5
5
  SHA512:
6
- metadata.gz: 7554288b202695c4164d90ff1e3f2f77254fd180dfdd999ab7fee996c3382281cd1b869cdf4b02887288a49b3d5ceeaded0209b09279b61ba3480eb3d4270841
7
- data.tar.gz: 160de421be271cc102cf6899462cbec1ab42db13d96d4cc6778894e9e59271ca85eab863ba7a6fd68de5d50ceb97c643788ef5b1e4c450063e6600547d07362f
6
+ metadata.gz: 54920d7b80aee2362185620a411bf3a0a8709563681f7c786b1de99d326ac4c4f433ec11b19502bae1eae7333901cfdb834a3a4db2c5c4f36eb045fa5f34eb6b
7
+ data.tar.gz: 76294d9cf6439cc407fbcc7b82e7cad5f12796e2acaba37f708a1b11bba1eb087daa1043c00f1180d4c00ce2202de81a8e2f1d82f95ad3e35466f20b73b6a8b4
@@ -1,3 +1,8 @@
1
+ # 0.5.5
2
+
3
+ * Support setting name prefixes for newly created launch configurations and AMIs
4
+ * Use UTC for the timestamps in names
5
+
1
6
  # 0.5.4
2
7
 
3
8
  * Fix a small bug caused by a typo
@@ -18,6 +23,6 @@
18
23
  # 0.5.0
19
24
 
20
25
  * Forked from capistrano-elbas
21
- * renamed capistrano-asg and released as a new gem
22
- * Updated with modern aws sdk
23
- * Added support for multiple regions
26
+ * renamed capistrano-asg and released as a new gem
27
+ * Updated with modern aws sdk
28
+ * Added support for multiple regions
@@ -24,6 +24,7 @@ Gem::Specification.new do |spec|
24
24
  spec.add_development_dependency 'rake'
25
25
  spec.add_development_dependency 'rspec'
26
26
  spec.add_development_dependency 'webmock'
27
+ spec.add_development_dependency 'byebug'
27
28
 
28
29
  spec.add_dependency 'aws-sdk', '~> 2'
29
30
  spec.add_dependency 'capistrano', '> 3.0.0'
@@ -35,7 +35,7 @@ module Capistrano
35
35
  private
36
36
 
37
37
  def name
38
- timestamp "latest-#{environment}-AMI"
38
+ timestamp fetch(:aws_ami_name_prefix, "latest-#{environment}-AMI")
39
39
  end
40
40
 
41
41
  def trash
@@ -30,7 +30,7 @@ module Capistrano
30
30
  end
31
31
 
32
32
  def timestamp(str)
33
- "#{str}-#{Time.now.to_i}"
33
+ "#{str}-#{Time.now.utc.to_i}"
34
34
  end
35
35
 
36
36
  def deployed_with_asg?(resource)
@@ -46,7 +46,7 @@ module Capistrano
46
46
  private
47
47
 
48
48
  def name
49
- timestamp "cap-asg-#{environment}-#{autoscaling_group_name}-lc"
49
+ timestamp fetch(:aws_lc_name_prefix, "cap-asg-#{environment}-#{autoscaling_group_name}-lc")
50
50
  end
51
51
 
52
52
  def instance_size
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Capistrano
4
4
  module Asg
5
- VERSION = '0.5.4'
5
+ VERSION = '0.5.5'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-asg
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Logan Serman
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2017-09-07 00:00:00.000000000 Z
13
+ date: 2017-09-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -68,6 +68,20 @@ dependencies:
68
68
  - - ">="
69
69
  - !ruby/object:Gem::Version
70
70
  version: '0'
71
+ - !ruby/object:Gem::Dependency
72
+ name: byebug
73
+ requirement: !ruby/object:Gem::Requirement
74
+ requirements:
75
+ - - ">="
76
+ - !ruby/object:Gem::Version
77
+ version: '0'
78
+ type: :development
79
+ prerelease: false
80
+ version_requirements: !ruby/object:Gem::Requirement
81
+ requirements:
82
+ - - ">="
83
+ - !ruby/object:Gem::Version
84
+ version: '0'
71
85
  - !ruby/object:Gem::Dependency
72
86
  name: aws-sdk
73
87
  requirement: !ruby/object:Gem::Requirement