friendly_fk 1.0.23 → 1.0.25

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: bd86fe0b0f81c0a3c3f9b06d4fed7210b75265da52d6f2a1f91562d4cd0940bd
4
- data.tar.gz: 90bc5d3583b8c7830e3128ecedae52b0a549cbf5eba2bbefc98f7e59ff9b1cc6
3
+ metadata.gz: 7989a4ad5cdf55943adf3e2bee56c95f171e550e7070ac2f8ac8198df8be14af
4
+ data.tar.gz: 72b9632e33bb261de26ca96437946965f4afa9be63740353a4985ce10cbb6527
5
5
  SHA512:
6
- metadata.gz: 17cbcdef7529e64294efcf4bd511cd7ea5dcf486715f8653f5afe9733e19451c4c4812d53477f3e9672b47323afea238be0e9370094fef02e90b9f4aae0e7290
7
- data.tar.gz: 451094c67f3e93a5802af4ad571c6c09bc2a40d38f6aee5c9427806989c185dbcf4d82aa3f1e871e49b10170ea5218d8def7ac2aa16b1a384cd564aa677c0b2a
6
+ metadata.gz: 5e4bd4ea98bf5a7537e4e153dd4009f188d9886b50bc70095a158e6723cb82741774b288e4aaae1c4a968504207833788124f12cd430e2db9b2f5873b41cb2fe
7
+ data.tar.gz: '08f627d229167c3e83f47464be91c032222651775f80dd4f54a94fa2bc670b029adcdb0e4d88848f74af4392e1d42be8a8359c4f987fc375841327528f6b8d33'
@@ -0,0 +1,11 @@
1
+ # To get started with Dependabot version updates, you'll need to specify which
2
+ # package ecosystems to update and where the package manifests are located.
3
+ # Please see the documentation for all configuration options:
4
+ # https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
5
+
6
+ version: 2
7
+ updates:
8
+ - package-ecosystem: "bundler" # See documentation for possible values
9
+ directory: "/" # Location of package manifests
10
+ schedule:
11
+ interval: "weekly"
@@ -0,0 +1,22 @@
1
+ name: BundleAudit
2
+ on: push
3
+
4
+ jobs:
5
+ bundle_audit:
6
+ name: bundle_audit
7
+ runs-on: ubuntu-latest
8
+
9
+ steps:
10
+ - name: Checkout
11
+ uses: actions/checkout@v2
12
+ with:
13
+ fetch-depth: 0
14
+
15
+ - name: Set up Ruby
16
+ uses: ruby/setup-ruby@v1
17
+ with:
18
+ ruby-version: '3.2.2'
19
+ bundler-cache: true
20
+
21
+ - name: Bundle audit
22
+ run: bundle exec bundle-audit check
@@ -8,7 +8,7 @@ jobs:
8
8
  runs-on: ubuntu-latest
9
9
  strategy:
10
10
  matrix:
11
- ruby-version: ['2.7', '3.0', '3.1', '3.2']
11
+ ruby-version: ['3.1', '3.2', '3.3']
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: ['2.7', '3.0', '3.1', '3.2']
11
+ ruby-version: ['3.1', '3.2', '3.3']
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: ['2.7', '3.0', '3.1', '3.2']
11
+ ruby-version: ['3.1', '3.2', '3.3']
12
12
  steps:
13
13
  - name: Checkout
14
14
  uses: actions/checkout@v2
data/Gemfile CHANGED
@@ -10,6 +10,7 @@ group :development, :test do
10
10
  end
11
11
 
12
12
  group :test do
13
+ gem 'bundler-audit', require: false
13
14
  gem 'mysql2', require: false
14
15
  gem 'pg', require: false
15
16
  gem 'rspec', require: false
data/Gemfile.lock CHANGED
@@ -1,107 +1,128 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- friendly_fk (1.0.23)
4
+ friendly_fk (1.0.25)
5
5
  activerecord
6
6
 
7
7
  GEM
8
8
  remote: https://rubygems.org/
9
9
  specs:
