jabber_admin 1.1.0 → 1.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 739b4e0789166ebb75156675b449603fac6d2816f7abf4662a220918e5a9a642
4
- data.tar.gz: 440e34d6e077ca1bacfd5577f1c289ffe0d12cb1683a88a57796fc287f672cd6
3
+ metadata.gz: ed28f6ca1ef5a48e3fa5b9f6b44cab705e8de689306700e0cbec2ead439c8082
4
+ data.tar.gz: 887273afabbc46c6e6e96990f862cb52ba1e8550c07f5708acb6ad82ff6ad5bd
5
5
  SHA512:
6
- metadata.gz: 6b50b8aeb91b30afe894792b471eabf9074d603e2b257b439e6317d2725fe301296549f88291234850c839750f4e5bb8085a410daf0b46c909356a12e18291eb
7
- data.tar.gz: 890b5a4ca9679e78322f5a5d98f91138da059702e779773316d9c04d3bd6dca473c0625801fbd27cebc577253379e0b768aecd3a31ef699647e466099798b1ca
6
+ metadata.gz: 307f21394d37a6cbd6f9824eaa0345bb456ef3fbc0ac222cb7f8659b9bd55d689c77201125e410d27321da02ac41df674bfc2af737299de0070f3c90a95edc72
7
+ data.tar.gz: a95e07f49d459e7b33a937827977e277f773734342b7621b083b882e6ff5afafd142653775349670ec524ffd4575feb6bcf93b818c4f1b2be70d70c59236f482
@@ -12,19 +12,20 @@ jobs:
12
12
  runs-on: ubuntu-22.04
13
13
  timeout-minutes: 5
14
14
  steps:
15
- - uses: actions/checkout@v3
15
+ - uses: actions/checkout@v4
16
16
 
17
17
  - name: Install the correct Ruby version
18
18
  uses: ruby/setup-ruby@v1
19
19
  with:
20
- ruby-version: 2.5
20
+ ruby-version: 2.7
21
21
  bundler-cache: true
22
- rubygems: '3.3.26'
22
+ rubygems: '3.4.22'
23
23
 
24
24
  - name: Prepare the virtual environment
25
25
  uses: hausgold/actions/ci@master
26
26
  with:
27
27
  clone_token: '${{ secrets.CLONE_TOKEN }}'
28
+ settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
28
29
  settings: '${{ github.repository }}'
29
30
  target: ci/gem-test
30
31
 
@@ -0,0 +1,48 @@
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@v4
22
+
23
+ - name: Install Ruby 2.7
24
+ uses: ruby/setup-ruby@v1
25
+ with:
26
+ ruby-version: 2.7
27
+ bundler-cache: true
28
+ rubygems: '3.4.22'
29
+
30
+ - name: Prepare the virtual environment
31
+ uses: hausgold/actions/ci@master
32
+ with:
33
+ clone_token: '${{ secrets.CLONE_TOKEN }}'
34
+ settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
35
+ settings: '${{ github.repository }}'
36
+ target: ci/gem-test
37
+
38
+ - name: Switch to SSH remotes for the Git repository
39
+ run: git-ssh-remotes
40
+
41
+ - name: Enforce version '${{ github.event.inputs.VERSION }}'
42
+ run: set-gem-version '${{ github.event.inputs.VERSION }}'
43
+
44
+ - name: Prepare the Git release commit
45
+ run: git-release-commit '${{ github.event.inputs.VERSION }}'
46
+
47
+ - name: Push the release Git commit/tag and package to the registry
48
+ run: make release
@@ -18,24 +18,25 @@ jobs:
18
18
  strategy:
19
19
  fail-fast: false
20
20
  matrix:
21
- ruby: ['2.5', '2.7']
22
- rails: ['5.2']
21
+ ruby: ['2.7']
22
+ rails: ['5.2', '6.1', '7.1']
23
23
  env:
24
24
  BUNDLE_GEMFILE: 'gemfiles/rails_${{ matrix.rails }}.gemfile'
25
25
  steps:
26
- - uses: actions/checkout@v3
26
+ - uses: actions/checkout@v4
27
27
 
28
28
  - name: Install the correct Ruby version
29
29
  uses: ruby/setup-ruby@v1
30
30
  with:
31
31
  ruby-version: ${{ matrix.ruby }}
32
32
  bundler-cache: true
33
- rubygems: '3.3.26'
33
+ rubygems: '3.4.22'
34
34
 
35
35
  - name: Prepare the virtual environment
