aws_one_click_staging 0.0.3 → 0.0.4

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: 142ee183d54628d0f4a214bf587e2ca64bbe3ace
4
- data.tar.gz: ce66b276b8aa9f8af836b8526bef8e9e17604716
3
+ metadata.gz: 3f7fd61291d808f09e8c8990cefe8a4ac8358b75
4
+ data.tar.gz: d077ebffbdbcd74e0e682921f6bca9851834d9fa
5
5
  SHA512:
6
- metadata.gz: bc81abd4f578e8a52a2ca69ee729e546f1d63b8667f928d1fa391533dfd078b63225e068e8c64d7646a8bbeae8342eada5dd215c3ce4aefbe337b013d96b8ffa
7
- data.tar.gz: a523573ff88c79f94eb4e588b9086951d5b99faede4548bf93d1143c509cc675dd9487b1379364109ae5fa5247510ec215bccdb4449e026470e70e3a1e8bee8d
6
+ metadata.gz: c34c7a20356615fffd06489ea095c0a515f05d9bfcca8fe8166631590122aff05b258e2802000b7082147b27eaff2da8de6fcf4accc56bdd78ffc4605c725a4f
7
+ data.tar.gz: bcc8cbc788f8176374d465bc57d5396d737c053bf5d893095be3d9077168572a5b2ea9278ce7768a710077eca2485ae999a6e8298b279fed5f4c126ec88f6850
@@ -8,6 +8,7 @@ module AwsOneClickStaging
8
8
 
9
9
  def self.stage
10
10
  warrior = AwsWarrior.new
11
+ return if warrior.nil?
11
12
  puts "cloning database from amazon... this takes a while..."
12
13
  warrior.clone_rds
13
14
  puts "cloning s3 bucket from amazon... this takes forever..."
@@ -10,6 +10,7 @@ module AwsOneClickStaging
10
10
  # read config file
11
11
  @config_dir = "#{ENV['HOME']}/.config"
12
12
  @config_file = File.expand_path("#{@config_dir}/aws_one_click_staging.yml")
13
+ return nil if create_config_file_if_needed!
13
14
  @config = YAML.load(read_config_file)
14
15
  end
15
16
 
@@ -114,7 +115,6 @@ module AwsOneClickStaging
114
115
 
115
116
 
116
117
  def read_config_file
117
- return if create_config_file_if_needed!
118
118
  config = File.read(@config_file)
119
119
  end
120
120
 
@@ -1,3 +1,3 @@
1
1
  module AwsOneClickStaging
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws_one_click_staging
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - TheNotary