factory_bot_instrumentation 2.7.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 +8 -0
- data/Dockerfile +3 -3
- data/Gemfile +1 -1
- data/Makefile +1 -1
- data/factory_bot_instrumentation.gemspec +2 -1
- data/gemfiles/rails_8.1.gemfile +1 -1
- data/lib/factory_bot/instrumentation/version.rb +1 -1
- metadata +17 -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,14 @@
|
|
|
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
|
+
|
|
9
|
+
### 2.8.0 (18 February 2026)
|
|
10
|
+
|
|
11
|
+
* Added gemspec dependencies for all loaded gems ([#44](https://github.com/hausgold/factory_bot_instrumentation/pull/44))
|
|
12
|
+
|
|
5
13
|
### 2.7.0 (18 February 2026)
|
|
6
14
|
|
|
7
15
|
* Dropped 3rd-level gem dependencies which are not directly used
|
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,9 +31,10 @@ 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
|
+
spec.add_dependency 'logger', '~> 1.7'
|
|
37
38
|
spec.add_dependency 'rails', '>= 8.0'
|
|
38
39
|
spec.add_dependency 'retries', '>= 0.0.5'
|
|
39
40
|
spec.add_dependency 'zeitwerk', '~> 2.6'
|
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
|
|
@@ -23,6 +23,20 @@ dependencies:
|
|
|
23
23
|
- - "~>"
|
|
24
24
|
- !ruby/object:Gem::Version
|
|
25
25
|
version: '6.2'
|
|
26
|
+
- !ruby/object:Gem::Dependency
|
|
27
|
+
name: logger
|
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
|
29
|
+
requirements:
|
|
30
|
+
- - "~>"
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: '1.7'
|
|
33
|
+
type: :runtime
|
|
34
|
+
prerelease: false
|
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '1.7'
|
|
26
40
|
- !ruby/object:Gem::Dependency
|
|
27
41
|
name: rails
|
|
28
42
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -123,7 +137,6 @@ files:
|
|
|
123
137
|
- doc/assets/regular.png
|
|
124
138
|
- docker-compose.yml
|
|
125
139
|
- factory_bot_instrumentation.gemspec
|
|
126
|
-
- gemfiles/rails_8.0.gemfile
|
|
127
140
|
- gemfiles/rails_8.1.gemfile
|
|
128
141
|
- lib/factory_bot/instrumentation.rb
|
|
129
142
|
- lib/factory_bot/instrumentation/configuration.rb
|
|
@@ -145,14 +158,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
145
158
|
requirements:
|
|
146
159
|
- - ">="
|
|
147
160
|
- !ruby/object:Gem::Version
|
|
148
|
-
version: '
|
|
161
|
+
version: '4.0'
|
|
149
162
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
150
163
|
requirements:
|
|
151
164
|
- - ">="
|
|
152
165
|
- !ruby/object:Gem::Version
|
|
153
166
|
version: '0'
|
|
154
167
|
requirements: []
|
|
155
|
-
rubygems_version:
|
|
168
|
+
rubygems_version: 4.0.11
|
|
156
169
|
specification_version: 4
|
|
157
170
|
summary: Allow your testers to generate test data on demand
|
|
158
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: "../"
|