factory_bot_instrumentation 1.2.3 → 1.3.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 +2 -2
- data/.rubocop.yml +1 -1
- data/.yardopts +2 -1
- data/Appraisals +0 -4
- data/CHANGELOG.md +31 -23
- data/Gemfile +1 -1
- data/factory_bot_instrumentation.gemspec +3 -5
- data/gemfiles/rails_6.1.gemfile +1 -1
- data/gemfiles/rails_7.1.gemfile +1 -1
- data/lib/factory_bot/instrumentation/version.rb +1 -1
- metadata +4 -11
- data/gemfiles/rails_5.2.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: f20a85c36ecf45c108f2a5a8e95d2b31a1cd9d6d2b0b6e25215d813eca64b2bb
|
4
|
+
data.tar.gz: 580b377842ccfb58d4c2285730eada5492f8c6bc9f973e9cb5548cdd3dbadc17
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a2558f36f7ac6008f7d3daa7a542ab968efc28f78cad5780310a2e26dceff9715162766eb3ac956503988e8ca3c817f25c8a679c182fc9c1944f4b5b81293611
|
7
|
+
data.tar.gz: 12580bfe12910573ab0bf0f3a26dcabe4ad47dde6e8bb481bab04da2d943fda2c9df70fc416651442b84a1a4b4f87ab1bc41eb077df88ef90f3e0b83a9788b8f
|
data/.github/workflows/test.yml
CHANGED
data/.rubocop.yml
CHANGED
data/.yardopts
CHANGED
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
@@ -2,61 +2,69 @@
|
|
2
2
|
|
3
3
|
* TODO: Replace this bullet point with an actual description of a change.
|
4
4
|
|
5
|
-
### 1.
|
5
|
+
### 1.3.0 (3 January 2025)
|
6
|
+
|
7
|
+
* Raised minimum supported Ruby/Rails version to 2.7/6.1 (#22)
|
8
|
+
|
9
|
+
### 1.2.4 (15 August 2024)
|
10
|
+
|
11
|
+
* Just a retag of 1.2.1
|
12
|
+
|
13
|
+
### 1.2.3 (15 August 2024)
|
6
14
|
|
7
15
|
* Just a retag of 1.2.1
|
8
16
|
|
9
|
-
### 1.2.2
|
17
|
+
### 1.2.2 (9 August 2024)
|
10
18
|
|
11
19
|
* Just a retag of 1.2.1
|
12
20
|
|
13
|
-
### 1.2.1
|
21
|
+
### 1.2.1 (9 August 2024)
|
14
22
|
|
15
23
|
* Added API docs building to continuous integration (#21)
|
16
24
|
|
17
|
-
### 1.2.0
|
25
|
+
### 1.2.0 (8 July 2024)
|
18
26
|
|
19
27
|
* Dropped support for Ruby <2.7 (#20)
|
20
28
|
|
21
|
-
### 1.1.5
|
29
|
+
### 1.1.5 (18 February 2024)
|
22
30
|
|
23
31
|
* Added fallbacks for configuration processing (#19)
|
24
32
|
|
25
|
-
### 1.1.4
|
33
|
+
### 1.1.4 (5 January 2024)
|
26
34
|
|
27
35
|
* Pinned factory_bot down to < 6.4.5 in order to support Ruby 2.5 (#18)
|
28
36
|
* Added handling to support Psych 4 and 5 (#18)
|
29
37
|
|
30
|
-
### 1.1.3
|
38
|
+
### 1.1.3 (18 December 2023)
|
31
39
|
|
32
40
|
* Corrected the fallback view path configuration (#17)
|
33
41
|
|
34
|
-
### 1.1.2
|
42
|
+
### 1.1.2 (18 December 2023)
|
35
43
|
|
36
44
|
* Moved the development dependencies from the gemspec to the Gemfile (#15)
|
37
45
|
* Added a fallback view path handling in case an Rails application cannot
|
38
46
|
find our engine templates correctly (#16)
|
39
47
|
|
40
|
-
### 1.1.1
|
48
|
+
### 1.1.1 (24 February 2023)
|
41
49
|
|
42
50
|
* Removed double bundler/gem_tasks handling
|
43
51
|
|
44
|
-
### 1.1.0
|
52
|
+
### 1.1.0 (24 February 2023)
|
45
53
|
|
46
54
|
* Added support for Gem release automation
|
47
55
|
|
48
|
-
### 1.0.2
|
56
|
+
### 1.0.2 (15 February 2023)
|
49
57
|
|
50
58
|
* When used in combination with the `factory_bot_rails` gem (>= 6.0) we do not
|
51
59
|
force a `FactoryBot.reload` at Rails engine initialization as it breaks with
|
52
60
|
an `FactoryBot::DuplicateDefinitionError` (#14)
|
53
61
|
|
54
|
-
### 1.0.1
|
62
|
+
### 1.0.1 (15 February 2023)
|
55
63
|
|
56
64
|
* Added a retry logic to the FactoryBot reloading on the POST/create endpoint
|
57
65
|
in order to handle parallel requests properly (#13)
|
58
66
|
|
59
|
-
### 1.0.0
|
67
|
+
### 1.0.0 (18 January 2023)
|
60
68
|
|
61
69
|
* Bundler >= 2.3 is from now on required as minimal version (#12)
|
62
70
|
* Dropped support for Ruby < 2.5 (#12)
|
@@ -64,49 +72,49 @@
|
|
64
72
|
* Updated all development/runtime gems to their latest
|
65
73
|
Ruby 2.5 compatible version (#12)
|
66
74
|
|
67
|
-
### 0.8.0
|
75
|
+
### 0.8.0 (10 December 2021)
|
68
76
|
|
69
77
|
* Added `FactoryBot.reload` to the initializer code to ensure the factories
|
70
78
|
are in place.
|
71
79
|
|
72
|
-
### 0.7.1
|
80
|
+
### 0.7.1 (15 October 2021)
|
73
81
|
|
74
82
|
* Migrated to Github Actions
|
75
83
|
* Migrated to our own coverage reporting
|
76
84
|
|
77
|
-
### 0.7.0
|
85
|
+
### 0.7.0 (15 October 2021)
|
78
86
|
|
79
87
|
* Dropped Rails 4 support
|
80
88
|
|
81
|
-
### 0.6.0
|
89
|
+
### 0.6.0 (21 September 2020)
|
82
90
|
|
83
91
|
* Added support for custom error handling and improved the default error
|
84
92
|
handling on FactoryBot usage (#9)
|
85
93
|
|
86
|
-
### 0.5.1
|
94
|
+
### 0.5.1 (12 May 2020)
|
87
95
|
|
88
96
|
* Corrected a bug on the scenario description update (#8)
|
89
97
|
|
90
|
-
### 0.5.0
|
98
|
+
### 0.5.0 (20 January 2020)
|
91
99
|
|
92
100
|
* Added support for custom before action logics (#7)
|
93
101
|
|
94
|
-
### 0.4.0
|
102
|
+
### 0.4.0 (9 December 2019)
|
95
103
|
|
96
104
|
* Added support for configurable rendering (#6)
|
97
105
|
|
98
|
-
### 0.3.0
|
106
|
+
### 0.3.0 (15 July 2019)
|
99
107
|
|
100
108
|
* Removed CI support for Ruby 2.3 (it never worked before)
|
101
109
|
* Fixed the overwrite params bug on Rails 4.2
|
102
110
|
* Added a test suite for the engine
|
103
111
|
|
104
|
-
### 0.2.0
|
112
|
+
### 0.2.0 (22 March 2019)
|
105
113
|
|
106
114
|
* Removed the Gemfile locks and added the to the ignore list
|
107
115
|
* Dropped Rails 3 support
|
108
116
|
* Added support for Bundler 1 and 2
|
109
117
|
|
110
|
-
### 0.1.0
|
118
|
+
### 0.1.0 (9 January 2019)
|
111
119
|
|
112
120
|
* Added the initial code base
|
data/Gemfile
CHANGED
@@ -13,7 +13,7 @@ gem 'bundler', '~> 2.3'
|
|
13
13
|
gem 'countless', '~> 1.1'
|
14
14
|
gem 'factory_bot_rails', '~> 6.2'
|
15
15
|
gem 'guard-rspec', '~> 4.7'
|
16
|
-
gem 'railties', '>=
|
16
|
+
gem 'railties', '>= 6.1'
|
17
17
|
gem 'rspec-rails', '~> 5.1'
|
18
18
|
gem 'rubocop', '~> 1.28'
|
19
19
|
gem 'rubocop-rails', '~> 2.14'
|
@@ -33,9 +33,7 @@ Gem::Specification.new do |spec|
|
|
33
33
|
|
34
34
|
spec.required_ruby_version = '>= 2.7'
|
35
35
|
|
36
|
-
|
37
|
-
|
38
|
-
spec.
|
39
|
-
spec.add_runtime_dependency 'rails', '>= 5.2'
|
40
|
-
spec.add_runtime_dependency 'retries', '>= 0.0.5'
|
36
|
+
spec.add_dependency 'factory_bot', '~> 6.2'
|
37
|
+
spec.add_dependency 'rails', '>= 6.1'
|
38
|
+
spec.add_dependency 'retries', '>= 0.0.5'
|
41
39
|
end
|
data/gemfiles/rails_6.1.gemfile
CHANGED
@@ -7,7 +7,7 @@ gem "bundler", "~> 2.3"
|
|
7
7
|
gem "countless", "~> 1.1"
|
8
8
|
gem "factory_bot_rails", "~> 6.2"
|
9
9
|
gem "guard-rspec", "~> 4.7"
|
10
|
-
gem "railties", ">=
|
10
|
+
gem "railties", ">= 6.1"
|
11
11
|
gem "rspec-rails", "~> 5.1"
|
12
12
|
gem "rubocop", "~> 1.28"
|
13
13
|
gem "rubocop-rails", "~> 2.14"
|
data/gemfiles/rails_7.1.gemfile
CHANGED
@@ -7,7 +7,7 @@ gem "bundler", "~> 2.3"
|
|
7
7
|
gem "countless", "~> 1.1"
|
8
8
|
gem "factory_bot_rails", "~> 6.2"
|
9
9
|
gem "guard-rspec", "~> 4.7"
|
10
|
-
gem "railties", ">=
|
10
|
+
gem "railties", ">= 6.1"
|
11
11
|
gem "rspec-rails", "~> 5.1"
|
12
12
|
gem "rubocop", "~> 1.28"
|
13
13
|
gem "rubocop-rails", "~> 2.14"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.3.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:
|
11
|
+
date: 2025-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: factory_bot
|
@@ -17,9 +17,6 @@ dependencies:
|
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '6.2'
|
20
|
-
- - "<"
|
21
|
-
- !ruby/object:Gem::Version
|
22
|
-
version: 6.4.5
|
23
20
|
type: :runtime
|
24
21
|
prerelease: false
|
25
22
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -27,23 +24,20 @@ dependencies:
|
|
27
24
|
- - "~>"
|
28
25
|
- !ruby/object:Gem::Version
|
29
26
|
version: '6.2'
|
30
|
-
- - "<"
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
version: 6.4.5
|
33
27
|
- !ruby/object:Gem::Dependency
|
34
28
|
name: rails
|
35
29
|
requirement: !ruby/object:Gem::Requirement
|
36
30
|
requirements:
|
37
31
|
- - ">="
|
38
32
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
33
|
+
version: '6.1'
|
40
34
|
type: :runtime
|
41
35
|
prerelease: false
|
42
36
|
version_requirements: !ruby/object:Gem::Requirement
|
43
37
|
requirements:
|
44
38
|
- - ">="
|
45
39
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
40
|
+
version: '6.1'
|
47
41
|
- !ruby/object:Gem::Dependency
|
48
42
|
name: retries
|
49
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -116,7 +110,6 @@ files:
|
|
116
110
|
- doc/assets/regular.png
|
117
111
|
- docker-compose.yml
|
118
112
|
- factory_bot_instrumentation.gemspec
|
119
|
-
- gemfiles/rails_5.2.gemfile
|
120
113
|
- gemfiles/rails_6.1.gemfile
|
121
114
|
- gemfiles/rails_7.1.gemfile
|
122
115
|
- lib/factory_bot/instrumentation/configuration.rb
|
data/gemfiles/rails_5.2.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.3"
|
7
|
-
gem "countless", "~> 1.1"
|
8
|
-
gem "factory_bot_rails", "~> 6.2"
|
9
|
-
gem "guard-rspec", "~> 4.7"
|
10
|
-
gem "railties", ">= 5.2"
|
11
|
-
gem "rspec-rails", "~> 5.1"
|
12
|
-
gem "rubocop", "~> 1.28"
|
13
|
-
gem "rubocop-rails", "~> 2.14"
|
14
|
-
gem "rubocop-rspec", "~> 2.10"
|
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", "~> 5.2.0"
|
21
|
-
|
22
|
-
gemspec path: "../"
|