devops_assist 0.1.4 → 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: e2df0a8598b82e5b3206a9a3a4b4cd58c25c80e426854240dd7f414a78e94256
4
- data.tar.gz: 12bfe30ebe2e41c535c2bb5f66b51555ee997ba663e020fa75136221160acfd9
3
+ metadata.gz: 7c0907388b0cfcefe1ec2665dee84dcb46d5873ec32e3ca8cd4a24384c7c3489
4
+ data.tar.gz: dbbc408763179583fa3419aaa5c323b6ffb30c0bb286da3fd22ac6d39dcb6052
5
5
  SHA512:
6
- metadata.gz: 111483a6e71f488a3ad350ea39ea8986498cfa64ffadb563ce5fec28979d44b65821a97034e983253d7288a8d807bba9ee0b70e34e712494cc7cfc2a9a8ed4d6
7
- data.tar.gz: 7711afedae12330d72988d40c20ecb65c8c9c0a1ff60d3fbb811ef8b5739e7d5e08e219eb971554d2588d64dc6cb23703bedb977f01cbe8b8e250733ec1eb1e3
6
+ metadata.gz: 02aae4da19b5d814864d14b72de5f153a209963fb02af8578c8a2de1e6a1a304aea00e10ded6247d9581cf687dc80015b8b98d81ea849f08b624611321717007
7
+ data.tar.gz: ab2c28f6e6fa5ec7166c0cd3b7e2db91bc01e5a381c4bab92fec84bff11ba1ad5e8ee276804811cd812bde3ae7737f020385927d57e349fe18c176a03bb55f35
data/.release_history.yml CHANGED
@@ -8,3 +8,5 @@ devops_assist:
8
8
  :timestamp: 1635828371.7486541
9
9
  - :version: 0.1.3
10
10
  :timestamp: 1637159437.0931785
11
+ - :version: 0.1.4
12
+ :timestamp: 1637846341.0877914
@@ -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,10 +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
- p selVerFile
21
- raise GemError, "Multiple version files found and user not selected any" if is_empty?(selVerFile)
20
+ raise GemError, "Multiple version files found (#{version_file.join(", ")}) and user not selected any" if is_empty?(selVerFile)
22
21
  else
23
- 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"
24
23
  end
25
24
  else
26
25
  selVerFile = version_file.first
@@ -121,7 +120,8 @@ module DevopsAssist
121
120
  private
122
121
  def logger
123
122
  if @logger.nil?
124
- @logger = Tlogger.new
123
+ @logger = TeLogger::Tlogger.new
124
+ @logger.tag = :gem
125
125
  end
126
126
  @logger
127
127
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DevopsAssist
4
- VERSION = "0.1.4"
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
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.4
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-25 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
  - - ">="