billomat 1.0.0 → 1.1.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: a82a2db8a3455cdfdd0c2443e02f91bda241e445135d0d5c4f2343b17b254c0c
4
- data.tar.gz: 7c4b47743c34b41952850122a9ab58b3a5cac198679367cfa155b78530b9e6e9
3
+ metadata.gz: 2d9fef7b349e89c146999e6725312eabdf22fd8e75a22ca8f388329d1297f2f9
4
+ data.tar.gz: 3205b27c8a21272b9bb46cb4991a9460d36ef7a12832ae4ebaa83890ca7a83e9
5
5
  SHA512:
6
- metadata.gz: d129429ce05e52f3351b8a63a8df19e397ac84411cde5a90f1e9ab0a3876351d494bebe41ec74c6cda91f95bc5ca39e9f50c4328b4d4674dfb924192b5830044
7
- data.tar.gz: '05096c342c4797ffc1b03edcfc52252aaced4a0167c15200593fa498f6b41c5f422a0332cb6a87723c8e0a27be28cfb197f76a267462c28d5653743516646117'
6
+ metadata.gz: 88c96ee5c03eacfe8fce57523cac662771469aa716fd60ebb47686143ed20e3a4df30f912d84847b7c235d9b06db75a4ea6eff877f4a8e40f515205b7392d570
7
+ data.tar.gz: f86c7a69e61f131a2bc778309226c2e9ef9e364853cee4c9369d53e73e5e220dd3060ac583c91e6ae0b1101ef84311de0d7e7e0b0c819a2ae2662c04199c12b2
@@ -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.1.0
6
+
7
+ * Added support for Gem release automation
8
+
1
9
  ### 1.0.0
2
10
 
3
11
  * Bundler >= 2.3 is from now on required as minimal version (#18)
@@ -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
@@ -14,7 +14,9 @@ online accounting service.
14
14
  - [Configuration](#configuration)
15
15
  - [Basic usage](#basic-usage)
16
16
  - [Development](#development)
17
+ - [Code of Conduct](#code-of-conduct)
17
18
  - [Contributing](#contributing)
19
+ - [Releasing](#releasing)
18
20
 
19
21
  ## Installation
20
22
 
@@ -87,17 +89,28 @@ client.delete
87
89
 
88
90
  ## Development
89
91
 
90
- After checking out the repo, run `bin/setup` to install dependencies. Then, run
91
- `rake spec` to run the tests. You can also run `bin/console` for an interactive
92
- prompt that will allow you to experiment.
92
+ After checking out the repo, run `make install` to install dependencies. Then,
93
+ run `make test` to run the tests. You can also run `make shell-irb` for an
94
+ interactive prompt that will allow you to experiment.
93
95
 
94
- To install this gem onto your local machine, run `bundle exec rake install`. To
95
- release a new version, update the version number in `version.rb`, and then run
96
- `bundle exec rake release`, which will create a git tag for the version, push
97
- git commits and tags, and push the `.gem` file to
98
- [rubygems.org](https://rubygems.org).
96
+ ## Code of Conduct
97
+
98
+ Everyone interacting in the project codebase, issue tracker, chat
99
+ rooms and mailing lists is expected to follow the [code of
100
+ conduct](./CODE_OF_CONDUCT.md).
99
101
 
100
102
  ## Contributing
101
103
 
102
104
  Bug reports and pull requests are welcome on GitHub at
103
- https://github.com/hausgold/billomat.
105
+ https://github.com/hausgold/billomat. Make sure that every pull request adds
106
+ a bullet point to the [changelog](./CHANGELOG.md) file with a reference to the
107
+ actual pull request.
108
+
109
+ ## Releasing
110
+
111
+ The release process of this Gem is fully automated. You just need to open the
112
+ Github Actions [Release
113
+ Workflow](https://github.com/hausgold/billomat/actions/workflows/release.yml)
114
+ and trigger a new run via the **Run workflow** button. Insert the new version
115
+ number (check the [changelog](./CHANGELOG.md) first for the latest release) and
116
+ you're done.
@@ -3,7 +3,7 @@
3
3
  # The gem version details.
4
4
  module Billomat
5
5
  # The version of the +billomat+ gem
6
- VERSION = '1.0.0'
6
+ VERSION = '1.1.0'
7
7
 
8
8
  class << self
9
9
  # Returns the version of gem as a string.
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: billomat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer
8
8
  - Henning Vogt
9
- autorequire:
9
+ autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2023-01-18 00:00:00.000000000 Z
12
+ date: 2023-02-24 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rest-client
@@ -203,6 +203,7 @@ extra_rdoc_files: []
203
203
  files:
204
204
  - ".editorconfig"
205
205
  - ".github/workflows/documentation.yml"
206
+ - ".github/workflows/release.yml"
206
207
  - ".github/workflows/test.yml"
207
208
  - ".gitignore"
208
209
  - ".rspec"
@@ -210,6 +211,7 @@ files:
210
211
  - ".simplecov"
211
212
  - ".yardopts"
212
213
  - CHANGELOG.md
214
+ - CODE_OF_CONDUCT.md
213
215
  - Dockerfile
214
216
  - Envfile
215
217
  - Gemfile
@@ -249,7 +251,7 @@ files:
249
251
  - lib/billomat/models/template.rb
250
252
  - lib/billomat/search.rb
251
253
  - lib/billomat/version.rb
252
- homepage:
254
+ homepage:
253
255
  licenses:
254
256
  - MIT
255
257
  metadata:
@@ -258,7 +260,7 @@ metadata:
258
260
  changelog_uri: https://github.com/hausgold/billomat/blob/master/CHANGELOG.md
259
261
  bug_tracker_uri: https://github.com/hausgold/billomat/issues
260
262
  documentation_uri: https://www.rubydoc.info/gems/billomat
261
- post_install_message:
263
+ post_install_message:
262
264
  rdoc_options: []
263
265
  require_paths:
264
266
  - lib
@@ -273,8 +275,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
273
275
  - !ruby/object:Gem::Version
274
276
  version: '0'
275
277
  requirements: []
276
- rubygems_version: 3.3.8
277
- signing_key:
278
+ rubygems_version: 3.3.26
279
+ signing_key:
278
280
  specification_version: 4
279
281
  summary: Wrapper for the Billomat API
280
282
  test_files: []