has_defaults 1.3.0 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cf9fba68ef0886841ad0e03cc946b53178e46203eb6c3181701d6ac5ff717c37
4
- data.tar.gz: db101e37ed3be781181b2b972207359fbf9ee23a4e4e3b865aed3a16a8531b81
3
+ metadata.gz: 6ad1639d6dfdea785b16403b338b0241f0c0a353618e35803fafd704a8275396
4
+ data.tar.gz: 8853567edb679c934c2cee2c39538932cabffce05827895dfe090e92a605e2ec
5
5
  SHA512:
6
- metadata.gz: 8e8cece1db2b7a16c3e673df9a4bcea6386348a02f992566db97bbeaad3f19d1320002fac387ec4095bd0a1ff28520780359aa40ca4cc58254b9b68580621588
7
- data.tar.gz: 532f5521a85b743235056be482bb8a6ee6f6c551798e851f5c6ffe99287fb7dafe862d2cac6e8c75095237b05b42da8602d1960ed82d1e83af69a19ffaa6b852
6
+ metadata.gz: 7747d210ae82d0210efb76222285257784be322de7753c8f97e856ca56792a378388c75fb25e3a0c53541826638103fb0ac570f1331aee3297ccbd5979df12de
7
+ data.tar.gz: e2f2e99fa1ca41de816b98c35d4fbb2d5b5b593bf77f60b4b4077f729ad71d8113b5207e8e2b1cbacbeaf81c05fa5fa787456ed33d74517208414bc669c9c399
@@ -9,7 +9,7 @@ name: Tests
9
9
  - master
10
10
  jobs:
11
11
  test_pg:
12
- runs-on: ubuntu-22.04
12
+ runs-on: ubuntu-24.04
13
13
  services:
14
14
  postgres:
15
15
  image: postgres
@@ -23,6 +23,7 @@ jobs:
23
23
  fail-fast: false
24
24
  matrix:
25
25
  include:
26
+ # legacy - If a version breaks, just drop it, don't fix it.
26
27
  - ruby: 2.7.4
27
28
  gemfile: Gemfile.6.1.pg
28
29
  - ruby: 2.7.4
@@ -33,22 +34,34 @@ jobs:
33
34
  gemfile: Gemfile.6.1.pg
34
35
  - ruby: 3.2.1
35
36
  gemfile: Gemfile.7.0.pg
36
- - ruby: 3.2.1
37
- gemfile: Gemfile.8.0.pg
38
37
  - ruby: 3.3.6
39
38
  gemfile: Gemfile.7.0.pg
40
39
  - ruby: 3.3.6
41
40
  gemfile: Gemfile.7.1.pg
41
+ - ruby: 3.4.1
42
+ gemfile: Gemfile.7.1.pg
43
+
44
+ # Officially supported
45
+ - ruby: 3.2.1
46
+ gemfile: Gemfile.8.0.pg
47
+ - ruby: 3.2.1
48
+ gemfile: Gemfile.8.1.pg
42
49
  - ruby: 3.3.6
43
50
  gemfile: Gemfile.7.2.pg
44
51
  - ruby: 3.3.6
45
52
  gemfile: Gemfile.8.0.pg
46
- - ruby: 3.4.1
47
- gemfile: Gemfile.7.1.pg
48
53
  - ruby: 3.4.1
49
54
  gemfile: Gemfile.7.2.pg
50
55
  - ruby: 3.4.1
51
56
  gemfile: Gemfile.8.0.pg
57
+ - ruby: 3.4.1
58
+ gemfile: Gemfile.8.1.pg
59
+ - ruby: 4.0.0
60
+ gemfile: Gemfile.7.2.pg
61
+ - ruby: 4.0.0
62
+ gemfile: Gemfile.8.0.pg
63
+ - ruby: 4.0.0
64
+ gemfile: Gemfile.8.1.pg
52
65
  env:
53
66
  BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
54
67
  steps:
data/CHANGELOG.md CHANGED
@@ -11,6 +11,16 @@ This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html
11
11
  ### Compatible changes
12
12
 
13
13
 
