awx 0.6.7 → 0.6.8

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: b6816a3d0e3f04080bf5afc1a65f03d716971059
4
- data.tar.gz: e06bb014fb924d2f1618c953b7e311c6d47a5c3b
3
+ metadata.gz: 8d63dfca777da31742b37438fadf3f0509242778
4
+ data.tar.gz: 055e37ab8992197e991510cdd6fa2ed5d70fc935
5
5
  SHA512:
6
- metadata.gz: 31ffaa13a6c79dc3f8d76d85c70594f1d02f39bcf4f3735862ea0c21cb0baa3d599b2bab42363d68551d79bb68a681b9dd38606133cc615278e0a03149261ab5
7
- data.tar.gz: f70d528a3d0f1e29c53fde0cadc832b4ec21ee097e0865f5445b61651e11e5d3f032a43192fda1d6ff336c0fe4a8cca1a50d21abd6f5b96e9ced3a2ddfa8717e
6
+ metadata.gz: aa01ec9ffa346f05363cf32d456b993bb3d24115e61f5c742aed3ae640030b6c408d9e1f1eeda55507a2cad481473091245d21fd41849c9887a5a31350dcea24
7
+ data.tar.gz: 35812f1698392104fb8fc6a2c677ae3063c39f97e4a31df30eb80d375ae43e2d734fa2302b48a5c100d2b41e84135d43a4697e90693a735cba63738f5ce1b326
@@ -87,14 +87,7 @@ module App
87
87
  errors << "aws-cli error. Cannot find #{profile}: #{Blufin::Terminal::format_invalid('aws_secret_access_key')} in: #{Blufin::Terminal::format_directory(FILE_AWS_CREDENTIALS)}" if @@credentials.aws_secret.nil?
88
88
  else
89
89
  # Returns 'yes' if running on EC2 instance, 'no' if not.
90
- return if `#{App::Opt::get_base_path}/#{App::Opt::OPT_PATH}/shell/ec2-check` == 'yes'
91
-
92
- # TODO - REMOVE
93
- puts "#{App::Opt::get_base_path}/#{App::Opt::OPT_PATH}/shell/ec2-check"
94
- puts `#{App::Opt::get_base_path}/#{App::Opt::OPT_PATH}/shell/ec2-check`
95
- puts `#{App::Opt::get_base_path}/#{App::Opt::OPT_PATH}/shell/ec2-check` == 'yes'
96
- puts `#{App::Opt::get_base_path}/#{App::Opt::OPT_PATH}/shell/ec2-check` == 'no'
97
-
90
+ return if `#{App::Opt::get_base_path}/#{App::Opt::OPT_PATH}/shell/ec2-check`.to_s.gsub("\n", '') =~ /yes/i
98
91
  errors << "aws-cli error. Cannot find file: #{Blufin::Terminal::format_invalid(FILE_AWS_CREDENTIALS)}"
99
92
  end
100
93
 
data/lib/version.rb CHANGED
@@ -1 +1 @@
1
- AWX_VERSION = '0.6.7'
1
+ AWX_VERSION = '0.6.8'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.7
4
+ version: 0.6.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Albert Rannetsperger