active_record_distinct_on 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
  SHA1:
3
- metadata.gz: e716d731e3f40c4251948ac5970627cf9d236206
4
- data.tar.gz: 9067a28efb95d3a673ef5f5c36e8b15839ba953f
3
+ metadata.gz: 58103e20ba76382e4f5dc1dbe68e16e874deb367
4
+ data.tar.gz: fda1a46e58525ad7aed1ed04e7c4c4df7df6fd21
5
5
  SHA512:
6
- metadata.gz: 2e1e59b88542c58593872294f143b8dc10f6944ba235de83b01c8a7322862546636c945930f35fe8f40e7844e4d7cdabc8bb31312b183cd633247547c0f56090
7
- data.tar.gz: 624e3984eada871deee404f5da59bfe0cf57f7d9c3a901de4ddef2c8a681af4f730a20481d8a75fb4ba6fe61dea4ed7fc4d0acda81c0d32ecdc9ae9fb277d03a
6
+ metadata.gz: 5eb7b0607bfca33b22be6e83e8a57bfd73bf0dd891f06ba19d4f05a899cd62be490a1eb0a9b654c8127ac4738bad14f640ae0c250e667bb5554ca792348f1417
7
+ data.tar.gz: b20a3526c915e0e81884f383062563bc6f568e6cbc36576cb7741a76be9e5b85c710a89394b468f46d48a33afb7a4db007a678835c47a9a9b13b8a059ab7ad8e
@@ -35,7 +35,7 @@ module ActiveRecordDistinctOn
35
35
 
36
36
  private
37
37
 
38
- def build_arel
38
+ def build_arel(*)
39
39
  super.tap do |arel|
40
40
  build_distinct_on(arel, distinct_on_values)
41
41
  end
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordDistinctOn
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: active_record_distinct_on
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
  - Alec Larsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-21 00:00:00.000000000 Z
11
+ date: 2018-04-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,14 +16,20 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.1
19
+ version: '4.2'
20
+ - - "<="
21
+ - !ruby/object:Gem::Version
22
+ version: '5.2'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
27
  - - ">="
25
28
  - !ruby/object:Gem::Version
26
- version: 4.2.1
29
+ version: '4.2'
30
+ - - "<="
31
+ - !ruby/object:Gem::Version
32
+ version: '5.2'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler
29
35
  requirement: !ruby/object:Gem::Requirement