aws_one_click_staging 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/aws_one_click_staging.gemspec +1 -1
- data/bin/aws_one_click_staging +3 -3
- data/lib/aws_one_click_staging.rb +5 -2
- data/lib/aws_one_click_staging/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e134e26a944dd9a00ddf4354a9680fb06df0531a
|
4
|
+
data.tar.gz: 521ffa8c81e390d1f2b8028e159875ecf835e29d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a3492667a38112ecacc5411df614d55478ac4a240023d4d8fce5acba88e38bc38ba9b580d50f6dd1bb995ef784c9a679980588b2c6c1bb24035e705d06af149e
|
7
|
+
data.tar.gz: 30f2ba1665243a664644de148698e82d6b4c3d50583fb9161fd5648536bda0842857802bcfc94eb4b6cf69366553a145da98e756ffd236460cb62a5c6e2871eb
|
@@ -15,7 +15,7 @@ Gem::Specification.new do |spec|
|
|
15
15
|
|
16
16
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
17
17
|
spec.bindir = "bin"
|
18
|
-
spec.executables = spec.files.grep(%r{^
|
18
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
21
|
spec.add_dependency 'aws-sdk', '~> 2'
|
data/bin/aws_one_click_staging
CHANGED
@@ -7,9 +7,9 @@ class AwsOneClickStagingRunner < Thor
|
|
7
7
|
|
8
8
|
default_task :start
|
9
9
|
|
10
|
-
desc "
|
11
|
-
def
|
12
|
-
AwsOneClickStaging.
|
10
|
+
desc "check", "Checks if your ~/.config/aws_one_click_staging.yml for validity"
|
11
|
+
def check
|
12
|
+
AwsOneClickStaging.check
|
13
13
|
end
|
14
14
|
|
15
15
|
desc "stage", "Makes a copy of the RDS database and the staging server's S3 bucket. This takes a while."
|
@@ -10,9 +10,12 @@ module AwsOneClickStaging
|
|
10
10
|
warrior = AwsWarrior.new
|
11
11
|
end
|
12
12
|
|
13
|
-
def self.
|
13
|
+
def self.check
|
14
14
|
warrior = AwsWarrior.new # this makes a config file if needed
|
15
|
-
puts "This
|
15
|
+
puts "This command *would* test that you have the needed "
|
16
|
+
puts "permissions on the buckets and rds instances you named "
|
17
|
+
puts "in your config file... but alas, you're reading the "
|
18
|
+
puts "outputs of a stubbed method..."
|
16
19
|
end
|
17
20
|
|
18
21
|
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.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- TheNotary
|
@@ -111,7 +111,8 @@ dependencies:
|
|
111
111
|
description:
|
112
112
|
email:
|
113
113
|
- no@email.plz
|
114
|
-
executables:
|
114
|
+
executables:
|
115
|
+
- aws_one_click_staging
|
115
116
|
extensions: []
|
116
117
|
extra_rdoc_files: []
|
117
118
|
files:
|