stockpot 0.4.1 → 0.4.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: 16ffdf5caea93560956e1c88a320c98c4771a0ac723198e6dd38b4ef9d090a83
4
- data.tar.gz: 9890ac135a1e2f0c2a14add87424c77c76874da4ac8a1b492c9ed7edfc77ce9c
3
+ metadata.gz: 35586181cc1a1e03a7ca543171ea6d05fa572e403d8c17604619088e8642744b
4
+ data.tar.gz: dc6f55274b50b51586b26f822d65b562deaa6307009d5b8d53c06127ba1faf7c
5
5
  SHA512:
6
- metadata.gz: 5a4ee5011188ee3f3821eb67451f076d1475f255e07ac0878c42ac942576f9182bda644895ea06cdec1c470a5f96b3fd52ecf097ffb8b35cdfe6ef0f1cf29697
7
- data.tar.gz: f579c9b5c0cea6f8f017c157d5c85b7326725ecb5e82d1cb04bd1e140711aac8bf34e6c05f967bed68601d4b2f8a47624d1eed517c74f244c530c187185a862f
6
+ metadata.gz: a26a25b375412d81355095f6ce82804024b2843f5353ad66456e061b83639d4ead3327073b893a1be9c8c46094a0cd351240ef1e882ab2a37e73703cf61fc9a8
7
+ data.tar.gz: '098249ae8ae84a52a5067f25b2fab86b93c8db6cc6dc91e880271455b5a166fc4ee41137f962d6619b233f4fdd1d0da05e1c51a7d773ca43060428a84ffe59ad'
@@ -38,7 +38,7 @@ module Stockpot
38
38
  factory = element[:factory]
39
39
  traits = element[:traits].map(&:to_sym) if element[:traits].present?
40
40
 
41
- list.times do
41
+ list.times do |n|
42
42
  attributes = element[:attributes][n].to_h if element[:attributes].present?
43
43
  factory_arguments = [ factory, *traits, attributes ].compact
44
44
  @factory_instance = FactoryBot.create(*factory_arguments)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Stockpot
4
- VERSION = "0.4.1"
4
+ VERSION = "0.4.2"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: stockpot
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jayson Smith