active_mocker 1.1.21 → 1.1.22

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: da47b862041053e632a83c9c4efbe4659d2d8c9a
4
- data.tar.gz: 0259a9a0128af0c7b856a360348f370b0e1b04a0
3
+ metadata.gz: 8d229156873ba7fc73414eade5ad9b837ac8d450
4
+ data.tar.gz: 4d26d5d95f13e24e1973c7d9a6ec9aa3541ab202
5
5
  SHA512:
6
- metadata.gz: 94db90da27d24de9d0053f52e4f32a39647b78d776333e9fc04692a49ad7302f0f72301d82d6553fdd675ec18566842aadf13966e5f3c24e315cd6af7f8d3ee4
7
- data.tar.gz: 24073068b5c96d7ca2167a5176302eeaea981544ec88b313668bdfe2376facb03e10f0862cbd83ec00368dc6d5e34020650908227360c7b156b25bf94d508a3a
6
+ metadata.gz: 8cd9eaaaa2c2f80bb2bd4b5e00ad8a9e998562fb30340ce9851764e62db0e3fb9c9d506c255a9b7451f118d13f15d5f856d13d1a734929c3a2e6104c41a86876
7
+ data.tar.gz: 0d55b2830a04f1ab7c39a71d6138090ff69caf88779b13d2a81c3338cd992ff2bb488c098c320867d545dd5d009c12cd1045cecdfd9de19146c6cbe97be752ce
@@ -85,7 +85,7 @@ module ActiveMocker
85
85
  def add_collections_relationships
86
86
  klass = create_klass
87
87
  model_definition.collections.each do |m|
88
- klass.send(:association_template)[m] = CollectionAssociation.new
88
+ klass.send(:association_template)[m] = nil
89
89
  begin
90
90
  klass.class_eval <<-eos, __FILE__, __LINE__+1
91
91
  def #{m}
@@ -1,3 +1,3 @@
1
1
  module ActiveMocker
2
- VERSION = "1.1.21"
2
+ VERSION = "1.1.22"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: active_mocker
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.21
4
+ version: 1.1.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Zeisler
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-25 00:00:00.000000000 Z
11
+ date: 2014-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord