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 +4 -4
- data/.release_history.yml +6 -0
- data/Gemfile.lock +5 -5
- data/devops_assist.gemspec +2 -1
- data/lib/devops_assist/gem/gem.rb +4 -3
- data/lib/devops_assist/version.rb +1 -1
- data/lib/devops_assist.rb +1 -1
- data/tasks/devops_assist.rake +6 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7c0907388b0cfcefe1ec2665dee84dcb46d5873ec32e3ca8cd4a24384c7c3489
|
4
|
+
data.tar.gz: dbbc408763179583fa3419aaa5c323b6ffb30c0bb286da3fd22ac6d39dcb6052
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02aae4da19b5d814864d14b72de5f153a209963fb02af8578c8a2de1e6a1a304aea00e10ded6247d9581cf687dc80015b8b98d81ea849f08b624611321717007
|
7
|
+
data.tar.gz: ab2c28f6e6fa5ec7166c0cd3b7e2db91bc01e5a381c4bab92fec84bff11ba1ad5e8ee276804811cd812bde3ae7737f020385927d57e349fe18c176a03bb55f35
|
data/.release_history.yml
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
devops_assist (0.1.
|
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.
|
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.
|
44
|
-
tlogger (0.26.
|
45
|
-
toolrack (0.
|
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)
|
data/devops_assist.gemspec
CHANGED
@@ -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
|
data/lib/devops_assist.rb
CHANGED
data/tasks/devops_assist.rake
CHANGED
@@ -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
|
-
|
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.
|
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:
|
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:
|
28
|
+
name: teLogger
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - ">="
|