rspec-activerecord-expectations 2.3.0 → 3.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
2
  SHA256:
3
- metadata.gz: 0f84a252fb5e5923d4bc6c03ed4d99ede76579017d8391dbf6f48a665236e54e
4
- data.tar.gz: ce944950ee62940f67f79204966f5954fc28eac8f52dee79e18475933d9f3910
3
+ metadata.gz: 5f3b1aba7ee663b3763870bac6d6e359f130d2dff57e822e25934fc6afc9ae2a
4
+ data.tar.gz: f1de8e2ff900b0faa2e1d2c61318e5e61edfadff30067bed892d9c63fa4c290d
5
5
  SHA512:
6
- metadata.gz: 4828d15b2420ae821199db596b96cc5d4630e3994b6c12bb2d6b95c32067388bb30161b318b0c03c49771d5b95e3010757e564c70a1f6840ab6934c14479f58d
7
- data.tar.gz: d8220ae71a3e1dc6be694f976185262e019d55c6eedc1ec255492fbb5cd7a2988ac45e3519c14f1936cf8d0fd09062710f71b2d788322771e4ccde864be436a9
6
+ metadata.gz: 9b8fe61d292eda6cbf649eb07d95d961f3c8605ba98e769b26026e8476a01492c1e6a004cfde11c0487247976a55f5deacd79fe4398e7c0f302a160f0ffacc8d
7
+ data.tar.gz: 01b282410566fd88187b2ad87bcce07f40f3f9b01952a37f31d2cfd0cd0384d24fbf4e376c4aed6b0ab696272957948a3eaf14f28a40c383224a144de31cba20
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- ruby-2.7.3
1
+ ruby-3.1.6
data/Appraisals CHANGED
@@ -1,3 +1,11 @@
1
+ appraise "rails-7.2" do
2
+ gem "rails", "~> 7.2.0.beta2"
3
+ end
4
+
5
+ appraise "rails-7.1" do
6
+ gem "rails", "~> 7.1.0"
7
+ end
8
+
1
9
  appraise "rails-7.0" do
2
10
  gem "rails", "~> 7.0.0"
3
11
  end
data/CHANGELOG.md CHANGED
@@ -1,4 +1,7 @@
1
1
  # Changelog
2
+
3
+ ## [3.0.0] - 2024-06-21
4
+ - Add support for RAils 7.0-7.2
2
5
 
3
6
  ## [2.3.0] - 2022-01-29
4
7
  - Add quantifiers to transaction matchers
data/README.md CHANGED
@@ -26,7 +26,7 @@ group.
26
26
 
27
27
  ```ruby
28
28
  group 'test' do
29
- gem 'rspec-activerecord-expectations', '~> 1.0'
29
+ gem 'rspec-activerecord-expectations', '~> 3.0'
30
30
  end
31
31
  ```
32
32
 
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rake", "~> 12.0"
6
+ gem "rspec", "~> 3.0"
7
+ gem "rails", "~> 7.1.0"
8
+
9
+ gemspec path: "../"
@@ -0,0 +1,9 @@
1
+ # This file was generated by Appraisal
2
+
3
+ source "https://rubygems.org"
4
+
5
+ gem "rake", "~> 12.0"
6
+ gem "rspec", "~> 3.0"
7
+ gem "rails", "~> 7.2.0.beta2"
8
+
9
+ gemspec path: "../"
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |spec|
2
2
  spec.name = "rspec-activerecord-expectations"
3
- spec.version = '2.3.0'
3
+ spec.version = '3.0.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(">= 2.5.0")
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", "< 7.1.0"
25
+ spec.add_dependency "activerecord", ">= 5.0.0", "< 8.0"
26
26
 
27
- if RUBY_PLATFORM == 'java'
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", "~> 0.0"
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: 2.3.0
4
+ version: 3.0.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: 2022-01-29 00:00:00.000000000 Z
11
+ date: 2024-06-21 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: 7.1.0
22
+ version: '8.0'
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: 7.1.0
32
+ version: '8.0'
33
33
  - !ruby/object:Gem::Dependency
34
- name: sqlite3
34
+ name: pg
35
35
  requirement: !ruby/object:Gem::Requirement
36
36
  requirements:
37
- - - "~>"
37
+ - - ">="
38
38
  - !ruby/object:Gem::Version
39
- version: '1.0'
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: '1.0'
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.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.0'
60
+ version: '0'
61
61
  - !ruby/object:Gem::Dependency
62
62
  name: appraisal
63
63
  requirement: !ruby/object:Gem::Requirement
@@ -98,6 +98,8 @@ 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
101
103
  - lib/rspec/activerecord-expectations.rb
102
104
  - lib/rspec/activerecord/expectations.rb
103
105
  - lib/rspec/activerecord/expectations/collector.rb
@@ -123,14 +125,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
123
125
  requirements:
124
126
  - - ">="
125
127
  - !ruby/object:Gem::Version
126
- version: 2.5.0
128
+ version: 3.0.0
127
129
  required_rubygems_version: !ruby/object:Gem::Requirement
128
130
  requirements:
129
131
  - - ">="
130
132
  - !ruby/object:Gem::Version
131
133
  version: '0'
132
134
  requirements: []
133
- rubygems_version: 3.1.6
135
+ rubygems_version: 3.3.27
134
136
  signing_key:
135
137
  specification_version: 4
136
138
  summary: A gem to test how many activerecord queries your code executes.