conversejs 4.0.0 → 4.2.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: 354abc03ab846a50e9e7d7efce4bed2500d18acc18151b3bd4a71b00ccf9ba3b
4
- data.tar.gz: 1f3f7e6492ddeb0325cb8ef6a01f94719b647d6701f0ee8d74ed026a176713db
3
+ metadata.gz: 8b754d5cf758affc04bb419ffa44515b652ebb1bfdfcdd74bcbc0a297c88d637
4
+ data.tar.gz: 0d6f71c2d2995fc628d460a65068296ea3ba4d6b11127c98f2394de50f22f456
5
5
  SHA512:
6
- metadata.gz: 74d3f999ba847c2ae1e429c3d1bacf7524051601be0fd4a0378e270cfe8718e5dae83c72fb855c61302007c4dd4170294e6c1633e081228bd8135a253e025ead
7
- data.tar.gz: 713f19dad08f9a7e0a36a2c5b4a9d8ee7a61d3aea211734a6a852c18de6ac2a209f6334dc99d534fde53cc48cd46a9fa932352a9db993775cc432d0ec8acf375
6
+ metadata.gz: dc66e2fb52aa68c358e4394df4a24f9101233f17e0bcd4e8c2f04035c70f89cd769f7f7a24646fbd15e0fc862dfb13582038f6400bcef791afd06ddfa2150416
7
+ data.tar.gz: 76a7bfe0f6a252a996d2e9f2d9c19ddba1399eea734b40342872e6813538862b468bf5b40b3c57aecdc6f9df5f4598f8fd0b08a93bcecae730968eff174e3ee3
@@ -16,7 +16,7 @@ jobs:
16
16
  docs:
17
17
  name: Release the gem
18
18
  runs-on: ubuntu-22.04
19
- timeout-minutes: 5
19
+ timeout-minutes: 10
20
20
  steps:
21
21
  - uses: actions/checkout@v4
22
22
 
@@ -19,7 +19,7 @@ jobs:
19
19
  fail-fast: false
20
20
  matrix:
21
21
  ruby: ['3.2', '3.3', '3.4']
22
- rails: ['7.1', '7.2', '8.0']
22
+ rails: ['7.1', '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
16
  TargetRubyVersion: 3.2
16
- TargetRailsVersion: 6.1
17
+ TargetRailsVersion: 7.1
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
@@ -11,3 +11,7 @@ end
11
11
  appraise 'rails-8.0' do
12
12
  gem 'railties', '~> 8.0.0'
13
13
  end
14
+
15
+ appraise 'rails-8.1' do
16
+ gem 'railties', '~> 8.1.0'
17
+ end
data/CHANGELOG.md CHANGED
@@ -2,6 +2,14 @@
2
2
 
3
3
  * TODO: Replace this bullet point with an actual description of a change.
4
4
 
5
+ ### 4.2.0 (19 December 2025)
6
+
7
+ * Migrated to a shared Rubocop configuration for HAUSGOLD gems ([#18](https://github.com/hausgold/conversejs/pull/18))
8
+
9
+ ### 4.1.0 (24 October 2025)
10
+
11
+ * Added support for Rails 8.1 ([#17](https://github.com/hausgold/conversejs/pull/17))
12
+
5
13
  ### 4.0.0 (28 June 2025)
6
14
 
7
15
  * Corrected some RuboCop glitches ([#15](https://github.com/hausgold/conversejs/pull/15))
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/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/conversejs.gemspec CHANGED
@@ -35,7 +35,7 @@ Gem::Specification.new do |spec|
35
35
 
36
36
  spec.add_dependency 'bigdecimal', '~> 3.1'
37
37
  spec.add_dependency 'drb', '~> 2.2'
38
- spec.add_dependency 'mutex_m', '~> 0.3.0'
38
+ spec.add_dependency 'mutex_m', '>= 0.3'
39
39
  spec.add_dependency 'railties', '>= 7.1'
40
40
  spec.add_dependency 'zeitwerk', '~> 2.6'
41
41
  end
@@ -0,0 +1,22 @@
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", "~> 8.1.0"
21
+
22
+ gemspec path: "../"
@@ -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.0.0'
6
+ VERSION = '4.2.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.0.0
4
+ version: 4.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: mutex_m
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 0.3.0
47
+ version: '0.3'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 0.3.0
54
+ version: '0.3'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: railties
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -118,6 +118,7 @@ files:
118
118
  - gemfiles/rails_7.1.gemfile
119
119
  - gemfiles/rails_7.2.gemfile
120
120
  - gemfiles/rails_8.0.gemfile
121
+ - gemfiles/rails_8.1.gemfile
121
122
  - lib/conversejs.rb
122
123
  - lib/conversejs/engine.rb
123
124
  - lib/conversejs/version.rb