factory_bot_instrumentation 1.2.4 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bdf74679c8560415d27425a05ee0b58d44b39c17fb355bd0477c9e170625802b
4
- data.tar.gz: 2e50ab307e1b9294f72b4d954650e52594e81e538d251a365bd0beb6592c6c72
3
+ metadata.gz: f20a85c36ecf45c108f2a5a8e95d2b31a1cd9d6d2b0b6e25215d813eca64b2bb
4
+ data.tar.gz: 580b377842ccfb58d4c2285730eada5492f8c6bc9f973e9cb5548cdd3dbadc17
5
5
  SHA512:
6
- metadata.gz: 0334b6fffbdc4280e5edab1754ab0523fbdfc8cb9d436891e33a0f7b62a03420686d268b23841835f76cba5e63a618a85b70945ae3091c5c73eeb2623e157c68
7
- data.tar.gz: fec368b1ab9d87b531d4316b8154b101595d5c6b40673753eec3228f3f91f49a0a42d9f77b0e28621bd028a428ddc3a61262ac528f090f4fc1aba89ac0258cde
6
+ metadata.gz: a2558f36f7ac6008f7d3daa7a542ab968efc28f78cad5780310a2e26dceff9715162766eb3ac956503988e8ca3c817f25c8a679c182fc9c1944f4b5b81293611
7
+ data.tar.gz: 12580bfe12910573ab0bf0f3a26dcabe4ad47dde6e8bb481bab04da2d943fda2c9df70fc416651442b84a1a4b4f87ab1bc41eb077df88ef90f3e0b83a9788b8f
@@ -18,8 +18,8 @@ jobs:
18
18
  strategy:
19
19
  fail-fast: false
20
20
  matrix:
21
- ruby: ['2.7']
22
- rails: ['5.2', '6.1', '7.1']
21
+ ruby: ['2.7', '3.0']
22
+ rails: ['6.1', '7.1']
23
23
  env:
24
24
  BUNDLE_GEMFILE: 'gemfiles/rails_${{ matrix.rails }}.gemfile'
25
25
  steps:
data/.rubocop.yml CHANGED
@@ -13,7 +13,7 @@ AllCops:
13
13
  SuggestExtensions: false
14
14
  DisplayCopNames: true
15
15
  TargetRubyVersion: 2.7
16
- TargetRailsVersion: 5.2
16
+ TargetRailsVersion: 6.1
17
17
  Exclude:
18
18
  - bin/**/*
19
19
  - vendor/**/*
data/.yardopts CHANGED
@@ -4,3 +4,4 @@
4
4
  -
5
5
  README.md
6
6
  doc/examples/**/*.rb
