caretaker 0.8.0 → 0.8.2

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: 8616351a1037043537769ea4bce8fb8c0488e801b978d180ce08664be2abd82d
4
- data.tar.gz: 28ba5a45a167cb04ed26d7609601e206c7e494f2a0fa4426faea7f2b40cc5675
3
+ metadata.gz: c0667dd41e7d49b9de5b1f87063bbd9562a62c8f8caa27be97f5da51561de303
4
+ data.tar.gz: 6668454caab62f2f307c1611be7ccaec911c1dc68156f70b819f1664341ac2a2
5
5
  SHA512:
6
- metadata.gz: 612476cb1b2edf7537681a1951493ad1f44e0c90b278e92735672ee2cd1ef93e2dbd126aa775a4ef8bbd197ab09cc64e357ceb902b48ea0e2c05d20e21528bc5
7
- data.tar.gz: cd6060a430808aedf702722f4083c6ee502f707d72ab46c0929c774908f967a9ca2a6efa6f2b85991611507d170a837f3edb5fbb794be232acfa72b4e442bdd5
6
+ metadata.gz: 04a05004f9e940fdf275fe7fe7dd5d00c2c6394978b794a69653254b68a5b403b55a313375c06de438cec8fb36d1802b8983e3f00ede0ec16b5a8be9f5ab462d
7
+ data.tar.gz: 134fc6dae3eb7abb82897fb7e1b2fcc0793230b62267d9777395902fde373c67410d2dce6fd16e82228a187d40fe1a0b622f9fd929a327060b5e9fa0b13326b3
@@ -1,50 +1,50 @@
1
1
  matrix:
2
2
  include:
3
3
  - language: ruby
4
- name: "Bundler (rvm 2.5 & bundler latest)"
4
+ name: Bundler (rvm 2.5 & bundler latest)
5
5
  rvm: 2.5
6
6
  before_install:
7
- - gem install bundler
7
+ - gem install bundler
8
8
  - language: ruby
9
- name: "Bundler (rvm 2.6 & bundler latest)"
9
+ name: Bundler (rvm 2.6 & bundler latest)
10
10
  rvm: 2.6
11
11
  before_install:
12
- - gem install bundler
12
+ - gem install bundler
13
13
  - language: ruby
14
- name: "Bundler (rvm 2.7 & bundler latest)"
14
+ name: Bundler (rvm 2.7 & bundler latest)
15
15
  rvm: 2.7
16
16
  before_install:
17
- - gem install bundler
17
+ - gem install bundler
18
18
  - language: ruby
19
- name: "Rubocop (rvm 2.5)"
19
+ name: Rubocop (rvm 2.5)
20
20
  env: SKIP_INTERPRETER=true
21
21
  rvm: 2.5
22
22
  before_install:
23
- - git clone https://github.com/TravisToolbox/rubocop-travis.git
23
+ - git clone https://github.com/TravisToolbox/rubocop-travis.git
24
24
  install:
25
- - ./rubocop-travis/install.sh
25
+ - "./rubocop-travis/install.sh"
26
26
  script:
27
- - ./rubocop-travis/scan.sh
27
+ - "./rubocop-travis/scan.sh"
28
28
  - language: ruby
29
- name: "Rubocop (rvm 2.6)"
29
+ name: Rubocop (rvm 2.6)
30
30
  env: SKIP_INTERPRETER=true
31
31
  rvm: 2.6
32
32
  before_install:
33
- - git clone https://github.com/TravisToolbox/rubocop-travis.git
33
+ - git clone https://github.com/TravisToolbox/rubocop-travis.git
34
34
  install:
35
- - ./rubocop-travis/install.sh
35
+ - "./rubocop-travis/install.sh"
36
36
  script:
37
- - ./rubocop-travis/scan.sh
37
+ - "./rubocop-travis/scan.sh"
38
38
  - language: ruby
39
- name: "Rubocop (rvm 2.7)"
39
+ name: Rubocop (rvm 2.7)
40
40
  env: SKIP_INTERPRETER=true
41
41
  rvm: 2.7
42
42
  before_install:
43
- - git clone https://github.com/TravisToolbox/rubocop-travis.git
43
+ - git clone https://github.com/TravisToolbox/rubocop-travis.git
44
44
  install:
45
- - ./rubocop-travis/install.sh
45
+ - "./rubocop-travis/install.sh"
46
46
  script:
47
- - ./rubocop-travis/scan.sh
47
+ - "./rubocop-travis/scan.sh"
48
48
  - language: ruby
