jack-eb 0.1.4 → 0.1.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: d28caf9cc8e71c3de05f3e01da65b16127b3a79d
4
- data.tar.gz: ab1218ccf921386c7c2e4c745813803f15cce4b0
3
+ metadata.gz: 73c0ce463429a061837cb8a50b938bcb34e5e15c
4
+ data.tar.gz: 6bbc5befe4d04f6f7d1777a742616d2299dcf07e
5
5
  SHA512:
6
- metadata.gz: 58ffb9de2d5a3a7912f2ff12cfc49c0d8ae60641e064012db8736f029c117c6b0ff3d41cf6c69a1c0763f23b56ae85e22570086f70ea315652df792e21fd884b
7
- data.tar.gz: 32a2f1609e9b0805ad266b73999b78358fdc9e66d2ce3aef8a71dab62cc795cbf7f5ef144d8ecafc0d8100c66871dcacf777027d12fe44f4bf68048943acb7ed
6
+ metadata.gz: 0e77678baa85b6be6b7b2ccb02e4dd5fa7aaefb4cdf7bc65af5487abfa32888dfd153ae70043812b78c961da6fefb49aa2c37683fc6bfa202a7108929916f405
7
+ data.tar.gz: 79b5531fe309ce1de78dbf96c1f91850a00c566c29652ad2826e2bdc50c92f1152d4e6c2af68610649fb464afc5800b8462c5da04a0127a61c8a546b61c957cf
data/lib/jack/cli.rb CHANGED
@@ -7,6 +7,7 @@ module Jack
7
7
  class ConfigCLI < Thor
8
8
  desc "upload ENV_NAME", "upload and apply jack config changes to EB environment"
9
9
  long_desc Jack::CLI::Help.upload
10
+ option :force, aliases: :f, type: :boolean, desc: "skip prompt"
10
11
  def upload(env_name)
11
12
  Jack::Config::Upload.new(options.merge(env_name: env_name)).run
12
13
  end
@@ -47,7 +47,7 @@ overwrite your #{@local_config_path} instead, you can use this command:
47
47
  $ jack config download #{@env_name}
48
48
  $ jack config help download # for more info
49
49
  EOL
50
- print "yes/no? [no] " unless @options[:silent]
50
+ print "yes/no? [no] " unless @options[:silent] || @options[:force]
51
51
  answer = get_answer
52
52
  answer =~ /^y/
53
53
  end
data/lib/jack/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Jack
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
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: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tung Nguyen