jabber_admin 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 739b4e0789166ebb75156675b449603fac6d2816f7abf4662a220918e5a9a642
4
- data.tar.gz: 440e34d6e077ca1bacfd5577f1c289ffe0d12cb1683a88a57796fc287f672cd6
3
+ metadata.gz: bd0bcf59057c6d9ae11137e3f6427177a74aa0969f44abe30aaf5d192b43e693
4
+ data.tar.gz: b49453ad3ca03bdb7665c487e9547ed5721f28fe7ded316bba9e2af3a6d96745
5
5
  SHA512:
6
- metadata.gz: 6b50b8aeb91b30afe894792b471eabf9074d603e2b257b439e6317d2725fe301296549f88291234850c839750f4e5bb8085a410daf0b46c909356a12e18291eb
7
- data.tar.gz: 890b5a4ca9679e78322f5a5d98f91138da059702e779773316d9c04d3bd6dca473c0625801fbd27cebc577253379e0b768aecd3a31ef699647e466099798b1ca
6
+ metadata.gz: 5c6c483c01e80efbb706cf855f4881b65880b455dd85043baca8620491cdb9b24d521f9f9b4b14344d2b4982778b0bf1d1309ebd990b50ea6743376061ba05b4
7
+ data.tar.gz: 30a6239b2893a205bbf82552567d3f0fb783072e679ae25e9d948e404e582d518abd9ff8ce49b72ba1025b95f0b35075f536d0473158510e9bb95b22ea22847f
@@ -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.2.0
6
+
7
+ * Added support for Gem release automation
8
+
1
9
  ### 1.1.0
2
10
 
3
11
  * Bundler >= 2.3 is from now on required as minimal version (#11)
@@ -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
@@ -15,7 +15,9 @@ admin API](https://docs.ejabberd.im/developer/ejabberd-api/admin-api).
15
15
  - [Predefined commands](#predefined-commands)
16
16
  - [Freestyle commands](#freestyle-commands)
17
17
  - [Development](#development)
18
+ - [Code of Conduct](#code-of-conduct)
18
19
  - [Contributing](#contributing)
20
+ - [Releasing](#releasing)
19
21
 
20
22
  ## Installation
21
23
 
@@ -166,12 +168,24 @@ After checking out the repo, run `make install` to install dependencies. Then,
166
168
  run `make test` to run the tests. You can also run `make shell-irb` for an
167
169
  interactive prompt that will allow you to experiment.
168
170
 
169
- To release a new version, update the version number in `version.rb`, and then
170
- run `make release`, which will create a git tag for the version, push git
171
- commits and tags, and push the `.gem` file to
172
- [rubygems.org](https://rubygems.org).
171
+ ## Code of Conduct
172
+
173
+ Everyone interacting in the project codebase, issue tracker, chat
174
+ rooms and mailing lists is expected to follow the [code of
175
+ conduct](./CODE_OF_CONDUCT.md).
173
176
 
174
177
  ## Contributing
175
178
 
176
179
  Bug reports and pull requests are welcome on GitHub at
177
- https://github.com/hausgold/jabber_admin.
180
+ https://github.com/hausgold/jabber_admin. Make sure that every pull request adds
181
+ a bullet point to the [changelog](./CHANGELOG.md) file with a reference to the
182
+ actual pull request.
183
+
184
+ ## Releasing
185
+
186
+ The release process of this Gem is fully automated. You just need to open the
187
+ Github Actions [Release
188
+ Workflow](https://github.com/hausgold/jabber_admin/actions/workflows/release.yml)
189
+ and trigger a new run via the **Run workflow** button. Insert the new version
190
+ number (check the [changelog](./CHANGELOG.md) first for the latest release) and
191
+ you're done.
@@ -3,7 +3,7 @@
3
3
  # The gem version details.
4
4
  module JabberAdmin
5
5
  # The version of the +jabber_admin+ gem
6
- VERSION = '1.1.0'
6
+ VERSION = '1.2.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: jabber_admin
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.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: activesupport
@@ -273,6 +273,7 @@ extra_rdoc_files: []
273
273
  files:
274
274
  - ".editorconfig"
275
275
  - ".github/workflows/documentation.yml"
276
+ - ".github/workflows/release.yml"
276
277
  - ".github/workflows/test.yml"
277
278
  - ".gitignore"
278
279
  - ".rspec"
@@ -281,6 +282,7 @@ files:
281
282
  - ".yardopts"
282
283
  - Appraisals
283
284
  - CHANGELOG.md
285
+ - CODE_OF_CONDUCT.md
284
286
  - Dockerfile
285
287
  - Envfile
286
288
  - Gemfile
@@ -325,7 +327,7 @@ files:
325
327
  - lib/jabber_admin/configuration.rb
326
328
  - lib/jabber_admin/exceptions.rb
327
329
  - lib/jabber_admin/version.rb
328
- homepage:
330
+ homepage:
329
331
  licenses:
330
332
  - MIT
331
333
  metadata:
@@ -334,7 +336,7 @@ metadata:
334
336
  changelog_uri: https://github.com/hausgold/jabber_admin/blob/master/CHANGELOG.md
335
337
  bug_tracker_uri: https://github.com/hausgold/jabber_admin/issues
336
338
  documentation_uri: https://www.rubydoc.info/gems/jabber_admin
337
- post_install_message:
339
+ post_install_message:
338
340
  rdoc_options: []
339
341
  require_paths:
340
342
  - lib
@@ -349,8 +351,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
349
351
  - !ruby/object:Gem::Version
350
352
  version: '0'
351
353
  requirements: []
352
- rubygems_version: 3.3.8
353
- signing_key:
354
+ rubygems_version: 3.3.26
355
+ signing_key:
354
356
  specification_version: 4
355
357
  summary: Library for the ejabberd RESTful admin API
356
358
  test_files: []