14
+ # 2.0.0 - 2026-03-12
15
+
16
+ ### Breaking changes
17
+ - Drop support for Ruby < 2.7
18
+
19
+ ### Compatible changes
20
+ - Add support for Ruby 4.0
21
+ - Add support for Rails 8.1
22
+
23
+
14
24
  ## 1.3.0 - 2025-01-29
15
25
 
16
26
  ### Breaking changes
data/Gemfile.6.1.pg.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- has_defaults (1.3.0)
4
+ has_defaults (2.0.0)
5
5
  activerecord
6
6
 
7
7
  GEM
data/Gemfile.7.0.pg.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- has_defaults (1.3.0)
4
+ has_defaults (2.0.0)
5
5
  activerecord
6
6
 
7
7
  GEM
data/Gemfile.7.1.pg.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- has_defaults (1.3.0)
4
+ has_defaults (2.0.0)
5
5
  activerecord
6
6
 
7
7
  GEM
data/Gemfile.7.2.pg CHANGED
@@ -9,7 +9,7 @@ gem 'rake'
9
9
  gem 'database_cleaner'
10
10
  gem 'rspec', '~>3.5'
11
11
  gem 'gemika', '>=0.8.1'
12
- gem 'pry-byebug', '>=3.10.1'
12
+ gem 'pry-byebug', '>=3.11.0'
13
13
 
14
14
  # Gem under test
15
15
  gem 'has_defaults', path: '.'
data/Gemfile.7.2.pg.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- has_defaults (1.3.0)
4
+ has_defaults (2.0.0)
5
5
  activerecord
6
6
 
7
7
  GEM
@@ -28,7 +28,8 @@ GEM
28
28
  base64 (0.2.0)
29
29
  benchmark (0.4.0)
30
30
  bigdecimal (3.1.8)
31
- byebug (11.1.3)
31
+ byebug (13.0.0)
32
+ reline (>= 0.6.0)
32
33
  coderay (1.1.3)
33
34
  concurrent-ruby (1.3.4)
34
35
  connection_pool (2.4.1)
@@ -43,17 +44,23 @@ GEM
43
44
  gemika (0.8.3)
44
45
  i18n (1.14.6)
45
46
  concurrent-ruby (~> 1.0)
47
+ io-console (0.8.2)
46
48
  logger (1.6.1)
47
49
  method_source (1.1.0)
48
- minitest (5.25.2)
50
+ minitest (6.0.1)
51
+ prism (~> 1.5)
49
52
  pg (1.5.9)
50
- pry (0.14.2)
53
+ prism (1.9.0)
54
+ pry (0.16.0)
51
55
  coderay (~> 1.1)
52
56
  method_source (~> 1.0)
53
- pry-byebug (3.10.1)
54
- byebug (~> 11.0)
55
- pry (>= 0.13, < 0.15)
57
+ reline (>= 0.6.0)
58
+ pry-byebug (3.12.0)
59
+ byebug (~> 13.0)
60
+ pry (>= 0.13, < 0.17)
56
61
  rake (13.2.1)
62
+ reline (0.6.3)
63
+ io-console (~> 0.5)
57
64
  rspec (3.13.0)
58
65
  rspec-core (~> 3.13.0)
59
66
  rspec-expectations (~> 3.13.0)
@@ -81,7 +88,7 @@ DEPENDENCIES
81
88
  gemika (>= 0.8.1)
82
89
  has_defaults!
83
90
  pg (>= 1.3)
84
- pry-byebug (>= 3.10.1)
91
+ pry-byebug (>= 3.11.0)
85
92
  rake
86
93
  rspec (~> 3.5)
87
94
 
data/Gemfile.8.0.pg CHANGED
@@ -9,7 +9,7 @@ gem 'rake'
9
9
  gem 'database_cleaner'
10
10
  gem 'rspec', '~>3.5'
11
11
  gem 'gemika', '>=0.8.1'
12
- gem 'pry-byebug', '>=3.10.1'
12
+ gem 'pry-byebug', '>=3.11.0'
13
13
 
14
14
  # Gem under test
15
15
  gem 'has_defaults', path: '.'
data/Gemfile.8.0.pg.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- has_defaults (1.3.0)
4
+ has_defaults (2.0.0)
5
5
  activerecord
