conjoin 0.0.43 → 0.0.44
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/conjoin/active_record.rb +1 -1
- data/lib/conjoin/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: 82f2329fc232dd3b07c0e7fdb0fee34c3913d5d0
|
4
|
+
data.tar.gz: 882039aa582719f307dbfdb70e80e491e5bb64dd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8dfdc892c1bdf7a2e96cca8bceca2aad0a202a979a870cbb8b2e6a84408d486580cd66017c3620be67cec0fc3a616d42bb13053e5f6be2078a0096783466dc91
|
7
|
+
data.tar.gz: 6f4a18edaa8863e963050505f4fbf64c8f3c1f9b5b59865495bb5a3d80ac7f79766e3cb30480f469bf6be887e9abd279dfa66225523c6f4f0f47f4b893d3dd89
|
@@ -330,7 +330,7 @@ module ActiveRecord
|
|
330
330
|
#############################################
|
331
331
|
#############################################
|
332
332
|
#############################################
|
333
|
-
value = owner.class.base_class.name.gsub(/\w
|
333
|
+
value = owner.class.base_class.name.gsub(/\w+::{1}(\w+::\w+)/, '\1')
|
334
334
|
#############################################
|
335
335
|
bind_val = bind scope, table.table_name, reflection.type.to_s, value
|
336
336
|
scope = scope.where(table[reflection.type].eq(bind_val))
|
data/lib/conjoin/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: conjoin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.44
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- cj
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-05-
|
11
|
+
date: 2014-05-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cuba
|