activerecord-debug_errors 0.1.3 → 0.1.4

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: e5e73679ce896b569f923bc47533917baeaed89312248d578e72ac18187ac0d7
4
- data.tar.gz: 5374c129a058bdb852b294649d14065f8c61de94527335ececbaf17ec9423a5d
3
+ metadata.gz: f2f6bedffa09d9bd260844adb01a8180aed5c66c6717d0dbb3a15eadf301d5f3
4
+ data.tar.gz: 70a431a4cf586a45780a54cc451d46118b018ece04e824f0b65b65653c31ccee
5
5
  SHA512:
6
- metadata.gz: 23fa53f6de23fc3310235626e16e2f883abbae22ef12db578aa572c0e29b7b13352cc97ef0ae5275b5c8a456b8b33533ee86694a3aba3b02498ada252ad18cc7
7
- data.tar.gz: 49e1c9ed26875868ab6b834104a29d383eab2cccfabd9e053c3cd4ffbfdede095f430d3d2fb2fd4a9c5fa3b9153f40f30d9773f2333842a8f79a9bb83066492d
6
+ metadata.gz: 02a5fb6e570214b74b5c4754155a15ffb6d3edba40cf70382b7167eeabae6e69d549139ae82bef91507af30b3c9b8c8b1859baabe9c03be239c8d7669ebcdc9d
7
+ data.tar.gz: 6bcec1dce1cc2334697ccb82f480ebfcaf1123663dbc14ba819fb05a0c4aab0ea7ab2fd73ce6b1983b3df46ffb8c96845afe8f641524a3ef5c68c63b76c60933
@@ -3,6 +3,8 @@ name: CI
3
3
  on:
4
4
  push:
5
5
  pull_request:
6
+ schedule:
7
+ - cron: '0 13 * * *'
6
8
 
7
9
  jobs:
8
10
  build:
@@ -13,27 +15,30 @@ jobs:
13
15
  fail-fast: false
14
16
  matrix:
15
17
  ruby-version:
16
- - '2.6'
17
- - '2.7'
18
- - '3.0'
19
18
  - '3.1'
20
19
  - '3.2'
21
20
  - '3.3'
21
+ - '3'
22
22
  activerecord-version:
23
- - '6_0'
24
23
  - '6_1'
25
24
  - '7_0'
26
25
  - '7_1'
26
+ - '7_2'
27
+ - '8_0'
28
+ - 'latest'
29
+ mysql-version:
30
+ - '8.0'
27
31
  exclude:
28
- # activerecord-7 doesn't support Ruby 2.6
29
- - ruby-version: '2.6'
30
- activerecord-version: '7_0'
31
- - ruby-version: '2.6'
32
- activerecord-version: '7_1'
32
+ # Exclude conditions that don't meat the minimal requirement
33
+ - ruby-version: '3.1'
34
+ activerecord-version: '8_0'
33
35
 
36
+ # Exclude duplicate conditions
37
+ - ruby-version: '3.1'
38
+ activerecord-version: 'latest' # equivalent to '7_2'
34
39
  services:
35
40
  mysql:
36
- image: mysql:5.7
41
+ image: mysql:${{ matrix.mysql-version }}
37
42
  ports:
38
43
  - 3306:3306
39
44
  options: >-
@@ -55,10 +60,10 @@ jobs:
55
60
  with:
56
61
  ruby-version: ${{ matrix.ruby-version }}
57
62
  bundler-cache: true
58
- - name: Build and test with Rake
63
+ - name: Show activerecord version
64
+ run: bundle info activerecord
65
+ - name: Run tests
59
66
  run: |
60
- bundle config path vendor/bundle
61
- bundle install --jobs 4 --retry 3
62
67
  bundle exec rake
63
68
  env:
64
69
  MYSQL_HOST: 127.0.0.1
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # ActiveRecord::DebugErrors
2
2
 
3
- ![](https://github.com/abicky/activerecord-debug_errors/workflows/CI/badge.svg?branch=master)
3
+ [![CI](https://github.com/abicky/activerecord-debug_errors/actions/workflows/test.yml/badge.svg?branch=master)](https://github.com/abicky/activerecord-debug_errors/actions/workflows/test.yml)
4
4
 
5
5
  ActiveRecord::DebugErrors is an extension of activerecord to display useful debug logs on errors.
6
6
 
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
10
10
  spec.description = %q{ActiveRecord::DebugErrors is an extension of activerecord to display useful debug logs on errors.}
11
11
  spec.homepage = "https://github.com/abicky/activerecord-debug_errors"
12
12
  spec.license = "MIT"
13
- spec.required_ruby_version = Gem::Requirement.new(">= 2.6.0")
13
+ spec.required_ruby_version = Gem::Requirement.new(">= 3.0.0")
14
14
 
15
15
  spec.metadata["homepage_uri"] = spec.homepage
16
16
  spec.metadata["source_code_uri"] = spec.homepage
@@ -22,5 +22,5 @@ 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_runtime_dependency "activerecord", ">= 6", "< 8"
25
+ spec.add_runtime_dependency "activerecord", ">= 6.1"
26
26
  end
@@ -0,0 +1,2 @@
1
+ eval_gemfile("../Gemfile")
2
+ gem "activerecord", "~> 7.2.0"
@@ -0,0 +1,2 @@
1
+ eval_gemfile("../Gemfile")
2
+ gem "activerecord", "~> 8.0.0"
@@ -0,0 +1 @@
1
+ eval_gemfile("../Gemfile")
@@ -1,5 +1,5 @@
1
1
  module ActiveRecord
2
2
  module DebugErrors
3
- VERSION = "0.1.3"
3
+ VERSION = "0.1.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: activerecord-debug_errors
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - abicky
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-05-26 00:00:00.000000000 Z
11
+ date: 2024-12-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '6'
20
- - - "<"
21
- - !ruby/object:Gem::Version
22
- version: '8'
19
+ version: '6.1'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - ">="
28
25
  - !ruby/object:Gem::Version
29
- version: '6'
30
- - - "<"
31
- - !ruby/object:Gem::Version
32
- version: '8'
26
+ version: '6.1'
33
27
  description: ActiveRecord::DebugErrors is an extension of activerecord to display
34
28
  useful debug logs on errors.
35
29
  email:
@@ -52,6 +46,9 @@ files:
52
46
  - gemfiles/activerecord_6_1.gemfile
53
47
  - gemfiles/activerecord_7_0.gemfile
54
48
  - gemfiles/activerecord_7_1.gemfile
49
+ - gemfiles/activerecord_7_2.gemfile
50
+ - gemfiles/activerecord_8_0.gemfile
51
+ - gemfiles/activerecord_latest.gemfile
55
52
  - lib/activerecord-debug_errors.rb
56
53
  - lib/activerecord/debug_errors.rb
57
54
  - lib/activerecord/debug_errors/ext/connection_adapters/abstract_mysql_adapter.rb
@@ -71,14 +68,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
71
68
  requirements:
72
69
  - - ">="
73
70
  - !ruby/object:Gem::Version
74
- version: 2.6.0
71
+ version: 3.0.0
75
72
  required_rubygems_version: !ruby/object:Gem::Requirement
76
73
  requirements:
77
74
  - - ">="
78
75
  - !ruby/object:Gem::Version
79
76
  version: '0'
80
77
  requirements: []
81
- rubygems_version: 3.5.9
78
+ rubygems_version: 3.5.11
82
79
  signing_key:
83
80
  specification_version: 4
84
81
  summary: An extension of activerecord to display useful debug logs on errors