countless 1.1.0 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/release.yml +47 -0
- data/CHANGELOG.md +8 -0
- data/CODE_OF_CONDUCT.md +1 -1
- data/LICENSE +5 -5
- data/README.md +19 -9
- data/lib/countless/version.rb +1 -1
- metadata +8 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b401e2400c775b24387c348f9c0e5c638aac353988799c58f08214e2998e1a6
|
4
|
+
data.tar.gz: 59c69ebd3edbe0e0516b2535834b68d25caf6e8b5f0065527946e0c1575e5ede
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5aad5e7ac3df94d92a818a710dcd80a9517e3a977049e7f25a3c58d48cf89a57162728c0419f5b73c38c604a0879613eb328cd1124a4a492e62ffc432988ee5e
|
7
|
+
data.tar.gz: 6bdb0e2ddd9896f3af197c82bb11ac1c58c5cc94aafe097e553341d88a1e8445f98f23f8f84123ba63023ce38cbe31aff54a328eef7a27f299142c0a21d7f0c1
|
@@ -0,0 +1,47 @@
|
|
1
|
+
name: Release
|
2
|
+
run-name: Release ${{ github.event.inputs.VERSION }}
|
3
|
+
|
4
|
+
on:
|
5
|
+
workflow_dispatch:
|
6
|
+
inputs:
|
7
|
+
VERSION:
|
8
|
+
description: The new version to release. (eg. `1.0.0`) Check the
|
9
|
+
changelog for the latest version.
|
10
|
+
|
11
|
+
concurrency:
|
12
|
+
group: '${{ github.event.inputs.VERSION }}'
|
13
|
+
cancel-in-progress: true
|
14
|
+
|
15
|
+
jobs:
|
16
|
+
docs:
|
17
|
+
name: Release the gem
|
18
|
+
runs-on: ubuntu-22.04
|
19
|
+
timeout-minutes: 5
|
20
|
+
steps:
|
21
|
+
- uses: actions/checkout@v3
|
22
|
+
|
23
|
+
- name: Install Ruby 2.5
|
24
|
+
uses: ruby/setup-ruby@v1
|
25
|
+
with:
|
26
|
+
ruby-version: 2.5
|
27
|
+
bundler-cache: true
|
28
|
+
rubygems: '3.3.26'
|
29
|
+
|
30
|
+
- name: Prepare the virtual environment
|
31
|
+
uses: hausgold/actions/ci@master
|
32
|
+
with:
|
33
|
+
clone_token: '${{ secrets.CLONE_TOKEN }}'
|
34
|
+
settings: '${{ github.repository }}'
|
35
|
+
target: ci/gem-test
|
36
|
+
|
37
|
+
- name: Switch to SSH remotes for the Git repository
|
38
|
+
run: git-ssh-remotes
|
39
|
+
|
40
|
+
- name: Enforce version '${{ github.event.inputs.VERSION }}'
|
41
|
+
run: set-gem-version '${{ github.event.inputs.VERSION }}'
|
42
|
+
|
43
|
+
- name: Prepare the Git release commit
|
44
|
+
run: git-release-commit '${{ github.event.inputs.VERSION }}'
|
45
|
+
|
46
|
+
- name: Push the release Git commit/tag and package to the registry
|
47
|
+
run: make release
|
data/CHANGELOG.md
CHANGED
data/CODE_OF_CONDUCT.md
CHANGED
@@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
|
|
55
55
|
## Enforcement
|
56
56
|
|
57
57
|
Instances of abusive, harassing, or otherwise unacceptable behavior may be
|
58
|
-
reported by contacting the project team at
|
58
|
+
reported by contacting the project team at development@hausgold.de. All
|
59
59
|
complaints will be reviewed and investigated and will result in a response that
|
60
60
|
is deemed necessary and appropriate to the circumstances. The project team is
|
61
61
|
obligated to maintain confidentiality with regard to the reporter of an incident.
|
data/LICENSE
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
MIT License
|
2
2
|
|
3
3
|
Copyright (c) 2023 HAUSGOLD | talocasa GmbH
|
4
4
|
|
@@ -9,13 +9,13 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
9
|
copies of the Software, and to permit persons to whom the Software is
|
10
10
|
furnished to do so, subject to the following conditions:
|
11
11
|
|
12
|
-
The above copyright notice and this permission notice shall be included in
|
13
|
-
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
14
|
|
15
15
|
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
16
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
17
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
18
|
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
19
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
CHANGED
@@ -19,7 +19,9 @@ with the gem package.
|
|
19
19
|
- [Usage](#usage)
|
20
20
|
- [Addtional Configuration](#addtional-configuration)
|
21
21
|
- [Development](#development)
|
22
|
+
- [Code of Conduct](#code-of-conduct)
|
22
23
|
- [Contributing](#contributing)
|
24
|
+
- [Releasing](#releasing)
|
23
25
|
|
24
26
|
## Installation
|
25
27
|
|
@@ -261,22 +263,30 @@ Countless.configure do |config|
|
|
261
263
|
end
|
262
264
|
```
|
263
265
|
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
266
|
## Development
|
269
267
|
|
270
268
|
After checking out the repo, run `make install` to install dependencies. Then,
|
271
269
|
run `make test` to run the tests. You can also run `make shell-irb` for an
|
272
270
|
interactive prompt that will allow you to experiment.
|
273
271
|
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
[
|
272
|
+
## Code of Conduct
|
273
|
+
|
274
|
+
Everyone interacting in the project codebase, issue tracker, chat
|
275
|
+
rooms and mailing lists is expected to follow the [code of
|
276
|
+
conduct](./CODE_OF_CONDUCT.md).
|
278
277
|
|
279
278
|
## Contributing
|
280
279
|
|
281
280
|
Bug reports and pull requests are welcome on GitHub at
|
282
|
-
https://github.com/hausgold/countless.
|
281
|
+
https://github.com/hausgold/countless. Make sure that every pull request adds
|
282
|
+
a bullet point to the [changelog](./CHANGELOG.md) file with a reference to the
|
283
|
+
actual pull request.
|
284
|
+
|
285
|
+
## Releasing
|
286
|
+
|
287
|
+
The release process of this Gem is fully automated. You just need to open the
|
288
|
+
Github Actions [Release
|
289
|
+
Workflow](https://github.com/hausgold/countless/actions/workflows/release.yml)
|
290
|
+
and trigger a new run via the **Run workflow** button. Insert the new version
|
291
|
+
number (check the [changelog](./CHANGELOG.md) first for the latest release) and
|
292
|
+
you're done.
|
data/lib/countless/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: countless
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hermann Mayer
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -216,6 +216,7 @@ extra_rdoc_files: []
|
|
216
216
|
files:
|
217
217
|
- ".editorconfig"
|
218
218
|
- ".github/workflows/documentation.yml"
|
219
|
+
- ".github/workflows/release.yml"
|
219
220
|
- ".github/workflows/test.yml"
|
220
221
|
- ".gitignore"
|
221
222
|
- ".rspec"
|
@@ -255,7 +256,7 @@ files:
|
|
255
256
|
- lib/countless/rake_tasks.rb
|
256
257
|
- lib/countless/statistics.rb
|
257
258
|
- lib/countless/version.rb
|
258
|
-
homepage:
|
259
|
+
homepage:
|
259
260
|
licenses:
|
260
261
|
- MIT
|
261
262
|
metadata:
|
@@ -264,7 +265,7 @@ metadata:
|
|
264
265
|
changelog_uri: https://github.com/hausgold/countless/blob/master/CHANGELOG.md
|
265
266
|
bug_tracker_uri: https://github.com/hausgold/countless/issues
|
266
267
|
documentation_uri: https://www.rubydoc.info/gems/countless
|
267
|
-
post_install_message:
|
268
|
+
post_install_message:
|
268
269
|
rdoc_options: []
|
269
270
|
require_paths:
|
270
271
|
- lib
|
@@ -279,8 +280,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
279
280
|
- !ruby/object:Gem::Version
|
280
281
|
version: '0'
|
281
282
|
requirements: []
|
282
|
-
rubygems_version: 3.3.
|
283
|
-
signing_key:
|
283
|
+
rubygems_version: 3.3.26
|
284
|
+
signing_key:
|
284
285
|
specification_version: 4
|
285
286
|
summary: Code statistics/annotations helpers
|
286
287
|
test_files: []
|