semverify 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/README.md +34 -2
- data/Rakefile +2 -1
- data/lib/semverify/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c7f6d31abbf12e12406e5c38f1f56e5f7524b7f5902c94c978bc040ced7beea4
|
4
|
+
data.tar.gz: 6edd6e00c65de6a81bc8dbe4cac50b8fee6e091e529e0bd63901fe51b2ed06bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0889a7ee154aefcfc829186cfdd3f955d6f54cc956168a9dfe7f21f5926456853f063519c65fd82146eb699da7374807494f5a61028f53a70fb23ecd3d87637
|
7
|
+
data.tar.gz: 0a81b40d9141b123a24040379b8aae3a3a9527030a9b2ede3971e3a26bdc2ab709939cb2b3e876784b750d79a1612506458b2108c00d17c899caa40d8f17fe07
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
## v0.3.4 (2024-01-20)
|
2
|
+
|
3
|
+
[Full Changelog](https://github.com/main-branch/semverify/compare/v0.3.3..v0.3.4)
|
4
|
+
|
5
|
+
Changes since v0.3.3:
|
6
|
+
|
7
|
+
* cf1dd7c Add env coverage options to use when running rspec (#25)
|
8
|
+
* 4e5cc25 Add command line examples to the README.md (#24)
|
9
|
+
|
1
10
|
## v0.3.3 (2024-01-11)
|
2
11
|
|
3
12
|
[Full Changelog](https://github.com/main-branch/semverify/compare/v0.3.2..v0.3.3)
|
data/README.md
CHANGED
@@ -42,7 +42,9 @@ semverify help [COMMAND]
|
|
42
42
|
```
|
43
43
|
|
44
44
|
* [Installation](#installation)
|
45
|
-
* [Command Line
|
45
|
+
* [Command Line](#command-line)
|
46
|
+
* [Usage](#usage)
|
47
|
+
* [Examples](#examples)
|
46
48
|
* [Library Usage](#library-usage)
|
47
49
|
* [Development](#development)
|
48
50
|
* [Contributing](#contributing)
|
@@ -62,7 +64,9 @@ If bundler is not being used to manage dependencies, install the gem by executin
|
|
62
64
|
gem install semverify
|
63
65
|
```
|
64
66
|
|
65
|
-
## Command Line
|
67
|
+
## Command Line
|
68
|
+
|
69
|
+
### Usage
|
66
70
|
|
67
71
|
The `semverify` command line has built in help for all its commands. List the
|
68
72
|
commands by invoking `semverify` with no arguments or `semverify help` as
|
@@ -112,6 +116,34 @@ Description:
|
|
112
116
|
$
|
113
117
|
```
|
114
118
|
|
119
|
+
### Examples
|
120
|
+
|
121
|
+
```Ruby
|
122
|
+
semverify current # 0.1.0
|
123
|
+
|
124
|
+
semverify validate 1.0.0 # exitcode=0
|
125
|
+
semverify validate bad_version # exitcode=1
|
126
|
+
|
127
|
+
semverify patch # 0.1.0 -> 0.1.1
|
128
|
+
semverify minor # 0.1.1 -> 0.2.0
|
129
|
+
semverify major # 0.2.0 -> 1.0.0
|
130
|
+
|
131
|
+
# Pre-release with default pre-release type
|
132
|
+
semverify major --pre # 0.1.1 -> 1.0.0-pre.1
|
133
|
+
|
134
|
+
# Pre-release with non-default pre-release type
|
135
|
+
semverify major --pre --pre-type=alpha # 0.1.1 -> 2.0.0-alpha.1
|
136
|
+
|
137
|
+
# Increment pre-release
|
138
|
+
semverify pre # 1.0.0-alpha.1 -> 1.0.0-alpha.2
|
139
|
+
|
140
|
+
# Change the pre-release type
|
141
|
+
semverify pre --pre-type=beta # 1.0.0-alpha.2 -> 1.0.0-beta.1
|
142
|
+
|
143
|
+
# Create release from pre-release
|
144
|
+
semverify release # 1.0.0-beta.1 -> 1.0.0
|
145
|
+
```
|
146
|
+
|
115
147
|
## Library Usage
|
116
148
|
|
117
149
|
[Detailed API documenation](https://rubydoc.info/gems/semverify/) is hosted on rubygems.org.
|
data/Rakefile
CHANGED
@@ -36,8 +36,9 @@ RSpec::Core::RakeTask.new do
|
|
36
36
|
if RUBY_PLATFORM == 'java'
|
37
37
|
ENV['JAVA_OPTS'] = '-Djdk.io.File.enableADS=true'
|
38
38
|
ENV['JRUBY_OPTS'] = '--debug'
|
39
|
-
ENV['
|
39
|
+
ENV['COV_NO_FAIL'] = 'TRUE'
|
40
40
|
end
|
41
|
+
ENV['COV_SHOW_UNCOVERED'] = 'TRUE'
|
41
42
|
end
|
42
43
|
|
43
44
|
CLEAN << 'coverage'
|
data/lib/semverify/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: semverify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Couball
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-01-
|
11
|
+
date: 2024-01-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -212,8 +212,8 @@ metadata:
|
|
212
212
|
allowed_push_host: https://rubygems.org
|
213
213
|
homepage_uri: http://github.com/main-branch/semverify
|
214
214
|
source_code_uri: http://github.com/main-branch/semverify
|
215
|
-
changelog_uri: https://rubydoc.info/gems/semverify/0.3.
|
216
|
-
documentation_uri: https://rubydoc.info/gems/semverify/0.3.
|
215
|
+
changelog_uri: https://rubydoc.info/gems/semverify/0.3.4/file/CHANGELOG.md
|
216
|
+
documentation_uri: https://rubydoc.info/gems/semverify/0.3.4
|
217
217
|
rubygems_mfa_required: 'true'
|
218
218
|
post_install_message:
|
219
219
|
rdoc_options: []
|