6
6
 
7
7
  GEM
@@ -29,7 +29,8 @@ GEM
29
29
  base64 (0.2.0)
30
30
  benchmark (0.4.0)
31
31
  bigdecimal (3.1.9)
32
- byebug (11.1.3)
32
+ byebug (13.0.0)
33
+ reline (>= 0.6.0)
33
34
  coderay (1.1.3)
34
35
  concurrent-ruby (1.3.5)
35
36
  connection_pool (2.5.0)
@@ -44,17 +45,23 @@ GEM
44
45
  gemika (0.8.4)
45
46
  i18n (1.14.6)
46
47
  concurrent-ruby (~> 1.0)
48
+ io-console (0.8.2)
47
49
  logger (1.6.5)
48
50
  method_source (1.1.0)
49
- minitest (5.25.4)
51
+ minitest (6.0.1)
52
+ prism (~> 1.5)
50
53
  pg (1.5.9)
51
- pry (0.14.2)
54
+ prism (1.9.0)
55
+ pry (0.16.0)
52
56
  coderay (~> 1.1)
53
57
  method_source (~> 1.0)
54
- pry-byebug (3.10.1)
55
- byebug (~> 11.0)
56
- pry (>= 0.13, < 0.15)
58
+ reline (>= 0.6.0)
59
+ pry-byebug (3.12.0)
60
+ byebug (~> 13.0)
61
+ pry (>= 0.13, < 0.17)
57
62
  rake (13.2.1)
63
+ reline (0.6.3)
64
+ io-console (~> 0.5)
58
65
  rspec (3.13.0)
59
66
  rspec-core (~> 3.13.0)
60
67
  rspec-expectations (~> 3.13.0)
@@ -75,7 +82,7 @@ GEM
75
82
  uri (1.0.2)
76
83
 
77
84
  PLATFORMS
78
- x86_64-linux
85
+ ruby
79
86
 
80
87
  DEPENDENCIES
81
88
  activerecord (~> 8.0.0)
@@ -83,7 +90,7 @@ DEPENDENCIES
83
90
  gemika (>= 0.8.1)
84
91
  has_defaults!
85
92
  pg (>= 1.3)
86
- pry-byebug (>= 3.10.1)
93
+ pry-byebug (>= 3.11.0)
87
94
  rake
88
95
  rspec (~> 3.5)
89
96
 
