conversejs 4.2.0 → 4.4.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: 8b754d5cf758affc04bb419ffa44515b652ebb1bfdfcdd74bcbc0a297c88d637
4
- data.tar.gz: 0d6f71c2d2995fc628d460a65068296ea3ba4d6b11127c98f2394de50f22f456
3
+ metadata.gz: 00cb2bf0e0fc5cd6afd7647ab6bb24a6844c377c84693b964eaf418a698c06a9
4
+ data.tar.gz: 5bcbc35a8cb8800865b83fa8d5a833ecf9f0f5bdd053040f7093fb9605698a84
5
5
  SHA512:
6
- metadata.gz: dc66e2fb52aa68c358e4394df4a24f9101233f17e0bcd4e8c2f04035c70f89cd769f7f7a24646fbd15e0fc862dfb13582038f6400bcef791afd06ddfa2150416
7
- data.tar.gz: 76a7bfe0f6a252a996d2e9f2d9c19ddba1399eea734b40342872e6813538862b468bf5b40b3c57aecdc6f9df5f4598f8fd0b08a93bcecae730968eff174e3ee3
6
+ metadata.gz: 245b0a730cd7f810094fb47c63f71b37f4923b0cf6c4431ed86d232fcd4478f2285be07a773a1d291a4d562548898530f97c932f97034de0022777fe96f1f6d1
7
+ data.tar.gz: b412250c380a1a0f484dd2452be7f3a804e057f7e82173d94a23abf048b1f858fe8f54cc90c5e25511de8b2de7c1be21ee20e4051a8062a2f45ea4db758a4fde
@@ -15,26 +15,24 @@ concurrency:
15
15
  jobs:
16
16
  docs:
17
17
  name: Release the gem
18
- runs-on: ubuntu-22.04
18
+ runs-on: ubuntu-24.04
19
19
  timeout-minutes: 10
20
20
  steps:
21
- - uses: actions/checkout@v4
22
-
23
- - name: Install Ruby 3.2
24
- uses: ruby/setup-ruby@v1
25
- with:
26
- ruby-version: 3.2
27
- bundler-cache: true
28
- rubygems: '3.6.9'
29
-
30
- - name: Prepare the virtual environment
31
- uses: hausgold/actions/ci@master
21
+ - name: Prepare the environment
22
+ uses: hausgold/actions/ci@v2
32
23
  with:
33
24
  clone_token: '${{ secrets.CLONE_TOKEN }}'
34
25
  settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
35
26
  settings: '${{ github.repository }}'
36
27
  target: ci/gem-test
37
28
 
29
+ - name: Install Ruby 3.3
30
+ uses: ruby/setup-ruby@v1
31
+ with:
32
+ ruby-version: 3.3
33
+ bundler-cache: true
34
+ rubygems: '3.6.9'
35
+
38
36
  - name: Switch to SSH remotes for the Git repository
39
37
  run: git-ssh-remotes
40
38
 
@@ -13,17 +13,23 @@ concurrency:
13
13
  jobs:
14
14
  test:
15
15
  name: 'Test the gem (Ruby ${{ matrix.ruby }}, Rails ${{ matrix.rails }})'
16
- runs-on: ubuntu-22.04
16
+ runs-on: ubuntu-24.04
17
17
  timeout-minutes: 5
18
18
  strategy:
19
19
  fail-fast: false
20
20
  matrix:
21
- ruby: ['3.2', '3.3', '3.4']
22
- rails: ['7.1', '7.2', '8.0', '8.1']
21
+ ruby: ['3.3', '3.4', '4.0']
22
+ rails: ['7.2', '8.0', '8.1']
23
23
  env:
24
24
  BUNDLE_GEMFILE: 'gemfiles/rails_${{ matrix.rails }}.gemfile'
25
25
  steps:
26
- - uses: actions/checkout@v4
26
+ - name: Prepare the environment
27
+ uses: hausgold/actions/ci@v2
28
+ with:
29
+ clone_token: '${{ secrets.CLONE_TOKEN }}'
30
+ settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
31
+ settings: '${{ github.repository }}'
32
+ target: ci/gem-test
27
33
 
28
34
  - name: Install the correct Ruby version
29
35
  uses: ruby/setup-ruby@v1
@@ -32,14 +38,6 @@ jobs:
32
38
  bundler-cache: true
33
39
  rubygems: '3.6.9'
34
40
 
