friendly_fk 1.0.22 → 1.0.24

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: c490993692e0b679d96dc111e928b941cc0dcff1e28ac8cf9ed0b2c8a13c890a
4
- data.tar.gz: 5c39b731f23124607a4bca796666e77d4da40689683ec426655e937d92eaad5d
3
+ metadata.gz: 1b21fd8050994ef852b7939ccf686059dfb86eb440162a0de7a78d515feaa18b
4
+ data.tar.gz: 1531b5b294da4280de77843f70fa81af7eb7ad7f26d1cfc7e0ed237cf1cc419c
5
5
  SHA512:
6
- metadata.gz: d25a8501d48e64a23ee829ebb50593205b14742f68f1f3f903f2d550d6ed8800851443c4cb7f6f899d51b58f6a5e6716848e2ee383daf444cf52f0ff0860bbc2
7
- data.tar.gz: 74aa6912fb894cc5640c08dfa0fcadb453059d70b34263974e5368170b593baee0f673d2623967112dd66cd189809c593580770ffe962078c3fa90bf076b9f0d
6
+ metadata.gz: eca66eb160b84add75af024969f187243edd96c2bf208bbdb69c84fedd979960cb2040cb601167ef88ac9b2cddaaf590d28ba802e7b9775ed9abae0598ff87ac
7
+ data.tar.gz: cf7249549b4279573691b88567d256c8a642aea3935bc912574188be8f17555b7fcda7b5fc0479af3626556c425c60136310cff15fc0f7be4579b369ac4974bf
@@ -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,83 +1,102 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- friendly_fk (1.0.22)
4
+ friendly_fk (1.0.24)
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.7)
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.13.0)
40
+ i18n (1.14.4)
28
41
  concurrent-ruby (~> 1.0)
29
- json (2.6.3)
30
- minitest (5.18.0)
31
- mysql2 (0.5.5)
32
- parallel (1.23.0)
33
- parser (3.2.2.1)
42
+ json (2.7.1)
43
+ language_server-protocol (3.17.0.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.0.5)
34
49
  ast (~> 2.4.1)
35
- pg (1.5.3)
36
- rack (3.0.7)
50
+ racc
51
+ pg (1.5.6)
52
+ racc (1.7.3)
53
+ rack (3.0.10)
37
54
  rainbow (3.1.1)
38
- rake (13.0.6)
39
- regexp_parser (2.8.0)
40
- rexml (3.2.5)
41
- rspec (3.12.0)
42
- rspec-core (~> 3.12.0)
43
- rspec-expectations (~> 3.12.0)
44
- rspec-mocks (~> 3.12.0)
45
- rspec-core (3.12.2)
46
- rspec-support (~> 3.12.0)
47
- rspec-expectations (3.12.3)
55
+ rake (13.1.0)
56
+ regexp_parser (2.9.0)
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)
48
65
  diff-lcs (>= 1.2.0, < 2.0)
49
- rspec-support (~> 3.12.0)
50
- rspec-mocks (3.12.5)
66
+ rspec-support (~> 3.13.0)
67
+ rspec-mocks (3.13.0)
51
68
  diff-lcs (>= 1.2.0, < 2.0)
52
- rspec-support (~> 3.12.0)
53
- rspec-support (3.12.0)
54
- rubocop (1.51.0)
69
+ rspec-support (~> 3.13.0)
70
+ rspec-support (3.13.1)
71
+ rubocop (1.62.1)
55
72
  json (~> 2.3)
73
+ language_server-protocol (>= 3.17.0)
56
74
  parallel (~> 1.10)
57
- parser (>= 3.2.0.0)
75
+ parser (>= 3.3.0.2)
58
76
  rainbow (>= 2.2.2, < 4.0)
59
77
  regexp_parser (>= 1.8, < 3.0)
60
78
  rexml (>= 3.2.5, < 4.0)
61
- rubocop-ast (>= 1.28.0, < 2.0)
79
+ rubocop-ast (>= 1.31.1, < 2.0)
62
80
  ruby-progressbar (~> 1.7)
63
81
  unicode-display_width (>= 2.4.0, < 3.0)
64
- rubocop-ast (1.28.1)
65
- parser (>= 3.2.1.0)
66
- rubocop-capybara (2.18.0)
82
+ rubocop-ast (1.31.2)
83
+ parser (>= 3.3.0.4)
84
+ rubocop-capybara (2.20.0)
67
85
  rubocop (~> 1.41)
68
- rubocop-factory_bot (2.23.1)
69
- rubocop (~> 1.33)
70
- rubocop-performance (1.18.0)
71
- rubocop (>= 1.7.0, < 2.0)
72
- rubocop-ast (>= 0.4.0)
73
- rubocop-rails (2.19.1)
86
+ rubocop-factory_bot (2.25.1)
87
+ rubocop (~> 1.41)
88
+ rubocop-performance (1.20.2)
89
+ rubocop (>= 1.48.1, < 2.0)
90
+ rubocop-ast (>= 1.30.0, < 2.0)
91
+ rubocop-rails (2.24.0)
74
92
  activesupport (>= 4.2.0)
75
93
  rack (>= 1.1)
76
94
  rubocop (>= 1.33.0, < 2.0)
95
+ rubocop-ast (>= 1.31.1, < 2.0)
77
96
  rubocop-rake (0.6.0)
78
97
  rubocop (~> 1.0)
79
- rubocop-rspec (2.22.0)
80
- rubocop (~> 1.33)
98
+ rubocop-rspec (2.27.1)
99
+ rubocop (~> 1.40)
81
100
  rubocop-capybara (~> 2.17)
82
101
  rubocop-factory_bot (~> 2.22)
83
102
  ruby-progressbar (1.13.0)
@@ -86,18 +105,21 @@ GEM
86
105
  simplecov-html (~> 0.11)
87
106
  simplecov_json_formatter (~> 0.1)
88
107
  simplecov-html (0.12.3)
89
- simplecov-rcov (0.3.1)
108
+ simplecov-rcov (0.3.7)
90
109
  simplecov (>= 0.4.1)
91
110
  simplecov_json_formatter (0.1.4)
111
+ thor (1.3.1)
112
+ timeout (0.4.1)
92
113
  tzinfo (2.0.6)
93
114
  concurrent-ruby (~> 1.0)
94
- unicode-display_width (2.4.2)
115
+ unicode-display_width (2.5.0)
95
116
 
96
117
  PLATFORMS
97
118
  x86_64-linux
98
119
 
99
120
  DEPENDENCIES
100
121
  bundler
122
+ bundler-audit
101
123
  friendly_fk!
102
124
  fuubar
103
125
  mysql2
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FriendlyFk
4
- VERSION = '1.0.22'
4
+ VERSION = '1.0.24'
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.22
4
+ version: 1.0.24
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-05-29 00:00:00.000000000 Z
11
+ date: 2024-03-23 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