where_lower 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/coverage.yml +6 -7
- data/.github/workflows/tests.yaml +12 -11
- data/Appraisals +10 -18
- data/CHANGELOG.md +10 -0
- data/README.md +1 -1
- data/gemfiles/rails_7_0.gemfile +1 -0
- data/gemfiles/{rails_5_2.gemfile → rails_7_1.gemfile} +2 -1
- data/gemfiles/{rails_6_1.gemfile → rails_7_2.gemfile} +1 -1
- data/gemfiles/{rails_5_1.gemfile → rails_8_0.gemfile} +1 -1
- data/lib/where_lower/version.rb +1 -1
- data/where_lower.gemspec +4 -4
- metadata +19 -18
- data/gemfiles/rails_5_0.gemfile +0 -8
- data/gemfiles/rails_6_0.gemfile +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ac17fff4f69438ebfced8763a71938cfdb96351cc03ffbeaed3d7059fa514be
|
4
|
+
data.tar.gz: 969bcef6e36e5a1dc329ccc420461c16b85715bcfd81809410820f61ae9b75e5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e984e8c52c8955ea25bcc27e151b473a8ba899d0c649f5c8752ce7b399f487a0fd0e76ab04dd5543728002a473a2d184decbe613a42d77b127fe671692657f94
|
7
|
+
data.tar.gz: a0094f5b6fbfeba95893b56b159c516dde98bc632d3506cab02d04f9efb5a1586b736443aef40fc4efa7861cf0e2ff5f6945323c5130824b4ea31f36486a6a19
|
@@ -21,21 +21,20 @@ jobs:
|
|
21
21
|
strategy:
|
22
22
|
fail-fast: false
|
23
23
|
matrix:
|
24
|
-
os:
|
25
|
-
- ubuntu
|
26
24
|
ruby:
|
27
|
-
- "
|
25
|
+
- "3.3"
|
28
26
|
gemfile:
|
29
|
-
- gemfiles/rails_6_0.gemfile
|
30
|
-
- gemfiles/rails_6_1.gemfile
|
31
27
|
- gemfiles/rails_7_0.gemfile
|
28
|
+
- gemfiles/rails_7_1.gemfile
|
29
|
+
- gemfiles/rails_7_2.gemfile
|
30
|
+
- gemfiles/rails_8_0.gemfile
|
32
31
|
env:
|
33
32
|
BUNDLE_GEMFILE: ${{ matrix.gemfile }}
|
34
33
|
COVERALLS: true
|
35
|
-
runs-on:
|
34
|
+
runs-on: ubuntu-latest
|
36
35
|
steps:
|
37
36
|
- name: Checkout
|
38
|
-
uses: actions/checkout@
|
37
|
+
uses: actions/checkout@v4
|
39
38
|
|
40
39
|
- name: Setup Ruby
|
41
40
|
uses: ruby/setup-ruby@v1
|
@@ -21,31 +21,32 @@ jobs:
|
|
21
21
|
strategy:
|
22
22
|
fail-fast: false
|
23
23
|
matrix:
|
24
|
-
os:
|
25
|
-
- ubuntu
|
26
24
|
ruby:
|
27
|
-
- "2.7"
|
28
|
-
- "3.0"
|
29
25
|
- "3.1"
|
26
|
+
- "3.2"
|
27
|
+
- "3.3"
|
30
28
|
gemfile:
|
31
|
-
- gemfiles/rails_6_0.gemfile
|
32
|
-
- gemfiles/rails_6_1.gemfile
|
33
29
|
- gemfiles/rails_7_0.gemfile
|
30
|
+
- gemfiles/rails_7_1.gemfile
|
31
|
+
- gemfiles/rails_7_2.gemfile
|
32
|
+
- gemfiles/rails_8_0.gemfile
|
34
33
|
allow_failures:
|
35
34
|
- false
|
35
|
+
exclude:
|
36
|
+
- ruby: "3.1"
|
37
|
+
gemfile: gemfiles/rails_8_0.gemfile
|
36
38
|
include:
|
37
|
-
-
|
38
|
-
|
39
|
-
gemfile: gemfiles/rails_7_0.gemfile
|
39
|
+
- ruby: ruby-head
|
40
|
+
gemfile: gemfiles/rails_8_0.gemfile
|
40
41
|
allow_failures: true
|
41
42
|
env:
|
42
43
|
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
|
43
44
|
ALLOW_FAILURES: "${{ matrix.allow_failures }}"
|
44
|
-
runs-on:
|
45
|
+
runs-on: ubuntu-latest
|
45
46
|
continue-on-error: ${{ endsWith(matrix.ruby, 'head') || matrix.ruby == 'debug' }}
|
46
47
|
steps:
|
47
48
|
- name: Checkout
|
48
|
-
uses: actions/checkout@
|
49
|
+
uses: actions/checkout@v4
|
49
50
|
- name: Setup Ruby
|
50
51
|
uses: ruby/setup-ruby@v1
|
51
52
|
with:
|
data/Appraisals
CHANGED
@@ -1,31 +1,23 @@
|
|
1
1
|
|
2
|
-
appraise "
|
3
|
-
version = "~>
|
4
|
-
gem "activerecord", version
|
5
|
-
gem "sqlite3", "~> 1.3.6"
|
6
|
-
end
|
7
|
-
|
8
|
-
appraise "rails_5_1" do
|
9
|
-
version = "~> 5.1.0"
|
2
|
+
appraise "rails_7_0" do
|
3
|
+
version = "~> 7.0.0"
|
10
4
|
gem "activerecord", version
|
5
|
+
gem "sqlite3", "~> 1.3"
|
11
6
|
end
|
12
7
|
|
13
|
-
appraise "
|
14
|
-
version = "~>
|
8
|
+
appraise "rails_7_1" do
|
9
|
+
version = "~> 7.1.0"
|
15
10
|
gem "activerecord", version
|
11
|
+
gem "sqlite3", "~> 1.3"
|
16
12
|
end
|
17
13
|
|
18
|
-
appraise "
|
19
|
-
version = "~>
|
14
|
+
appraise "rails_7_2" do
|
15
|
+
version = "~> 7.2.0"
|
20
16
|
gem "activerecord", version
|
21
17
|
end
|
22
18
|
|
23
|
-
appraise "
|
24
|
-
version = "~>
|
19
|
+
appraise "rails_8_0" do
|
20
|
+
version = "~> 8.0.0"
|
25
21
|
gem "activerecord", version
|
26
22
|
end
|
27
23
|
|
28
|
-
appraise "rails_7_0" do
|
29
|
-
version = "~> 7.0.0"
|
30
|
-
gem "activerecord", version
|
31
|
-
end
|
data/CHANGELOG.md
CHANGED
@@ -18,6 +18,15 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
18
18
|
- Nothing
|
19
19
|
|
20
20
|
|
21
|
+
## [0.3.5] - 2024-12-18
|
22
|
+
|
23
|
+
### Changed
|
24
|
+
|
25
|
+
- Add support for AR 8.x
|
26
|
+
- Drop support for AR < 7.x
|
27
|
+
- Drop support for Ruby < 3.0
|
28
|
+
|
29
|
+
|
21
30
|
## [0.3.4] - 2022-04-12
|
22
31
|
|
23
32
|
### Changed
|
@@ -83,6 +92,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|
83
92
|
|
84
93
|
|
85
94
|
[Unreleased]: https://github.com/PikachuEXE/where_lower/compare/v0.3.4...HEAD
|
95
|
+
[0.3.5]: https://github.com/PikachuEXE/where_lower/compare/v0.3.4...v0.3.5
|
86
96
|
[0.3.4]: https://github.com/PikachuEXE/where_lower/compare/v0.3.3...v0.3.4
|
87
97
|
[0.3.3]: https://github.com/PikachuEXE/where_lower/compare/v0.3.2...v0.3.3
|
88
98
|
[0.3.2]: https://github.com/PikachuEXE/where_lower/compare/v0.3.1...v0.3.2
|
data/README.md
CHANGED
@@ -5,7 +5,7 @@ Provide an easy way to use case insensitive `where` in ActiveRecord.
|
|
5
5
|
|
6
6
|
## Status
|
7
7
|
|
8
|
-
[![GitHub Build Status](https://img.shields.io/github/workflow/status/PikachuEXE/where_lower/
|
8
|
+
[![GitHub Build Status](https://img.shields.io/github/actions/workflow/status/PikachuEXE/where_lower/tests.yaml?branch=master&style=flat-square)](https://github.com/PikachuEXE/where_lower/actions/workflows/tests.yaml)
|
9
9
|
|
10
10
|
[![Gem Version](http://img.shields.io/gem/v/where_lower.svg?style=flat-square)](http://badge.fury.io/rb/where_lower)
|
11
11
|
[![License](https://img.shields.io/github/license/PikachuEXE/where_lower.svg?style=flat-square)](http://badge.fury.io/rb/where_lower)
|
data/gemfiles/rails_7_0.gemfile
CHANGED
data/lib/where_lower/version.rb
CHANGED
data/where_lower.gemspec
CHANGED
@@ -34,13 +34,13 @@ Gem::Specification.new do |s|
|
|
34
34
|
|
35
35
|
s.require_paths = ["lib"]
|
36
36
|
|
37
|
-
s.add_dependency "activerecord", ">=
|
37
|
+
s.add_dependency "activerecord", ">= 7.0.0", "< 9.0.0"
|
38
38
|
|
39
39
|
s.add_development_dependency "bundler", ">= 1.0.0"
|
40
40
|
s.add_development_dependency "rake", ">= 10.0", "<= 14.0"
|
41
|
-
s.add_development_dependency "appraisal", "~> 2.0"
|
41
|
+
s.add_development_dependency "appraisal", "~> 2.0", ">= 2.5.0"
|
42
42
|
s.add_development_dependency "rspec", "~> 3.0"
|
43
|
-
s.add_development_dependency "rspec-its", "~>
|
43
|
+
s.add_development_dependency "rspec-its", "~> 2.0"
|
44
44
|
s.add_development_dependency "sqlite3", ">= 1.3"
|
45
45
|
s.add_development_dependency "database_cleaner", ">= 1.0"
|
46
46
|
s.add_development_dependency "simplecov", ">= 0.21"
|
@@ -48,7 +48,7 @@ Gem::Specification.new do |s|
|
|
48
48
|
s.add_development_dependency "gem-release", ">= 0.7"
|
49
49
|
s.add_development_dependency "inch", "~> 0.5", ">= 0.5.10"
|
50
50
|
|
51
|
-
s.required_ruby_version = ">=
|
51
|
+
s.required_ruby_version = ">= 3.0.0"
|
52
52
|
|
53
53
|
s.required_rubygems_version = ">= 1.4.0"
|
54
54
|
end
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: where_lower
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- PikachuEXE
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2024-12-18 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: activerecord
|
@@ -16,20 +15,20 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
18
|
+
version: 7.0.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
21
|
+
version: 9.0.0
|
23
22
|
type: :runtime
|
24
23
|
prerelease: false
|
25
24
|
version_requirements: !ruby/object:Gem::Requirement
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
28
|
+
version: 7.0.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
31
|
+
version: 9.0.0
|
33
32
|
- !ruby/object:Gem::Dependency
|
34
33
|
name: bundler
|
35
34
|
requirement: !ruby/object:Gem::Requirement
|
@@ -71,6 +70,9 @@ dependencies:
|
|
71
70
|
- - "~>"
|
72
71
|
- !ruby/object:Gem::Version
|
73
72
|
version: '2.0'
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: 2.5.0
|
74
76
|
type: :development
|
75
77
|
prerelease: false
|
76
78
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -78,6 +80,9 @@ dependencies:
|
|
78
80
|
- - "~>"
|
79
81
|
- !ruby/object:Gem::Version
|
80
82
|
version: '2.0'
|
83
|
+
- - ">="
|
84
|
+
- !ruby/object:Gem::Version
|
85
|
+
version: 2.5.0
|
81
86
|
- !ruby/object:Gem::Dependency
|
82
87
|
name: rspec
|
83
88
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,14 +103,14 @@ dependencies:
|
|
98
103
|
requirements:
|
99
104
|
- - "~>"
|
100
105
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
106
|
+
version: '2.0'
|
102
107
|
type: :development
|
103
108
|
prerelease: false
|
104
109
|
version_requirements: !ruby/object:Gem::Requirement
|
105
110
|
requirements:
|
106
111
|
- - "~>"
|
107
112
|
- !ruby/object:Gem::Version
|
108
|
-
version: '
|
113
|
+
version: '2.0'
|
109
114
|
- !ruby/object:Gem::Dependency
|
110
115
|
name: sqlite3
|
111
116
|
requirement: !ruby/object:Gem::Requirement
|
@@ -221,12 +226,10 @@ files:
|
|
221
226
|
- README.md
|
222
227
|
- Rakefile
|
223
228
|
- gemfiles/.bundle/config
|
224
|
-
- gemfiles/rails_5_0.gemfile
|
225
|
-
- gemfiles/rails_5_1.gemfile
|
226
|
-
- gemfiles/rails_5_2.gemfile
|
227
|
-
- gemfiles/rails_6_0.gemfile
|
228
|
-
- gemfiles/rails_6_1.gemfile
|
229
229
|
- gemfiles/rails_7_0.gemfile
|
230
|
+
- gemfiles/rails_7_1.gemfile
|
231
|
+
- gemfiles/rails_7_2.gemfile
|
232
|
+
- gemfiles/rails_8_0.gemfile
|
230
233
|
- lib/where_lower.rb
|
231
234
|
- lib/where_lower/active_record_extension.rb
|
232
235
|
- lib/where_lower/base.rb
|
@@ -239,7 +242,6 @@ homepage: http://github.com/PikachuEXE/where_lower
|
|
239
242
|
licenses:
|
240
243
|
- MIT
|
241
244
|
metadata: {}
|
242
|
-
post_install_message:
|
243
245
|
rdoc_options: []
|
244
246
|
require_paths:
|
245
247
|
- lib
|
@@ -247,15 +249,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
247
249
|
requirements:
|
248
250
|
- - ">="
|
249
251
|
- !ruby/object:Gem::Version
|
250
|
-
version:
|
252
|
+
version: 3.0.0
|
251
253
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
252
254
|
requirements:
|
253
255
|
- - ">="
|
254
256
|
- !ruby/object:Gem::Version
|
255
257
|
version: 1.4.0
|
256
258
|
requirements: []
|
257
|
-
rubygems_version: 3.
|
258
|
-
signing_key:
|
259
|
+
rubygems_version: 3.6.1
|
259
260
|
specification_version: 4
|
260
261
|
summary: Provide an easy way to use case insensitive `where` in ActiveRecord.
|
261
262
|
test_files:
|
data/gemfiles/rails_5_0.gemfile
DELETED