49
49
  name: Link Checking (rvm 2.7)
50
50
  rvm: 2.7
@@ -61,4 +61,4 @@ matrix:
61
61
  notifications:
62
62
  email: false
63
63
  slack:
64
- secure: VlksQ+/ir1FybDRDbsps3/1oWqt46clxR30qE+mQUWHTyXbHW7iNWb/rcXDpF2/4/e9TvDeqgvkaMBhPIOs0JT6vIRAo++A60o6XoIvmEhsRdnB+qYR9OeZ30X7z56LuiiWKzGQZSzEYlzUdgw2KV3AursAoe/tJWnAsA1VK85b9dxE2O8Vfla3BfrECQVfYlzZ5ANk+bnpjMv6FNSv2PT//iVl60SPAL5d9ryvAOZbPgD0c9BkhiuHz2W8RO/p7LZ6UlfXofnOgk9Z+eCBwamkMphlKYSFPMKvrLJoISqwjfIRH5+x1RF5wJZAcTZbeIffezw3TVjRMyTnUL2OqdRimBPgRLX+LuD7SmRuo84wfN90L/DKChaS4FJ8PiLK2u8bJepmQ7hxWdB8mAGW6t8OK7arAKGnrJ2Kkk/j7iIjopPpYMO/l2Vdr4hOCsXvPAi2G55CyxD+L3QTfm1QUXGCzyqbFlV6vmjDr8pxeseptDgyF0g2DzHymG/1M3vJttsenDlBRZn0Yv5VMekIetzouYWFlNkt1A9idOZmfG+ZoV0Zog90YFjRayGv2h/PEpZ7iWlJmawo/TifEv9J1DJgRXFmS5eLstV9TonpAl+xhn/yvxU1xmDHo4M3fKIPDPix0OAdRsSh+aHYdmkUVPFkCEqaPhvWUyOA6TJFoCoo=
64
+ secure: rHIgSq0kNJG+L8akFCX9QqsspXF9ae7dMrRXuIk5/9Ioq72MjLJM6Mx3PR7qIj1fClTAcJYn2YpvhRWQIKB6s+NvXUS6ZUv6Usgv0PptIvwjfjzI1O0rssJtg69oaCTJY5onKGobbKRPFqIj7i6UH5sFmjpbteoX9yFepOeWUEyUPGH36LPB0picZOIkMDluq4qGItAFucuzf1R5PH05PPOoNU6B7LyVh4b7S0ppp2yuh2qDv9HX3p2jZmtftK/8+S0M/YSWhireA+c0AufabDpDNIrLDnr40Ki4cSLnkaZs6gE/V3uQGffswRJSHf+XlwaXMWRWYLGKGnAxuJYzvaVyz7ke1CrCH61um3D0haBvmCQQXYqbuPt5oQP/ZrTN+gngMtW5HgGbRAX3BsVYRb/r4SbUVqu1trSEFViPGcC4yZiQF8ijLPu0OiE/LrzDof0T6Pb6yJW/S8xYv/ofE4qywX5SqzzC63rpDcDrja8gNhhxnwWjwmdiUEsJBDSvDngQ2a+FE0eTRHRB6ZzFdCAd2A3SHSzHfXQTsc1tPE6WX0W8UTJXJTEzVVW3OF3xBG85oUiyp1Rqa5BNcaXzgyPpwN73Hq1C0uQSuYiMUrcIf9UF+LW/0RENDOHdf7ZQYavGnwwzOvzHe8J+07Y8By0uGFMOtNNkOcCyrasaRZc=
@@ -3,63 +3,77 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
 
5
5
 
