factory_bot_instrumentation 1.7.0 → 1.7.1
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/.rubocop.yml +2 -2
- data/CHANGELOG.md +6 -0
- data/Gemfile +3 -3
- data/app/assets/javascripts/factory_bot_instrumentation/create.js +2 -2
- data/app/controllers/factory_bot/instrumentation/root_controller.rb +2 -2
- data/gemfiles/rails_6.1.gemfile +3 -3
- data/gemfiles/rails_7.1.gemfile +3 -3
- data/lib/factory_bot/instrumentation/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 751602a2065d2c6e7354c1b5cbd9b55ba20ca4175e86a12662e9b3c65cec898f
|
4
|
+
data.tar.gz: 4246d4e2b53a0827a4bdb129bbe9ac53e19e6419192e09af497037d2d5724f53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1bb36faf754f78d752c8832dbf55512fe08aab5391e7730b1955e04f2355636051f007d7adfcb7040ea280e0c9be5ec64199149fa5d55c24048b725ed032d9de
|
7
|
+
data.tar.gz: b5182a3f0a84780b8a5f13f1724872f58ae8d4ad0e24ebf0f763e2ea284f9b030d36501315f73e91d8b34f7c9e0a701195ecfbd19a8675abc41d7efe78b657b7
|
data/.rubocop.yml
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
|
1
|
+
plugins:
|
2
2
|
- rubocop-rspec
|
3
3
|
- rubocop-rails
|
4
4
|
|
@@ -59,7 +59,7 @@ RSpec/NestedGroups:
|
|
59
59
|
Max: 4
|
60
60
|
|
61
61
|
# Disable regular Rails spec paths.
|
62
|
-
|
62
|
+
Rails/FilePath:
|
63
63
|
Enabled: false
|
64
64
|
|
65
65
|
# Because we just implemented the ActiveRecord API.
|
data/CHANGELOG.md
CHANGED
@@ -2,6 +2,12 @@
|
|
2
2
|
|
3
3
|
* TODO: Replace this bullet point with an actual description of a change.
|
4
4
|
|
5
|
+
### 1.7.1 (14 March 2025)
|
6
|
+
|
7
|
+
* Corrected some RuboCop glitches ([#30](https://github.com/hausgold/factory_bot_instrumentation/pull/30))
|
8
|
+
* Upgraded the rubocop dependencies ([#31](https://github.com/hausgold/factory_bot_instrumentation/pull/31))
|
9
|
+
* Corrected a frontend error typo ([#32](https://github.com/hausgold/factory_bot_instrumentation/pull/32))
|
10
|
+
|
5
11
|
### 1.7.0 (30 January 2025)
|
6
12
|
|
7
13
|
* Added all versions up to Ruby 3.4 to the CI matrix ([#29](https://github.com/hausgold/factory_bot_instrumentation/pull/29))
|
data/Gemfile
CHANGED
@@ -15,9 +15,9 @@ gem 'factory_bot_rails', '~> 6.2'
|
|
15
15
|
gem 'guard-rspec', '~> 4.7'
|
16
16
|
gem 'railties', '>= 6.1'
|
17
17
|
gem 'rspec-rails', '~> 5.1'
|
18
|
-
gem 'rubocop'
|
19
|
-
gem 'rubocop-rails'
|
20
|
-
gem 'rubocop-rspec'
|
18
|
+
gem 'rubocop'
|
19
|
+
gem 'rubocop-rails'
|
20
|
+
gem 'rubocop-rspec'
|
21
21
|
gem 'simplecov', '>= 0.22'
|
22
22
|
gem 'sqlite3', '~> 1.5'
|
23
23
|
gem 'timecop', '>= 0.9.6'
|
@@ -14,8 +14,8 @@ window.CreateForm = CreateForm = function()
|
|
14
14
|
data: {
|
15
15
|
alert: `An unexpected error occured. Looks like something went wrong
|
16
16
|
while generating your new entity. This migth be a bug, or an
|
17
|
-
unexpected feature. It could be a temporary issue. When
|
18
|
-
persistent contact your friendly API Instrumentation
|
17
|
+
unexpected feature. It could be a temporary issue. When this
|
18
|
+
is persistent contact your friendly API Instrumentation
|
19
19
|
administrator.`,
|
20
20
|
output: output,
|
21
21
|
payload: payload,
|
@@ -52,8 +52,8 @@ module FactoryBot
|
|
52
52
|
#
|
53
53
|
# @return [Array<Mixed>] the FactoryBot options
|
54
54
|
#
|
55
|
-
# rubocop:disable Metrics/MethodLength because of the Rails
|
56
|
-
#
|
55
|
+
# rubocop:disable Metrics/MethodLength -- because of the Rails version
|
56
|
+
# handling
|
57
57
|
def factory_params
|
58
58
|
data = params.permit(:factory, traits: [])
|
59
59
|
|
data/gemfiles/rails_6.1.gemfile
CHANGED
@@ -9,9 +9,9 @@ gem "factory_bot_rails", "~> 6.2"
|
|
9
9
|
gem "guard-rspec", "~> 4.7"
|
10
10
|
gem "railties", ">= 6.1"
|
11
11
|
gem "rspec-rails", "~> 5.1"
|
12
|
-
gem "rubocop"
|
13
|
-
gem "rubocop-rails"
|
14
|
-
gem "rubocop-rspec"
|
12
|
+
gem "rubocop"
|
13
|
+
gem "rubocop-rails"
|
14
|
+
gem "rubocop-rspec"
|
15
15
|
gem "simplecov", ">= 0.22"
|
16
16
|
gem "sqlite3", "~> 1.5"
|
17
17
|
gem "timecop", ">= 0.9.6"
|
data/gemfiles/rails_7.1.gemfile
CHANGED
@@ -9,9 +9,9 @@ gem "factory_bot_rails", "~> 6.2"
|
|
9
9
|
gem "guard-rspec", "~> 4.7"
|
10
10
|
gem "railties", ">= 6.1"
|
11
11
|
gem "rspec-rails", "~> 5.1"
|
12
|
-
gem "rubocop"
|
13
|
-
gem "rubocop-rails"
|
14
|
-
gem "rubocop-rspec"
|
12
|
+
gem "rubocop"
|
13
|
+
gem "rubocop-rails"
|
14
|
+
gem "rubocop-rspec"
|
15
15
|
gem "simplecov", ">= 0.22"
|
16
16
|
gem "sqlite3", "~> 1.5"
|
17
17
|
gem "timecop", ">= 0.9.6"
|
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.7.
|
4
|
+
version: 1.7.1
|
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-
|
11
|
+
date: 2025-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bigdecimal
|