35
- - name: Prepare the virtual environment
36
- uses: hausgold/actions/ci@master
37
- with:
38
- clone_token: '${{ secrets.CLONE_TOKEN }}'
39
- settings_secret_key: '${{ secrets.SETTINGS_SECRET_KEY }}'
40
- settings: '${{ github.repository }}'
41
- target: ci/gem-test
42
-
43
41
  - name: Run the gem tests
44
42
  run: make test
45
43
 
data/.rubocop.yml CHANGED
@@ -2,6 +2,10 @@ inherit_from:
2
2
  - https://potpourri.hausgold.de/config/rubocop.yml
3
3
  - https://potpourri.hausgold.de/config/rubocop-gem.yml
4
4
 
5
+ inherit_mode:
6
+ merge:
7
+ - Exclude
8
+
5
9
  plugins:
6
10
  - rubocop-rspec
7
11
  - rubocop-rails
@@ -13,8 +17,8 @@ AllCops:
13
17
  NewCops: enable
14
18
  SuggestExtensions: false
15
19
  DisplayCopNames: true
16
- TargetRubyVersion: 3.2
17
- TargetRailsVersion: 7.1
20
+ TargetRubyVersion: 3.3
21
+ TargetRailsVersion: 7.2
18
22
  Exclude:
19
23
  - bin/**/*
20
24
  - vendor/**/*
data/Appraisals CHANGED
@@ -1,9 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'rails-7.1' do
4
- gem 'railties', '~> 7.1.0'
5
- end
6
-
7
3
  appraise 'rails-7.2' do
8
4
  gem 'railties', '~> 7.2.0'
9
5
  end
data/CHANGELOG.md CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  * TODO: Replace this bullet point with an actual description of a change.
4
4
 
