raketeer 0.2.11 → 0.2.12

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: 849edd6be87f7e5b543d6321fec9603e6c47d7f40ea61a2ac406b46b40868cf5
4
- data.tar.gz: 35da1a7cca999ecca8c0fe0b7d5d0bf2c2a884350dc54c4ae4e2f0d4b028e134
3
+ metadata.gz: 4a66040c4720afe61b5b0a5ebd627f8faeeffed41a69754865826fad555c3e18
4
+ data.tar.gz: 229b588996590c0f8d0ddcc951b6809ef8257e11f71e5546c3f9543d9645eea1
5
5
  SHA512:
6
- metadata.gz: e7d0ff4c4de332b72303a102246fed66ede802906c3687ef33cf19ee962fa173df4f6a49a9e4196d30ef6ed7247bf0a7a4807ed5b1cfef2edcb1d940c5bf812e
7
- data.tar.gz: 4ca6ce18e28cbc3f9fce77fb388a122fc0d4844b650983a5c26588aa526158a39d8b3d86c8340ded8a6fe83771afd65f6c8e5da1d86ea8037e03999dca9a0edc
6
+ metadata.gz: 78b71c9286e3f440d3909d55e9c440f04146aa63e778df7401ba8b215b61e73b4c4f94ae5516073747947ae7d8077ff033f9d1dbef4725ec265b71400cbf3cea
7
+ data.tar.gz: '0579e6ece10ffc56705cffd4d3dfc8be8d90a94d8507677866a37c52d45cf41e5a368e11c38cfb0a53b340c382299d171e9a2ead0a184c587baa49c1ef9ddb90'
data/CHANGELOG.md CHANGED
@@ -1,13 +1,27 @@
1
1
  # Changelog | Raketeer
2
2
 
3
- Format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
3
+ All notable changes to this project will be documented in this file.
4
4
 
