jack-eb 1.4.0 → 1.4.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: 96d7ba0d66a46632ba581171a490b72cf0f1a175
4
- data.tar.gz: 70bbd49ab108937debcb4e701224422d75cca808
3
+ metadata.gz: 30600f76b7a14faa4622dd2812108d23d809a8b8
4
+ data.tar.gz: 3bb57c66c90a649de087076cc91caf1cf1788876
5
5
  SHA512:
6
- metadata.gz: d55be4caa29ab9f488b9c59290f63bca4cea6ee32ad672c393bd187bfb4dd4adc9561f7aff15e0ac583e5c787a7b938908dd4167ff9199475057e25c830caef4
7
- data.tar.gz: 82a0fdb9d77530c04be1f65dacdd63e088ca1e4518e8e19f9c699d83723384bc99f09d062981546e604cd823c7616699affa9a7fb5ca04988745f3bd50150972
6
+ metadata.gz: e8953ec29a971582968e1a22aee13efb8de27cd702bf47a517353acbaf2d5568b8cdfe478f5a95fdb754e695a404e71a6d560fb0b40afcf487221c50fb0e276e
7
+ data.tar.gz: 2756afbf5a86826147f66f89c03dda07318d351e16fe6c123daeea3e384b0f51de788003d8f0c9cff28ed038dd5ba4f5db305fcbddba1ee998d556d551fb37c1
@@ -3,6 +3,9 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  This project *tries* to adhere to [Semantic Versioning](http://semver.org/), even before v1.0.
5
5
 
6
+ ## [1.4.1]
7
+ * ensure jack deploy works on freshly clone project with existing app
8
+
6
9
  ## [1.4.0]
7
10
  * fix jack deploy, remove debugging
8
11
  * fix embedded_eb lookup
@@ -12,9 +12,8 @@ module Jack
12
12
  end
13
13
 
14
14
  def run
15
- check_aws_setup
15
+ prerequisites
16
16
  create_app
17
- EbConfig::Create.new(@options).sync unless @options[:noop]
18
17
  create_env
19
18
  end
20
19
 
@@ -15,6 +15,7 @@ module Jack
15
15
  exit 1 unless ENV['TEST']
16
16
  end
17
17
 
18
+ prerequisites
18
19
  deploy
19
20
  end
20
21
 
@@ -47,6 +47,13 @@ module Jack::Util
47
47
  FileUtils.mkdir_p(folder) unless File.exist?(folder)
48
48
  end
49
49
 
50
+ # Sets up common prerequisites like setting up the .elasticbeanstsalk/ files
51
+ # for create or deploy to work
52
+ def prerequisites
53
+ check_aws_setup
54
+ Jack::EbConfig::Create.new(@options).sync unless @options[:noop]
55
+ end
56
+
50
57
  # Checks main if the ~/.aws/config has been set up properly. If it has not
51
58
  # print a message to the user and exit the program.
52
59
  def check_aws_setup
@@ -1,3 +1,3 @@
1
1
  module Jack
2
- VERSION = "1.4.0"
2
+ VERSION = "1.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jack-eb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen