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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1bf5ee706e6221f880b64d74dd5830524809e13f44a799c5b55394aaffb54f9a
4
- data.tar.gz: 4294025bdea7deeba1145cb91d032a46e1943233457aa929f5e58462dd9dbbe3
3
+ metadata.gz: 395554b9ccca5e191c6c18e6230b67742ea18748bc95d9a8c9be05444c59718e
4
+ data.tar.gz: e0e019dd3cb8cd8d0f4a41f169d40fdb12edfbe1d49fcc9b91132943ad7f3815
5
5
  SHA512:
6
- metadata.gz: 10611fe0d0d343efe558a30b667cc9ade09bc52046e548af149d6347dd93793572a7ce36d4136b1f4f91e11c5ecf7cd0d2a54de2bb6475e7c8cecc0cc5c75238
7
- data.tar.gz: 37bc68e4a7e5bdbc8741abb62b203f613091b93bfcef190ff6985300939660dc02025fd934dc55566998234b84ecd5b4365668d118769952692416598d91f020
6
+ metadata.gz: 37d07c0cfaf000360f64e17c078bb45559215e79f13ba5ba06602cac46760955b36913c51bc9ffa5ba2e825ebe133eb862610e466123201923808b1295cf831d
7
+ data.tar.gz: ff68a283137fdade651db7ca7e4c1fc3f5c5e63bfd4d521dbc68b425793cd73a332a2050fd99530e2b49f5c754048af0c7f41204d4fb2f5e7be263334109407b
@@ -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', '~> 12.3'
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'
@@ -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.call } }
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FakerMaker
4
- VERSION = '1.1.5'
4
+ VERSION = '1.1.6'
5
5
  end
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.5
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-09 00:00:00.000000000 Z
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: '12.3'
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: '12.3'
88
+ version: '13.0'
89
89
  - !ruby/object:Gem::Dependency
90
90
  name: rspec
91
91
  requirement: !ruby/object:Gem::Requirement