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 +4 -4
- data/.github/workflows/release.yml +3 -3
- data/.github/workflows/test.yml +3 -3
- data/.rubocop.yml +2 -2
- data/Appraisals +0 -4
- data/CHANGELOG.md +4 -0
- data/Dockerfile +3 -3
- data/Gemfile +1 -1
- data/Makefile +1 -1
- data/factory_bot_instrumentation.gemspec +1 -1
- data/gemfiles/rails_8.1.gemfile +1 -1
- data/lib/factory_bot/instrumentation/version.rb +1 -1
- metadata +3 -4
- data/gemfiles/rails_8.0.gemfile +0 -22
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 816705309be49f08f806e7c42795df561d37e3a4923d87456425f7c1d92984b4
|
|
4
|
+
data.tar.gz: f78e531c94adfeeda2e97f6aeb7f47e22930cf9b38c12fc71052c2680f24aee1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
29
|
+
- name: Install Ruby 4.0
|
|
30
30
|
uses: ruby/setup-ruby@v1
|
|
31
31
|
with:
|
|
32
|
-
ruby-version:
|
|
32
|
+
ruby-version: 4.0
|
|
33
33
|
bundler-cache: true
|
|
34
|
-
rubygems: '
|
|
34
|
+
rubygems: '4.0.11'
|
|
35
35
|
|
|
36
36
|
- name: Switch to SSH remotes for the Git repository
|
|
37
37
|
run: git-ssh-remotes
|
data/.github/workflows/test.yml
CHANGED
|
@@ -18,8 +18,8 @@ jobs:
|
|
|
18
18
|
strategy:
|
|
19
19
|
fail-fast: false
|
|
20
20
|
matrix:
|
|
21
|
-
ruby: ['
|
|
22
|
-
rails: ['8.
|
|
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: '
|
|
39
|
+
rubygems: '4.0.11'
|
|
40
40
|
|
|
41
41
|
- name: Run the gem tests
|
|
42
42
|
run: make test
|
data/.rubocop.yml
CHANGED
data/Appraisals
CHANGED
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:
|
|
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 '
|
|
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 '~>
|
|
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
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)) != '
|
|
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 = '>=
|
|
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'
|
data/gemfiles/rails_8.1.gemfile
CHANGED
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.
|
|
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: '
|
|
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:
|
|
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: []
|
data/gemfiles/rails_8.0.gemfile
DELETED
|
@@ -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: "../"
|