36
36
  uses: hausgold/actions/ci@master
37
37
  with:
38
38
  clone_token: '${{ secrets.CLONE_TOKEN }}'
39
+ settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
39
40
  settings: '${{ github.repository }}'
40
41
  target: ci/gem-test
41
42
 
@@ -56,6 +57,7 @@ jobs:
56
57
  uses: hausgold/actions/ci@master
57
58
  with:
58
59
  clone_token: '${{ secrets.CLONE_TOKEN }}'
60
+ settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
59
61
  settings: '${{ github.repository }}'
60
62
  target: ci/noop
61
63
 
data/.gitignore CHANGED
@@ -7,6 +7,7 @@
7
7
  /pkg/
8
8
  /spec/reports/
9
9
  /tmp/
10
+ /log/
10
11
  /vendor/
11
12
  /gemfiles/vendor/
12
13
  *.gemfile.lock
data/.rubocop.yml CHANGED
@@ -12,7 +12,7 @@ AllCops:
12
12
  NewCops: enable
13
13
  SuggestExtensions: false
14
14
  DisplayCopNames: true
15
- TargetRubyVersion: 2.5
15
+ TargetRubyVersion: 2.7
16
16
  TargetRailsVersion: 5.2
17
17
  Exclude:
18
18
  - bin/**/*
data/Appraisals CHANGED
@@ -3,3 +3,11 @@
3
3
  appraise 'rails-5.2' do
4
4
  gem 'activesupport', '~> 5.2.0'
5
5
  end
