friendly_fk 1.0.27 → 1.0.28

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: 90987210f5f9fb2c2767f493022edd1fcc1c4884de0cd77bac56a3bdc917e329
4
- data.tar.gz: 428a4aba6f10254349d46b5454e16567d353ca38783e840b5924a832291dd744
3
+ metadata.gz: de3071aab50dee03c60e3a2b7ccdd43610b9291800b56aea659c3fe5194a476f
4
+ data.tar.gz: 302509fea7c97eea8dba6cfe82ec4c0415146e31af6abf52e0b1536dbd57b313
5
5
  SHA512:
6
- metadata.gz: 64e25b02ddcc5d39a511ba77f9d4664e95f98139b5ead0954ad59421083cf8e8ff7013e404d3b9f679d11bba7accb4fb7eeb395bc007b2f125446d648ec1268b
7
- data.tar.gz: bbed59c54eb386461186c08540b0375e995e25779c19b7d2e9398e887ab329c4cc9311b21a01f90c96c565adaf3b3b72be52b8db58354cab3ab3ca4089877114
6
+ metadata.gz: d6a167a0488d9c9112f54faeb95ba9086dea71d76dc29999a58002c109b3db7780a85dae2069ed06478459598b23496559ac9d317787c6400afc35f290af230f
7
+ data.tar.gz: 3422245bb4be15e8cfdb565e81435c3e448f5ed9cf9ab14652a056a0d961544055070e1f651c96b4bb0d7ccd7f712baadefed0b7f93841e128e83964464f4d53
@@ -15,7 +15,7 @@ jobs:
15
15
  - name: Set up Ruby
16
16
  uses: ruby/setup-ruby@v1
17
17
  with:
18
- ruby-version: '3.3.4'
18
+ ruby-version: '3.4.3'
19
19
  bundler-cache: true
20
20
 
21
21
  - name: Bundle audit
@@ -8,7 +8,7 @@ jobs:
8
8
  runs-on: ubuntu-latest
9
9
  strategy:
10
10
  matrix:
11
- ruby-version: ['3.1', '3.2', '3.3']
11
+ ruby-version: ['3.2', '3.3', '3.4']
12
12
 
13
13
  env:
14
14
  TEST_DATABASE_URL: mysql2://root:root@localhost:3306/friendly_fk_test
@@ -8,7 +8,7 @@ jobs:
8
8
  runs-on: ubuntu-latest
9
9
  strategy:
10
10
  matrix:
11
- ruby-version: ['3.1', '3.2', '3.3']
11
+ ruby-version: ['3.2', '3.3', '3.4']
12
12
 
13
13
  env:
14
14
  TEST_DATABASE_URL: postgres://test_user:test_user@localhost:5432/friendly_fk_test
@@ -8,7 +8,7 @@ jobs:
8
8
  runs-on: ubuntu-latest
9
9
  strategy:
10
10
  matrix:
11
- ruby-version: ['3.1', '3.2', '3.3']
11
+ ruby-version: ['3.2', '3.3', '3.4']
12
12
  steps:
13
13
  - name: Checkout
14
14
  uses: actions/checkout@v2
data/.rubocop.yml CHANGED
@@ -7,8 +7,8 @@ require:
7
7
  inherit_from: .rubocop_todo.yml
8
8
 
9
9
  AllCops:
10
- TargetRubyVersion: 2.6
11
- # Cop names are not d§splayed in offense messages by default. Change behavior
10
+ TargetRubyVersion: 3.2
11
+ # Cop names are not displayed in offense messages by default. Change behavior
12
12
  # by overriding DisplayCopNames, or by giving the -D/--display-cop-names
13
13
  # option.
14
14
  DisplayCopNames: true
data/Gemfile.lock CHANGED
@@ -1,20 +1,21 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- friendly_fk (1.0.27)
4
+ friendly_fk (1.0.28)
5
5
  activerecord
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (7.2.1)
11
- activesupport (= 7.2.1)
12
- activerecord (7.2.1)
13
- activemodel (= 7.2.1)
14
- activesupport (= 7.2.1)
10
+ activemodel (8.0.2)
11
+ activesupport (= 8.0.2)
12
+ activerecord (8.0.2)
13
+ activemodel (= 8.0.2)
14
+ activesupport (= 8.0.2)
15
15
  timeout (>= 0.4.0)
16
- activesupport (7.2.1)
16
+ activesupport (8.0.2)
17
17
  base64
