devops_assist 0.1.2 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ed69fdab26d7e343bac0dbd0389d8177c4d3020ec86d16feead4df98254b01fe
4
- data.tar.gz: 22e30ff4ed6c47bc71230e14c492908efb135b9ed46514f9d11a03755725dff4
3
+ metadata.gz: 7c0907388b0cfcefe1ec2665dee84dcb46d5873ec32e3ca8cd4a24384c7c3489
4
+ data.tar.gz: dbbc408763179583fa3419aaa5c323b6ffb30c0bb286da3fd22ac6d39dcb6052
5
5
  SHA512:
6
- metadata.gz: 9a32f2124d7f315bacb413cf3370b1690da40dc68ffc4123200d70d6805007ea2ca9db1b269a7c23517da296dc5f5383c5dc844d9f01562e3bfd03e3c921d51b
7
- data.tar.gz: a8d97b07126b5028dbc6dedfadadec1a9b93c6bcee361011d81b7c0521986ccce9a31c7c4a3f101a5954fbcb2e067ed78caa81464179f7ed8399bfbd167c9813
6
+ metadata.gz: 02aae4da19b5d814864d14b72de5f153a209963fb02af8578c8a2de1e6a1a304aea00e10ded6247d9581cf687dc80015b8b98d81ea849f08b624611321717007
7
+ data.tar.gz: ab2c28f6e6fa5ec7166c0cd3b7e2db91bc01e5a381c4bab92fec84bff11ba1ad5e8ee276804811cd812bde3ae7737f020385927d57e349fe18c176a03bb55f35
data/.release_history.yml CHANGED
@@ -4,3 +4,9 @@ devops_assist:
4
4
  :timestamp: 1634915803.5179443
5
5
  - :version: 0.1.1
6
6
  :timestamp: 1635758995.8396068
7
+ - :version: 0.1.2
8
+ :timestamp: 1635828371.7486541
9
+ - :version: 0.1.3
10
+ :timestamp: 1637159437.0931785
11
+ - :version: 0.1.4
12
+ :timestamp: 1637846341.0877914
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- devops_assist (0.1.2)
4
+ devops_assist (0.1.3)
5
5
  git_cli
6
6
  git_cli_prompt
7
7
  gvcs
@@ -19,7 +19,7 @@ GEM
19
19
  ptools (~> 1.4.0)
20
20
  tlogger
21
21
  toolrack
22
- git_cli_prompt (0.2.1)
22
+ git_cli_prompt (0.2.2)
23
23
  tlogger
24
24
  toolrack
25
25
  tty-prompt
@@ -40,9 +40,9 @@ GEM
40
40
  rspec-mocks (3.10.2)
41
41
  diff-lcs (>= 1.2.0, < 2.0)
42
42
  rspec-support (~> 3.10.0)
43
- rspec-support (3.10.2)
44
- tlogger (0.26.1)
45
- toolrack (0.16.1)
43
+ rspec-support (3.10.3)
44
+ tlogger (0.26.3)
45
+ toolrack (0.17.0)
46
46
  base58
47
47
  tlogger
48
48
  tty-color (0.6.0)
@@ -31,7 +31,8 @@ Gem::Specification.new do |spec|
31
31
  spec.require_paths = ["lib"]
32
32
 
33
33
  spec.add_dependency 'toolrack'
34
- spec.add_dependency 'tlogger'
34
+ #spec.add_dependency 'tlogger'
35
+ spec.add_dependency 'teLogger'
35
36
  spec.add_dependency 'tty-prompt'
36
37
 
37
38
  spec.add_dependency 'gvcs'
@@ -17,9 +17,9 @@ module DevopsAssist
17
17
  if version_file.length > 1
18
18
  if block
19
19
  selVerFile = block.call(:select_version_file, version_file)
20
- raise GemError, "Multiple version files found and user not selected any"
20
+ raise GemError, "Multiple version files found (#{version_file.join(", ")}) and user not selected any" if is_empty?(selVerFile)
21
21
  else
22
- raise GemError, "Multiple version files found. Please provide a block to select version file or make sure there is no other file named version.rb"
22
+ raise GemError, "Multiple version files found (#{version_file.join(", ")}). Please provide a block to select version file or make sure there is no other file named version.rb"
23
23
  end
24
24
  else
25
25
  selVerFile = version_file.first
@@ -120,7 +120,8 @@ module DevopsAssist
120
120
  private
121
121
  def logger
122
122
  if @logger.nil?
123
- @logger = Tlogger.new
123
+ @logger = TeLogger::Tlogger.new
124
+ @logger.tag = :gem
124
125
  end
125
126
  @logger
126
127
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DevopsAssist
4
- VERSION = "0.1.2"
4
+ VERSION = "0.2.0"
5
5
  end
data/lib/devops_assist.rb CHANGED
@@ -10,7 +10,7 @@ require_relative 'devops_assist/gem/gem'
10
10
  require_relative 'devops_assist/version_manager'
11
11
 
12
12
  require 'toolrack'
13
- require 'tlogger'
13
+ require 'teLogger'
14
14
 
15
15
  module DevopsAssist
16
16
  class Error < StandardError; end
@@ -51,7 +51,12 @@ namespace :devops do
51
51
  # publish gem
52
52
  Rake::Task["devops:gem:publish_gem"].execute({ version: ver, pmt: pmt })
53
53
 
54
- Rake::Task["devops:vcs:checkin_misc_files"].execute({ root: root, files: [selVerFile, DevopsAssist::ReleaseLogger::LOG_NAME], version: ver })
54
+ # following files shall change when gem is built
55
+ miscFiles = []
56
+ miscFiles << selVerFile
57
+ miscFiles << DevopsAssist::ReleaseLogger::LOG_NAME
58
+ miscFiles << 'Gemfile.lock'
59
+ Rake::Task["devops:vcs:checkin_misc_files"].execute({ root: root, files: miscFiles, version: ver })
55
60
  pmt.say " Updated files during release prep have committed into version control", color: :yellow
56
61
 
57
62
  Rake::Task["devops:vcs:tag_source_code"].execute({ root: root, version: ver })
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: devops_assist
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Chris Liaw
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-02 00:00:00.000000000 Z
11
+ date: 2022-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: toolrack
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: tlogger
28
+ name: teLogger
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="