active_record_distinct_on 0.1.3 → 1.0.0

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
- SHA1:
3
- metadata.gz: e716d731e3f40c4251948ac5970627cf9d236206
4
- data.tar.gz: 9067a28efb95d3a673ef5f5c36e8b15839ba953f
2
+ SHA256:
3
+ metadata.gz: d89bb3cf6d39f950131b3f78428c788517cb966b113d7ef92f52772b5b7f5945
4
+ data.tar.gz: 31d7bfa8e558ce78183138e1c1819224d05e6518c3c851ebea259661a5c43dc4
5
5
  SHA512:
6
- metadata.gz: 2e1e59b88542c58593872294f143b8dc10f6944ba235de83b01c8a7322862546636c945930f35fe8f40e7844e4d7cdabc8bb31312b183cd633247547c0f56090
7
- data.tar.gz: 624e3984eada871deee404f5da59bfe0cf57f7d9c3a901de4ddef2c8a681af4f730a20481d8a75fb4ba6fe61dea4ed7fc4d0acda81c0d32ecdc9ae9fb277d03a
6
+ metadata.gz: ea0e191a0e13b5fc324488ac879b1ec9442f877c6976000c667227ceb9db9428826d28a4ee91dc4a56b07f068a48f2e83054db2fcb3218e02d508d8fb4241cf4
7
+ data.tar.gz: 81ecfaf1b1184dc0c242a5de795bd05b9a0458c9ca7937cf2ab9ac666abbcee55bfbbba67962101a8cf29a914ab87962278fdc2adb09b9ee52f9ddbae0a94ded
@@ -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 = '1.0.0'
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: 1.0.0
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: 2020-12-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,42 +16,48 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 4.2.1
19
+ version: '5.2'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '6.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: '5.2'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '6.2'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: bundler
29
35
  requirement: !ruby/object:Gem::Requirement
30
36
  requirements:
31
- - - "~>"
37
+ - - ">="
32
38
  - !ruby/object:Gem::Version
33
- version: '1.10'
39
+ version: '0'
34
40
  type: :development
35
41
  prerelease: false
36
42
  version_requirements: !ruby/object:Gem::Requirement
37
43
  requirements:
38
- - - "~>"
44
+ - - ">="
39
45
  - !ruby/object:Gem::Version
40
- version: '1.10'
46
+ version: '0'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: rake
43
49
  requirement: !ruby/object:Gem::Requirement
44
50
  requirements:
45
- - - "~>"
51
+ - - ">="
46
52
  - !ruby/object:Gem::Version
47
- version: '10.0'
53
+ version: 12.3.3
48
54
  type: :development
49
55
  prerelease: false
50
56
  version_requirements: !ruby/object:Gem::Requirement
51
57
  requirements:
52
- - - "~>"
58
+ - - ">="
53
59
  - !ruby/object:Gem::Version
54
- version: '10.0'
60
+ version: 12.3.3
55
61
  - !ruby/object:Gem::Dependency
56
62
  name: rspec
57
63
  requirement: !ruby/object:Gem::Requirement
@@ -156,8 +162,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
162
  - !ruby/object:Gem::Version
157
163
  version: '0'
158
164
  requirements: []
159
- rubyforge_project:
160
- rubygems_version: 2.6.14
165
+ rubygems_version: 3.1.2
161
166
  signing_key:
162
167
  specification_version: 4
163
168
  summary: Adds support for `DISTINCT ON` statements when querying with ActiveRecord