18
+ benchmark (>= 0.3)
18
19
  bigdecimal
19
20
  concurrent-ruby (~> 1.0, >= 1.3.1)
20
21
  connection_pool (>= 2.2.5)
@@ -24,93 +25,102 @@ GEM
24
25
  minitest (>= 5.1)
25
26
  securerandom (>= 0.3)
26
27
  tzinfo (~> 2.0, >= 2.0.5)
27
- ast (2.4.2)
28
+ uri (>= 0.13.1)
29
+ ast (2.4.3)
28
30
  base64 (0.2.0)
29
- bigdecimal (3.1.8)
31
+ benchmark (0.4.0)
32
+ bigdecimal (3.1.9)
30
33
  bundler-audit (0.9.2)
31
34
  bundler (>= 1.2.0, < 3)
32
35
  thor (~> 1.0)
33
- concurrent-ruby (1.3.4)
34
- connection_pool (2.4.1)
35
- diff-lcs (1.5.1)
36
+ concurrent-ruby (1.3.5)
37
+ connection_pool (2.5.2)
38
+ diff-lcs (1.6.1)
36
39
  docile (1.4.1)
37
40
  drb (2.2.1)
38
41
  fuubar (2.5.1)
39
42
  rspec-core (~> 3.0)
40
43
  ruby-progressbar (~> 1.4)
41
- i18n (1.14.5)
44
+ i18n (1.14.7)
42
45
  concurrent-ruby (~> 1.0)
43
- json (2.7.2)
44
- language_server-protocol (3.17.0.3)
45
- logger (1.6.0)
46
- minitest (5.25.1)
46
+ json (2.10.2)
47
+ language_server-protocol (3.17.0.4)
48
+ lint_roller (1.1.0)
49
+ logger (1.7.0)
50
+ minitest (5.25.5)
47
51
  mysql2 (0.5.6)
48
- parallel (1.26.3)
49
- parser (3.3.4.2)
52
+ parallel (1.27.0)
53
+ parser (3.3.8.0)
50
54
  ast (~> 2.4.1)
51
55
  racc
52
- pg (1.5.7)
56
+ pg (1.5.9)
57
+ prism (1.4.0)
53
58
  racc (1.8.1)
54
- rack (3.1.7)
59
+ rack (3.1.13)
55
60
  rainbow (3.1.1)
56
61
  rake (13.2.1)
57
- regexp_parser (2.9.2)
58
- rexml (3.3.6)
59
- strscan
62
+ regexp_parser (2.10.0)
60
63
  rspec (3.13.0)
61
64
  rspec-core (~> 3.13.0)
62
65
  rspec-expectations (~> 3.13.0)
63
66
  rspec-mocks (~> 3.13.0)
64
- rspec-core (3.13.0)
67
+ rspec-core (3.13.3)
65
68
  rspec-support (~> 3.13.0)
66
- rspec-expectations (3.13.2)
69
+ rspec-expectations (3.13.3)
67
70
  diff-lcs (>= 1.2.0, < 2.0)
68
71
  rspec-support (~> 3.13.0)
69
- rspec-mocks (3.13.1)
72
+ rspec-mocks (3.13.2)
70
73
  diff-lcs (>= 1.2.0, < 2.0)
71
74
  rspec-support (~> 3.13.0)
72
- rspec-support (3.13.1)
73
- rubocop (1.65.1)
75
+ rspec-support (3.13.2)
76
+ rubocop (1.75.3)
74
77
  json (~> 2.3)
75
- language_server-protocol (>= 3.17.0)
78
+ language_server-protocol (~> 3.17.0.2)
79
+ lint_roller (~> 1.1.0)
76
80
  parallel (~> 1.10)
77
81
  parser (>= 3.3.0.2)
78
82
  rainbow (>= 2.2.2, < 4.0)
79
- regexp_parser (>= 2.4, < 3.0)
80
- rexml (>= 3.2.5, < 4.0)
81
- rubocop-ast (>= 1.31.1, < 2.0)
83
+ regexp_parser (>= 2.9.3, < 3.0)
84
+ rubocop-ast (>= 1.44.0, < 2.0)
82
85
  ruby-progressbar (~> 1.7)
