factory_trace 1.1.0 → 1.1.2

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: f95db98efa095b201cb0fa1c817a734718891e738aede8e753fe83abd907bf2b
4
- data.tar.gz: edfb1714865b6de3e2b722be198d1e5ac57b4053c9ce0ed8ba8c36b2067530cc
3
+ metadata.gz: ba2e796c2bf1d78c202f054bc79172f40f83769943c868189236a9f4a3aab73f
4
+ data.tar.gz: 165a48e486568f84f5e1c79f4c45a5f24499e8dca2304ab302cf06c619609966
5
5
  SHA512:
6
- metadata.gz: 85ea33f275970010d3fc52dfd7bf0411b679a4b0c407adeb931020a5173e7fb7fccca0ddf727559c446ade7ee32d73ef1fae46152f12578bab5741ea8f57bbf4
7
- data.tar.gz: 7cc392da590401b0b3d1a2a6f9837353bd017cf4394f49aadd38662a5600b3ceff5d178d80aec76063af1ed5e95a67812c321d8940824c950dfe0311c0882ed3
6
+ metadata.gz: 13ab8c7bac357337789b4f406b910cfc58c26a48de5508b4e0ec63f90e93626abc714ef0e07b2ef64262e838b08f90829fb114be065b56b2a0248feedbdd736b
7
+ data.tar.gz: f1beb66903bf3b102c62b3d5907edd9082fd88f1144e8711a17a0fde1be6bece115a1b33d91692659eb4f339b20920f1195831e7502fd36c6091349de54d46f1
@@ -5,7 +5,7 @@ module FactoryTrace
5
5
  module Factory
6
6
  attr_reader :definition_path
7
7
 
8
- def initialize(name, definition_path, options = {})
8
+ def initialize(name, definition_path = "", options = {})
9
9
  @definition_path = definition_path
10
10
  super(name, options)
11
11
  end
@@ -5,7 +5,7 @@ module FactoryTrace
5
5
  module Trait
6
6
  attr_reader :definition_path
7
7
 
8
- def initialize(name, definition_path, &block)
8
+ def initialize(name, definition_path = "", &block)
9
9
  @definition_path = definition_path
10
10
  super(name, &block)
11
11
  end
@@ -1,7 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require "active_support"
4
-
5
3
  module FactoryTrace
6
4
  class Tracker
7
5
  attr_reader :storage
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FactoryTrace
4
- VERSION = "1.1.0"
4
+ VERSION = "1.1.2"
5
5
  end
data/lib/factory_trace.rb CHANGED
@@ -1,6 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  # External dependencies
4
+ require "active_support"
4
5
  require "factory_bot"
5
6
  require "json"
6
7
  require "set"
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: factory_trace
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - djezzzl
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2023-06-11 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: factory_bot
@@ -80,7 +79,6 @@ dependencies:
80
79
  - - "~>"
81
80
  - !ruby/object:Gem::Version
82
81
  version: '0.4'
83
- description:
84
82
  email:
85
83
  - lawliet.djez@gmail.com
86
84
  executables:
@@ -117,7 +115,6 @@ licenses:
117
115
  - MIT
118
116
  metadata:
119
117
  funding_uri: https://opencollective.com/factory_trace#support
120
- post_install_message:
121
118
  rdoc_options: []
122
119
  require_paths:
123
120
  - lib
@@ -132,8 +129,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
132
129
  - !ruby/object:Gem::Version
133
130
  version: '0'
134
131
  requirements: []
135
- rubygems_version: 3.1.6
136
- signing_key:
132
+ rubygems_version: 3.6.9
137
133
  specification_version: 4
138
134
  summary: Provide an easy way to maintain factories and traits from FactoryBot
139
135
  test_files: []