7
+ doc/*.md
data/Appraisals CHANGED
@@ -1,9 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- appraise 'rails-5.2' do
4
- gem 'rails', '~> 5.2.0'
5
- end
6
-
7
3
  appraise 'rails-6.1' do
8
4
  gem 'rails', '~> 6.1.0'
9
5
  end
data/CHANGELOG.md CHANGED
@@ -2,65 +2,69 @@
2
2
 
3
3
  * TODO: Replace this bullet point with an actual description of a change.
4
4
 
5
- ### 1.2.4
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)
6
10
 
7
11
  * Just a retag of 1.2.1
8
12
 
9
- ### 1.2.3
13
+ ### 1.2.3 (15 August 2024)
10
14
 
11
15
  * Just a retag of 1.2.1
12
16
 
13
- ### 1.2.2
17
+ ### 1.2.2 (9 August 2024)
14
18
 
15
19
  * Just a retag of 1.2.1
16
20
 
17
- ### 1.2.1
21
+ ### 1.2.1 (9 August 2024)
18
22
 
19
23
  * Added API docs building to continuous integration (#21)
20
24
 
21
- ### 1.2.0
25
+ ### 1.2.0 (8 July 2024)
22
26
 
23
27
  * Dropped support for Ruby <2.7 (#20)
24
28
 
25
- ### 1.1.5
29
+ ### 1.1.5 (18 February 2024)
26
30
 
27
31
  * Added fallbacks for configuration processing (#19)
28
32
 
29
- ### 1.1.4
33
+ ### 1.1.4 (5 January 2024)
30
34
 
31
35
  * Pinned factory_bot down to < 6.4.5 in order to support Ruby 2.5 (#18)
32
36
  * Added handling to support Psych 4 and 5 (#18)
33
37
 
34
- ### 1.1.3
38
+ ### 1.1.3 (18 December 2023)
35
39
 
36
40
  * Corrected the fallback view path configuration (#17)
37
41
 
38
- ### 1.1.2
42
+ ### 1.1.2 (18 December 2023)
39
43
 
40
44
  * Moved the development dependencies from the gemspec to the Gemfile (#15)
41
45
  * Added a fallback view path handling in case an Rails application cannot
42
46
  find our engine templates correctly (#16)
43
47
 
44
- ### 1.1.1
48
+ ### 1.1.1 (24 February 2023)
45
49
 
46
50
  * Removed double bundler/gem_tasks handling
47
51
 
48
- ### 1.1.0
52
+ ### 1.1.0 (24 February 2023)
49
53
 
50
54
  * Added support for Gem release automation
51
55
 
52
- ### 1.0.2
56
+ ### 1.0.2 (15 February 2023)
53
57
 
54
58
  * When used in combination with the `factory_bot_rails` gem (>= 6.0) we do not
55
59
  force a `FactoryBot.reload` at Rails engine initialization as it breaks with
56
60
  an `FactoryBot::DuplicateDefinitionError` (#14)
57
61
 
58
- ### 1.0.1
62
+ ### 1.0.1 (15 February 2023)
59
63
 
60
64
  * Added a retry logic to the FactoryBot reloading on the POST/create endpoint
61
65
  in order to handle parallel requests properly (#13)
62
66
 
63
- ### 1.0.0
67
+ ### 1.0.0 (18 January 2023)
64
68
 
65
69
  * Bundler >= 2.3 is from now on required as minimal version (#12)
66
70
  * Dropped support for Ruby < 2.5 (#12)
@@ -68,49 +72,49 @@
68
72
  * Updated all development/runtime gems to their latest
69
73
  Ruby 2.5 compatible version (#12)
70
74
 
71
- ### 0.8.0
75
+ ### 0.8.0 (10 December 2021)
72
76
 
73
77
  * Added `FactoryBot.reload` to the initializer code to ensure the factories
74
78
  are in place.
75
79
 
76
- ### 0.7.1
80
+ ### 0.7.1 (15 October 2021)
77
81
 
78
82
  * Migrated to Github Actions
79
83
  * Migrated to our own coverage reporting
80
84
 
81
- ### 0.7.0
85
+ ### 0.7.0 (15 October 2021)
82
86
 
83
87
  * Dropped Rails 4 support
84
88
 
85
- ### 0.6.0
89
+ ### 0.6.0 (21 September 2020)
86
90
 
87
91
  * Added support for custom error handling and improved the default error
88
92
  handling on FactoryBot usage (#9)
89
93
 
90
- ### 0.5.1
94
+ ### 0.5.1 (12 May 2020)
91
95
 
92
96
  * Corrected a bug on the scenario description update (#8)
93
97
 
94
- ### 0.5.0
98
+ ### 0.5.0 (20 January 2020)
95
99
 
96
100
  * Added support for custom before action logics (#7)
97
101
 
98
- ### 0.4.0
102
+ ### 0.4.0 (9 December 2019)
99
103
 
100
104
  * Added support for configurable rendering (#6)
101
105
 
102
- ### 0.3.0
106
+ ### 0.3.0 (15 July 2019)
103
107
 
104
108
  * Removed CI support for Ruby 2.3 (it never worked before)
105
109
  * Fixed the overwrite params bug on Rails 4.2
106
110
  * Added a test suite for the engine
107
111
 
108
- ### 0.2.0
112
+ ### 0.2.0 (22 March 2019)
109
113
 
110
114
  * Removed the Gemfile locks and added the to the ignore list
111
115
  * Dropped Rails 3 support
112
116
  * Added support for Bundler 1 and 2
113
117
 
114
- ### 0.1.0
118
+ ### 0.1.0 (9 January 2019)
115
119
 
116
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', '>= 5.2'
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
- # TODO: Remove the upper lock when
37
- # https://github.com/thoughtbot/factory_bot/issues/1614 is solved.
38
- spec.add_runtime_dependency 'factory_bot', '~> 6.2', '< 6.4.5'
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
@@ -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", ">= 5.2"
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"
@@ -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", ">= 5.2"
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"
@@ -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 = '1.2.4'
7
+ VERSION = '1.3.0'
8
8
 
9
9
  class << self
10
10
  # Returns the version of gem as a string.
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.2.4
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: 2024-08-15 00:00:00.000000000 Z
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: '5.2'
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: '5.2'
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
@@ -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: "../"