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 +4 -4
- data/lib/active_mocker/base.rb +1 -1
- data/lib/active_mocker/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8d229156873ba7fc73414eade5ad9b837ac8d450
|
4
|
+
data.tar.gz: 4d26d5d95f13e24e1973c7d9a6ec9aa3541ab202
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cd9eaaaa2c2f80bb2bd4b5e00ad8a9e998562fb30340ce9851764e62db0e3fb9c9d506c255a9b7451f118d13f15d5f856d13d1a734929c3a2e6104c41a86876
|
7
|
+
data.tar.gz: 0d55b2830a04f1ab7c39a71d6138090ff69caf88779b13d2a81c3338cd992ff2bb488c098c320867d545dd5d009c12cd1045cecdfd9de19146c6cbe97be752ce
|
data/lib/active_mocker/base.rb
CHANGED
@@ -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] =
|
88
|
+
klass.send(:association_template)[m] = nil
|
89
89
|
begin
|
90
90
|
klass.class_eval <<-eos, __FILE__, __LINE__+1
|
91
91
|
def #{m}
|
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.
|
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-
|
11
|
+
date: 2014-04-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|