rimless 1.3.0 → 1.4.0

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: d94b5db1c219992a8e7f2470a33c5c260065d19ad9c678fdbe7c34d8d7eac5ef
4
- data.tar.gz: 208ec10f307dc7b777b656cdeb0c5e959cbc1cc33206fe62cc7655e59823b1cd
3
+ metadata.gz: 6dbc224f24dcbe2f389df010f71006d5ad54fcdbae53545849de1712cb7a1be1
4
+ data.tar.gz: 2437b078c99c323d2b7f44d6303b5190229685a4b90e34fd2041cd54ea7abf60
5
5
  SHA512:
6
- metadata.gz: 999b3384beea7efb59e9a78a12b721d15f5333ae0ed8f8dc2d5462301a179430083c6947507ca05308370257d6a822ff8b7787db08fc353e609bf00d6d0a068b
7
- data.tar.gz: 26f9863a2d2252007027d4f3229f1c1883e0156cb12d56941fde1f203b4eb7057a7f5fb5ce5a8a76d810f923e7940a71ac198b82ec70c2c9599abbc2d5cee838
6
+ metadata.gz: 71c699234facfda2cfd64f7f56d86566b5fda1547f779a14eef14c30509b60b6d3add916a721bcd80da2e907171508a823ffd92e5838b1bcd2f61abad42672f3
7
+ data.tar.gz: ad19eb10066b92db85b6bdb5ac104f03e099da91838594c1baf5f39332e9fec29a3339689e05bf6203a3257e5d07d2de7f74992ab3efccbdcd2237677ed52a5f
@@ -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
@@ -1,3 +1,11 @@
1
+ ### next
2
+
3
+ * TODO: Replace this bullet point with an actual description of a change.
4
+
5
+ ### 1.4.0
6
+
7
+ * Added support for Gem release automation
8
+
1
9
  ### 1.3.0
2
10
 