data/Gemfile.8.1.pg ADDED
@@ -0,0 +1,15 @@
1
+ source 'https://rubygems.org'
2
+
3
+ # Runtime dependencies
4
+ gem 'activerecord', '~>8.1.0'
5
+ gem 'pg', '>=1.3'
6
+
7
+ # Development dependencies
8
+ gem 'rake'
9
+ gem 'database_cleaner'
10
+ gem 'rspec', '~>3.5'
11
+ gem 'gemika', '>=0.8.1'
12
+ gem 'pry-byebug', '>=3.11.0'
13
+
14
+ # Gem under test
15
+ gem 'has_defaults', path: '.'
@@ -0,0 +1,98 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ has_defaults (2.0.0)
5
+ activerecord
6
+
7
+ GEM
8
+ remote: https://rubygems.org/
9
+ specs:
10
+ activemodel (8.1.2)
11
+ activesupport (= 8.1.2)
12
+ activerecord (8.1.2)
13
+ activemodel (= 8.1.2)
14
+ activesupport (= 8.1.2)
15
+ timeout (>= 0.4.0)
16
+ activesupport (8.1.2)
17
+ base64
18
+ bigdecimal
19
+ concurrent-ruby (~> 1.0, >= 1.3.1)
20
+ connection_pool (>= 2.2.5)
21
+ drb
22
+ i18n (>= 1.6, < 2)
23
+ json
24
+ logger (>= 1.4.2)
25
+ minitest (>= 5.1)
26
+ securerandom (>= 0.3)
27
+ tzinfo (~> 2.0, >= 2.0.5)
28
+ uri (>= 0.13.1)
29
+ base64 (0.3.0)
30
+ bigdecimal (4.0.1)
31
+ byebug (13.0.0)
32
+ reline (>= 0.6.0)
33
+ coderay (1.1.3)
34
+ concurrent-ruby (1.3.6)
35
+ connection_pool (3.0.2)
36
+ database_cleaner (2.1.0)
37
+ database_cleaner-active_record (>= 2, < 3)
38
+ database_cleaner-active_record (2.2.2)
39
+ activerecord (>= 5.a)
40
+ database_cleaner-core (~> 2.0)
41
+ database_cleaner-core (2.0.1)
42
+ diff-lcs (1.6.2)
43
+ drb (2.2.3)
44
+ gemika (2.0.0)
45
+ i18n (1.14.8)
46
+ concurrent-ruby (~> 1.0)
47
+ io-console (0.8.2)
48
+ json (2.18.1)
49
+ logger (1.7.0)
50
+ method_source (1.1.0)
51
+ minitest (6.0.1)
52
+ prism (~> 1.5)
53
+ pg (1.6.3-x86_64-linux)
54
+ prism (1.9.0)
55
+ pry (0.16.0)
56
+ coderay (~> 1.1)
57
+ method_source (~> 1.0)
58
+ reline (>= 0.6.0)
59
+ pry-byebug (3.12.0)
60
+ byebug (~> 13.0)
61
+ pry (>= 0.13, < 0.17)
62
+ rake (13.3.1)
63
+ reline (0.6.3)
64
+ io-console (~> 0.5)
65
+ rspec (3.13.2)
66
+ rspec-core (~> 3.13.0)
67
+ rspec-expectations (~> 3.13.0)
68
+ rspec-mocks (~> 3.13.0)
69
+ rspec-core (3.13.6)
70
+ rspec-support (~> 3.13.0)
71
+ rspec-expectations (3.13.5)
72
+ diff-lcs (>= 1.2.0, < 2.0)
73
+ rspec-support (~> 3.13.0)
74
+ rspec-mocks (3.13.7)
75
+ diff-lcs (>= 1.2.0, < 2.0)
76
+ rspec-support (~> 3.13.0)
77
+ rspec-support (3.13.7)
78
+ securerandom (0.4.1)
79
+ timeout (0.6.0)
80
+ tzinfo (2.0.6)
81
+ concurrent-ruby (~> 1.0)
82
+ uri (1.0.2)
83
+
84
+ PLATFORMS
85
+ ruby
86
+
87
+ DEPENDENCIES
88
+ activerecord (~> 8.1.0)
89
+ database_cleaner
90
+ gemika (>= 0.8.1)
91
+ has_defaults!
92
+ pg (>= 1.3)
93
+ pry-byebug (>= 3.11.0)
94
+ rake
95
+ rspec (~> 3.5)
96
+
97
+ BUNDLED WITH
98
+ 2.4.7
data/has_defaults.gemspec CHANGED
@@ -5,7 +5,7 @@ require "has_defaults/version"
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'has_defaults'
7
7
  spec.version = HasDefaults::VERSION
8
- spec.required_ruby_version = '>= 2.3.0'
8
+ spec.required_ruby_version = '>= 2.7.4'
9
9
  spec.authors = ['Henning Koch']
10
10
  spec.email = ['henning.koch@makandra.de']
11
11
 
@@ -1,5 +1,5 @@
1
1
  module HasDefaults
2
2
 
3
- VERSION = '1.3.0'
3
+ VERSION = '2.0.0'
4
4
 
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: has_defaults
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 2.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Henning Koch
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-29 00:00:00.000000000 Z
11
+ date: 2026-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -46,6 +46,8 @@ files:
46
46
  - Gemfile.7.2.pg.lock
47
47
  - Gemfile.8.0.pg
48
48
  - Gemfile.8.0.pg.lock
49
+ - Gemfile.8.1.pg
50
+ - Gemfile.8.1.pg.lock
49
51
  - Gemfile.lock
50
52
  - LICENSE
51
53
  - README.md
@@ -67,7 +69,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
67
69
  requirements:
68
70
  - - ">="
69
71
  - !ruby/object:Gem::Version
70
- version: 2.3.0
72
+ version: 2.7.4
71
73
  required_rubygems_version: !ruby/object:Gem::Requirement
72
74
  requirements:
73
75
  - - ">="