factory_bot_instrumentation 2.2.0 → 2.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: 166d24c0a99e8dd9dca1a06a195cdc9c9a89d2ec4aca5eeb1978e8bc9168bbcb
4
- data.tar.gz: 8dbd9b962528fdb0f033a508dee1c63dbe4cd0eed0f564384bd74aad44e7a1c9
3
+ metadata.gz: 118fc3f94d2c60f7105a1aef04b9cc68175b319b12bda4d0739076dd75d31f20
4
+ data.tar.gz: 859ba274709bd81f7cd23fe162cef16a2a42cc3fa0f72d7b559e822df84c8b68
5
5
  SHA512:
6
- metadata.gz: ba0e5b5ca4302c6025ca5b0247aac5bdca259999e58954f6f8e3fcf32e0ed998848138a75c2ec665f6398b1e57f0e0355d51d030ee591321077457c55873ff60
7
- data.tar.gz: 63f212c7d2ef904b0bd82cac15a374a3c1f3f478c93dbf4ca6f157c0e2ad242da029011a353dba103788b826a29b1185938e3559fc441b37f1b71b8932e86659
6
+ metadata.gz: ba691d7febf95f3f85c8ca2b3bf2e5098863f679d64ed3b4fca96614f1fc088e311af7e7271cb541934fae636cfb349ec16b6d7242f903612750cffbef2ed634
7
+ data.tar.gz: 9465c4ca0672dd4e2474e2dc2319b2cae06bb58b5ffb2d51269879af1b48bb21c88d67e3ce6442f6e7d1560ceaac347b3ea50011140beb5668e06aad61df1fd3
@@ -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
@@ -13,8 +13,8 @@ AllCops:
13
13
  NewCops: enable
14
14
  SuggestExtensions: false
15
15
  DisplayCopNames: true
16
- TargetRubyVersion: 3.2
17
- TargetRailsVersion: 7.1
16
+ TargetRubyVersion: 3.3
17
+ TargetRailsVersion: 7.2
18
18
  Exclude:
19
19
  - bin/**/*
20
20
  - vendor/**/*
data/Appraisals CHANGED
@@ -1,9 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'rails-7.1' do
4
- gem 'rails', '~> 7.1.0'
5
- end
6
-
7
3
  appraise 'rails-7.2' do
8
4
  gem 'rails', '~> 7.2.0'
9
5
  end
data/CHANGELOG.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  * TODO: Replace this bullet point with an actual description of a change.
4
4
 
