edge 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/edge/forest.rb +1 -1
- data/lib/edge/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: 51ee41eeaece2350371b456fea8be4a8e8a88c10
|
4
|
+
data.tar.gz: 9cd14a961bd767b515cfbbb805e815f90d9900a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dbe08d2bb70acdd203b2e32d98e2f7a3088285d7727051935762a2f7c59b7c41513d6300e31c05e42041d1f31c08ac8556c16390bf8ae4abebc35077e56d2337
|
7
|
+
data.tar.gz: 8c87b4c64580afa7ae98406a70e00309c79137bb1d8a5d83c08b80244292b142578e37d8059664c8f855d5534adb43d33f8c4986c235ffbdd7590e07378cf75c
|
data/lib/edge/forest.rb
CHANGED
@@ -94,7 +94,7 @@ module Edge
|
|
94
94
|
# Only where scopes can precede this in a scope chain
|
95
95
|
def with_descendants
|
96
96
|
manager = recursive_manager.project(arel_table[:id])
|
97
|
-
unscoped.where("id in (#{manager.to_sql})")
|
97
|
+
unscoped.where("#{table_name}.id in (#{manager.to_sql})")
|
98
98
|
end
|
99
99
|
|
100
100
|
private
|
data/lib/edge/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: edge
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jack Christensen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2014-02-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|