3
11
  * Bundler >= 2.3 is from now on required as minimal version (#19)
@@ -0,0 +1,74 @@
1
+ # Contributor Covenant Code of Conduct
2
+
3
+ ## Our Pledge
4
+
5
+ In the interest of fostering an open and welcoming environment, we as
6
+ contributors and maintainers pledge to making participation in our project and
7
+ our community a harassment-free experience for everyone, regardless of age, body
8
+ size, disability, ethnicity, gender identity and expression, level of experience,
9
+ nationality, personal appearance, race, religion, or sexual identity and
10
+ orientation.
11
+
12
+ ## Our Standards
13
+
14
+ Examples of behavior that contributes to creating a positive environment
15
+ include:
16
+
17
+ * Using welcoming and inclusive language
18
+ * Being respectful of differing viewpoints and experiences
19
+ * Gracefully accepting constructive criticism
20
+ * Focusing on what is best for the community
21
+ * Showing empathy towards other community members
22
+
23
+ Examples of unacceptable behavior by participants include:
24
+
25
+ * The use of sexualized language or imagery and unwelcome sexual attention or
26
+ advances
27
+ * Trolling, insulting/derogatory comments, and personal or political attacks
28
+ * Public or private harassment
29
+ * Publishing others' private information, such as a physical or electronic
30
+ address, without explicit permission
31
+ * Other conduct which could reasonably be considered inappropriate in a
32
+ professional setting
33
+
34
+ ## Our Responsibilities
35
+
36
+ Project maintainers are responsible for clarifying the standards of acceptable
37
+ behavior and are expected to take appropriate and fair corrective action in
38
+ response to any instances of unacceptable behavior.
39
+
40
+ Project maintainers have the right and responsibility to remove, edit, or
41
+ reject comments, commits, code, wiki edits, issues, and other contributions
42
+ that are not aligned to this Code of Conduct, or to ban temporarily or
43
+ permanently any contributor for other behaviors that they deem inappropriate,
44
+ threatening, offensive, or harmful.
45
+
46
+ ## Scope
47
+
48
+ This Code of Conduct applies both within project spaces and in public spaces
49
+ when an individual is representing the project or its community. Examples of
50
+ representing a project or community include using an official project e-mail
51
+ address, posting via an official social media account, or acting as an appointed
52
+ representative at an online or offline event. Representation of a project may be
53
+ further defined and clarified by project maintainers.
54
+
55
+ ## Enforcement
56
+
57
+ Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+ reported by contacting the project team at development@hausgold.de. All
59
+ complaints will be reviewed and investigated and will result in a response that
60
+ is deemed necessary and appropriate to the circumstances. The project team is
61
+ obligated to maintain confidentiality with regard to the reporter of an incident.
62
+ Further details of specific enforcement policies may be posted separately.
63
+
64
+ Project maintainers who do not follow or enforce the Code of Conduct in good
65
+ faith may face temporary or permanent repercussions as determined by other
66
+ members of the project's leadership.
67
+
68
+ ## Attribution
69
+
70
+ This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+ available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+ [homepage]: http://contributor-covenant.org
74
+ [version]: http://contributor-covenant.org/version/1/4/
data/README.md CHANGED
@@ -32,7 +32,9 @@ opinionated framework which sets up solid conventions for producing messages.
32
32
  - [Handling of schemaless deep blobs](#handling-of-schemaless-deep-blobs)
33
33
  - [Writing tests for your messages](#writing-tests-for-your-messages)
34
34
  - [Development](#development)
35
+ - [Code of Conduct](#code-of-conduct)
35
36
  - [Contributing](#contributing)
37
+ - [Releasing](#releasing)
36
38
 
37
39
  ## Installation
38
40
 
@@ -587,17 +589,28 @@ end
587
589
 
588
590
  ## Development
589
591
 
590
- After checking out the repo, run `bin/setup` to install dependencies. Then, run
591
- `bundle exec rake spec` to run the tests. You can also run `bin/console` for an
592
+ After checking out the repo, run `make install` to install dependencies. Then,
593
+ run `make test` to run the tests. You can also run `make shell-irb` for an
592
594
  interactive prompt that will allow you to experiment.
593
595
 
594
- To install this gem onto your local machine, run `bundle exec rake install`. To
595
- release a new version, update the version number in `version.rb`, and then run
596
- `bundle exec rake release`, which will create a git tag for the version, push
597
- git commits and tags, and push the `.gem` file to
598
- [rubygems.org](https://rubygems.org).
596
+ ## Code of Conduct
597
+
598
+ Everyone interacting in the project codebase, issue tracker, chat
599
+ rooms and mailing lists is expected to follow the [code of
600
+ conduct](./CODE_OF_CONDUCT.md).
599
601
 
600
602
  ## Contributing
601
603
 
602
604
  Bug reports and pull requests are welcome on GitHub at
603
- https://github.com/hausgold/rimless.
605
+ https://github.com/hausgold/rimless. Make sure that every pull request adds
606
+ a bullet point to the [changelog](./CHANGELOG.md) file with a reference to the
607
+ actual pull request.
608
+
609
+ ## Releasing
610
+
611
+ The release process of this Gem is fully automated. You just need to open the
612
+ Github Actions [Release
613
+ Workflow](https://github.com/hausgold/rimless/actions/workflows/release.yml)
614
+ and trigger a new run via the **Run workflow** button. Insert the new version
615
+ number (check the [changelog](./CHANGELOG.md) first for the latest release) and
616
+ you're done.
@@ -3,7 +3,7 @@
3
3
  # The gem version details.
4
4
  module Rimless
5
5
  # The version of the +rimless+ gem
6
- VERSION = '1.3.0'
6
+ VERSION = '1.4.0'
7
7
 
8
8
  class << self
9
9
  # Returns the version of gem as a string.
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rimless
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.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-01-18 00:00:00.000000000 Z
11
+ date: 2023-02-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport
@@ -383,6 +383,7 @@ extra_rdoc_files: []
383
383
  files:
384
384
  - ".editorconfig"
385
385
  - ".github/workflows/documentation.yml"
386
+ - ".github/workflows/release.yml"
386
387
  - ".github/workflows/test.yml"
387
388
  - ".gitignore"
388
389
  - ".rspec"
@@ -391,6 +392,7 @@ files:
391
392
  - ".yardopts"
392
393
  - Appraisals
393
394
  - CHANGELOG.md
395
+ - CODE_OF_CONDUCT.md
394
396
  - Dockerfile
395
397
  - Envfile
396
398
  - Gemfile
@@ -459,7 +461,7 @@ files:
459
461
  - lib/rimless/version.rb
460
462
  - log/development.log
461
463
  - rimless.gemspec
462
- homepage:
464
+ homepage:
463
465
  licenses:
464
466
  - MIT
465
467
  metadata:
@@ -468,7 +470,7 @@ metadata:
468
470
  changelog_uri: https://github.com/hausgold/rimless/blob/master/CHANGELOG.md
469
471
  bug_tracker_uri: https://github.com/hausgold/rimless/issues
470
472
  documentation_uri: https://www.rubydoc.info/gems/rimless
471
- post_install_message:
473
+ post_install_message:
472
474
  rdoc_options: []
473
475
  require_paths:
474
476
  - lib
@@ -483,8 +485,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
483
485
  - !ruby/object:Gem::Version
484
486
  version: '0'
485
487
  requirements: []
486
- rubygems_version: 3.3.8
487
- signing_key:
488
+ rubygems_version: 3.3.26
489
+ signing_key:
488
490
  specification_version: 4
489
491
  summary: A bundle of opinionated Apache Kafka / Confluent Schema Registry helpers.
490
492
  test_files: []