makenew-rbgem 3.0.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +29 -7
- data/lib/makenew-rbgem/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bb68951dba7454952fca01966b79e6c20b0303d396c95b5485fd9e15c6519d64
|
4
|
+
data.tar.gz: 4399652d7534fa68e058c05ad164ce42fb1a471c6f52b6827d4db2cfe5c24d96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 173188b61817b2a2f5f73417ec048ac7833959da19501db5f0194e3f2a785fa4c6afc29b3a2a2bee01b9a377e78d5738c5f5b7cf309ed0dfe59aca7288d62b95
|
7
|
+
data.tar.gz: 9d2a64495e181cfa8010e591258dc85e79c9aa92a3886d3964d095853e0e466a2c555714fdfa3a4af395c4c269d03c614a46614207872e285d875b54d97ae8e8
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -17,22 +17,26 @@ Bootstrap a new Ruby gem in five minutes or less.
|
|
17
17
|
- [Standard] Ruby style guide, linter, and formatter.
|
18
18
|
- Productive and fun testing with [RSpec].
|
19
19
|
- Code coverage reporting with [SimpleCov].
|
20
|
-
-
|
20
|
+
- Fully automated version management and package publishing with [semantic-release].
|
21
|
+
- Continuous checks and tests with [GitHub Actions].
|
21
22
|
- [Keep a CHANGELOG].
|
22
23
|
- Consistent coding with [EditorConfig].
|
23
24
|
- Badges from [Shields.io].
|
25
|
+
- Start coding instantly with [GitHub Codespaces].
|
24
26
|
|
25
27
|
[bundler]: https://bundler.io/
|
26
28
|
[editorconfig]: https://editorconfig.org/
|
29
|
+
[gem release]: https://github.com/svenfuchs/gem-release
|
27
30
|
[github actions]: https://github.com/features/actions
|
31
|
+
[github codespaces]: https://github.com/features/codespaces
|
28
32
|
[keep a changelog]: https://keepachangelog.com/
|
29
33
|
[rspec]: https://rspec.info/
|
30
|
-
[rubygems.org]: https://rubygems.org/
|
31
34
|
[ruby]: https://www.ruby-lang.org/
|
35
|
+
[rubygems.org]: https://rubygems.org/
|
36
|
+
[semantic-release]: https://semantic-release.gitbook.io/semantic-release/
|
32
37
|
[shields.io]: https://shields.io/
|
33
38
|
[simplecov]: https://github.com/simplecov-ruby/simplecov
|
34
39
|
[standard]: https://github.com/testdouble/standard
|
35
|
-
[gem release]: https://github.com/svenfuchs/gem-release
|
36
40
|
|
37
41
|
### Bootstrapping a new project
|
38
42
|
|
@@ -171,12 +175,30 @@ $ bundle install
|
|
171
175
|
|
172
176
|
### Publishing
|
173
177
|
|
174
|
-
|
178
|
+
New versions are created with [gem release].
|
179
|
+
|
180
|
+
#### Automatic
|
181
|
+
|
182
|
+
New versions are released automatically with [semantic-release]
|
183
|
+
as long as commits follow the [Angular Commit Message Conventions].
|
175
184
|
|
176
|
-
|
185
|
+
[Angular Commit Message Conventions]: https://semantic-release.gitbook.io/semantic-release/#commit-message-format
|
186
|
+
[semantic-release]: https://semantic-release.gitbook.io/
|
187
|
+
|
188
|
+
#### Manual
|
189
|
+
|
190
|
+
Publish a new version by triggering a [version workflow_dispatch on GitHub Actions].
|
191
|
+
The `version` input will be passed to the `--version` option of `gem bump`.
|
192
|
+
|
193
|
+
This may be done on the web or using the [GitHub CLI] with
|
194
|
+
|
195
|
+
```
|
196
|
+
$ gh workflow run version.yml --raw-field version=<version>
|
197
|
+
```
|
177
198
|
|
178
199
|
[gem release]: https://github.com/svenfuchs/gem-release
|
179
|
-
[
|
200
|
+
[GitHub CLI]: https://cli.github.com/
|
201
|
+
[version workflow_dispatch on GitHub Actions]: https://github.com/seamapi/javascript-http/actions?query=workflow%3Aversion
|
180
202
|
|
181
203
|
## GitHub Actions
|
182
204
|
|
@@ -190,7 +212,7 @@ These must be set manually.
|
|
190
212
|
|
191
213
|
### Secrets for Optional GitHub Actions
|
192
214
|
|
193
|
-
The version and
|
215
|
+
The version, format, generate, and semantic-release GitHub actions
|
194
216
|
require a user with write access to the repository.
|
195
217
|
Set these additional secrets to enable the action:
|
196
218
|
|