devops_assist 0.1.3 → 0.2.1

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: 3a79950caed864c2d154b660858e85459a45103d6b2fb5c74a65e1db07883d15
4
- data.tar.gz: 406e7f339029c059d4e553c46659e856ac5ff0b1976a3fe998f370fb8c2ce6d4
3
+ metadata.gz: ebdaf870d19aabb7f4090b013bc6b470504d09362a02882d25409be9c0aa0934
4
+ data.tar.gz: 47c4a2020605840ec5b38ee040a77a7d86cc9708404332292314d28d2d8d6dbb
5
5
  SHA512:
6
- metadata.gz: e955d1db698ffaceb9c8f6bb28c22d1467110394d99d53404ae0edf5f61e97d974403134b6c5e24f6594e3c291af9594c930129bae8027d947b69d96975fc6ae
7
- data.tar.gz: c8275d3c0cb4771988d10b69eb916a27c58ebbf84ee43c4f29f1374252ac9e9929f7c537d7c00b4cadc470d94456d3eece9e47321ae6a7c19f9c6c9e3c267209
6
+ metadata.gz: 870d8999ad101743581295ac9cc0fbcf02f9ef40cb169dc178dbfa53f33095fc9f77064cc9a31832d65ea0506b8359d4745e11a42be595552331b571d9e34d9b
7
+ data.tar.gz: 5d350ea750ebd164a163922c1905c69c6b7b6a4f0c88b8f08536b11152910cdf3b81e52448b85cb925f0a63957197377b48a6c4ba56ae36af928b52fc1e4d551
data/.release_history.yml CHANGED
@@ -6,3 +6,9 @@ devops_assist:
6
6
  :timestamp: 1635758995.8396068
7
7
  - :version: 0.1.2
8
8
  :timestamp: 1635828371.7486541
9
+ - :version: 0.1.3
10
+ :timestamp: 1637159437.0931785
11
+ - :version: 0.1.4
12
+ :timestamp: 1637846341.0877914
13
+ - :version: 0.2.0
14
+ :timestamp: 1657610885.1882625
@@ -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" if is_empty?(selVerFile)
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
@@ -70,7 +70,7 @@ module DevopsAssist
70
70
 
71
71
  # find the package
72
72
  root = opts[:root] || Dir.getwd
73
- foundGem = Dir.glob("**/*-#{version}.gem")
73
+ foundGem = Dir.glob("**/*-#{version}*.gem")
74
74
  if foundGem.length == 0
75
75
  raise GemError, "No built gem found."
76
76
  elsif foundGem.length > 1
@@ -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.3"
4
+ VERSION = "0.2.1"
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.3
4
+ version: 0.2.1
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-17 00:00:00.000000000 Z
11
+ date: 2022-08-11 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
  - - ">="