rspec-activerecord-expectations 3.0.0 → 3.1.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: 5f3b1aba7ee663b3763870bac6d6e359f130d2dff57e822e25934fc6afc9ae2a
4
- data.tar.gz: f1de8e2ff900b0faa2e1d2c61318e5e61edfadff30067bed892d9c63fa4c290d
3
+ metadata.gz: c13879549d5977a2f7e67c5138b7d11f97df3be9c63a243c51bc71aaba783d1a
4
+ data.tar.gz: 9ccf3304d75157a36bc6cc1f82ae00c45bd72141600ec1fb354921a409e0fd7c
5
5
  SHA512:
6
- metadata.gz: 9b8fe61d292eda6cbf649eb07d95d961f3c8605ba98e769b26026e8476a01492c1e6a004cfde11c0487247976a55f5deacd79fe4398e7c0f302a160f0ffacc8d
7
- data.tar.gz: 01b282410566fd88187b2ad87bcce07f40f3f9b01952a37f31d2cfd0cd0384d24fbf4e376c4aed6b0ab696272957948a3eaf14f28a40c383224a144de31cba20
6
+ metadata.gz: 5f88fb7b1af14058e463779e5ec94d7175066e41f2006bb0ce307c072a139780bf5865e640993c1b45ffdaaa826c20774262aa2233aea1bec0213f58d4b49a32
7
+ data.tar.gz: 00fe2ceba0d426a20788e20a4075247f78b3865d476b801da634b0eca88caa145a659af20268267ad551a7ef2eddefb59393d06a70c01d15ebc86af557ee2961
@@ -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', '2.7']
15
- rails: ['5.0', '5.1', '5.2', '6.0', '6.1', '7.0']
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/Appraisals CHANGED
@@ -1,3 +1,7 @@
1
+ appraise "rails-8.0" do
2
+ gem "rails", "~> 8.0.0"
3
+ end
4
+
1
5
  appraise "rails-7.2" do
2
6
  gem "rails", "~> 7.2.0.beta2"
3
7
  end
data/CHANGELOG.md CHANGED
@@ -1,7 +1,8 @@
1
1
  # Changelog
2
2
 
3
3
  ## [3.0.0] - 2024-06-21
4
- - Add support for RAils 7.0-7.2
4
+ - Add support for rails 7.x
5
+ - Dropped support for ruby 2.x
5
6
 
6
7
  ## [2.3.0] - 2022-01-29
7
8
  - Add quantifiers to transaction matchers
@@ -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", "~> 8.0.0"
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 = '3.0.0'
3
+ spec.version = '3.1.0'
4
4
  spec.authors = ["Joseph Mastey"]
5
5
  spec.email = ["hello@joemastey.com"]
6
6
 
@@ -22,7 +22,7 @@ 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", "< 8.0"
25
+ spec.add_dependency "activerecord", ">= 5.0.0", "< 8.1"
26
26
 
27
27
  spec.add_development_dependency "pg"
28
28
 
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: 3.0.0
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: 2024-06-21 00:00:00.000000000 Z
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: '8.0'
22
+ version: '8.1'
23
23
  type: :runtime
24
24
  prerelease: false
25
25
  version_requirements: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  version: 5.0.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
- version: '8.0'
32
+ version: '8.1'
33
33
  - !ruby/object:Gem::Dependency
34
34
  name: pg
35
35
  requirement: !ruby/object:Gem::Requirement
@@ -100,6 +100,7 @@ files:
100
100
  - gemfiles/rails_7.0.gemfile
101
101
  - gemfiles/rails_7.1.gemfile
102
102
  - gemfiles/rails_7.2.gemfile
103
+ - gemfiles/rails_8.0.gemfile
103
104
  - lib/rspec/activerecord-expectations.rb
104
105
  - lib/rspec/activerecord/expectations.rb
105
106
  - lib/rspec/activerecord/expectations/collector.rb