83
- unicode-display_width (>= 2.4.0, < 3.0)
84
- rubocop-ast (1.32.1)
85
- parser (>= 3.3.1.0)
86
- rubocop-performance (1.21.1)
87
- rubocop (>= 1.48.1, < 2.0)
88
- rubocop-ast (>= 1.31.1, < 2.0)
89
- rubocop-rails (2.26.0)
86
+ unicode-display_width (>= 2.4.0, < 4.0)
87
+ rubocop-ast (1.44.1)
88
+ parser (>= 3.3.7.2)
89
+ prism (~> 1.4)
90
+ rubocop-performance (1.25.0)
91
+ lint_roller (~> 1.1)
92
+ rubocop (>= 1.75.0, < 2.0)
93
+ rubocop-ast (>= 1.38.0, < 2.0)
94
+ rubocop-rails (2.31.0)
90
95
  activesupport (>= 4.2.0)
96
+ lint_roller (~> 1.1)
91
97
  rack (>= 1.1)
92
- rubocop (>= 1.52.0, < 2.0)
93
- rubocop-ast (>= 1.31.1, < 2.0)
94
- rubocop-rake (0.6.0)
95
- rubocop (~> 1.0)
96
- rubocop-rspec (3.0.4)
97
- rubocop (~> 1.61)
98
+ rubocop (>= 1.75.0, < 2.0)
99
+ rubocop-ast (>= 1.38.0, < 2.0)
100
+ rubocop-rake (0.7.1)
101
+ lint_roller (~> 1.1)
102
+ rubocop (>= 1.72.1)
103
+ rubocop-rspec (3.6.0)
104
+ lint_roller (~> 1.1)
105
+ rubocop (~> 1.72, >= 1.72.1)
98
106
  ruby-progressbar (1.13.0)
99
- securerandom (0.3.1)
107
+ securerandom (0.4.1)
100
108
  simplecov (0.22.0)
101
109
  docile (~> 1.1)
102
110
  simplecov-html (~> 0.11)
103
111
  simplecov_json_formatter (~> 0.1)
104
- simplecov-html (0.12.3)
112
+ simplecov-html (0.13.1)
105
113
  simplecov-rcov (0.3.7)
106
114
  simplecov (>= 0.4.1)
107
115
  simplecov_json_formatter (0.1.4)
108
- strscan (3.1.0)
109
- thor (1.3.1)
110
- timeout (0.4.1)
116
+ thor (1.3.2)
117
+ timeout (0.4.3)
111
118
  tzinfo (2.0.6)
112
119
  concurrent-ruby (~> 1.0)
113
- unicode-display_width (2.5.0)
120
+ unicode-display_width (3.1.4)
121
+ unicode-emoji (~> 4.0, >= 4.0.4)
122
+ unicode-emoji (4.0.4)
123
+ uri (1.0.3)
114
124
 
115
125
  PLATFORMS
116
126
  x86_64-linux
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  MIT License
2
2
 
3
- Copyright (c) 2018 Denis Kiselyov
3
+ Copyright (c) 2018-2025 Denis Kiselyov
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/friendly_fk.gemspec CHANGED
@@ -20,7 +20,7 @@ Gem::Specification.new do |spec|
20
20
  'rubygems_mfa_required' => 'true'
21
21
  }
22
22
 
23
- spec.required_ruby_version = '>= 2.6.0'
23
+ spec.required_ruby_version = '>= 3.2.0'
24
24
 
25
25
  spec.metadata['allowed_push_host'] = 'https://rubygems.org'
26
26
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FriendlyFk
4
- VERSION = '1.0.27'
4
+ VERSION = '1.0.28'
5
5
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: friendly_fk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.27
4
+ version: 1.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Kiselyov
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2024-08-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: activerecord
@@ -61,7 +60,6 @@ metadata:
61
60
  source_code_uri: https://github.com/marinazzio/friendly_fk
62
61
  rubygems_mfa_required: 'true'
63
62
  allowed_push_host: https://rubygems.org
64
- post_install_message:
65
63
  rdoc_options: []
66
64
  require_paths:
67
65
  - lib
@@ -69,15 +67,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
69
67
  requirements:
70
68
  - - ">="
71
69
  - !ruby/object:Gem::Version
72
- version: 2.6.0
70
+ version: 3.2.0
73
71
  required_rubygems_version: !ruby/object:Gem::Requirement
74
72
  requirements:
75
73
  - - ">="
76
74
  - !ruby/object:Gem::Version
77
75
  version: '0'
78
76
  requirements: []
79
- rubygems_version: 3.5.11
80
- signing_key:
77
+ rubygems_version: 3.6.7
81
78
  specification_version: 4
82
79
  summary: Creates foreign keys with friendly names
83
80
  test_files: []