6
- This changelog was automatically generated using [Caretaker](https://github.com/WolfSoftware/caretaker) by [Wolf Software](https://github.com/WolfSoftware)
6
+ This changelog was automatically generated using [Caretaker](https://github.com/WolfSoftware/caretaker.git) by [Wolf Software](https://github.com/WolfSoftware)
7
7
 
8
- ### [v0.8.0](https://github.com/WolfSoftware/caretaker/compare/v0.7.0...v0.8.0)
8
+ ### [v0.8.2](https://github.com/WolfSoftware/caretaker.git/compare/v0.8.0...v0.8.2)
9
+
10
+ > Released on August, 3rd 2020
11
+
12
+ - Pre-release push / test [`[615bc25]`](https://github.com/WolfSoftware/caretaker.git/commit/615bc25028043ba7b50e693f7a54d8ae691f6ea5) [`[TGWolf]`](https://github.com/TGWolf)
13
+
14
+ - More rubocop fixes and remove temp debug option [`[5673215]`](https://github.com/WolfSoftware/caretaker.git/commit/5673215783fd848934192ec685f64231c04cf2f6) [`[TGWolf]`](https://github.com/TGWolf)
15
+
16
+ - Fiox rubocop issues [`[b87b53f]`](https://github.com/WolfSoftware/caretaker.git/commit/b87b53fb10a8740c495097e25578721d5f9821b4) [`[TGWolf]`](https://github.com/TGWolf)
17
+
18
+ - Fixed issue with commit hash for most recent commit [`[c1b73e8]`](https://github.com/WolfSoftware/caretaker.git/commit/c1b73e8866cbc755f0fced1112a0567938836e48) [`[TGWolf]`](https://github.com/TGWolf)
19
+
20
+ - Change the post-commit script to be more intelligent about the repo location [`[9c432e7]`](https://github.com/WolfSoftware/caretaker.git/commit/9c432e79446785b8da2734a9fa4fc8cbab43d5c2) [`[TGWolf]`](https://github.com/TGWolf)
21
+
22
+ ### [v0.8.0](https://github.com/WolfSoftware/caretaker.git/compare/v0.7.0...v0.8.0)
9
23
 
10
24
  > Released on March, 9th 2020
11
25
 
12
- - Fix link checking whitelist [`[75d98d2]`](https://github.com/WolfSoftware/caretaker/commit/75d98d2413692ccabd88749b09707db8d7c79cb5) [`[TGWolf]`](https://github.com/TGWolf)
26
+ - Fix link checking whitelist [`[d6ea6d4]`](https://github.com/WolfSoftware/caretaker.git/commit/d6ea6d45714b833d1b5397c40e2fe9292b8fefe8) [`[TGWolf]`](https://github.com/TGWolf)
13
27
 
14
- - Remove ruby 2.4 support and add 2.7 [`[6bd8c16]`](https://github.com/WolfSoftware/caretaker/commit/6bd8c1635d4953ed2ac472e8fc9ba6efcdd90f9f) [`[TGWolf]`](https://github.com/TGWolf)
28
+ - Remove ruby 2.4 support and add 2.7 [`[6bd8c16]`](https://github.com/WolfSoftware/caretaker.git/commit/6bd8c1635d4953ed2ac472e8fc9ba6efcdd90f9f) [`[TGWolf]`](https://github.com/TGWolf)
15
29
 
16
- - Fix rubocop issues around pinned ruby version [`[43e3155]`](https://github.com/WolfSoftware/caretaker/commit/43e3155c16d4db4a20803f449153bf726b911baa) [`[TGWolf]`](https://github.com/TGWolf)
30
+ - Fix rubocop issues around pinned ruby version [`[43e3155]`](https://github.com/WolfSoftware/caretaker.git/commit/43e3155c16d4db4a20803f449153bf726b911baa) [`[TGWolf]`](https://github.com/TGWolf)
17
31
 
18
- ### [v0.7.0](https://github.com/WolfSoftware/caretaker/compare/v0.5.0...v0.7.0)
32
+ ### [v0.7.0](https://github.com/WolfSoftware/caretaker.git/compare/v0.5.0...v0.7.0)
19
33
 
20
34
  > Released on March, 9th 2020
21
35
 
22
- - Fix a security issue with the new git@ code - yanked insecure version [`[48cc7b3]`](https://github.com/WolfSoftware/caretaker/commit/48cc7b3423a67c449074f7413fbbca18ccf1ccae) [`[TGWolf]`](https://github.com/TGWolf)
36
+ - Fix a security issue with the new git@ code - yanked insecure version [`[48cc7b3]`](https://github.com/WolfSoftware/caretaker.git/commit/48cc7b3423a67c449074f7413fbbca18ccf1ccae) [`[TGWolf]`](https://github.com/TGWolf)
23
37
 
24
- - Fixed a security warning in rake version and make caretaker work with git@ urls as well as https [`[48e7584]`](https://github.com/WolfSoftware/caretaker/commit/48e7584cb9e4f33922a278fb0d688202a5f08f35) [`[TGWolf]`](https://github.com/TGWolf)
38
+ - Fixed a security warning in rake version and make caretaker work with git@ urls as well as https [`[48e7584]`](https://github.com/WolfSoftware/caretaker.git/commit/48e7584cb9e4f33922a278fb0d688202a5f08f35) [`[TGWolf]`](https://github.com/TGWolf)
25
39
 
26
- - Update README with relation to pushing the tag to the remote [`[203f1e3]`](https://github.com/WolfSoftware/caretaker/commit/203f1e351d8c4e361687360b8305017688e73736) [`[TGWolf]`](https://github.com/TGWolf)
40
+ - Update README with relation to pushing the tag to the remote [`[203f1e3]`](https://github.com/WolfSoftware/caretaker.git/commit/203f1e351d8c4e361687360b8305017688e73736) [`[TGWolf]`](https://github.com/TGWolf)
27
41
 
28
- ### [v0.5.0](https://github.com/WolfSoftware/caretaker/compare/v0.4.0...v0.5.0)
42
+ ### [v0.5.0](https://github.com/WolfSoftware/caretaker.git/compare/v0.4.0...v0.5.0)
29
43
 
30
44
  > Released on February, 24th 2020
31
45
 
32
- - Fix an error in the post-commit script where the wrong variable name was being used [`[c478e37]`](https://github.com/WolfSoftware/caretaker/commit/c478e376120aa0eb22b890b949218fb48df44b20) [`[TGWolf]`](https://github.com/TGWolf)
46
+ - Fix an error in the post-commit script where the wrong variable name was being used [`[c478e37]`](https://github.com/WolfSoftware/caretaker.git/commit/c478e376120aa0eb22b890b949218fb48df44b20) [`[TGWolf]`](https://github.com/TGWolf)
33
47
 
34
- ### [v0.4.0](https://github.com/WolfSoftware/caretaker/compare/v0.3.0...v0.4.0)
48
+ ### [v0.4.0](https://github.com/WolfSoftware/caretaker.git/compare/v0.3.0...v0.4.0)
35
49
 
36
50
  > Released on February, 24th 2020
37
51
 
38
- - Updated version file for push of gem [`[8dfae21]`](https://github.com/WolfSoftware/caretaker/commit/8dfae211ec5ab70477d3d6587d84cc043a790d64) [`[TGWolf]`](https://github.com/TGWolf)
52
+ - Updated version file for push of gem [`[8dfae21]`](https://github.com/WolfSoftware/caretaker.git/commit/8dfae211ec5ab70477d3d6587d84cc043a790d64) [`[TGWolf]`](https://github.com/TGWolf)
39
53
 
40
- - Fix errors from travis + rubocop [`[5e69549]`](https://github.com/WolfSoftware/caretaker/commit/5e69549506726a8782899d004b64b56ba6fe4729) [`[TGWolf]`](https://github.com/TGWolf)
54
+ - Fix errors from travis + rubocop [`[5e69549]`](https://github.com/WolfSoftware/caretaker.git/commit/5e69549506726a8782899d004b64b56ba6fe4729) [`[TGWolf]`](https://github.com/TGWolf)
41
55
 
42
- - Fix some issues raised by shellcheck in the post-commit hook [`[caa33d2]`](https://github.com/WolfSoftware/caretaker/commit/caa33d239b00cbea48f9123177a126cade113fac) [`[TGWolf]`](https://github.com/TGWolf)
56
+ - Fix some issues raised by shellcheck in the post-commit hook [`[caa33d2]`](https://github.com/WolfSoftware/caretaker.git/commit/caa33d239b00cbea48f9123177a126cade113fac) [`[TGWolf]`](https://github.com/TGWolf)
43
57
 
44
- - Add new release tagging and version bumping [`[786ed88]`](https://github.com/WolfSoftware/caretaker/commit/786ed88d1bf3486b03fbc2ee755d4ae4c763ab96) [`[TGWolf]`](https://github.com/TGWolf)
58
+ - Add new release tagging and version bumping [`[786ed88]`](https://github.com/WolfSoftware/caretaker.git/commit/786ed88d1bf3486b03fbc2ee755d4ae4c763ab96) [`[TGWolf]`](https://github.com/TGWolf)
45
59
 
46
- - Updated changelog to reflect current version [`[007fa21]`](https://github.com/WolfSoftware/caretaker/commit/007fa219d4845f1910cd625a325574f80909153a) [`[TGWolf]`](https://github.com/TGWolf)
60
+ - Updated changelog to reflect current version [`[007fa21]`](https://github.com/WolfSoftware/caretaker.git/commit/007fa219d4845f1910cd625a325574f80909153a) [`[TGWolf]`](https://github.com/TGWolf)
47
61
 
48
- ### [v0.3.0](https://github.com/WolfSoftware/caretaker/compare/v0.2.0...v0.3.0)
62
+ ### [v0.3.0](https://github.com/WolfSoftware/caretaker.git/compare/v0.2.0...v0.3.0)
49
63
 
50
64
  > Released on February, 10th 2020
51
65
 
52
- - Missed the name of the cli options for min-words from -m to -w [`[2b8e0cf]`](https://github.com/WolfSoftware/caretaker/commit/2b8e0cf79dd8e957aa688b395ab37f165322bd1e) [`[TGWolf]`](https://github.com/TGWolf)
66
+ - Missed the name of the cli options for min-words from -m to -w [`[2b8e0cf]`](https://github.com/WolfSoftware/caretaker.git/commit/2b8e0cf79dd8e957aa688b395ab37f165322bd1e) [`[TGWolf]`](https://github.com/TGWolf)
53
67
 
54
- - Type in the post-commit hook - doesnt stop it working but causes error output [`[9da99cc]`](https://github.com/WolfSoftware/caretaker/commit/9da99cc6b5bc131d491df8019b3acb5dcf62fa6f) [`[TGWolf]`](https://github.com/TGWolf)
68
+ - Type in the post-commit hook - doesnt stop it working but causes error output [`[9da99cc]`](https://github.com/WolfSoftware/caretaker.git/commit/9da99cc6b5bc131d491df8019b3acb5dcf62fa6f) [`[TGWolf]`](https://github.com/TGWolf)
55
69
 
56
- ### [v0.2.0](https://github.com/WolfSoftware/caretaker/releases/v0.2.0)
70
+ ### [v0.2.0](https://github.com/WolfSoftware/caretaker.git/releases/v0.2.0)
57
71
 
58
72
  > Released on February, 10th 2020
59
73
 
60
- - Had to bump to version 0.2.0 due to a broken push of 0.1.0 [`[c101fb8]`](https://github.com/WolfSoftware/caretaker/commit/c101fb85fa1831b8758bb27944a1693253b1b74f) [`[TGWolf]`](https://github.com/TGWolf)
74
+ - Had to bump to version 0.2.0 due to a broken push of 0.1.0 [`[c101fb8]`](https://github.com/WolfSoftware/caretaker.git/commit/c101fb85fa1831b8758bb27944a1693253b1b74f) [`[TGWolf]`](https://github.com/TGWolf)
61
75
 
62
- - Fix an issue with incorrect spinners in the generate config and repo init functions [`[a15b75b]`](https://github.com/WolfSoftware/caretaker/commit/a15b75bae917276c83536b1e7e385c1dfb55f55c) [`[TGWolf]`](https://github.com/TGWolf)
76
+ - Fix an issue with incorrect spinners in the generate config and repo init functions [`[a15b75b]`](https://github.com/WolfSoftware/caretaker.git/commit/a15b75bae917276c83536b1e7e385c1dfb55f55c) [`[TGWolf]`](https://github.com/TGWolf)
63
77
 
64
- - Initial push [`[f74a2c4]`](https://github.com/WolfSoftware/caretaker/commit/f74a2c411bf3339410d6a0f59a981abf6286107e) [`[TGWolf]`](https://github.com/TGWolf)
78
+ - Initial push [`[f74a2c4]`](https://github.com/WolfSoftware/caretaker.git/commit/f74a2c411bf3339410d6a0f59a981abf6286107e) [`[TGWolf]`](https://github.com/TGWolf)
65
79
 
@@ -1 +1 @@
1
- 0.8.0
1
+ 0.8.2
@@ -1,5 +1,7 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
+ $LOAD_PATH.unshift('./lib')
4
+
3
5
  require 'optparse'
4
6
  require 'caretaker'
5
7
 
@@ -71,6 +71,7 @@ class Caretaker
71
71
  @bump_major = true unless options[:bump].nil? || options[:bump] != 'major'
72
72
  @bump_minor = true unless options[:bump].nil? || options[:bump] != 'minor'
73
73
  @bump_patch = true unless options[:bump].nil? || options[:bump] != 'patch'
74
+
74
75
  #
75
76
  # Work out the url for the git repository (unless for linking)
76
77
  #
@@ -78,6 +79,7 @@ class Caretaker
78
79
  repo_url = repo_url.gsub(':', '/').gsub('git@', 'https://') if repo_url.start_with?('git@')
79
80
  uri = URI.parse(repo_url)
80
81
  @repository_remote_url = "#{uri.scheme}://#{uri.host}#{uri.path}"
82
+ @repository_remote_url = @repository_remote_url.delete_suffix('.git') if @repository_remote_url.end_with?('.git')
81
83
 
82
84
  #
83
85
  # Global working variables - used to generate the changelog
@@ -156,8 +158,8 @@ class Caretaker
156
158
  #
157
159
  # Make sure a url is value - but only if verify_urls = true
158
160
  #
159
- def valid_url(url, first = false)
160
- return true if @verify_urls == false || first == true
161
+ def valid_url(url)
162
+ return true if @verify_urls == false
161
163
 
162
164
  url_hash = Digest::SHA2.hexdigest(url).to_s
163
165
 
@@ -313,7 +315,14 @@ class Caretaker
313
315
  end
314
316
  else
315
317
  message = subject.to_s
316
- message += " [`[#{hash}]`](#{@repository_remote_url}/commit/#{hash_full})" if valid_url("#{@repository_remote_url}/commit/#{hash_full}", first)
318
+ if first
319
+ url = "#{@repository_remote_url}/commit/"
320
+ link = 'head'
321
+ else
322
+ url = "#{@repository_remote_url}/commit/#{hash_full}"
323
+ link = hash.to_s
324
+ end
325
+ message += " [`[#{link}]`](#{url})" if valid_url(url.to_s)
317
326
  end
318
327
  message = process_usernames(message)
319
328
  message = process_issues(message)
@@ -389,7 +398,7 @@ class Caretaker
389
398
  if parent != old_parent
390
399
  (docs[tag.to_s] ||= []) << { :hash => hash, :hash_full => hash_full, :parent => parent, :subject => subject }
391
400
 
392
- if tag != 0
401
+ if tag != '0'
393
402
  @tags << { tag => format_date(date) } unless @tags.any? { |h| h[tag] }
394
403
  end
395
404
  end
@@ -598,7 +607,12 @@ class Caretaker
598
607
  contents = <<~END_OF_SCRIPT
599
608
  #!/usr/bin/env bash
600
609
 
601
- LOCK_FILE="#{@repo_base_dir}/.lock"
610
+ #
611
+ # This script is automatically generated by caretaker by Wolf Software
612
+ #
613
+ REPO_ROOT=$(r=$(git rev-parse --git-dir) && r=$(cd "$r" && pwd)/ && cd "${r%%/.git/*}" && pwd)
614
+ LOCK_FILE="${REPO_ROOT}/.lock"
615
+
602
616
  OUTPUT_FILE=#{@output_file}
603
617
  VERSION_FILE=#{@version_file}
604
618
 
@@ -608,11 +622,16 @@ fi
608
622
 
609
623
  touch "${LOCK_FILE}"
610
624
 
625
+ if [[ ! -f "${LOCK_FILE}" ]]; then
626
+ echo "Failed to create lockfile - aborting"
627
+ exit
628
+ fi
629
+
611
630
  if [[ -f "${VERSION_FILE}" ]]; then
612
631
  RELEASE_VERSION=$(<"${VERSION_FILE}")
613
632
  TAG_NAME="v${RELEASE_VERSION}"
614
633
 
615
- if GIT_DIR="#{@repo_base_dir}/.git" git tag --list | grep -Eq "^${TAG_NAME}$"; then
634
+ if GIT_DIR="${REPO_ROOT}/.git" git tag --list | grep -Eq "^${TAG_NAME}$"; then
616
635
  unset RELEASE_VERSION
617
636
  unset TAG_NAME
618
637
  fi
@@ -1,3 +1,3 @@
1
1
  class Caretaker
2
- VERSION = '0.8.0'.freeze
2
+ VERSION = '0.8.2'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caretaker
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.8.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Gurney aka Wolf
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-03-09 00:00:00.000000000 Z
11
+ date: 2020-08-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -170,7 +170,7 @@ homepage: https://github.com/WolfSoftware/caretaker
170
170
  licenses:
171
171
  - MIT
172
172
  metadata: {}
173
- post_install_message:
173
+ post_install_message:
174
174
  rdoc_options: []
175
175
  require_paths:
176
176
  - lib
@@ -185,8 +185,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
185
  - !ruby/object:Gem::Version
186
186
  version: '0'
187
187
  requirements: []
188
- rubygems_version: 3.1.2
189
- signing_key:
188
+ rubygems_version: 3.1.4
189
+ signing_key:
190
190
  specification_version: 4
191
191
  summary: An automated changelog generator.
192
192
  test_files: []