devops_assist 0.1.0 → 0.1.4

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: 9341a00d87166f5a645d2d24b70554c4570a902f0349791c18ac17888ec935c6
4
- data.tar.gz: d82621277b2d51615f4aa9f5dfb1e7e1bfcdc4951735fa87344b327e90f76a15
3
+ metadata.gz: e2df0a8598b82e5b3206a9a3a4b4cd58c25c80e426854240dd7f414a78e94256
4
+ data.tar.gz: 12bfe30ebe2e41c535c2bb5f66b51555ee997ba663e020fa75136221160acfd9
5
5
  SHA512:
6
- metadata.gz: 3c370df28626241e94c31b66aff7b36bca11ba78ccc78d5af9f62f4a8b3144ecaccbae6fb3993114d68c599d855944e458c0e82c6b376b462de7051305bc2f16
7
- data.tar.gz: c59c1009ab2dae931096a9d6632aa14b0b0729cafdfa740a9c0469dbf3e8a5b7b95a6c9d31030329d7b7d522ee5beb4d73246351bb0d2844acb755fa6793cfb5
6
+ metadata.gz: 111483a6e71f488a3ad350ea39ea8986498cfa64ffadb563ce5fec28979d44b65821a97034e983253d7288a8d807bba9ee0b70e34e712494cc7cfc2a9a8ed4d6
7
+ data.tar.gz: 7711afedae12330d72988d40c20ecb65c8c9c0a1ff60d3fbb811ef8b5739e7d5e08e219eb971554d2588d64dc6cb23703bedb977f01cbe8b8e250733ec1eb1e3
@@ -0,0 +1,10 @@
1
+ ---
2
+ devops_assist:
3
+ - :version: 0.1.0
4
+ :timestamp: 1634915803.5179443
5
+ - :version: 0.1.1
6
+ :timestamp: 1635758995.8396068
7
+ - :version: 0.1.2
8
+ :timestamp: 1635828371.7486541
9
+ - :version: 0.1.3
10
+ :timestamp: 1637159437.0931785
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- devops_assist (0.1.0)
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.0)
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.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)
@@ -17,7 +17,8 @@ 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
+ p selVerFile
21
+ raise GemError, "Multiple version files found and user not selected any" if is_empty?(selVerFile)
21
22
  else
22
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"
23
24
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module DevopsAssist
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.4"
5
5
  end
@@ -22,6 +22,9 @@ namespace :devops do
22
22
  res = Rake::Task["devops:vcs:checkin_changes"].execute
23
23
  pmt.say " Workspace check in done\n", color: :yellow
24
24
 
25
+ proceed = pmt.yes?(" Proceed with release? ")
26
+ raise GitCliPrompt::UserAborted if not proceed
27
+
25
28
  rl = DevopsAssist::ReleaseLogger.load
26
29
 
27
30
  # select version
@@ -48,7 +51,12 @@ namespace :devops do
48
51
  # publish gem
49
52
  Rake::Task["devops:gem:publish_gem"].execute({ version: ver, pmt: pmt })
50
53
 
51
- 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 })
52
60
  pmt.say " Updated files during release prep have committed into version control", color: :yellow
53
61
 
54
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.0
4
+ version: 0.1.4
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-10-22 00:00:00.000000000 Z
11
+ date: 2021-11-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: toolrack
@@ -101,6 +101,7 @@ executables: []
101
101
  extensions: []
102
102
  extra_rdoc_files: []
103
103
  files:
104
+ - ".release_history.yml"
104
105
  - ".rspec"
105
106
  - Gemfile
106
107
  - Gemfile.lock