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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c44e87734aaa9f415d1fd27dae95c877c975ef0c
4
- data.tar.gz: 5339eb867e7383ada9fc7677f89c84eceaa4844a
3
+ metadata.gz: 51ee41eeaece2350371b456fea8be4a8e8a88c10
4
+ data.tar.gz: 9cd14a961bd767b515cfbbb805e815f90d9900a7
5
5
  SHA512:
6
- metadata.gz: ce618003724c04a238a18c9f786ebf312f8212da8482ea5b6f1ab5875f61e48a110f0bf4a83a203810a9d71e128cb4dde2e0c4fe6e520f53d82734f1a5e083b1
7
- data.tar.gz: 3f324365418e1dbaea369b0806ff1a9d173947018abc45fa13fad78bcd9b985c060834d768973ef2c9e18b541ccce9494effca947f0e3ce933d7dc1679122939
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
@@ -1,3 +1,3 @@
1
1
  module Edge
2
- VERSION = "0.3.0"
2
+ VERSION = "0.3.1"
3
3
  end
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.0
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: 2013-12-17 00:00:00.000000000 Z
11
+ date: 2014-02-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord