factory_bot_instrumentation 2.8.0 → 2.9.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: 34f93a962c222be8a01f0f232f447f20f030515c417525d4a9738c4a98f7c534
4
- data.tar.gz: dde124c7cf487fbf8dd5863a606f3d76b95e9879be5b0a2dc6ec1eb56cbf48e9
3
+ metadata.gz: 816705309be49f08f806e7c42795df561d37e3a4923d87456425f7c1d92984b4
4
+ data.tar.gz: f78e531c94adfeeda2e97f6aeb7f47e22930cf9b38c12fc71052c2680f24aee1
5
5
  SHA512:
6
- metadata.gz: e7f7820d29ba4f4f0a58620ae922d5e81c123fda95043cbe0ef88b48a1ba55a38d898b637f4620ba0625782acfab201ebe251d492744485d5eb394aa5c5fcc70
7
- data.tar.gz: fd60aeb4b353e3d54845f71723bb0892a522c799274af2be0978c2f4c26f1099bd72688566361eadff73fa2a8cd1f22c1906801494472fb29b3b9fb7e6702443
6
+ metadata.gz: 8ffec26066e0396cf9d61936e324c7103dd1353e684eb0ef073f9f3178e22f94ba9c6077f298b47140c007e9e8992e79550cc89903a7bc4c73ff6275e9bf19da
7
+ data.tar.gz: ffbb12feb2054cd33e2ff0fe48e2a4bbb58abc3d8ef4ba66f5c3568897977fec578efc5e5ba484300d8d27ce812f5c20c3b2a2fa4fa959fdec4cba5e8670f884
@@ -26,12 +26,12 @@ jobs:
26
26
  settings: '${{ github.repository }}'
27
27
  target: ci/gem-test
28
28
 
29
- - name: Install Ruby 3.3
29
+ - name: Install Ruby 4.0
30
30
  uses: ruby/setup-ruby@v1
31
31
  with:
32
- ruby-version: 3.3
32
+ ruby-version: 4.0
33
33
  bundler-cache: true
34
- rubygems: '3.7.2'
34
+ rubygems: '4.0.11'
35
35
 
36
36
  - name: Switch to SSH remotes for the Git repository
37
37
  run: git-ssh-remotes
@@ -18,8 +18,8 @@ jobs:
18
18
  strategy:
19
19
  fail-fast: false
20
20
  matrix:
21
- ruby: ['3.3', '3.4', '4.0']
22
- rails: ['8.0', '8.1']
21
+ ruby: ['4.0']
22
+ rails: ['8.1']
23
23
  env:
24
24
  BUNDLE_GEMFILE: 'gemfiles/rails_${{ matrix.rails }}.gemfile'
25
25
  steps:
@@ -36,7 +36,7 @@ jobs:
36
36
  with:
37
37
  ruby-version: ${{ matrix.ruby }}
38
38
  bundler-cache: true
39
- rubygems: '3.7.2'
39
+ rubygems: '4.0.11'
40
40
 
41
41
  - name: Run the gem tests
42
42
  run: make test
data/.rubocop.yml CHANGED
@@ -17,8 +17,8 @@ AllCops:
17
17
  NewCops: enable
18
18
  SuggestExtensions: false
19
19
  DisplayCopNames: true
20
- TargetRubyVersion: 3.3
21
- TargetRailsVersion: 8.0
20
+ TargetRubyVersion: 4.0
21
+ TargetRailsVersion: 8.1
22
22
  Exclude:
23
23
  - bin/**/*
24
24
  - vendor/**/*
data/Appraisals CHANGED
@@ -1,9 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'rails-8.0' do
4
- gem 'rails', '~> 8.0.0'
5
- end
6
-
7
3
  appraise 'rails-8.1' do
8
4
  gem 'rails', '~> 8.1.0'
9
5
  end
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  * TODO: Replace this bullet point with an actual description of a change.
4
4
 
