rspec-activerecord-expectations 2.3.0 → 3.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/main.yml +19 -4
- data/.ruby-version +1 -1
- data/Appraisals +12 -0
- data/CHANGELOG.md +4 -0
- data/README.md +1 -1
- data/gemfiles/rails_7.1.gemfile +9 -0
- data/gemfiles/rails_7.2.gemfile +9 -0
- data/gemfiles/rails_8.0.gemfile +9 -0
- data/rspec-activerecord-expectations.gemspec +5 -9
- metadata +18 -15
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c13879549d5977a2f7e67c5138b7d11f97df3be9c63a243c51bc71aaba783d1a
|
4
|
+
data.tar.gz: 9ccf3304d75157a36bc6cc1f82ae00c45bd72141600ec1fb354921a409e0fd7c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f88fb7b1af14058e463779e5ec94d7175066e41f2006bb0ce307c072a139780bf5865e640993c1b45ffdaaa826c20774262aa2233aea1bec0213f58d4b49a32
|
7
|
+
data.tar.gz: 00fe2ceba0d426a20788e20a4075247f78b3865d476b801da634b0eca88caa145a659af20268267ad551a7ef2eddefb59393d06a70c01d15ebc86af557ee2961
|
data/.github/workflows/main.yml
CHANGED
@@ -11,11 +11,26 @@ jobs:
|
|
11
11
|
strategy:
|
12
12
|
matrix:
|
13
13
|
os: [ubuntu-latest, macos-latest]
|
14
|
-
ruby-version: ['3.1', '3.0'
|
15
|
-
rails: ['
|
14
|
+
ruby-version: ['3.1', '3.0']
|
15
|
+
rails: ['6.0', '6.1', '7.0', '7.1', '8.0']
|
16
|
+
exclude:
|
17
|
+
- { ruby: '3.1', rails: '8.0' }
|
18
|
+
- { ruby: '3.0', rails: '8.0' }
|
16
19
|
|
17
20
|
runs-on: ${{ matrix.os }}
|
18
21
|
name: ruby ${{ matrix.ruby-version }}, rails ${{ matrix.rails }}, ${{ matrix.os }}
|
22
|
+
services:
|
23
|
+
postgres:
|
24
|
+
image: postgres
|
25
|
+
env:
|
26
|
+
POSTGRES_PASSWORD: postgres
|
27
|
+
options: >-
|
28
|
+
--health-cmd pg_isready
|
29
|
+
--health-interval 10s
|
30
|
+
--health-timeout 5s
|
31
|
+
--health-retries 5
|
32
|
+
ports:
|
33
|
+
- 5432:5432
|
19
34
|
|
20
35
|
steps:
|
21
36
|
- uses: actions/checkout@v2
|
@@ -40,7 +55,7 @@ jobs:
|
|
40
55
|
test_legacy:
|
41
56
|
strategy:
|
42
57
|
matrix:
|
43
|
-
ruby-version: ['2.6', '2.5']
|
58
|
+
ruby-version: ['2.7', '2.6', '2.5']
|
44
59
|
rails: ['5.0', '5.1', '5.2']
|
45
60
|
|
46
61
|
runs-on: ubuntu-latest
|
@@ -94,4 +109,4 @@ jobs:
|
|
94
109
|
|
95
110
|
- name: Run tests
|
96
111
|
run: bundle exec rspec
|
97
|
-
|
112
|
+
|
data/.ruby-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
ruby-
|
1
|
+
ruby-3.1.6
|
data/Appraisals
CHANGED
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |spec|
|
2
2
|
spec.name = "rspec-activerecord-expectations"
|
3
|
-
spec.version = '
|
3
|
+
spec.version = '3.1.0'
|
4
4
|
spec.authors = ["Joseph Mastey"]
|
5
5
|
spec.email = ["hello@joemastey.com"]
|
6
6
|
|
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.description = %q{Adds new matchers to rspec to help you test whether your code is executing an unreasonable number of queries.}
|
9
9
|
spec.homepage = "https://github.com/jmmastey/rspec-activerecord-expectations"
|
10
10
|
spec.license = "MIT"
|
11
|
-
spec.required_ruby_version = Gem::Requirement.new(">=
|
11
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
|
12
12
|
|
13
13
|
spec.metadata["homepage_uri"] = spec.homepage
|
14
14
|
spec.metadata["source_code_uri"] = spec.homepage
|
@@ -22,14 +22,10 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
-
spec.add_dependency "activerecord", ">= 5.0.0", "<
|
25
|
+
spec.add_dependency "activerecord", ">= 5.0.0", "< 8.1"
|
26
26
|
|
27
|
-
|
28
|
-
spec.add_development_dependency "activerecord-jdbcsqlite3-adapter", '>= 60'
|
29
|
-
else
|
30
|
-
spec.add_development_dependency "sqlite3", "~> 1.0"
|
31
|
-
end
|
27
|
+
spec.add_development_dependency "pg"
|
32
28
|
|
33
|
-
spec.add_development_dependency "pry"
|
29
|
+
spec.add_development_dependency "pry"
|
34
30
|
spec.add_development_dependency "appraisal", "~> 2"
|
35
31
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-activerecord-expectations
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 3.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Joseph Mastey
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-12-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activerecord
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: 5.0.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version:
|
22
|
+
version: '8.1'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,35 +29,35 @@ dependencies:
|
|
29
29
|
version: 5.0.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version:
|
32
|
+
version: '8.1'
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
|
-
name:
|
34
|
+
name: pg
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
36
36
|
requirements:
|
37
|
-
- - "
|
37
|
+
- - ">="
|
38
38
|
- !ruby/object:Gem::Version
|
39
|
-
version: '
|
39
|
+
version: '0'
|
40
40
|
type: :development
|
41
41
|
prerelease: false
|
42
42
|
version_requirements: !ruby/object:Gem::Requirement
|
43
43
|
requirements:
|
44
|
-
- - "
|
44
|
+
- - ">="
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
46
|
+
version: '0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: pry
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
50
50
|
requirements:
|
51
|
-
- - "
|
51
|
+
- - ">="
|
52
52
|
- !ruby/object:Gem::Version
|
53
|
-
version: '0
|
53
|
+
version: '0'
|
54
54
|
type: :development
|
55
55
|
prerelease: false
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
57
57
|
requirements:
|
58
|
-
- - "
|
58
|
+
- - ">="
|
59
59
|
- !ruby/object:Gem::Version
|
60
|
-
version: '0
|
60
|
+
version: '0'
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: appraisal
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|
@@ -98,6 +98,9 @@ files:
|
|
98
98
|
- gemfiles/rails_6.0.gemfile
|
99
99
|
- gemfiles/rails_6.1.gemfile
|
100
100
|
- gemfiles/rails_7.0.gemfile
|
101
|
+
- gemfiles/rails_7.1.gemfile
|
102
|
+
- gemfiles/rails_7.2.gemfile
|
103
|
+
- gemfiles/rails_8.0.gemfile
|
101
104
|
- lib/rspec/activerecord-expectations.rb
|
102
105
|
- lib/rspec/activerecord/expectations.rb
|
103
106
|
- lib/rspec/activerecord/expectations/collector.rb
|
@@ -123,14 +126,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
123
126
|
requirements:
|
124
127
|
- - ">="
|
125
128
|
- !ruby/object:Gem::Version
|
126
|
-
version:
|
129
|
+
version: 3.0.0
|
127
130
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
128
131
|
requirements:
|
129
132
|
- - ">="
|
130
133
|
- !ruby/object:Gem::Version
|
131
134
|
version: '0'
|
132
135
|
requirements: []
|
133
|
-
rubygems_version: 3.
|
136
|
+
rubygems_version: 3.3.27
|
134
137
|
signing_key:
|
135
138
|
specification_version: 4
|
136
139
|
summary: A gem to test how many activerecord queries your code executes.
|