10
- activemodel (7.0.5)
11
- activesupport (= 7.0.5)
12
- activerecord (7.0.5)
13
- activemodel (= 7.0.5)
14
- activesupport (= 7.0.5)
15
- activesupport (7.0.5)
10
+ activemodel (7.1.3.2)
11
+ activesupport (= 7.1.3.2)
12
+ activerecord (7.1.3.2)
13
+ activemodel (= 7.1.3.2)
14
+ activesupport (= 7.1.3.2)
15
+ timeout (>= 0.4.0)
16
+ activesupport (7.1.3.2)
17
+ base64
18
+ bigdecimal
16
19
  concurrent-ruby (~> 1.0, >= 1.0.2)
20
+ connection_pool (>= 2.2.5)
21
+ drb
17
22
  i18n (>= 1.6, < 2)
18
23
  minitest (>= 5.1)
24
+ mutex_m
19
25
  tzinfo (~> 2.0)
20
26
  ast (2.4.2)
21
- concurrent-ruby (1.2.2)
22
- diff-lcs (1.5.0)
27
+ base64 (0.2.0)
28
+ bigdecimal (3.1.8)
29
+ bundler-audit (0.9.1)
30
+ bundler (>= 1.2.0, < 3)
31
+ thor (~> 1.0)
32
+ concurrent-ruby (1.2.3)
33
+ connection_pool (2.4.1)
34
+ diff-lcs (1.5.1)
23
35
  docile (1.4.0)
36
+ drb (2.2.1)
24
37
  fuubar (2.5.1)
25
38
  rspec-core (~> 3.0)
26
39
  ruby-progressbar (~> 1.4)
27
- i18n (1.14.1)
40
+ i18n (1.14.5)
28
41
  concurrent-ruby (~> 1.0)
29
- json (2.6.3)
42
+ json (2.7.2)
30
43
  language_server-protocol (3.17.0.3)
31
- minitest (5.18.1)
32
- mysql2 (0.5.5)
33
- parallel (1.23.0)
34
- parser (3.2.2.3)
44
+ minitest (5.22.3)
45
+ mutex_m (0.2.0)
46
+ mysql2 (0.5.6)
47
+ parallel (1.24.0)
48
+ parser (3.3.1.0)
35
49
  ast (~> 2.4.1)
36
50
  racc
37
- pg (1.5.3)
38
- racc (1.7.1)
39
- rack (3.0.8)
51
+ pg (1.5.6)
52
+ racc (1.7.3)
53
+ rack (3.0.11)
40
54
  rainbow (3.1.1)
41
- rake (13.0.6)
42
- regexp_parser (2.8.1)
43
- rexml (3.2.5)
44
- rspec (3.12.0)
45
- rspec-core (~> 3.12.0)
46
- rspec-expectations (~> 3.12.0)
47
- rspec-mocks (~> 3.12.0)
48
- rspec-core (3.12.2)
49
- rspec-support (~> 3.12.0)
50
- rspec-expectations (3.12.3)
55
+ rake (13.2.1)
56
+ regexp_parser (2.9.1)
57
+ rexml (3.2.6)
58
+ rspec (3.13.0)
59
+ rspec-core (~> 3.13.0)
60
+ rspec-expectations (~> 3.13.0)
61
+ rspec-mocks (~> 3.13.0)
62
+ rspec-core (3.13.0)
63
+ rspec-support (~> 3.13.0)
64
+ rspec-expectations (3.13.0)
51
65
  diff-lcs (>= 1.2.0, < 2.0)
52
- rspec-support (~> 3.12.0)
53
- rspec-mocks (3.12.5)
66
+ rspec-support (~> 3.13.0)
67
+ rspec-mocks (3.13.1)
54
68
  diff-lcs (>= 1.2.0, < 2.0)
55
- rspec-support (~> 3.12.0)
56
- rspec-support (3.12.0)
57
- rubocop (1.53.0)
69
+ rspec-support (~> 3.13.0)
70
+ rspec-support (3.13.1)
71
+ rubocop (1.63.5)
58
72
  json (~> 2.3)
59
73
  language_server-protocol (>= 3.17.0)
60
74
  parallel (~> 1.10)
61
- parser (>= 3.2.2.3)
75
+ parser (>= 3.3.0.2)
62
76
  rainbow (>= 2.2.2, < 4.0)