5
+ ### 4.4.0 (7 January 2026)
6
+
7
+ * Upgraded to Ubuntu 24.04 on Github Actions ([#22](https://github.com/hausgold/conversejs/pull/22))
8
+ * Migrated to hausgold/actions@v2 ([#21](https://github.com/hausgold/conversejs/pull/21))
9
+
10
+ ### 4.3.0 (26 December 2025)
11
+
12
+ * Added Ruby 4.0 support ([#20](https://github.com/hausgold/conversejs/pull/20))
13
+ * Dropped Ruby 3.2 and Rails 7.1 support ([#19](https://github.com/hausgold/conversejs/pull/19))
14
+
5
15
  ### 4.2.0 (19 December 2025)
6
16
 
7
17
  * Migrated to a shared Rubocop configuration for HAUSGOLD gems ([#18](https://github.com/hausgold/conversejs/pull/18))
data/Dockerfile CHANGED
@@ -1,4 +1,4 @@
1
- FROM hausgold/ruby:3.2
1
+ FROM hausgold/ruby:3.3
2
2
  LABEL org.opencontainers.image.authors="containers@hausgold.de"
3
3
 
4
4
  # Update system gem
data/Gemfile CHANGED
@@ -9,7 +9,7 @@ gemspec
9
9
 
10
10
  # Development dependencies
11
11
  gem 'appraisal', '~> 2.4'
12
- gem 'bundler', '~> 2.6'
12
+ gem 'bundler', '>= 2.6', '< 5'
13
13
  gem 'countless', '~> 2.0'
14
14
  gem 'guard-rspec', '~> 4.7'
15
15
  gem 'rails', '>= 7.1'
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2025 HAUSGOLD | talocasa GmbH
3
+ Copyright (c) 2026 HAUSGOLD | talocasa GmbH
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/Makefile CHANGED
@@ -86,7 +86,8 @@ all:
86
86
  install:
87
87
  # Install the dependencies
88
88
  @$(MKDIR) -p $(VENDOR_DIR)
89
- @$(call run-shell,$(BUNDLE) check || $(BUNDLE) install --path $(VENDOR_DIR))
89
+ @$(call run-shell,$(BUNDLE) config set --local path '$(VENDOR_DIR)')
90
+ @$(call run-shell,$(BUNDLE) check || $(BUNDLE) install)
90
91
  @$(call run-shell,$(BUNDLE) exec $(APPRAISAL) install)
91
92
 
92
93
  update:
@@ -123,7 +124,7 @@ test-style: \
123
124
  test-style-ruby:
124
125
  # Run the static code analyzer (rubocop)
125
126
  @$(call run-shell,$(BUNDLE) exec $(RUBOCOP) -a \
126
- || ($(TEST) $$($(RUBY_VERSION)) != '3.2' && true))
127
+ || ($(TEST) $$($(RUBY_VERSION)) != '3.3' && true))
127
128
 
128
129
  clean:
129
130
  # Clean the dependencies
data/conversejs.gemspec CHANGED
@@ -31,11 +31,11 @@ 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 = '>= 3.2'
34
+ spec.required_ruby_version = '>= 3.3'
35
35
 
36
36
  spec.add_dependency 'bigdecimal', '~> 3.1'
37
37
  spec.add_dependency 'drb', '~> 2.2'
38
38
  spec.add_dependency 'mutex_m', '>= 0.3'
39
- spec.add_dependency 'railties', '>= 7.1'
39
+ spec.add_dependency 'railties', '>= 7.2'
40
40
  spec.add_dependency 'zeitwerk', '~> 2.6'
41
41
  end
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal", "~> 2.4"
6
- gem "bundler", "~> 2.6"
6
+ gem "bundler", ">= 2.6", "< 5"
7
7
  gem "countless", "~> 2.0"
8
8
  gem "guard-rspec", "~> 4.7"
9
9
  gem "rails", ">= 7.1"
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal", "~> 2.4"
6
- gem "bundler", "~> 2.6"
6
+ gem "bundler", ">= 2.6", "< 5"
7
7
  gem "countless", "~> 2.0"
8
8
  gem "guard-rspec", "~> 4.7"
9
9
  gem "rails", ">= 7.1"
@@ -3,7 +3,7 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "appraisal", "~> 2.4"
6
- gem "bundler", "~> 2.6"
6
+ gem "bundler", ">= 2.6", "< 5"
7
7
  gem "countless", "~> 2.0"
8
8
  gem "guard-rspec", "~> 4.7"
9
9
  gem "rails", ">= 7.1"
@@ -3,7 +3,7 @@
3
3
  # The gem version details.
4
4
  module Conversejs
5
5
  # The version of the +conversejs+ gem
6
- VERSION = '4.2.0'
6
+ VERSION = '4.4.0'
7
7
 
8
8
  class << self
9
9
  # Returns the version of gem as a string.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: conversejs
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.0
4
+ version: 4.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer
@@ -58,14 +58,14 @@ dependencies:
58
58
  requirements:
59
59
  - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: '7.1'
61
+ version: '7.2'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: '7.1'
68
+ version: '7.2'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: zeitwerk
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -114,8 +114,6 @@ files:
114
114
  - conversejs.gemspec
115
115
  - doc/assets/project.svg
116
116
  - docker-compose.yml
117
- - gemfiles/rails_6.1.gemfile
118
- - gemfiles/rails_7.1.gemfile
119
117
  - gemfiles/rails_7.2.gemfile
120
118
  - gemfiles/rails_8.0.gemfile
121
119
  - gemfiles/rails_8.1.gemfile
@@ -140,7 +138,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
140
138
  requirements:
141
139
  - - ">="
142
140
  - !ruby/object:Gem::Version
143
- version: '3.2'
141
+ version: '3.3'
144
142
  required_rubygems_version: !ruby/object:Gem::Requirement
145
143
  requirements:
146
144
  - - ">="
@@ -1,22 +0,0 @@
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 "rails", ">= 6.1"
10
- gem "rake", "~> 13.0"
11
- gem "rspec", "~> 3.12"
12
- gem "rspec-rails", "~> 5.1"
13
- gem "rubocop"
14
- gem "rubocop-rails"
15
- gem "rubocop-rspec"
16
- gem "simplecov", ">= 0.22"
17
- gem "sprockets-rails", "~> 3.5"
18
- gem "yard", ">= 0.9.28"
19
- gem "yard-activesupport-concern", ">= 0.0.1"
20
- gem "railties", "~> 6.1.0"
21
-
22
- gemspec path: "../"
@@ -1,22 +0,0 @@
1
- # This file was generated by Appraisal
2
-
3
- source "https://rubygems.org"
4
-
5
- gem "appraisal", "~> 2.4"
6
- gem "bundler", "~> 2.6"
7
- gem "countless", "~> 2.0"
8
- gem "guard-rspec", "~> 4.7"
9
- gem "rails", ">= 7.1"
10
- gem "rake", "~> 13.0"
11
- gem "rspec", "~> 3.12"
12
- gem "rspec-rails", "~> 5.1"
13
- gem "rubocop"
14
- gem "rubocop-rails"
15
- gem "rubocop-rspec"
16
- gem "simplecov", ">= 0.22"
17
- gem "sprockets-rails", "~> 3.5"
18
- gem "yard", ">= 0.9.28"
19
- gem "yard-activesupport-concern", ">= 0.0.1"
20
- gem "railties", "~> 7.1.0"
21
-
22
- gemspec path: "../"