elasticDynamoDb 1.2 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +8 -8
- data/bin/elasticDynamoDb +5 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MWQwZjUzN2JhMTZhNTljNTE3YWZmZDJhZGM5MzA4NDUyMTJmMTA0Yw==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZWI3OGEyNGQyNTY4NTJkMzU3M2YxNDA4ZTU0NDgwYzU3ZDczY2IyYw==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZmQ2YzgxYTM1ZDAyZDNkNmVjZDg0ZDg3MTJhNmVhYzUyOGY1ZjQyZGY2NjY5
|
10
|
+
ZTdmMDE2MDQyNWViNjIwNGVlZjUzMjBkY2QxY2ZiZmFlNmJkNmIwY2Q1MmZm
|
11
|
+
MzhiMmVmZjA1NmUzOTAyMjE5NGVlMDQwODdmNzk4ODgwMGI2OTE=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
NGZiNWY1NWJmNjk2ODgwZDJjYjk1YWJkYzU4ZDU0MjhmNzY3YjRhZmQwODI1
|
14
|
+
OGEyYzFhZDk4NDlkODE1Y2I5NjJlYzZhNTg3Yjc0NTNiOGJhOGNiNzFlMjM0
|
15
|
+
MDkxZmViODFjODM3M2JjNTk5OTEwZWUxYWIyMTgwYWU0MGM0ZGE=
|
data/bin/elasticDynamoDb
CHANGED
@@ -12,7 +12,7 @@ class ElasticDynamoDb < Thor
|
|
12
12
|
desc "onDemand", "Ease autoscale by schedule or scale factor"
|
13
13
|
method_option :factor, :required => true, :alias => 'f', :type => :numeric, :banner => 'scale factor can be decimal too 0.5 for instance'
|
14
14
|
method_option :schedule_restore, :alias => 's', :type => :numeric, :banner => 'number of minutes for ElasticDynamoDb to restore original values', :default => 0
|
15
|
-
method_option :working_dir, :default => '
|
15
|
+
method_option :working_dir, :default => '~', :alias => 'd', :banner => 'location for backup config and change log [default home dir for the user]'
|
16
16
|
method_option :config_file, :required => true, :alias => 'c', :banner => 'location of dynamic-dynamodb.conf'
|
17
17
|
method_option :stop_cmd, :banner => 'bash stop command for dynamic-dynamodb service'
|
18
18
|
method_option :start_cmd, :banner => 'bash start command for dynamic-dynamodb service'
|
@@ -61,7 +61,7 @@ Options:
|
|
61
61
|
--config-file=location of dynamic-dynamodb.conf
|
62
62
|
--factor scale factor can be decimal too 0.5 for instance
|
63
63
|
[--schedule-restore=number of minutes for ElasticDynamoDb to restore original values] # Default: 0 (No restore)
|
64
|
-
[--working-dir=location for backup config and change log [default
|
64
|
+
[--working-dir=location for backup config and change log [default home user dir]]
|
65
65
|
[--stop-cmd=bash stop command for dynamic-dynamodb service (must be wrapped in quotes)]
|
66
66
|
[--start-cmd=bash start command for dynamic-dynamodb service (must be wrapped in quotes)]
|
67
67
|
HELP
|
@@ -221,7 +221,9 @@ private
|
|
221
221
|
else
|
222
222
|
if @@in_restore
|
223
223
|
confirmed = true
|
224
|
-
|
224
|
+
end
|
225
|
+
|
226
|
+
if options[:start_cmd]
|
225
227
|
confirmed = yes?("send the start command #{options[:start_cmd]} ? (yes/no)")
|
226
228
|
end
|
227
229
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: elasticDynamoDb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ami Mahloof
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-08-
|
11
|
+
date: 2014-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: configparser
|