5
+ ### 2.3.0 (26 December 2025)
6
+
7
+ * Added Ruby 4.0 support ([#39](https://github.com/hausgold/factory_bot_instrumentation/pull/39))
8
+ * Dropped Ruby 3.2 and Rails 7.1 support ([#38](https://github.com/hausgold/factory_bot_instrumentation/pull/38))
9
+
5
10
  ### 2.2.0 (19 December 2025)
6
11
 
7
12
  * Migrated to a shared Rubocop configuration for HAUSGOLD gems ([#37](https://github.com/hausgold/factory_bot_instrumentation/pull/37))
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,11 +9,11 @@ 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.2'
14
14
  gem 'factory_bot_rails', '~> 6.2'
15
15
  gem 'guard-rspec', '~> 4.7'
16
- gem 'railties', '>= 7.1'
16
+ gem 'railties', '>= 7.2'
17
17
  gem 'rspec-rails', '~> 7.1'
18
18
  gem 'rubocop'
19
19
  gem 'rubocop-rails'
data/Makefile CHANGED
@@ -88,7 +88,8 @@ all:
88
88
  install:
89
89
  # Install the dependencies
90
90
  @$(MKDIR) -p $(VENDOR_DIR)
91
- @$(call run-shell,$(BUNDLE) check || $(BUNDLE) install --path $(VENDOR_DIR))
91
+ @$(call run-shell,$(BUNDLE) config set --local path '$(VENDOR_DIR)')
92
+ @$(call run-shell,$(BUNDLE) check || $(BUNDLE) install)
92
93
  @$(call run-shell,$(BUNDLE) exec $(APPRAISAL) install)
93
94
 
94
95
  update:
@@ -120,7 +121,7 @@ test-style: \
120
121
  test-style-ruby:
121
122
  # Run the static code analyzer (rubocop)
122
123
  @$(call run-shell,$(BUNDLE) exec $(RUBOCOP) -a \
123
- || ($(TEST) $$($(RUBY_VERSION)) != '3.2' && true))
124
+ || ($(TEST) $$($(RUBY_VERSION)) != '3.3' && true))
124
125
 
125
126
  clean:
126
127
  # Clean the dependencies
@@ -31,7 +31,7 @@ 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'
@@ -3,11 +3,11 @@
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.2"
8
8
  gem "factory_bot_rails", "~> 6.2"
9
9
  gem "guard-rspec", "~> 4.7"
10
- gem "railties", ">= 7.1"
10
+ gem "railties", ">= 7.2"
11
11
  gem "rspec-rails", "~> 7.1"
12
12
  gem "rubocop"
13
13
  gem "rubocop-rails"
@@ -3,11 +3,11 @@
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.2"
8
8
  gem "factory_bot_rails", "~> 6.2"
9
9
  gem "guard-rspec", "~> 4.7"
10
- gem "railties", ">= 7.1"
10
+ gem "railties", ">= 7.2"
11
11
  gem "rspec-rails", "~> 7.1"
12
12
  gem "rubocop"
13
13
  gem "rubocop-rails"
@@ -3,11 +3,11 @@
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.2"
8
8
  gem "factory_bot_rails", "~> 6.2"
9
9
  gem "guard-rspec", "~> 4.7"
10
- gem "railties", ">= 7.1"
10
+ gem "railties", ">= 7.2"
11
11
  gem "rspec-rails", "~> 7.1"
12
12
  gem "rubocop"
13
13
  gem "rubocop-rails"
@@ -4,7 +4,7 @@ module FactoryBot
4
4
  # The gem version details.
5
5
  module Instrumentation
6
6
  # The version of the +factory_bot_instrumentation+ gem
7
- VERSION = '2.2.0'
7
+ VERSION = '2.3.0'
8
8
 
9
9
  class << self
10
10
  # Returns the version of gem as a string.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factory_bot_instrumentation
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer
@@ -165,8 +165,6 @@ files:
165
165
  - doc/assets/regular.png
166
166
  - docker-compose.yml
167
167
  - factory_bot_instrumentation.gemspec
168
- - gemfiles/rails_6.1.gemfile
169
- - gemfiles/rails_7.1.gemfile
170
168
  - gemfiles/rails_7.2.gemfile
171
169
  - gemfiles/rails_8.0.gemfile
172
170
  - gemfiles/rails_8.1.gemfile
@@ -190,7 +188,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
190
188
  requirements:
191
189
  - - ">="
192
190
  - !ruby/object:Gem::Version
193
- version: '3.2'
191
+ version: '3.3'
194
192
  required_rubygems_version: !ruby/object:Gem::Requirement
195
193
  requirements:
196
194
  - - ">="
@@ -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 "factory_bot_rails", "~> 6.2"
9
- gem "guard-rspec", "~> 4.7"
10
- gem "railties", ">= 6.1"
11
- gem "rspec-rails", "~> 5.1"
12
- gem "rubocop"
13
- gem "rubocop-rails"
14
- gem "rubocop-rspec"
15
- gem "simplecov", ">= 0.22"
16
- gem "sqlite3", "~> 1.5"
17
- gem "timecop", ">= 0.9.6"
18
- gem "yard", ">= 0.9.28"
19
- gem "yard-activesupport-concern", ">= 0.0.1"
20
- gem "rails", "~> 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.2"
8
- gem "factory_bot_rails", "~> 6.2"
9
- gem "guard-rspec", "~> 4.7"
10
- gem "railties", ">= 7.1"
11
- gem "rspec-rails", "~> 7.1"
12
- gem "rubocop"
13
- gem "rubocop-rails"
14
- gem "rubocop-rspec"
15
- gem "simplecov", ">= 0.22"
16
- gem "sqlite3", "~> 2.7"
17
- gem "timecop", ">= 0.9.6"
18
- gem "yard", ">= 0.9.28"
19
- gem "yard-activesupport-concern", ">= 0.0.1"
20
- gem "rails", "~> 7.1.0"
21
-
22
- gemspec path: "../"