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: 139604ea202fbd5bb530daf19d43f7c3e2a71b8d
4
- data.tar.gz: e6363b9f29a86fc0319024c85c42a3306f091824
3
+ metadata.gz: d04e5ad794fd4b9daf0b5cf73982c193896849f5
4
+ data.tar.gz: 75905ba06e84bc586ad9c936169fa989130d8bae
5
5
  SHA512:
6
- metadata.gz: f044c063bd5b9c59d47d889bd4bcfcba5dccd7b63c5979f582e307ed5b9f123d256abbee5301b75245d5ee5747321af9f27bfd522fb13d10a9da4df205c9704e
7
- data.tar.gz: 68d5e39e0f435a0b37263f0217169a1045f0d7ac2ceb375ad38cb08af4261becd09a3eaae019d936ed917b1b3bb05a2e8140f89f9548fc6d87a9917ee19d6cf7
6
+ metadata.gz: 47a14e598ba2e16648294e40ae454b607d44488cd76827a2ea71158c475aee368b19b1dfa688a4ab9822caca2529163481408523b9a814b847a4761a288969ba
7
+ data.tar.gz: c5da3d7d24b04aa0a7b40b7a8a739f45905306c866a848030d7a2c4ba387703c350a4e1ad411cfb77308b7a4a7efbb558209af4b41aac446d5c6b83c1a6179b6
Binary file
@@ -2,7 +2,7 @@ require 'yaml'
2
2
  filepath = File.join(File.dirname(__FILE__), "config.yml")
3
3
  CONFIG = YAML.load_file(filepath)
4
4
 
5
- module Config
5
+ module Configure
6
6
  def self.tag_types
7
7
  CONFIG.fetch('tags')
8
8
  end
@@ -1,7 +1,7 @@
1
- require_relative '../config'
1
+ require_relative '../configure'
2
2
 
3
3
  class UserCommsHelper
4
- all_tags = Config.tag_types['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?"
@@ -1,3 +1,3 @@
1
1
  module BuildPromotionTool
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -1,10 +1,10 @@
1
1
  require_relative "./build_promotion_tool/version"
2
- require_relative "./build_promotion_tool/config.rb"
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 Config
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, Config.tag_types)
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.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-08 00:00:00.000000000 Z
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