join_dependency 0.1.3 → 0.1.4

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
  SHA256:
3
- metadata.gz: d8cffecfd290bbbcbdcc598997b537acd52ff9f2afd2d2c3ba1cc372465ab956
4
- data.tar.gz: fa9d90a857113b7e93ea2f3ce2e6eead3f777ee50b8541b74aa29f120e304780
3
+ metadata.gz: 76aabf6f41188e073747ff72770a0b8a693a553378dfe9330dcaac555ba9814d
4
+ data.tar.gz: e131b69a3e39bd1e748ffb9abd8bbfcc04a9328e4834199b3c411d713d63f471
5
5
  SHA512:
6
- metadata.gz: e90bab34d75b8a8ca8b6d444b9d4bf1dea827bcbb5d2ef7ba4ad858a5f77d8520d4f06c576eec2702e540bd5806fb1d74fbb96f40e50ec5144cb89cdd1d30d74
7
- data.tar.gz: 32413e65f2adb1a64d716a822ce849ee3f02c47e7272be2f1ca22315e403a725d994dd7f862d4c2806ab9a1d6f7c11c7377cd0cef19962b3e9de3bfe3ee53f3a
6
+ metadata.gz: 15f519602307682c0827eafd2a067c1b4dd4bb820c50c9053542732c0c032a99131c7efe373f72747e0297d1f95a2ef2ea5844a7afe1c875f4fda1a53a485b93
7
+ data.tar.gz: 14433d268af626fc97da5b8c4f992b47b8e41b1ac504df3bddcde244ec2751fc48298e2ff68e3c988e53a56a812e392f27a087221a965cd7156bc783722e1462
@@ -38,7 +38,7 @@ module JoinDependency
38
38
  string_joins = buckets[:string_join].map(&:strip).uniq
39
39
 
40
40
  joins = string_joins.map do |join|
41
- table.create_string_join(Are.sql(join)) unless join.blank?
41
+ relation.table.create_string_join(Arel.sql(join)) unless join.blank?
42
42
  end.compact
43
43
 
44
44
  join_list =
@@ -1,3 +1,3 @@
1
1
  module JoinDependency
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: join_dependency
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ray Zane
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-27 00:00:00.000000000 Z
11
+ date: 2018-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -119,7 +119,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
119
119
  version: '0'
120
120
  requirements: []
121
121
  rubyforge_project:
122
- rubygems_version: 2.7.6
122
+ rubygems_version: 2.7.3
123
123
  signing_key:
124
124
  specification_version: 4
125
125
  summary: Convert an ActiveRecord::Relation to a Join Dependency