factory_bot_instrumentation 1.6.1 → 1.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test.yml +1 -1
- data/CHANGELOG.md +29 -25
- data/factory_bot_instrumentation.gemspec +3 -0
- data/lib/factory_bot/instrumentation/version.rb +1 -1
- metadata +45 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f00d4696139bd144929d6436aefe444aa2112263991f0e6d93f593a1cc32358a
|
4
|
+
data.tar.gz: ba496708936915558fce59661e450d5eb9ca4e3813d1e7a033feffd2c0d8095a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4744a6aaae18eded8711d6ad911f76243fb1006a469d353dd1cd0b175a9a99a7e443bbb8a9556226fb3c65ed95d0a5b347cf1a7e4774897883fbc5eb1cb9eeb3
|
7
|
+
data.tar.gz: 5c0f8fb781f036288892150a67547c26b0d00a993d2d98291e712a17c1c373193322948a286d6a998b3b25806e563f3eabd24d7ef6da25600acad654803885f6
|
data/.github/workflows/test.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -2,38 +2,42 @@
|
|
2
2
|
|
3
3
|
* TODO: Replace this bullet point with an actual description of a change.
|
4
4
|
|
5
|
+
### 1.7.0 (30 January 2025)
|
6
|
+
|
7
|
+
* Added all versions up to Ruby 3.4 to the CI matrix ([#29](https://github.com/hausgold/factory_bot_instrumentation/pull/29))
|
8
|
+
|
5
9
|
### 1.6.1 (17 January 2025)
|
6
10
|
|
7
|
-
* Added the logger dependency (#28)
|
11
|
+
* Added the logger dependency ([#28](https://github.com/hausgold/factory_bot_instrumentation/pull/28))
|
8
12
|
|
9
13
|
### 1.6.0 (12 January 2025)
|
10
14
|
|
11
|
-
* Switched to Zeitwerk as autoloader (#27)
|
15
|
+
* Switched to Zeitwerk as autoloader ([#27](https://github.com/hausgold/factory_bot_instrumentation/pull/27))
|
12
16
|
|
13
17
|
### 1.5.1 (9 January 2025)
|
14
18
|
|
15
19
|
* Sometimes the classic Rails autoloader is confused our engines
|
16
20
|
`RootController` does not inherit our engines `ApplicationController`, but
|
17
|
-
the one from host application, so we specify our dependency explicitly (#26)
|
21
|
+
the one from host application, so we specify our dependency explicitly ([#26](https://github.com/hausgold/factory_bot_instrumentation/pull/26))
|
18
22
|
|
19
23
|
### 1.5.0 (7 January 2025)
|
20
24
|
|
21
25
|
* Switched from `ActionController::API` to `ActionController::Base` for the
|
22
|
-
engine's `ApplicationController` (#25)
|
26
|
+
engine's `ApplicationController` ([#25](https://github.com/hausgold/factory_bot_instrumentation/pull/25))
|
23
27
|
|
24
28
|
### 1.4.1 (6 January 2025)
|
25
29
|
|
26
|
-
* Reverted (#23) as it causes errors for unknown reasons (#24)
|
30
|
+
* Reverted (#23) as it causes errors for unknown reasons ([#24](https://github.com/hausgold/factory_bot_instrumentation/pull/24))
|
27
31
|
|
28
32
|
### 1.4.0 (6 January 2025)
|
29
33
|
|
30
34
|
* Moved the instrumentation methods (`#instrumentation`, `#scenarios`,
|
31
35
|
`#groups`, `#scenario_group`) from the `RootController` to the
|
32
|
-
`ApplicationController` (#23)
|
36
|
+
`ApplicationController` ([#23](https://github.com/hausgold/factory_bot_instrumentation/pull/23))
|
33
37
|
|
34
38
|
### 1.3.0 (3 January 2025)
|
35
39
|
|
36
|
-
* Raised minimum supported Ruby/Rails version to 2.7/6.1 (#22)
|
40
|
+
* Raised minimum supported Ruby/Rails version to 2.7/6.1 ([#22](https://github.com/hausgold/factory_bot_instrumentation/pull/22))
|
37
41
|
|
38
42
|
### 1.2.4 (15 August 2024)
|
39
43
|
|
@@ -49,30 +53,30 @@
|
|
49
53
|
|
50
54
|
### 1.2.1 (9 August 2024)
|
51
55
|
|
52
|
-
* Added API docs building to continuous integration (#21)
|
56
|
+
* Added API docs building to continuous integration ([#21](https://github.com/hausgold/factory_bot_instrumentation/pull/21))
|
53
57
|
|
54
58
|
### 1.2.0 (8 July 2024)
|
55
59
|
|
56
|
-
* Dropped support for Ruby <2.7 (#20)
|
60
|
+
* Dropped support for Ruby <2.7 ([#20](https://github.com/hausgold/factory_bot_instrumentation/pull/20))
|
57
61
|
|
58
62
|
### 1.1.5 (18 February 2024)
|
59
63
|
|
60
|
-
* Added fallbacks for configuration processing (#19)
|
64
|
+
* Added fallbacks for configuration processing ([#19](https://github.com/hausgold/factory_bot_instrumentation/pull/19))
|
61
65
|
|
62
66
|
### 1.1.4 (5 January 2024)
|
63
67
|
|
64
|
-
* Pinned factory_bot down to < 6.4.5 in order to support Ruby 2.5 (#18)
|
65
|
-
* Added handling to support Psych 4 and 5 (#18)
|
68
|
+
* Pinned factory_bot down to < 6.4.5 in order to support Ruby 2.5 ([#18](https://github.com/hausgold/factory_bot_instrumentation/pull/18))
|
69
|
+
* Added handling to support Psych 4 and 5 ([#18](https://github.com/hausgold/factory_bot_instrumentation/pull/18))
|
66
70
|
|
67
71
|
### 1.1.3 (18 December 2023)
|
68
72
|
|
69
|
-
* Corrected the fallback view path configuration (#17)
|
73
|
+
* Corrected the fallback view path configuration ([#17](https://github.com/hausgold/factory_bot_instrumentation/pull/17))
|
70
74
|
|
71
75
|
### 1.1.2 (18 December 2023)
|
72
76
|
|
73
|
-
* Moved the development dependencies from the gemspec to the Gemfile (#15)
|
77
|
+
* Moved the development dependencies from the gemspec to the Gemfile ([#15](https://github.com/hausgold/factory_bot_instrumentation/pull/15))
|
74
78
|
* Added a fallback view path handling in case an Rails application cannot
|
75
|
-
find our engine templates correctly (#16)
|
79
|
+
find our engine templates correctly ([#16](https://github.com/hausgold/factory_bot_instrumentation/pull/16))
|
76
80
|
|
77
81
|
### 1.1.1 (24 February 2023)
|
78
82
|
|
@@ -86,20 +90,20 @@
|
|
86
90
|
|
87
91
|
* When used in combination with the `factory_bot_rails` gem (>= 6.0) we do not
|
88
92
|
force a `FactoryBot.reload` at Rails engine initialization as it breaks with
|
89
|
-
an `FactoryBot::DuplicateDefinitionError` (#14)
|
93
|
+
an `FactoryBot::DuplicateDefinitionError` ([#14](https://github.com/hausgold/factory_bot_instrumentation/pull/14))
|
90
94
|
|
91
95
|
### 1.0.1 (15 February 2023)
|
92
96
|
|
93
97
|
* Added a retry logic to the FactoryBot reloading on the POST/create endpoint
|
94
|
-
in order to handle parallel requests properly (#13)
|
98
|
+
in order to handle parallel requests properly ([#13](https://github.com/hausgold/factory_bot_instrumentation/pull/13))
|
95
99
|
|
96
100
|
### 1.0.0 (18 January 2023)
|
97
101
|
|
98
|
-
* Bundler >= 2.3 is from now on required as minimal version (#12)
|
99
|
-
* Dropped support for Ruby < 2.5 (#12)
|
100
|
-
* Dropped support for Rails < 5.2 (#12)
|
102
|
+
* Bundler >= 2.3 is from now on required as minimal version ([#12](https://github.com/hausgold/factory_bot_instrumentation/pull/12))
|
103
|
+
* Dropped support for Ruby < 2.5 ([#12](https://github.com/hausgold/factory_bot_instrumentation/pull/12))
|
104
|
+
* Dropped support for Rails < 5.2 ([#12](https://github.com/hausgold/factory_bot_instrumentation/pull/12))
|
101
105
|
* Updated all development/runtime gems to their latest
|
102
|
-
Ruby 2.5 compatible version (#12)
|
106
|
+
Ruby 2.5 compatible version ([#12](https://github.com/hausgold/factory_bot_instrumentation/pull/12))
|
103
107
|
|
104
108
|
### 0.8.0 (10 December 2021)
|
105
109
|
|
@@ -118,19 +122,19 @@
|
|
118
122
|
### 0.6.0 (21 September 2020)
|
119
123
|
|
120
124
|
* Added support for custom error handling and improved the default error
|
121
|
-
handling on FactoryBot usage (#9)
|
125
|
+
handling on FactoryBot usage ([#9](https://github.com/hausgold/factory_bot_instrumentation/pull/9))
|
122
126
|
|
123
127
|
### 0.5.1 (12 May 2020)
|
124
128
|
|
125
|
-
* Corrected a bug on the scenario description update (#8)
|
129
|
+
* Corrected a bug on the scenario description update ([#8](https://github.com/hausgold/factory_bot_instrumentation/pull/8))
|
126
130
|
|
127
131
|
### 0.5.0 (20 January 2020)
|
128
132
|
|
129
|
-
* Added support for custom before action logics (#7)
|
133
|
+
* Added support for custom before action logics ([#7](https://github.com/hausgold/factory_bot_instrumentation/pull/7))
|
130
134
|
|
131
135
|
### 0.4.0 (9 December 2019)
|
132
136
|
|
133
|
-
* Added support for configurable rendering (#6)
|
137
|
+
* Added support for configurable rendering ([#6](https://github.com/hausgold/factory_bot_instrumentation/pull/6))
|
134
138
|
|
135
139
|
### 0.3.0 (15 July 2019)
|
136
140
|
|
@@ -33,7 +33,10 @@ Gem::Specification.new do |spec|
|
|
33
33
|
|
34
34
|
spec.required_ruby_version = '>= 2.7'
|
35
35
|
|
36
|
+
spec.add_dependency 'bigdecimal', '~> 3.1'
|
37
|
+
spec.add_dependency 'drb', '~> 2.2'
|
36
38
|
spec.add_dependency 'factory_bot', '~> 6.2'
|
39
|
+
spec.add_dependency 'mutex_m', '~> 0.3.0'
|
37
40
|
spec.add_dependency 'rails', '>= 6.1'
|
38
41
|
spec.add_dependency 'retries', '>= 0.0.5'
|
39
42
|
spec.add_dependency 'zeitwerk', '~> 2.6'
|
metadata
CHANGED
@@ -1,15 +1,43 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: factory_bot_instrumentation
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Hermann Mayer
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: bigdecimal
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.1'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.1'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: drb
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '2.2'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '2.2'
|
13
41
|
- !ruby/object:Gem::Dependency
|
14
42
|
name: factory_bot
|
15
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -24,6 +52,20 @@ dependencies:
|
|
24
52
|
- - "~>"
|
25
53
|
- !ruby/object:Gem::Version
|
26
54
|
version: '6.2'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: mutex_m
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: 0.3.0
|
62
|
+
type: :runtime
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: 0.3.0
|
27
69
|
- !ruby/object:Gem::Dependency
|
28
70
|
name: rails
|
29
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -155,7 +197,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
197
|
- !ruby/object:Gem::Version
|
156
198
|
version: '0'
|
157
199
|
requirements: []
|
158
|
-
rubygems_version: 3.
|
200
|
+
rubygems_version: 3.4.22
|
159
201
|
signing_key:
|
160
202
|
specification_version: 4
|
161
203
|
summary: Allow your testers to generate test data on demand
|