63
77
  regexp_parser (>= 1.8, < 3.0)
64
78
  rexml (>= 3.2.5, < 4.0)
65
- rubocop-ast (>= 1.28.0, < 2.0)
79
+ rubocop-ast (>= 1.31.1, < 2.0)
66
80
  ruby-progressbar (~> 1.7)
67
81
  unicode-display_width (>= 2.4.0, < 3.0)
68
- rubocop-ast (1.29.0)
69
- parser (>= 3.2.1.0)
70
- rubocop-capybara (2.18.0)
82
+ rubocop-ast (1.31.3)
83
+ parser (>= 3.3.1.0)
84
+ rubocop-capybara (2.20.0)
71
85
  rubocop (~> 1.41)
72
- rubocop-factory_bot (2.23.1)
73
- rubocop (~> 1.33)
74
- rubocop-performance (1.18.0)
75
- rubocop (>= 1.7.0, < 2.0)
76
- rubocop-ast (>= 0.4.0)
77
- rubocop-rails (2.20.2)
86
+ rubocop-factory_bot (2.25.1)
87
+ rubocop (~> 1.41)
88
+ rubocop-performance (1.21.0)
89
+ rubocop (>= 1.48.1, < 2.0)
90
+ rubocop-ast (>= 1.31.1, < 2.0)
91
+ rubocop-rails (2.24.1)
78
92
  activesupport (>= 4.2.0)
79
93
  rack (>= 1.1)
80
94
  rubocop (>= 1.33.0, < 2.0)
95
+ rubocop-ast (>= 1.31.1, < 2.0)
81
96
  rubocop-rake (0.6.0)
82
97
  rubocop (~> 1.0)
83
- rubocop-rspec (2.22.0)
84
- rubocop (~> 1.33)
98
+ rubocop-rspec (2.29.2)
99
+ rubocop (~> 1.40)
85
100
  rubocop-capybara (~> 2.17)
86
101
  rubocop-factory_bot (~> 2.22)
102
+ rubocop-rspec_rails (~> 2.28)
103
+ rubocop-rspec_rails (2.28.3)
104
+ rubocop (~> 1.40)
87
105
  ruby-progressbar (1.13.0)
88
106
  simplecov (0.22.0)
89
107
  docile (~> 1.1)
90
108
  simplecov-html (~> 0.11)
91
109
  simplecov_json_formatter (~> 0.1)
92
110
  simplecov-html (0.12.3)
93
- simplecov-rcov (0.3.1)
111
+ simplecov-rcov (0.3.7)
94
112
  simplecov (>= 0.4.1)
95
113
  simplecov_json_formatter (0.1.4)
114
+ thor (1.3.1)
115
+ timeout (0.4.1)
96
116
  tzinfo (2.0.6)
97
117
  concurrent-ruby (~> 1.0)
98
- unicode-display_width (2.4.2)
118
+ unicode-display_width (2.5.0)
99
119
 
100
120
  PLATFORMS
101
121
  x86_64-linux
102
122
 
103
123
  DEPENDENCIES
104
124
  bundler
125
+ bundler-audit
105
126
  friendly_fk!
106
127
  fuubar
107
128
  mysql2
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FriendlyFk
4
- VERSION = '1.0.23'
4
+ VERSION = '1.0.25'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: friendly_fk
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.23
4
+ version: 1.0.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Denis Kiselyov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-06-23 00:00:00.000000000 Z
11
+ date: 2024-05-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord
@@ -31,6 +31,8 @@ executables: []
31
31
  extensions: []
32
32
  extra_rdoc_files: []
33
33
  files:
34
+ - ".github/dependabot.yml"
35
+ - ".github/workflows/bundle-audit.yml"
34
36
  - ".github/workflows/rspec-mysql.yml"
35
37
  - ".github/workflows/rspec-pg.yml"
36
38
  - ".github/workflows/rubocop.yml"
@@ -73,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
75
  - !ruby/object:Gem::Version
74
76
  version: '0'
75
77
  requirements: []
76
- rubygems_version: 3.4.12
78
+ rubygems_version: 3.4.10
77
79
  signing_key:
78
80
  specification_version: 4
79
81
  summary: Creates foreign keys with friendly names