5
+ ### 2.9.0 (4 May 2026)
6
+
7
+ * Dropped Ruby 3.x and Rails <8.1 support ([#45](https://github.com/hausgold/factory_bot_instrumentation/pull/45))
8
+
5
9
  ### 2.8.0 (18 February 2026)
6
10
 
7
11
  * Added gemspec dependencies for all loaded gems ([#44](https://github.com/hausgold/factory_bot_instrumentation/pull/44))
data/Dockerfile CHANGED
@@ -1,8 +1,8 @@
1
- FROM hausgold/ruby:3.3
1
+ FROM hausgold/ruby:4.0
2
2
  LABEL org.opencontainers.image.authors="containers@hausgold.de"
3
3
 
4
4
  # Update system gem
5
- RUN gem update --system '3.7.2'
5
+ RUN gem update --system '4.0.11'
6
6
 
7
7
  # Install system packages and the latest bundler
8
8
  RUN apt-get update -yqqq && \
@@ -11,7 +11,7 @@ RUN apt-get update -yqqq && \
11
11
  ca-certificates \
12
12
  bash-completion inotify-tools && \
13
13
  echo 'en_US.UTF-8 UTF-8' >> /etc/locale.gen && /usr/sbin/locale-gen && \
14
- gem install bundler -v '~> 2.7.2' --no-document --no-prerelease
14
+ gem install bundler -v '~> 4.0.11' --no-document --no-prerelease
15
15
 
16
16
  # Add new web user
17
17
  RUN mkdir /app && \
data/Gemfile CHANGED
@@ -13,7 +13,7 @@ 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', '>= 8.0'
16
+ gem 'railties', '>= 8.1'
17
17
  gem 'rspec-rails', '~> 7.1'
18
18
  gem 'rubocop'
19
19
  gem 'rubocop-rails'
data/Makefile CHANGED
@@ -121,7 +121,7 @@ test-style: \
121
121
  test-style-ruby:
122
122
  # Run the static code analyzer (rubocop)
123
123
  @$(call run-shell,$(BUNDLE) exec $(RUBOCOP) -a \
124
- || ($(TEST) $$($(RUBY_VERSION)) != '3.3' && true))
124
+ || ($(TEST) $$($(RUBY_VERSION)) != '4.0' && true))
125
125
 
126
126
  clean:
127
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.3'
34
+ spec.required_ruby_version = '>= 4.0'
35
35
 
36
36
  spec.add_dependency 'factory_bot', '~> 6.2'
37
37
  spec.add_dependency 'logger', '~> 1.7'
@@ -7,7 +7,7 @@ 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", ">= 8.0"
10
+ gem "railties", ">= 8.1"
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.8.0'
7
+ VERSION = '2.9.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.8.0
4
+ version: 2.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Hermann Mayer
@@ -137,7 +137,6 @@ files:
137
137
  - doc/assets/regular.png
138
138
  - docker-compose.yml
139
139
  - factory_bot_instrumentation.gemspec
140
- - gemfiles/rails_8.0.gemfile
141
140
  - gemfiles/rails_8.1.gemfile
142
141
  - lib/factory_bot/instrumentation.rb
143
142
  - lib/factory_bot/instrumentation/configuration.rb
@@ -159,14 +158,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
159
158
  requirements:
160
159
  - - ">="
161
160
  - !ruby/object:Gem::Version
162
- version: '3.3'
161
+ version: '4.0'
163
162
  required_rubygems_version: !ruby/object:Gem::Requirement
164
163
  requirements:
165
164
  - - ">="
166
165
  - !ruby/object:Gem::Version
167
166
  version: '0'
168
167
  requirements: []
169
- rubygems_version: 3.7.2
168
+ rubygems_version: 4.0.11
170
169
  specification_version: 4
171
170
  summary: Allow your testers to generate test data on demand
172
171
  test_files: []
@@ -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", "< 5"
7
- gem "countless", "~> 2.2"
8
- gem "factory_bot_rails", "~> 6.2"
9
- gem "guard-rspec", "~> 4.7"
10
- gem "railties", ">= 8.0"
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", "~> 8.0.0"
21
-
22
- gemspec path: "../"