5
- ## [[Unreleased]](https://github.com/esotericpig/raketeer/compare/v0.2.11...HEAD)
5
+ Format is based on [Keep a Changelog v1.0.0](https://keepachangelog.com/en/1.0.0),
6
+ and this project adheres to [Semantic Versioning v2.0.0](https://semver.org/spec/v2.0.0.html).
6
7
 
7
- ## [v0.2.11] - 2021-06-15
8
+ ## [[Unreleased]](https://github.com/esotericpig/raketeer/compare/v0.2.12...HEAD)
9
+ -
10
+
11
+
12
+ ## [v0.2.12] - [2021-06-18](https://github.com/esotericpig/raketeer/compare/v0.2.11...v0.2.12)
13
+ ### Changed
14
+ - Changed `bump` to also update GitHub compare links in Changelogs.
15
+ - Example link in Changelog:
16
+ - `## [v0.2.11] - [2021-06-15](https://github.com/esotericpig/raketeer/compare/v0.2.10...v0.2.11)`
17
+ - Updates `v0.2.10...v0.2.11` to `v0.2.11...<new_version>`.
18
+
19
+
20
+ ## [v0.2.11] - [2021-06-15](https://github.com/esotericpig/raketeer/compare/v0.2.10...v0.2.11)
8
21
  ### Changed
9
22
  - Added SPDX license ID to source files.
10
23
 
24
+
11
25
  ## [v0.2.10] - 2021-05-30
12
26
  ### Changed
13
27
  - Formatted all code using RuboCop.
@@ -15,16 +29,19 @@ Format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
15
29
  ### Fixed
16
30
  - Updated Bundler and Gems because of GitHub security warning.
17
31
 
32
+
18
33
  ## [v0.2.9] - 2020-03-01
19
34
  ### Changed
20
35
  - Changed Gemspec description (mainly for testing other project Raketary)
21
36
 
37
+
22
38
  ## [v0.2.8] - 2020-03-01
23
39
  ### Added
24
40
  - GitHubPkg (lib/raketeer/github_pkg.rb)
25
41
  - GitHubPkgTask (lib/raketeer/github_pkg_task.rb)
26
42
  - Publish/Push your `pkg/*.gem` release(s) to GitHub Packages
27
43
 
44
+
28
45
  ## [v0.2.7] - 2019-12-18
29
46
  ### Added
30
47
  - Add more info to README
@@ -36,6 +53,7 @@ Format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
36
53
  ### Fixed
37
54
  - Check env vars for bundle task in bump task
38
55
 
56
+
39
57
  ## [v0.2.6] - 2019-08-03
40
58
  ### Changed
41
59
  - Refactored BumpTask for a new project I'm working on to use this project in a CLI
@@ -43,6 +61,7 @@ Format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
43
61
  ### Fixed
44
62
  - SemVer's initialize_copy()
45
63
 
64
+
46
65
  ## [v0.2.5] - 2019-08-02
47
66
  ### Added
48
67
  - Added a strict mode (regex) to BumpTask, BumpVer, FilesBumper, & SemVer
@@ -50,6 +69,7 @@ Format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
50
69
  ### Fixed
51
70
  - Fixed the 'Nothing written (up-to-date)' feature in BumpTask (minor)
52
71
 
72
+
53
73
  ## [v0.2.4] - 2019-08-02
54
74
  ### Added
55
75
  - BumpTask & 'raketeer/bump'
@@ -64,10 +84,12 @@ Format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
64
84
  ### Changed
65
85
  - Util.find_main_executable() to not search for 'bin/*.rb' since almost no project uses an extension in the bin directory
66
86
 
87
+
67
88
  ## [v0.2.3] - 2019-07-30
68
89
  ### Fixed
69
90
  - Fixed 'yield' typo in some tasks
70
91
 
92
+
71
93
  ## [v0.2.2] - 2019-07-29
72
94
  ### Added
73
95
  - RunTask & 'raketeer/run'
@@ -78,10 +100,12 @@ Format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
78
100
  - Refactored some code (minor)
79
101
  - Changed some documentation (minor)
80
102
 
103
+
81
104
  ## [v0.2.1] - 2019-07-24
82
105
  ### Changed
83
106
  - Fixed minor/cosmetic typo
84
107
 
108
+
85
109
  ## [v0.2.0] - 2019-07-24
86
110
  ### Added
87
111
  - All (lib/raketeer/all.rb); used to be Raketeers
@@ -92,6 +116,7 @@ Format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
92
116
  ### Removed
93
117
  - Raketeers (lib/raketeer/raketeers.rb); renamed to All
94
118
 
119
+
95
120
  ## [v0.1.0] - 2019-07-23
96
121
  ### Added
97
122
  - IRB task
@@ -251,14 +251,34 @@ module Raketeer
251
251
  next
252
252
  end
253
253
 
254
- bumper.line = match[0] << bumper.line
254
+ bumper.line = (match[0] << bumper.line)
255
255
 
256
256
  # Replace the date with today's date for the new Markdown header, if it exists
257
257
  match[2].sub!(/\d+\s*\-\s*\d+\s*\-\s*\d+(.*)\z/m,"#{Date.today.strftime('%F')}\\1")
258
+
259
+ # Fix the link if there is one:
260
+ # https://github.com/esotericpig/raketeer/compare/v0.2.10...v0.2.11
261
+ versions_regex = /
262
+ (?<beg_ver>#{SemVer.regex(@strict)})
263
+ (?<sep>\.{3}[^\d\s]{,11}) # 11 for 'v', 'version', or something else.
264
+ (?<end_ver>#{SemVer.regex(@strict)})
265
+ /xmi
266
+ versions_match = match[2].match(versions_regex)
267
+
268
+ if versions_match
269
+ match[2].sub!(versions_regex,
270
+ "#{versions_match[:end_ver]}" \
271
+ "#{versions_match[:sep]}" \
272
+ "#{bumper.sem_ver}"
273
+ )
274
+ end
275
+
258
276
  bumper.line << match[2]
259
277
 
260
278
  bumper.add_change(bumper.line,push: true)
261
- bumper.line << "\n" # Don't print this newline to the console
279
+
280
+ # Add after add_change(), so not printed to console.
281
+ bumper.line << "\n\n"
262
282
  end
263
283
 
264
284
  # We are adding a new Markdown header, so always set the line back to its original value
@@ -10,7 +10,7 @@
10
10
 
11
11
 
12
12
  module Raketeer
13
- VERSION = '0.2.11'
13
+ VERSION = '0.2.12'
14
14
 
15
15
  # @since 0.2.4
16
16
  DEP_VERSIONS = {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: raketeer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.11
4
+ version: 0.2.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Bradley Whited
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-06-15 00:00:00.000000000 Z
11
+ date: 2021-06-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake