siphon 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/siphon/scope.rb +1 -2
- data/lib/siphon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 293dd276527394014bc3b4f02a33b3942f30aa0a8f5be41dc9a887ed164a8389
|
4
|
+
data.tar.gz: 2370fab4baa1b126b216e7773ffaffd93febd942f6faa53a66941cd3bbf3f2d9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 0ccc86529ab8c06b0655da7015b611c14a5c7b8937ca2f158060ab62512f5be97a28f2a5532e27ac5e6f7724079aa60f7906738ac0467e31ffd9616c76d1e148
|
7
|
+
data.tar.gz: 321ecbad35b00bd62deab4b52963855b76a34e11d6f36ed44311cdd7b3822de209bd7baeb3f9e5cd79f1aa00547b1df44b9f84723ca7296288d0892c03465fac
|
data/lib/siphon/scope.rb
CHANGED
@@ -13,7 +13,6 @@ module Siphon
|
|
13
13
|
cattr_accessor :model_name
|
14
14
|
cattr_accessor :table_name
|
15
15
|
|
16
|
-
|
17
16
|
attr_reader :ransack_attributes # for the Ransack object
|
18
17
|
attr_reader :siphon_attributes # for the Siphon object
|
19
18
|
attr_reader :order_by # handles your order clause
|
@@ -47,7 +46,7 @@ module Siphon
|
|
47
46
|
end
|
48
47
|
|
49
48
|
def ransack
|
50
|
-
@relation.
|
49
|
+
@relation.ransack(ransack_attributes)
|
51
50
|
end
|
52
51
|
|
53
52
|
def merge(relation)
|
data/lib/siphon/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: siphon
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Sistovaris
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|