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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f00d4696139bd144929d6436aefe444aa2112263991f0e6d93f593a1cc32358a
4
- data.tar.gz: ba496708936915558fce59661e450d5eb9ca4e3813d1e7a033feffd2c0d8095a
3
+ metadata.gz: 751602a2065d2c6e7354c1b5cbd9b55ba20ca4175e86a12662e9b3c65cec898f
4
+ data.tar.gz: 4246d4e2b53a0827a4bdb129bbe9ac53e19e6419192e09af497037d2d5724f53
5
5
  SHA512:
6
- metadata.gz: 4744a6aaae18eded8711d6ad911f76243fb1006a469d353dd1cd0b175a9a99a7e443bbb8a9556226fb3c65ed95d0a5b347cf1a7e4774897883fbc5eb1cb9eeb3
7
- data.tar.gz: 5c0f8fb781f036288892150a67547c26b0d00a993d2d98291e712a17c1c373193322948a286d6a998b3b25806e563f3eabd24d7ef6da25600acad654803885f6
6
+ metadata.gz: 1bb36faf754f78d752c8832dbf55512fe08aab5391e7730b1955e04f2355636051f007d7adfcb7040ea280e0c9be5ec64199149fa5d55c24048b725ed032d9de
7
+ data.tar.gz: b5182a3f0a84780b8a5f13f1724872f58ae8d4ad0e24ebf0f763e2ea284f9b030d36501315f73e91d8b34f7c9e0a701195ecfbd19a8675abc41d7efe78b657b7
data/.rubocop.yml CHANGED
@@ -1,4 +1,4 @@
1
- require:
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
- RSpec/FilePath:
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', '~> 1.28'
19
- gem 'rubocop-rails', '~> 2.14'
20
- gem 'rubocop-rspec', '~> 2.10'
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 is is
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
- # version handling
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
 
@@ -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", "~> 1.28"
13
- gem "rubocop-rails", "~> 2.14"
14
- gem "rubocop-rspec", "~> 2.10"
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"
@@ -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", "~> 1.28"
13
- gem "rubocop-rails", "~> 2.14"
14
- gem "rubocop-rspec", "~> 2.10"
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"
@@ -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.7.0'
7
+ VERSION = '1.7.1'
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.7.0
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-01-30 00:00:00.000000000 Z
11
+ date: 2025-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bigdecimal