Skip to content

Commit 3f5b303

Browse files
author
Peter Benjamin
committed
Bump major version
1 parent c78e0c8 commit 3f5b303

1 file changed

Lines changed: 14 additions & 5 deletions

File tree

source/lib/base_stacker.rb

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,27 @@
33
require 'yaml'
44
require 'rainbow'
55

6-
VERSION = '0.1.0'
6+
VERSION = '1.0.0'
77
CONFIG_DIR="#{ENV['HOME']}/.restacker"
88
CONFIG_FILE="#{CONFIG_DIR}/restacker.yml"
99
SAMPLE_FILE = "#{__dir__}/../restacker-sample.yml"
1010

1111
# needed here (after config_dir and defaults_file)
1212
require_relative 'auth'
1313

14-
CREATE_COMPLETE = 'CREATE_COMPLETE'
15-
CREATE_IN_PROGRESS = 'CREATE_IN_PROGRESS'
16-
DELETE_IN_PROGRESS = 'DELETE_IN_PROGRESS'
17-
DELETE_COMPLETE = 'DELETE_COMPLETE'
14+
STATUS = {
15+
CC: 'CREATE_COMPLETE',
16+
CIP: 'CREATE_IN_PROGRESS',
17+
CF: 'CREATE_FAILED',
18+
19+
DC: 'DELETE_COMPLETE',
20+
DIP: 'DELETE_IN_PROGRESS',
21+
DF: 'DELETE_FAILED',
22+
23+
UC: 'UPDATE_COMPLETE',
24+
UIP: 'UPDATE_IN_PROGRESS',
25+
UF: 'UPDATE_FAILED'
26+
}
1827

1928
class BaseStacker
2029
def initialize(options)

0 commit comments

Comments
 (0)