6
+
7
+ appraise 'rails-6.1' do
8
+ gem 'activesupport', '~> 6.1.0'
9
+ end
10
+
11
+ appraise 'rails-7.1' do
12
+ gem 'activesupport', '~> 7.1.0'
13
+ end
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ ### next
2
+
3
+ * TODO: Replace this bullet point with an actual description of a change.
4
+
5
+ ### 1.3.0
6
+
7
+ * Moved the development dependencies from the gemspec to the Gemfile (#12)
8
+ * Dropped support for Ruby <2.7 (#13)
9
+
10
+ ### 1.2.0
11
+
12
+ * Added support for Gem release automation
13
+
1
14
  ### 1.1.0
2
15
 
3
16
  * 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/Dockerfile CHANGED
@@ -1,8 +1,8 @@
1
- FROM hausgold/ruby:2.5
1
+ FROM hausgold/ruby:2.7
2
2
  MAINTAINER Hermann Mayer <hermann.mayer@hausgold.de>
3
3
 
4
4
  # Update system gem
5
- RUN gem update --system '3.3.26'
5
+ RUN gem update --system '3.4.22'
6
6
 
7
7
  # Install system packages and the latest bundler
8
8
  RUN apt-get update -yqqq && \
@@ -11,7 +11,7 @@ RUN apt-get update -yqqq && \
11
11
  ca-certificates \
12
12
  bash-completion inotify-tools && \
13
13
  echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && /usr/sbin/locale-gen && \
14
- gem install bundler -v '~> 2.3.0' --no-document --no-prerelease
14
+ gem install bundler -v '~> 2.4.22' --no-document --no-prerelease
15
15
 
16
16
  # Add new web user
17
17
  RUN mkdir /app && \
data/Gemfile CHANGED
@@ -6,3 +6,21 @@ git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
6
6
 
7
7
  # Specify your gem's dependencies in jabber_admin.gemspec
8
8
  gemspec
9
+
10
+ # Development dependencies
11
+ gem 'appraisal', '~> 2.4'
12
+ gem 'bundler', '~> 2.3'
13
+ gem 'countless', '~> 1.1'
14
+ gem 'guard-rspec', '~> 4.7'
15
+ gem 'irb', '~> 1.2'
16
+ gem 'railties', '>= 5.2'
17
+ gem 'rake', '~> 13.0'
18
+ gem 'rspec', '~> 3.12'
19
+ gem 'rubocop', '~> 1.28'
20
+ gem 'rubocop-rails', '~> 2.14'
21
+ gem 'rubocop-rspec', '~> 2.10'
22
+ gem 'simplecov', '>= 0.22'
23
+ gem 'vcr', '~> 6.0'
24
+ gem 'webmock', '~> 3.18'
25
+ gem 'yard', '>= 0.9.28'
26
+ gem 'yard-activesupport-concern', '>= 0.0.1'
data/Makefile CHANGED
@@ -13,6 +13,7 @@ BASH_RUN_SHELL_FLAGS ?=
13
13
 
14
14
  # Directories
15
15
  VENDOR_DIR ?= vendor/bundle
16
+ GEMFILES_DIR ?= gemfiles
16
17
 
17
18
  # Host binaries
18
19
  AWK ?= awk
@@ -27,6 +28,7 @@ ID ?= id
27
28
  MKDIR ?= mkdir
28
29
  RM ?= rm
29
30
  SORT ?= sort
31
+ TEST ?= test
30
32
  XARGS ?= xargs
31
33
 
32
34
  # Container binaries
@@ -38,6 +40,7 @@ RAKE ?= rake
38
40
  RSPEC ?= rspec
39
41
  RUBOCOP ?= rubocop
40
42
  YARD ?= yard
43
+ RUBY_VERSION := ruby-version
41
44
 
42
45
  # Files
43
46
  GEMFILES ?= $(subst _,-,$(patsubst $(GEMFILES_DIR)/%.gemfile,%,\
@@ -117,7 +120,8 @@ test-style: test-style-ruby
117
120
 
118
121
  test-style-ruby:
119
122
  # Run the static code analyzer (rubocop)
120
- @$(call run-shell,$(BUNDLE) exec $(RUBOCOP) -a)
123
+ @$(call run-shell,$(BUNDLE) exec $(RUBOCOP) -a \
124
+ || ($(TEST) $$($(RUBY_VERSION)) != '2.7' && true))
121
125
 
122
126
  clean:
123
127
  # Clean the dependencies
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.
@@ -16,7 +16,9 @@ sudo sed -i 's/autostart=.*/autostart=false/g' /etc/supervisor/conf.d/*
16
16
  sudo supervisord >/dev/null 2>&1 &
17
17
 
18
18
  # Wait for supervisord
19
- while ! supervisorctl status >/dev/null 2>&1; do sleep 1; done
19
+ while ! (sudo supervisorctl status | grep avahi) >/dev/null 2>&1; do
20
+ sleep 1
21
+ done
20
22
 
21
23
  # Boot the mDNS stack
22
24
  echo '# Start the mDNS stack'
@@ -2,6 +2,22 @@
2
2
 
3
3
  source "https://rubygems.org"
4
4
 
5
+ gem "appraisal", "~> 2.4"
6
+ gem "bundler", "~> 2.3"
7
+ gem "countless", "~> 1.1"
8
+ gem "guard-rspec", "~> 4.7"
9
+ gem "irb", "~> 1.2"
10
+ gem "railties", ">= 5.2"
11
+ gem "rake", "~> 13.0"
12
+ gem "rspec", "~> 3.12"
13
+ gem "rubocop", "~> 1.28"
14
+ gem "rubocop-rails", "~> 2.14"
15
+ gem "rubocop-rspec", "~> 2.10"
16
+ gem "simplecov", ">= 0.22"
17
+ gem "vcr", "~> 6.0"
18
+ gem "webmock", "~> 3.18"
19
+ gem "yard", ">= 0.9.28"
20
+ gem "yard-activesupport-concern", ">= 0.0.1"
5
21
  gem "activesupport", "~> 5.2.0"
6
22
 
7
23
  gemspec path: "../"
@@ -0,0 +1,23 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal", "~> 2.4"
6
+ gem "bundler", "~> 2.3"
7
+ gem "countless", "~> 1.1"
8
+ gem "guard-rspec", "~> 4.7"
9
+ gem "irb", "~> 1.2"
10
+ gem "railties", ">= 5.2"
11
+ gem "rake", "~> 13.0"
12
+ gem "rspec", "~> 3.12"
13
+ gem "rubocop", "~> 1.28"
14
+ gem "rubocop-rails", "~> 2.14"
15
+ gem "rubocop-rspec", "~> 2.10"
16
+ gem "simplecov", ">= 0.22"
17
+ gem "vcr", "~> 6.0"
18
+ gem "webmock", "~> 3.18"
19
+ gem "yard", ">= 0.9.28"
20
+ gem "yard-activesupport-concern", ">= 0.0.1"
21
+ gem "activesupport", "~> 6.1.0"
22
+
23
+ gemspec path: "../"
@@ -0,0 +1,23 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "appraisal", "~> 2.4"
6
+ gem "bundler", "~> 2.3"
7
+ gem "countless", "~> 1.1"
8
+ gem "guard-rspec", "~> 4.7"
9
+ gem "irb", "~> 1.2"
10
+ gem "railties", ">= 5.2"
11
+ gem "rake", "~> 13.0"
12
+ gem "rspec", "~> 3.12"
13
+ gem "rubocop", "~> 1.28"
14
+ gem "rubocop-rails", "~> 2.14"
15
+ gem "rubocop-rspec", "~> 2.10"
16
+ gem "simplecov", ">= 0.22"
17
+ gem "vcr", "~> 6.0"
18
+ gem "webmock", "~> 3.18"
19
+ gem "yard", ">= 0.9.28"
20
+ gem "yard-activesupport-concern", ">= 0.0.1"
21
+ gem "activesupport", "~> 7.1.0"
22
+
23
+ gemspec path: "../"
data/jabber_admin.gemspec CHANGED
@@ -31,25 +31,8 @@ Gem::Specification.new do |spec|
31
31
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
32
32
  spec.require_paths = ['lib']
33
33
 
34
- spec.required_ruby_version = '>= 2.5'
35
-
36
- spec.add_dependency 'activesupport', '>= 5.2'
37
- spec.add_dependency 'rest-client', '~> 2.1'
38
-
39
- spec.add_development_dependency 'appraisal', '~> 2.4'
40
- spec.add_development_dependency 'bundler', '~> 2.3'
41
- spec.add_development_dependency 'countless', '~> 1.1'
42
- spec.add_development_dependency 'guard-rspec', '~> 4.7'
43
- spec.add_development_dependency 'irb', '~> 1.2'
44
- spec.add_development_dependency 'railties', '>= 5.2'
45
- spec.add_development_dependency 'rake', '~> 13.0'
46
- spec.add_development_dependency 'rspec', '~> 3.12'
47
- spec.add_development_dependency 'rubocop', '~> 1.28'
48
- spec.add_development_dependency 'rubocop-rails', '~> 2.14'
49
- spec.add_development_dependency 'rubocop-rspec', '~> 2.10'
50
- spec.add_development_dependency 'simplecov', '>= 0.22'
51
- spec.add_development_dependency 'vcr', '~> 6.0'
52
- spec.add_development_dependency 'webmock', '~> 3.18'
53
- spec.add_development_dependency 'yard', '>= 0.9.28'
54
- spec.add_development_dependency 'yard-activesupport-concern', '>= 0.0.1'
34
+ spec.required_ruby_version = '>= 2.7'
35
+
36
+ spec.add_runtime_dependency 'activesupport', '>= 5.2'
37
+ spec.add_runtime_dependency 'rest-client', '~> 2.1'
55
38
  end
@@ -70,10 +70,10 @@ module JabberAdmin
70
70
  return val[keys.first] if keys.count == 1
71
71
 
72
72
  # When multiple keys are requested, we assemble a hash
73
- keys.map do |key|
73
+ keys.to_h do |key|
74
74
  res_key = key.is_a?(String) ? key.delete_suffix('[]') : key
75
75
  [res_key, val[key]]
76
- end.to_h
76
+ end
77
77
  end
78
78
  # rubocop:enable Metrics/MethodLength
79
79
  # rubocop:enable Metrics/AbcSize
@@ -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.3.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.3.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: 2024-07-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport
@@ -39,230 +39,6 @@ dependencies:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
41
  version: '2.1'
42
- - !ruby/object:Gem::Dependency
43
- name: appraisal
44
- requirement: !ruby/object:Gem::Requirement
45
- requirements:
46
- - - "~>"
47
- - !ruby/object:Gem::Version
48
- version: '2.4'
49
- type: :development
50
- prerelease: false
51
- version_requirements: !ruby/object:Gem::Requirement
52
- requirements:
53
- - - "~>"
54
- - !ruby/object:Gem::Version
55
- version: '2.4'
56
- - !ruby/object:Gem::Dependency
57
- name: bundler
58
- requirement: !ruby/object:Gem::Requirement
59
- requirements:
60
- - - "~>"
61
- - !ruby/object:Gem::Version
62
- version: '2.3'
63
- type: :development
64
- prerelease: false
65
- version_requirements: !ruby/object:Gem::Requirement
66
- requirements:
67
- - - "~>"
68
- - !ruby/object:Gem::Version
69
- version: '2.3'
70
- - !ruby/object:Gem::Dependency
71
- name: countless
72
- requirement: !ruby/object:Gem::Requirement
73
- requirements:
74
- - - "~>"
75
- - !ruby/object:Gem::Version
76
- version: '1.1'
77
- type: :development
78
- prerelease: false
79
- version_requirements: !ruby/object:Gem::Requirement
80
- requirements:
81
- - - "~>"
82
- - !ruby/object:Gem::Version
83
- version: '1.1'
84
- - !ruby/object:Gem::Dependency
85
- name: guard-rspec
86
- requirement: !ruby/object:Gem::Requirement
87
- requirements:
88
- - - "~>"
89
- - !ruby/object:Gem::Version
90
- version: '4.7'
91
- type: :development
92
- prerelease: false
93
- version_requirements: !ruby/object:Gem::Requirement
94
- requirements:
95
- - - "~>"
96
- - !ruby/object:Gem::Version
97
- version: '4.7'
98
- - !ruby/object:Gem::Dependency
99
- name: irb
100
- requirement: !ruby/object:Gem::Requirement
101
- requirements:
102
- - - "~>"
103
- - !ruby/object:Gem::Version
104
- version: '1.2'
105
- type: :development
106
- prerelease: false
107
- version_requirements: !ruby/object:Gem::Requirement
108
- requirements:
109
- - - "~>"
110
- - !ruby/object:Gem::Version
111
- version: '1.2'
112
- - !ruby/object:Gem::Dependency
113
- name: railties
114
- requirement: !ruby/object:Gem::Requirement
115
- requirements:
116
- - - ">="
117
- - !ruby/object:Gem::Version
118
- version: '5.2'
119
- type: :development
120
- prerelease: false
121
- version_requirements: !ruby/object:Gem::Requirement
122
- requirements:
123
- - - ">="
124
- - !ruby/object:Gem::Version
125
- version: '5.2'
126
- - !ruby/object:Gem::Dependency
127
- name: rake
128
- requirement: !ruby/object:Gem::Requirement
129
- requirements:
130
- - - "~>"
131
- - !ruby/object:Gem::Version
132
- version: '13.0'
133
- type: :development
134
- prerelease: false
135
- version_requirements: !ruby/object:Gem::Requirement
136
- requirements:
137
- - - "~>"
138
- - !ruby/object:Gem::Version
139
- version: '13.0'
140
- - !ruby/object:Gem::Dependency
141
- name: rspec
142
- requirement: !ruby/object:Gem::Requirement
143
- requirements:
144
- - - "~>"
145
- - !ruby/object:Gem::Version
146
- version: '3.12'
147
- type: :development
148
- prerelease: false
149
- version_requirements: !ruby/object:Gem::Requirement
150
- requirements:
151
- - - "~>"
152
- - !ruby/object:Gem::Version
153
- version: '3.12'
154
- - !ruby/object:Gem::Dependency
155
- name: rubocop
156
- requirement: !ruby/object:Gem::Requirement
157
- requirements:
158
- - - "~>"
159
- - !ruby/object:Gem::Version
160
- version: '1.28'
161
- type: :development
162
- prerelease: false
163
- version_requirements: !ruby/object:Gem::Requirement
164
- requirements:
165
- - - "~>"
166
- - !ruby/object:Gem::Version
167
- version: '1.28'
168
- - !ruby/object:Gem::Dependency
169
- name: rubocop-rails
170
- requirement: !ruby/object:Gem::Requirement
171
- requirements:
172
- - - "~>"
173
- - !ruby/object:Gem::Version
174
- version: '2.14'
175
- type: :development
176
- prerelease: false
177
- version_requirements: !ruby/object:Gem::Requirement
178
- requirements:
179
- - - "~>"
180
- - !ruby/object:Gem::Version
181
- version: '2.14'
182
- - !ruby/object:Gem::Dependency
183
- name: rubocop-rspec
184
- requirement: !ruby/object:Gem::Requirement
185
- requirements:
186
- - - "~>"
187
- - !ruby/object:Gem::Version
188
- version: '2.10'
189
- type: :development
190
- prerelease: false
191
- version_requirements: !ruby/object:Gem::Requirement
192
- requirements:
193
- - - "~>"
194
- - !ruby/object:Gem::Version
195
- version: '2.10'
196
- - !ruby/object:Gem::Dependency
197
- name: simplecov
198
- requirement: !ruby/object:Gem::Requirement
199
- requirements:
200
- - - ">="
201
- - !ruby/object:Gem::Version
202
- version: '0.22'
203
- type: :development
204
- prerelease: false
205
- version_requirements: !ruby/object:Gem::Requirement
206
- requirements:
207
- - - ">="
208
- - !ruby/object:Gem::Version
209
- version: '0.22'
210
- - !ruby/object:Gem::Dependency
211
- name: vcr
212
- requirement: !ruby/object:Gem::Requirement
213
- requirements:
214
- - - "~>"
215
- - !ruby/object:Gem::Version
216
- version: '6.0'
217
- type: :development
218
- prerelease: false
219
- version_requirements: !ruby/object:Gem::Requirement
220
- requirements:
221
- - - "~>"
222
- - !ruby/object:Gem::Version
223
- version: '6.0'
224
- - !ruby/object:Gem::Dependency
225
- name: webmock
226
- requirement: !ruby/object:Gem::Requirement
227
- requirements:
228
- - - "~>"
229
- - !ruby/object:Gem::Version
230
- version: '3.18'
231
- type: :development
232
- prerelease: false
233
- version_requirements: !ruby/object:Gem::Requirement
234
- requirements:
235
- - - "~>"
236
- - !ruby/object:Gem::Version
237
- version: '3.18'
238
- - !ruby/object:Gem::Dependency
239
- name: yard
240
- requirement: !ruby/object:Gem::Requirement
241
- requirements:
242
- - - ">="
243
- - !ruby/object:Gem::Version
244
- version: 0.9.28
245
- type: :development
246
- prerelease: false
247
- version_requirements: !ruby/object:Gem::Requirement
248
- requirements:
249
- - - ">="
250
- - !ruby/object:Gem::Version
251
- version: 0.9.28
252
- - !ruby/object:Gem::Dependency
253
- name: yard-activesupport-concern
254
- requirement: !ruby/object:Gem::Requirement
255
- requirements:
256
- - - ">="
257
- - !ruby/object:Gem::Version
258
- version: 0.0.1
259
- type: :development
260
- prerelease: false
261
- version_requirements: !ruby/object:Gem::Requirement
262
- requirements:
263
- - - ">="
264
- - !ruby/object:Gem::Version
265
- version: 0.0.1
266
42
  description: Library for the ejabberd RESTful admin API
267
43
  email:
268
44
  - hermann.mayer92@gmail.com
@@ -273,6 +49,7 @@ extra_rdoc_files: []
273
49
  files:
274
50
  - ".editorconfig"
275
51
  - ".github/workflows/documentation.yml"
52
+ - ".github/workflows/release.yml"
276
53
  - ".github/workflows/test.yml"
277
54
  - ".gitignore"
278
55
  - ".rspec"
@@ -281,6 +58,7 @@ files:
281
58
  - ".yardopts"
282
59
  - Appraisals
283
60
  - CHANGELOG.md
61
+ - CODE_OF_CONDUCT.md
284
62
  - Dockerfile
285
63
  - Envfile
286
64
  - Gemfile
@@ -298,6 +76,8 @@ files:
298
76
  - doc/assets/project.svg
299
77
  - docker-compose.yml
300
78
  - gemfiles/rails_5.2.gemfile
79
+ - gemfiles/rails_6.1.gemfile
80
+ - gemfiles/rails_7.1.gemfile
301
81
  - jabber_admin.gemspec
302
82
  - lib/jabber_admin.rb
303
83
  - lib/jabber_admin/api_call.rb
@@ -325,7 +105,7 @@ files:
325
105
  - lib/jabber_admin/configuration.rb
326
106
  - lib/jabber_admin/exceptions.rb
327
107
  - lib/jabber_admin/version.rb
328
- homepage:
108
+ homepage:
329
109
  licenses:
330
110
  - MIT
331
111
  metadata:
@@ -334,7 +114,7 @@ metadata:
334
114
  changelog_uri: https://github.com/hausgold/jabber_admin/blob/master/CHANGELOG.md
335
115
  bug_tracker_uri: https://github.com/hausgold/jabber_admin/issues
336
116
  documentation_uri: https://www.rubydoc.info/gems/jabber_admin
337
- post_install_message:
117
+ post_install_message:
338
118
  rdoc_options: []
339
119
  require_paths:
340
120
  - lib
@@ -342,15 +122,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
342
122
  requirements:
343
123
  - - ">="
344
124
  - !ruby/object:Gem::Version
345
- version: '2.5'
125
+ version: '2.7'
346
126
  required_rubygems_version: !ruby/object:Gem::Requirement
347
127
  requirements:
348
128
  - - ">="
349
129
  - !ruby/object:Gem::Version
350
130
  version: '0'
351
131
  requirements: []
352
- rubygems_version: 3.3.8
353
- signing_key:
132
+ rubygems_version: 3.3.26
133
+ signing_key:
354
134
  specification_version: 4
355
135
  summary: Library for the ejabberd RESTful admin API
356
136
  test_files: []