caretaker 0.5.0 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 91d5852b415785fdfdea2f0b29be9ff2c082ef674203bbab66f195dacd5634cf
4
- data.tar.gz: a0d62be91237cc9f150f0f3751842cb4ea15de729f38880600eb75606928cc48
3
+ metadata.gz: 7e7b910dc66d4f3480551c91c0991bdbe9ea754122ce454e8bf7cc4bf53af4ef
4
+ data.tar.gz: bdef9ee1f753e659af31512871f98828378a8706d1c9a7f797cbea06b335dc50
5
5
  SHA512:
6
- metadata.gz: f701e972ac285d07671cafd4c0c7cc5e149015e2939faef93ee48739797e39f1456ce67c453d2dc76b5f9f8912acd5ff69d2b112f9dd0db0f1f472f443ff4003
7
- data.tar.gz: f7ea032712663673eb0fbf536884125363d4bdb0994efc038480ba8b8d1a54dc1ba17648e1158e33bbe681d4267d62fb814e84f574b81e5e9617da91323b83fa
6
+ metadata.gz: c329f60cde3330cdef0b9320b375ca383b3776c0a9df94212a60f4add196016184d55bae52332d13c6544fabd313784b3c4b61a7fc03cb108cbb8a4e8a7a767f
7
+ data.tar.gz: c574f96da28bd0e1565d1cfc1575dfe2e110cdca2df4da597b557297793c548e4cbe610e56cd3cb208cefff05c1f246cbcbf57b438f8a734596129a87ec03791
@@ -5,11 +5,21 @@ All notable changes to this project will be documented in this file.
5
5
 
6
6
  This changelog was automatically generated using [Caretaker](https://github.com/WolfSoftware/caretaker) by [Wolf Software](https://github.com/WolfSoftware)
7
7
 
8
+ ### [v0.7.0](https://github.com/WolfSoftware/caretaker/compare/v0.5.0...v0.7.0)
9
+
10
+ > Released on March, 9th 2020
11
+
12
+ - Fix a security issue with the new git@ code - yanked insecure version [`[4fcea78]`](https://github.com/WolfSoftware/caretaker/commit/4fcea788333b1ee9404c258e51c12f53f2c0a585) [`[TGWolf]`](https://github.com/TGWolf)
13
+
14
+ - 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)
15
+
16
+ - Update README with relation to pushing the tag to the remote [`[203f1e3]`](https://github.com/WolfSoftware/caretaker/commit/203f1e351d8c4e361687360b8305017688e73736) [`[TGWolf]`](https://github.com/TGWolf)
17
+
8
18
  ### [v0.5.0](https://github.com/WolfSoftware/caretaker/compare/v0.4.0...v0.5.0)
9
19
 
10
20
  > Released on February, 24th 2020
11
21
 
12
- - Fix an error in the post-commit script where the wrong variable name was being used [`[e0d60a5]`](https://github.com/WolfSoftware/caretaker/commit/e0d60a52e65ceabe8e4adea9ccfe0c295f183f53) [`[TGWolf]`](https://github.com/TGWolf)
22
+ - 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)
13
23
 
14
24
  ### [v0.4.0](https://github.com/WolfSoftware/caretaker/compare/v0.3.0...v0.4.0)
15
25
 
data/README.md CHANGED
@@ -268,6 +268,8 @@ fi
268
268
 
269
269
  As you can see, it will tag the release, run caretaker and re-tag the release after the commit amend, ensuring that the tag persists. This is not a perfect solution, but it does work :)
270
270
 
271
+ > The created tag is *NOT* pushed to the remote end, this is to allow manual pushing once the release is correct.
272
+
271
273
  <a name="bumping-release-versions"></a>
272
274
  #### Bumping release versions
273
275
 
@@ -440,4 +442,4 @@ For further information please refer to the [contributing](https://github.com/Wo
440
442
  - [ ] CLI option to enable/disable linking to commit hashes
441
443
  - [ ] CLI option to enable/disable linking to pull requests
442
444
  - [ ] CLI option to enable/disable linking to github users
443
-
445
+ - [ ] Option to allow auto-pushing of the tag to the remote origin
@@ -1 +1 @@
1
- 0.5.0
1
+ 0.7.0
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.add_development_dependency 'bundler', '>= 1.17', '< 3.0'
23
23
  spec.add_development_dependency 'date', '~> 2.0.0'
24
- spec.add_development_dependency 'rake', '~> 10.0'
24
+ spec.add_development_dependency 'rake', '~> 12.3.3'
25
25
  spec.add_development_dependency 'rspec', '~> 3.0'
26
26
  spec.add_development_dependency 'sem_version', '~> 2.0.1'
27
27
  spec.add_development_dependency 'tty-spinner', '~> 0.9.0'
@@ -74,7 +74,9 @@ class Caretaker
74
74
  #
75
75
  # Work out the url for the git repository (unless for linking)
76
76
  #
77
- uri = URI.parse(execute_command('git config --get remote.origin.url'))
77
+ repo_url = execute_command('git config --get remote.origin.url')
78
+ repo_url = repo_url.gsub(':', '/').gsub('git@', 'https://') if repo_url.start_with?('git@')
79
+ uri = URI.parse(repo_url)
78
80
  @repository_remote_url = "#{uri.scheme}://#{uri.host}#{uri.path}"
79
81
 
80
82
  #
@@ -1,3 +1,3 @@
1
1
  class Caretaker
2
- VERSION = '0.5.0'.freeze
2
+ VERSION = '0.7.0'.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.5.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tim Gurney aka Wolf
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-02-24 00:00:00.000000000 Z
11
+ date: 2020-03-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -50,14 +50,14 @@ dependencies:
50
50
  requirements:
51
51
  - - "~>"
52
52
  - !ruby/object:Gem::Version
53
- version: '10.0'
53
+ version: 12.3.3
54
54
  type: :development
55
55
  prerelease: false
56
56
  version_requirements: !ruby/object:Gem::Requirement
57
57
  requirements:
58
58
  - - "~>"
59
59
  - !ruby/object:Gem::Version
60
- version: '10.0'
60
+ version: 12.3.3
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: rspec
63
63
  requirement: !ruby/object:Gem::Requirement