faker_maker 1.1.5 → 1.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/faker_maker.gemspec +1 -1
- data/lib/faker_maker/factory.rb +1 -1
- data/lib/faker_maker/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 395554b9ccca5e191c6c18e6230b67742ea18748bc95d9a8c9be05444c59718e
|
4
|
+
data.tar.gz: e0e019dd3cb8cd8d0f4a41f169d40fdb12edfbe1d49fcc9b91132943ad7f3815
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 37d07c0cfaf000360f64e17c078bb45559215e79f13ba5ba06602cac46760955b36913c51bc9ffa5ba2e825ebe133eb862610e466123201923808b1295cf831d
|
7
|
+
data.tar.gz: ff68a283137fdade651db7ca7e4c1fc3f5c5e63bfd4d521dbc68b425793cd73a332a2050fd99530e2b49f5c754048af0c7f41204d4fb2f5e7be263334109407b
|
data/faker_maker.gemspec
CHANGED
@@ -46,7 +46,7 @@ Gem::Specification.new do |spec|
|
|
46
46
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
47
47
|
spec.add_development_dependency 'faker', '~> 2.1'
|
48
48
|
spec.add_development_dependency 'pry', '~> 0.12'
|
49
|
-
spec.add_development_dependency 'rake', '~>
|
49
|
+
spec.add_development_dependency 'rake', '~> 13.0'
|
50
50
|
spec.add_development_dependency 'rspec', '~> 3.8'
|
51
51
|
spec.add_development_dependency 'rubocop', '~> 0.68'
|
52
52
|
spec.add_development_dependency 'simplecov', '~> 0.16'
|
data/lib/faker_maker/factory.rb
CHANGED
@@ -112,7 +112,7 @@ module FakerMaker
|
|
112
112
|
if attribute_hash_overridden_value?( attr, attr_override_values )
|
113
113
|
attr_override_values[attr.name]
|
114
114
|
elsif attr.array?
|
115
|
-
[].tap { |a| attr.cardinality.times { a << attr.block
|
115
|
+
[].tap { |a| attr.cardinality.times { a << instance.instance_eval(&attr.block) } }
|
116
116
|
else
|
117
117
|
instance.instance_eval(&attr.block)
|
118
118
|
end
|
data/lib/faker_maker/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: faker_maker
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nigel Brookes-Thomas
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-10-
|
11
|
+
date: 2019-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -78,14 +78,14 @@ dependencies:
|
|
78
78
|
requirements:
|
79
79
|
- - "~>"
|
80
80
|
- !ruby/object:Gem::Version
|
81
|
-
version: '
|
81
|
+
version: '13.0'
|
82
82
|
type: :development
|
83
83
|
prerelease: false
|
84
84
|
version_requirements: !ruby/object:Gem::Requirement
|
85
85
|
requirements:
|
86
86
|
- - "~>"
|
87
87
|
- !ruby/object:Gem::Version
|
88
|
-
version: '
|
88
|
+
version: '13.0'
|
89
89
|
- !ruby/object:Gem::Dependency
|
90
90
|
name: rspec
|
91
91
|
requirement: !ruby/object:Gem::Requirement
|