Skip to content

Commit 56bebfb

Browse files
authored
Merge pull request #10 from nomtek/release/1.4.0
Release version 1.4.0
2 parents e5a4744 + 66d71be commit 56bebfb

14 files changed

Lines changed: 308 additions & 197 deletions

File tree

.github/workflows/main.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ jobs:
66
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
9+
- uses: actions/checkout@v4
1010
- name: Set up Ruby
1111
uses: ruby/setup-ruby@v1
1212
with:
13-
ruby-version: 3.0.1
13+
ruby-version: 3.2.2
14+
bundler: 4.0.4
1415
- name: Bundle gems
15-
run: |
16-
gem install bundler -v 2.2.15
17-
bundle install
16+
run: bundle install
1817
- name: Run rspec
19-
run: |
20-
bundle exec rspec
18+
run: bundle exec rspec
19+
- name: Run rubocop
20+
run: bundle exec rubocop

.rubocop.yml

Lines changed: 38 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
AllCops:
2-
TargetRubyVersion: 3.0.1
2+
TargetRubyVersion: 3.2
3+
NewCops: enable
4+
SuggestExtensions: false
5+
Exclude:
6+
- "README.md"
37

48
Style/StringLiterals:
59
Enabled: true
@@ -11,3 +15,36 @@ Style/StringLiteralsInInterpolation:
1115

1216
Layout/LineLength:
1317
Max: 120
18+
19+
Metrics/BlockLength:
20+
Exclude:
21+
- "spec/**/*_spec.rb"
22+
23+
Metrics/MethodLength:
24+
Exclude:
25+
- "lib/rspec/json_api/compare_hash.rb"
26+
- "lib/extensions/hash.rb"
27+
28+
Metrics/AbcSize:
29+
Exclude:
30+
- "lib/rspec/json_api/compare_hash.rb"
31+
- "lib/rspec/json_api/matchers/match_json_schema.rb"
32+
33+
Metrics/CyclomaticComplexity:
34+
Exclude:
35+
- "lib/rspec/json_api/compare_hash.rb"
36+
37+
Metrics/PerceivedComplexity:
38+
Exclude:
39+
- "lib/rspec/json_api/compare_hash.rb"
40+
41+
Style/Documentation:
42+
Enabled: false
43+
44+
Naming/PredicatePrefix:
45+
Exclude:
46+
- "lib/rspec/json_api/matchers.rb"
47+
48+
Naming/PredicateMethod:
49+
Exclude:
50+
- "lib/rspec/json_api/compare_hash.rb"

CHANGELOG.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,28 @@
11
## [Unreleased]
22

3+
## [1.4.0] - 2026-01-23
4+
5+
### Changed
6+
- Updated Ruby version requirement from `>= 3.0.0` to `>= 3.2.0` (required for Rails 8.1 compatibility)
7+
- Maintained Rails compatibility: supports Rails `>= 6.1.4.1` including Rails 8.1
8+
- Maintained ActiveSupport compatibility: supports ActiveSupport `>= 6.1.4.1` including Rails 8.1
9+
- Maintained RSpec Rails compatibility: supports RSpec Rails `>= 5.0.2` (tested with Rails 8.1)
10+
- Updated Bundler from 2.2.19 to 4.0.4 (latest version as of January 2026)
11+
- Updated RuboCop to `~> 1.65` and updated TargetRubyVersion to 3.2
12+
- Updated Rake to `~> 13.2`
13+
- Updated Diffy to `~> 3.4`
14+
- Updated all transitive dependencies to latest compatible versions
15+
- Verified compatibility with Rails 8.1.2 while maintaining support for older Rails versions
16+
- Added `rubygems_mfa_required` metadata for enhanced security
17+
- Updated GitHub Actions CI workflow to use Ruby 3.2.2 and Bundler 4.0.4
18+
19+
### Fixed
20+
- Fixed RuboCop style violations (trailing commas, empty literals, symbol proc usage)
21+
- Fixed module function style (changed `extend self` to `module_function`)
22+
- Fixed line endings in Gemfile (CRLF to LF)
23+
- Fixed CI workflow bundler version mismatch
24+
- Fixed README typos and improved code examples consistency
25+
326
## [0.1.0] - 2021-08-24
427

528
- Initial release

Gemfile

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
# frozen_string_literal: true
22

3+
# Bundler version: 4.0.4 (see Gemfile.lock BUNDLED WITH section)
34
source "https://rubygems.org"
45
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
56

67
# Specify your gem's dependencies in rspec-json_api.gemspec
78
gemspec
89

9-
gem "activesupport", "~> 6.1", ">= 6.1.4.1"
10-
gem "diffy"
11-
gem "rake", "~> 13.0", ">= 13.0.6"
12-
gem "rspec-rails", "~> 5.0", ">= 5.0.2"
13-
gem "rubocop"
10+
gem "activesupport", ">= 6.1.4.1"
11+
gem "diffy", "~> 3.4"
12+
gem "rake", "~> 13.2"
13+
gem "rspec-rails", ">= 5.0.2"
14+
gem "rubocop", "~> 1.65"

0 commit comments

Comments
 (0)