build_promotion_tool 0.1.1 → 0.1.2
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d04e5ad794fd4b9daf0b5cf73982c193896849f5
|
|
4
|
+
data.tar.gz: 75905ba06e84bc586ad9c936169fa989130d8bae
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 47a14e598ba2e16648294e40ae454b607d44488cd76827a2ea71158c475aee368b19b1dfa688a4ab9822caca2529163481408523b9a814b847a4761a288969ba
|
|
7
|
+
data.tar.gz: c5da3d7d24b04aa0a7b40b7a8a739f45905306c866a848030d7a2c4ba387703c350a4e1ad411cfb77308b7a4a7efbb558209af4b41aac446d5c6b83c1a6179b6
|
|
Binary file
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
require_relative '../
|
|
1
|
+
require_relative '../configure'
|
|
2
2
|
|
|
3
3
|
class UserCommsHelper
|
|
4
|
-
all_tags =
|
|
4
|
+
all_tags = Configure.tag_types['all_tags']
|
|
5
5
|
ERROR_INITIALISE_WITH_STRING_IO = "Initialise with StringIO objects"
|
|
6
6
|
TELL_USER_NO_DEVELOP_TAGS = "No develop tags exist for this repository"
|
|
7
7
|
ASK_USER_INCREMENT_TYPE = "Would you like to do a major, minor, or patch increment?"
|
data/lib/build_promotion_tool.rb
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
require_relative "./build_promotion_tool/version"
|
|
2
|
-
require_relative "./build_promotion_tool/
|
|
2
|
+
require_relative "./build_promotion_tool/configure.rb"
|
|
3
3
|
require_relative './build_promotion_tool/controller/deploy_controller'
|
|
4
4
|
|
|
5
5
|
module BuildPromotionTool
|
|
6
6
|
class Deploy
|
|
7
|
-
include
|
|
7
|
+
include Configure
|
|
8
8
|
|
|
9
9
|
user_comms = UserCommsHelper.new(STDOUT, STDIN)
|
|
10
10
|
git_helper = GitHelper.new
|
|
@@ -15,7 +15,7 @@ module BuildPromotionTool
|
|
|
15
15
|
if ARGV[0].nil?
|
|
16
16
|
user_comms.error_incorrect_environ
|
|
17
17
|
else
|
|
18
|
-
deploy = DeployController.new(ARGV[0], git_helper, user_comms, develop_tag_generator, OtherTagGenerator.new,
|
|
18
|
+
deploy = DeployController.new(ARGV[0], git_helper, user_comms, develop_tag_generator, OtherTagGenerator.new, Configure.tag_types)
|
|
19
19
|
deploy.environment_choice
|
|
20
20
|
end
|
|
21
21
|
end
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: build_promotion_tool
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Emily Woods
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-02-
|
|
11
|
+
date: 2017-02-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|
|
@@ -54,12 +54,13 @@ files:
|
|
|
54
54
|
- bin/console
|
|
55
55
|
- bin/deploy
|
|
56
56
|
- bin/setup
|
|
57
|
+
- build_promotion_tool-0.1.1.gem
|
|
57
58
|
- build_promotion_tool.gemspec
|
|
58
59
|
- lib/build_promotion_tool.rb
|
|
59
60
|
- lib/build_promotion_tool/.rspec
|
|
60
61
|
- lib/build_promotion_tool/comparator/version.rb
|
|
61
|
-
- lib/build_promotion_tool/config.rb
|
|
62
62
|
- lib/build_promotion_tool/config.yml
|
|
63
|
+
- lib/build_promotion_tool/configure.rb
|
|
63
64
|
- lib/build_promotion_tool/controller/deploy_controller.rb
|
|
64
65
|
- lib/build_promotion_tool/generator/develop_tag_generator.rb
|
|
65
66
|
- lib/build_promotion_tool/generator/other_tag_generator.rb
|