bump_gem_version 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/Gemfile.lock +19 -18
- data/lib/bump_gem_version/version.rb +1 -1
- data/lib/bump_gem_version.rb +3 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3b2c5345e697ae6c1c892edb3e3149662a165ffc2a5498d250ffe1cee6a9c04d
|
4
|
+
data.tar.gz: dbf5c33979c6d35b1c96a5e6e061ca1338af5c48b1a8c6c2d773249167324cc9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 263bc8fd7da0acf3c12484b23b336470c64cd5cb49637b70229567e9f2e37b304401a4400f106eb33368ef2411d1c00d36674974f70f954b834686a8c89bb71e
|
7
|
+
data.tar.gz: 17ca9b610c7f8752ff377ed628e97a9be3f7066994dedafef04d1411f2c4cd7092e1ba922011fe0954d82a8c6f951409803582abf95c404262469f2d4da36bb2
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,45 +1,46 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
bump_gem_version (0.1.
|
5
|
-
thor (~> 1.
|
4
|
+
bump_gem_version (0.1.8)
|
5
|
+
thor (~> 1.3)
|
6
6
|
|
7
7
|
GEM
|
8
8
|
remote: https://rubygems.org/
|
9
9
|
specs:
|
10
10
|
ast (2.4.2)
|
11
|
-
json (2.
|
11
|
+
json (2.7.1)
|
12
12
|
language_server-protocol (3.17.0.3)
|
13
|
-
minitest (5.
|
14
|
-
parallel (1.
|
15
|
-
parser (3.2.2.
|
13
|
+
minitest (5.20.0)
|
14
|
+
parallel (1.24.0)
|
15
|
+
parser (3.2.2.4)
|
16
16
|
ast (~> 2.4.1)
|
17
17
|
racc
|
18
|
-
racc (1.7.
|
18
|
+
racc (1.7.3)
|
19
19
|
rainbow (3.1.1)
|
20
|
-
rake (13.0
|
21
|
-
regexp_parser (2.8.
|
22
|
-
rexml (3.2.
|
23
|
-
rubocop (1.
|
20
|
+
rake (13.1.0)
|
21
|
+
regexp_parser (2.8.3)
|
22
|
+
rexml (3.2.6)
|
23
|
+
rubocop (1.59.0)
|
24
24
|
json (~> 2.3)
|
25
25
|
language_server-protocol (>= 3.17.0)
|
26
26
|
parallel (~> 1.10)
|
27
|
-
parser (>= 3.2.2.
|
27
|
+
parser (>= 3.2.2.4)
|
28
28
|
rainbow (>= 2.2.2, < 4.0)
|
29
29
|
regexp_parser (>= 1.8, < 3.0)
|
30
30
|
rexml (>= 3.2.5, < 4.0)
|
31
|
-
rubocop-ast (>= 1.
|
31
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
32
32
|
ruby-progressbar (~> 1.7)
|
33
33
|
unicode-display_width (>= 2.4.0, < 3.0)
|
34
|
-
rubocop-ast (1.
|
34
|
+
rubocop-ast (1.30.0)
|
35
35
|
parser (>= 3.2.1.0)
|
36
|
-
rubocop-minitest (0.
|
36
|
+
rubocop-minitest (0.34.2)
|
37
37
|
rubocop (>= 1.39, < 2.0)
|
38
|
+
rubocop-ast (>= 1.30.0, < 2.0)
|
38
39
|
rubocop-rake (0.6.0)
|
39
40
|
rubocop (~> 1.0)
|
40
41
|
ruby-progressbar (1.13.0)
|
41
|
-
thor (1.
|
42
|
-
unicode-display_width (2.
|
42
|
+
thor (1.3.0)
|
43
|
+
unicode-display_width (2.5.0)
|
43
44
|
|
44
45
|
PLATFORMS
|
45
46
|
arm64-darwin-21
|
@@ -54,4 +55,4 @@ DEPENDENCIES
|
|
54
55
|
rubocop-rake
|
55
56
|
|
56
57
|
BUNDLED WITH
|
57
|
-
2.
|
58
|
+
2.5.3
|
data/lib/bump_gem_version.rb
CHANGED
@@ -8,7 +8,7 @@ module BumpGemVersion
|
|
8
8
|
class CLI < Thor
|
9
9
|
BUMPS = %w[major minor patch pre].freeze
|
10
10
|
PRERELEASE = ["alpha", "beta", "rc", nil].freeze
|
11
|
-
VERSION_REGEX = /(\d+\.\d+\.\d+(?:-(?:#{PRERELEASE.compact.join(
|
11
|
+
VERSION_REGEX = /(\d+\.\d+\.\d+(?:-(?:#{PRERELEASE.compact.join("|")}))?)/
|
12
12
|
|
13
13
|
desc "current", "Get the current version of your gem"
|
14
14
|
def current = puts(current_version[0])
|
@@ -71,10 +71,10 @@ or the given labels do not contain bump-type label.", banner: "LABEL", type: :st
|
|
71
71
|
end
|
72
72
|
|
73
73
|
def current_version
|
74
|
-
version, file =
|
74
|
+
version, file =
|
75
75
|
version_from_version_rb ||
|
76
76
|
version_from_lib_rb
|
77
|
-
|
77
|
+
|
78
78
|
unless version
|
79
79
|
say_error("Unable to find the version.", :red)
|
80
80
|
exit 1
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bump_gem_version
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Thejus Paul
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-12-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '1.
|
19
|
+
version: '1.3'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: '1.
|
26
|
+
version: '1.3'
|
27
27
|
description:
|
28
28
|
email:
|
29
29
|
- thejuspaul@pm.me
|
@@ -68,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '0'
|
70
70
|
requirements: []
|
71
|
-
rubygems_version: 3.
|
71
|
+
rubygems_version: 3.5.3
|
72
72
|
signing_key:
|
73
73
|
specification_version: 4
|
74
74
|
summary: BumpGemVersion is a gem that will simplify the way you build gems.
|