siphon 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 2bdc3c31bc5718d24835c2e8ed3fab2e01a8dd3b0bc1f048137c5914e84d417f
4
- data.tar.gz: 9a1079f8d9061d31452ffcaeff2f867120afb73866f44650b23d3758baf8db69
3
+ metadata.gz: 293dd276527394014bc3b4f02a33b3942f30aa0a8f5be41dc9a887ed164a8389
4
+ data.tar.gz: 2370fab4baa1b126b216e7773ffaffd93febd942f6faa53a66941cd3bbf3f2d9
5
5
  SHA512:
6
- metadata.gz: d5d704cf2f244a89647f5cdbb412221699ba4afb2b69dd67b9cced9a97468e34ba277d868824cc69f0f521c7632a3b31f1549babe6ef4d3e039c974c4cecab18
7
- data.tar.gz: 663828c3940e6e78cb3cca0f60fec9a4667dd8ce67b05b7870324bc1ec8f032c11d524b71e55882984b0dbb98ec4d4dda73e32c1c858c6cbf2326f4e1bce44bf
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.search(ransack_attributes)
49
+ @relation.ransack(ransack_attributes)
51
50
  end
52
51
 
53
52
  def merge(relation)
@@ -1,3 +1,3 @@
1
1
  module Siphon
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
3
3
  end
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.1
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-09-25 00:00:00.000000000 Z
11
+ date: 2018-12-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activesupport