activerecord-extensions 0.1.2 → 0.1.3

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
  SHA1:
3
- metadata.gz: 6b8a799840cb4e54bc750e89755bdd834176d687
4
- data.tar.gz: af7920094c5defa890792816b5e0c142af22d6e1
3
+ metadata.gz: 44c25bfe7af107d8f5983426160690204ccdc4dc
4
+ data.tar.gz: cd4af3a9edaa9bf394e46d702dbe8cc1f7e03487
5
5
  SHA512:
6
- metadata.gz: c87d44d2991e257975273c3826ab42c0ebfac49043586abc2cb0688fc65a9483746a3b70e676f43c44b67ecba66b603f4489fbcaa79096b66f6a920aaabc8cd8
7
- data.tar.gz: a88a24a25345e0e61e6b5c721a764842aab87472ee5acf8e23619aaca6a46057eefb50faec30288397fba5a76bdfc6ae817d3e0c16ecbf38c7c612386e421768
6
+ metadata.gz: 7fe71a47050ccee63c1ff7b93665d9068e1ee39c72c2bedc8a6b74e68a07dd2f32318930ac70cf7feab1bc33c96f65205115e1d6d6decc9ad424eb504d15764e
7
+ data.tar.gz: d141144d511cecaf9df50aba598d4b9686d581d5672ec5fd2d42520521cb39832b85d9be7b12edf8223a749e9d9101575445e6f9cfafc70ac454abe43b71f4c5
@@ -9,10 +9,9 @@ module ActiverecordExtensions
9
9
  where_with_bind(arel_table[attribute].lt(Arel::Nodes::BindParam.new), attribute, value)
10
10
  end
11
11
 
12
- private
13
- def where_with_bind(clause, attribute, value)
14
- where(clause).bind_parameters({attribute => value})
15
- end
12
+ def where_with_bind(clause, attribute, value)
13
+ where(clause).bind_parameters({attribute => value})
14
+ end
16
15
 
17
16
  end
18
17
  end
@@ -1,3 +1,3 @@
1
1
  module ActiverecordExtensions
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-extensions
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Faisal Mansoor