alarmable 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: '079b8b2c656b50417dde03ebcccbb4d7b55dc249d90cee9974b1eed7f5089415'
4
- data.tar.gz: 476c6acbe31bda140cf04b3840e7db36328ad57f05734a95f43a9683986ee180
3
+ metadata.gz: a92750970481aece8a70aa0d7aed9ffb2f14745d524b330559629563739401ef
4
+ data.tar.gz: 6bf3588f912875f7ce1708d3d0ade33c9364e0e65292c60140880482e9b3ba64
5
5
  SHA512:
6
- metadata.gz: 540427e743f6a1fff246966b2ddb29c12a86de7f0e537d62bc8be3d0b6d8ac1c21830949577b238a3b509acaa2b26f886bc931fe41f550757381752840351e16
7
- data.tar.gz: 1fd04a3f3effb30f4db9fd2d2b47d0bd00fcd0bbbfcf82cc6da0466c9b90b4d6853807f8b8fcd10e360b7ebbfe0e3551c9152db0dbaa488b1cae52b5e93c414f
6
+ metadata.gz: 1fdb5e174b57b08d20ad0ed51a89d1f269dd400843186b0f6a8c3acffeeb5deaa683c41cce0cc6ab61048cd3a6cc5171190bcbcb38b2b06571230afecec35914
7
+ data.tar.gz: 2481ff443192e908b1e4dbd54b1866bcf83366526fab873ccf42a7d0e67795c8b2fc47bd3cc01dc760c565c219a20fe79b5fcc338eb4ae740a8d863e44f57e77
@@ -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 (#4)
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 hermann.mayer92@gmail.com. All
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
- The MIT License (MIT)
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
- all copies or substantial portions of the Software.
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
- THE SOFTWARE.
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 @@ list of supported adapters)
19
19
  - [Active Record Model](#active-record-model)
20
20
  - [Active Job](#active-job)
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
 
@@ -114,12 +116,24 @@ After checking out the repo, run `make install` to install dependencies. Then,
114
116
  run `make test` to run the tests. You can also run `make shell-irb` for an
115
117
  interactive prompt that will allow you to experiment.
116
118
 
117
- To release a new version, update the version number in `version.rb`, and then
118
- run `make release`, which will create a git tag for the version, push git
119
- commits and tags, and push the `.gem` file to
120
- [rubygems.org](https://rubygems.org).
119
+ ## Code of Conduct
120
+
121
+ Everyone interacting in the project codebase, issue tracker, chat
122
+ rooms and mailing lists is expected to follow the [code of
123
+ conduct](./CODE_OF_CONDUCT.md).
121
124
 
122
125
  ## Contributing
123
126
 
124
127
  Bug reports and pull requests are welcome on GitHub at
125
- https://github.com/hausgold/alarmable.
128
+ https://github.com/hausgold/alarmable. Make sure that every pull request adds
129
+ a bullet point to the [changelog](./CHANGELOG.md) file with a reference to the
130
+ actual pull request.
131
+
132
+ ## Releasing
133
+
134
+ The release process of this Gem is fully automated. You just need to open the
135
+ Github Actions [Release
136
+ Workflow](https://github.com/hausgold/alarmable/actions/workflows/release.yml)
137
+ and trigger a new run via the **Run workflow** button. Insert the new version
138
+ number (check the [changelog](./CHANGELOG.md) first for the latest release) and
139
+ you're done.
@@ -3,7 +3,7 @@
3
3
  # The gem version details.
4
4
  module Alarmable
5
5
  # The version of the +alarmable+ 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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: alarmable
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
- 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: activejob
@@ -286,6 +286,7 @@ extra_rdoc_files: []
286
286
  files:
287
287
  - ".editorconfig"
288
288
  - ".github/workflows/documentation.yml"
289
+ - ".github/workflows/release.yml"
289
290
  - ".github/workflows/test.yml"
290
291
  - ".gitignore"
291
292
  - ".rspec"
@@ -315,7 +316,7 @@ files:
315
316
  - lib/alarmable.rb
316
317
  - lib/alarmable/concern.rb
317
318
  - lib/alarmable/version.rb
318
- homepage:
319
+ homepage:
319
320
  licenses:
320
321
  - MIT
321
322
  metadata:
@@ -324,7 +325,7 @@ metadata:
324
325
  changelog_uri: https://github.com/hausgold/alarmable/blob/master/CHANGELOG.md
325
326
  bug_tracker_uri: https://github.com/hausgold/alarmable/issues
326
327
  documentation_uri: https://www.rubydoc.info/gems/alarmable
327
- post_install_message:
328
+ post_install_message:
328
329
  rdoc_options: []
329
330
  require_paths:
330
331
  - lib
@@ -339,8 +340,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
339
340
  - !ruby/object:Gem::Version
340
341
  version: '0'
341
342
  requirements: []
342
- rubygems_version: 3.3.8
343
- signing_key:
343
+ rubygems_version: 3.3.26
344
+ signing_key:
344
345
  specification_version: 4
345
346
  summary: A reusable alarm extension to Active Record models
346
347
  test_files: []