active_record_distinct_on 0.1.2 → 0.1.3

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: 0634ad5a65e17054470465770cc80610697e6c09
4
- data.tar.gz: d0ae3780932fa1f10252a599b9003c5ac60db942
3
+ metadata.gz: e716d731e3f40c4251948ac5970627cf9d236206
4
+ data.tar.gz: 9067a28efb95d3a673ef5f5c36e8b15839ba953f
5
5
  SHA512:
6
- metadata.gz: e17d7ed9fde594b39dec4da215cde1682e4a68d7aa00feba05774335eb10d7b4e0d3c9bb936b383d9ef315976888a12eac8825ebd918b97f93d8d717200ff941
7
- data.tar.gz: d8477b572d327cec636ae35e90586d5838f62d2792f85df9bb20f38fcb94e556fa93cd3c2ee640ea969b867f8375353ee4d7da13180e79ad9e02417506938285
6
+ metadata.gz: 2e1e59b88542c58593872294f143b8dc10f6944ba235de83b01c8a7322862546636c945930f35fe8f40e7844e4d7cdabc8bb31312b183cd633247547c0f56090
7
+ data.tar.gz: 624e3984eada871deee404f5da59bfe0cf57f7d9c3a901de4ddef2c8a681af4f730a20481d8a75fb4ba6fe61dea4ed7fc4d0acda81c0d32ecdc9ae9fb277d03a
@@ -10,6 +10,7 @@ module ActiveRecordDistinctOn
10
10
  self::MULTI_VALUE_METHODS << :distinct_on
11
11
  self::INVALID_METHODS_FOR_DELETE_ALL << :distinct_on
12
12
  self::VALUE_METHODS << :distinct_on
13
+ self::DEFAULT_VALUES[:distinct_on] = FROZEN_EMPTY_ARRAY if defined?(self::DEFAULT_VALUES)
13
14
  end
14
15
 
15
16
  def distinct_on_values
@@ -1,3 +1,3 @@
1
1
  module ActiveRecordDistinctOn
2
- VERSION = '0.1.2'
2
+ VERSION = '0.1.3'
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.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alec Larsen
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-04 00:00:00.000000000 Z
11
+ date: 2018-03-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -66,6 +66,20 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
+ - !ruby/object:Gem::Dependency
70
+ name: simplecov
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ version: '0'
76
+ type: :development
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ">="
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: pry
71
85
  requirement: !ruby/object:Gem::Requirement
@@ -81,7 +95,21 @@ dependencies:
81
95
  - !ruby/object:Gem::Version
82
96
  version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
- name: codeclimate-test-reporter
98
+ name: appraisal
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - ">="
102
+ - !ruby/object:Gem::Version
103
+ version: '0'
104
+ type: :development
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ">="
109
+ - !ruby/object:Gem::Version
110
+ version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: sqlite3
85
113
  requirement: !ruby/object:Gem::Requirement
86
114
  requirements:
87
115
  - - ">="
@@ -100,7 +128,7 @@ description: ActiveRecordDistinctOn adds support for `DISTINCT ON` to ActiveReco
100
128
  that if another Arel visitor adds support for `Arel::Nodes::DistinctOn` in the future,
101
129
  it should work seamlessly.
102
130
  email:
103
- - aleclarsen42@gmail.com
131
+ - hello@alec.ninja
104
132
  executables: []
105
133
  extensions: []
106
134
  extra_rdoc_files: []
@@ -109,7 +137,7 @@ files:
109
137
  - lib/active_record_distinct_on/distinct_on_query_methods.rb
110
138
  - lib/active_record_distinct_on/railtie.rb
111
139
  - lib/active_record_distinct_on/version.rb
112
- homepage: https://github.com/anarchocurious/active_record_distinct_on
140
+ homepage: https://github.com/alecdotninja/active_record_distinct_on
113
141
  licenses:
114
142
  - MIT
115
143
  metadata: {}
@@ -129,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
129
157
  version: '0'
130
158
  requirements: []
131
159
  rubyforge_project:
132
- rubygems_version: 2.5.1
160
+ rubygems_version: 2.6.14
133
161
  signing_key:
134
162
  specification_version: 4
135
163
  summary: Adds support for `DISTINCT ON` statements when querying with ActiveRecord