conversejs 4.1.0 → 4.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: bd2676df8bc67c797634bc9ce76eca0cbf77d37275a90b6adc609132abe34609
4
- data.tar.gz: 52b102fa9c30dbcda56e1d113671a949f796d5915c2d562d75bb3aed15d1651f
3
+ metadata.gz: 6bf5c1d17b6c733352b6a5293467bef546e512a2cd8fda466ccd91ca8cbdc7ca
4
+ data.tar.gz: e8942c2633b8e505bf2838aec3d50f73e89eda7f40a49a3dda7ad891fab0dc53
5
5
  SHA512:
6
- metadata.gz: e9d55b1b3e6c0961365a542e9f33982fe8dd190c986aa579a98ec3bf13074f6b3ca284673bd86ee1fbc71be17bf9870e309effffdfeba81c139b538ad49f621b
7
- data.tar.gz: 2065ac4c24ad40b13f2c9726973deb095c591a20421d0be94c0cc1c894e218fe3bf7d3dac927d2370b1e615ae39c4152d1ed014a040ea7b439b0008b8d1198e4
6
+ metadata.gz: 611acd6be599672f4d043b6225eb7050aa7da7d72e2f285586600b59cc44604ec9ac91adf2c59eceae0c4c397ba6b577a5137d06399ae783a266be67b339181f
7
+ data.tar.gz: b4408740c6db7bb1d382078d24ea78d63b7013d51a8a20658247d7cfa007b6e841a96e590e9d20e074a317ff8f4f705be579b7747c10b033cb5803b9294834a3
@@ -20,10 +20,10 @@ jobs:
20
20
  steps:
21
21
  - uses: actions/checkout@v4
22
22
 
23
- - name: Install Ruby 3.2
23
+ - name: Install Ruby 3.3
24
24
  uses: ruby/setup-ruby@v1
25
25
  with:
26
- ruby-version: 3.2
26
+ ruby-version: 3.3
27
27
  bundler-cache: true
28
28
  rubygems: '3.6.9'
29
29
 
@@ -18,8 +18,8 @@ jobs:
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:
data/.rubocop.yml CHANGED
@@ -1,3 +1,7 @@
1
+ inherit_from:
2
+ - https://potpourri.hausgold.de/config/rubocop.yml
3
+ - https://potpourri.hausgold.de/config/rubocop-gem.yml
4
+
1
5
  plugins:
2
6
  - rubocop-rspec
3
7
  - rubocop-rails
@@ -5,15 +9,12 @@ plugins:
5
9
  Rails:
6
10
  Enabled: true
7
11
 
8
- Style/Documentation:
9
- Enabled: true
10
-
11
12
  AllCops:
12
13
  NewCops: enable
13
14
  SuggestExtensions: false
14
15
  DisplayCopNames: true
15
- TargetRubyVersion: 3.2
16
- TargetRailsVersion: 7.1
16
+ TargetRubyVersion: 3.3
17
+ TargetRailsVersion: 7.2
17
18
  Exclude:
18
19
  - bin/**/*
19
20
  - vendor/**/*
@@ -21,43 +22,12 @@ AllCops:
21
22
  - gemfiles/**/*
22
23
  - spec/dummy/**/*
23
24
 
24
- Metrics/BlockLength:
25
- Exclude:
26
- - Rakefile
27
- - '*.gemspec'
28
- - spec/**/*.rb
29
- - '**/*.rake'
30
- - doc/**/*.rb
31
-
32
- # MFA is not yet enabled for our gems yet.
33
- Gemspec/RequireMFA:
34
- Enabled: false
35
-
36
- # We stay with the original Ruby Style Guide recommendation.
37
- Layout/LineLength:
38
- Max: 80
39
-
40
- # Document all the things.
41
- Style/DocumentationMethod:
42
- Enabled: true
43
- RequireForNonPublicMethods: true
44
-
45
25
  # It's a deliberate idiom in RSpec.
46
26
  # See: https://github.com/bbatsov/rubocop/issues/4222
47
27
  Lint/AmbiguousBlockAssociation:
48
28
  Exclude:
49
29
  - "spec/**/*"
50
30
 
51
- # Because +expect_any_instance_of().to have_received()+ is not
52
- # supported with the +with(hash_including)+ matchers
53
- RSpec/MessageSpies:
54
- EnforcedStyle: receive
55
-
56
- # Because nesting makes sense here to group the feature tests
57
- # more effective. This increases maintainability.
58
- RSpec/NestedGroups:
59
- Max: 4
60
-
61
31
  # Disable regular Rails spec paths.
62
32
  Rails/FilePath:
63
33
  Enabled: false
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,15 @@
2
2
 
3
3
  * TODO: Replace this bullet point with an actual description of a change.
4
4
 
5
+ ### 4.3.0 (26 December 2025)
6
+
7
+ * Added Ruby 4.0 support ([#20](https://github.com/hausgold/conversejs/pull/20))
8
+ * Dropped Ruby 3.2 and Rails 7.1 support ([#19](https://github.com/hausgold/conversejs/pull/19))
9
+
10
+ ### 4.2.0 (19 December 2025)
11
+
12
+ * Migrated to a shared Rubocop configuration for HAUSGOLD gems ([#18](https://github.com/hausgold/conversejs/pull/18))
13
+
5
14
  ### 4.1.0 (24 October 2025)
6
15
 
7
16
  * Added support for Rails 8.1 ([#17](https://github.com/hausgold/conversejs/pull/17))
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/Envfile CHANGED
@@ -1,3 +1,4 @@
1
1
  LANG=en_US.UTF-8
2
2
  LANGUAGE=en_US.UTF-8
3
3
  LC_ALL=en_US.UTF-8
4
+ RUBOCOP_CACHE_ROOT=/app/tmp
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) 2023 HAUSGOLD | talocasa GmbH
3
+ Copyright (c) 2025 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.1.0'
6
+ VERSION = '4.3.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.1.0
4
+ version: 4.3.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: "../"