active_mocker 1.2.pre.4 → 1.2.pre.5

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
  SHA1:
3
- metadata.gz: be750c891c7a04f894123057cd32cfec4d4b45a1
4
- data.tar.gz: 26d7c1e91f27da7686d49755e2faf9b384b0598e
3
+ metadata.gz: b1c03f2f7def2773b34db937e7b3d79a9d91ea58
4
+ data.tar.gz: e7a84266128a1349c5c232276dfc589aaf2c5436
5
5
  SHA512:
6
- metadata.gz: dda9f9e7429e049aed8e9bdb3fa7988423d6b937c36b23bf3d6bd095977127f5e0238074212c1def697bef93aaa413506c276be31cf8100d0c955a9e14423fe4
7
- data.tar.gz: a7da295df01ce4dd6fd58a5bb553c5f1151c64475da0ccc0caddce5439f69efd2e57ca02385b31b6a12e2e398e249cbcc12b60e37266d202d80f1ab67caf4538
6
+ metadata.gz: 4e95c7c686658f56a91eb8fd40e5ae4098130992f9aacde2177e59fc4da1f5ad318c0bcdac7a8b750953f051429b535fb22d3a0411632f48d4279367f3df8ab7
7
+ data.tar.gz: 39ac24e0ee6f573f1426034039c8f76afea958667ed11e059b04414a6fe65db89d54e330157e5418fe56d9f21ac7a9e12cc3fe3bd8be868fdf42a632ed5e3694
@@ -22,7 +22,7 @@ class Generate
22
22
  end
23
23
 
24
24
  def self.mock(model_name, force_reload: false)
25
- load_mock(model_name, force_reload: false)
25
+ load_mock(model_name, force_reload: force_reload)
26
26
  end
27
27
 
28
28
  def self.load_mock(model_name, force_reload: false)
@@ -1,7 +1,7 @@
1
1
  module ActiveMocker
2
2
 
3
- def self.mock(model_name)
4
- Generate.mock(model_name)
3
+ def self.mock(model_name, force_reload: false)
4
+ Generate.mock(model_name, force_reload: force_reload)
5
5
  end
6
6
 
7
7
  def self.configure(&block)
@@ -1,3 +1,3 @@
1
1
  module ActiveMocker
2
- VERSION = "1.2.pre.4"
2
+ VERSION = "1.2.pre.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_mocker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.pre.4
4
+ version: 1.2.pre.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Zeisler