friendly_fk 1.0.26 → 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 +4 -4
- data/.github/workflows/bundle-audit.yml +1 -1
- data/.github/workflows/publish.yml +25 -0
- data/.github/workflows/rspec-mysql.yml +1 -1
- data/.github/workflows/rspec-pg.yml +1 -1
- data/.github/workflows/rubocop.yml +1 -1
- data/.rubocop.yml +2 -9
- data/Gemfile.lock +70 -67
- data/LICENSE +1 -1
- data/friendly_fk.gemspec +1 -1
- data/lib/friendly_fk/version.rb +1 -1
- metadata +5 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de3071aab50dee03c60e3a2b7ccdd43610b9291800b56aea659c3fe5194a476f
|
4
|
+
data.tar.gz: 302509fea7c97eea8dba6cfe82ec4c0415146e31af6abf52e0b1536dbd57b313
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6a167a0488d9c9112f54faeb95ba9086dea71d76dc29999a58002c109b3db7780a85dae2069ed06478459598b23496559ac9d317787c6400afc35f290af230f
|
7
|
+
data.tar.gz: 3422245bb4be15e8cfdb565e81435c3e448f5ed9cf9ab14652a056a0d961544055070e1f651c96b4bb0d7ccd7f712baadefed0b7f93841e128e83964464f4d53
|
@@ -0,0 +1,25 @@
|
|
1
|
+
name: Build and Publish Gem
|
2
|
+
|
3
|
+
on:
|
4
|
+
release:
|
5
|
+
types: [published]
|
6
|
+
|
7
|
+
jobs:
|
8
|
+
build:
|
9
|
+
runs-on: ubuntu-latest
|
10
|
+
|
11
|
+
permissions:
|
12
|
+
contents: write
|
13
|
+
id-token: write
|
14
|
+
|
15
|
+
steps:
|
16
|
+
# Set up
|
17
|
+
- uses: actions/checkout@v4
|
18
|
+
- name: Set up Ruby
|
19
|
+
uses: ruby/setup-ruby@v1
|
20
|
+
with:
|
21
|
+
bundler-cache: true
|
22
|
+
ruby-version: ruby
|
23
|
+
|
24
|
+
# Release
|
25
|
+
- uses: rubygems/release-gem@v1
|
data/.rubocop.yml
CHANGED
@@ -7,8 +7,8 @@ require:
|
|
7
7
|
inherit_from: .rubocop_todo.yml
|
8
8
|
|
9
9
|
AllCops:
|
10
|
-
TargetRubyVersion: 2
|
11
|
-
# Cop names are not
|
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
|
@@ -187,13 +187,6 @@ RSpec/ExampleWording:
|
|
187
187
|
not: does not
|
188
188
|
IgnoredWords: []
|
189
189
|
|
190
|
-
# Checks the file and folder naming of the spec file.
|
191
|
-
RSpec/FilePath:
|
192
|
-
Enabled: true
|
193
|
-
CustomTransform:
|
194
|
-
RuboCop: rubocop
|
195
|
-
RSpec: rspec
|
196
|
-
|
197
190
|
RSpec/ImplicitExpect:
|
198
191
|
EnforcedStyle: should
|
199
192
|
Enabled: true
|
data/Gemfile.lock
CHANGED
@@ -1,123 +1,126 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
friendly_fk (1.0.
|
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 (
|
11
|
-
activesupport (=
|
12
|
-
activerecord (
|
13
|
-
activemodel (=
|
14
|
-
activesupport (=
|
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 (
|
16
|
+
activesupport (8.0.2)
|
17
17
|
base64
|
18
|
+
benchmark (>= 0.3)
|
18
19
|
bigdecimal
|
19
|
-
concurrent-ruby (~> 1.0, >= 1.
|
20
|
+
concurrent-ruby (~> 1.0, >= 1.3.1)
|
20
21
|
connection_pool (>= 2.2.5)
|
21
22
|
drb
|
22
23
|
i18n (>= 1.6, < 2)
|
24
|
+
logger (>= 1.4.2)
|
23
25
|
minitest (>= 5.1)
|
24
|
-
|
25
|
-
tzinfo (~> 2.0)
|
26
|
-
|
26
|
+
securerandom (>= 0.3)
|
27
|
+
tzinfo (~> 2.0, >= 2.0.5)
|
28
|
+
uri (>= 0.13.1)
|
29
|
+
ast (2.4.3)
|
27
30
|
base64 (0.2.0)
|
28
|
-
|
29
|
-
|
31
|
+
benchmark (0.4.0)
|
32
|
+
bigdecimal (3.1.9)
|
33
|
+
bundler-audit (0.9.2)
|
30
34
|
bundler (>= 1.2.0, < 3)
|
31
35
|
thor (~> 1.0)
|
32
|
-
concurrent-ruby (1.3.
|
33
|
-
connection_pool (2.
|
34
|
-
diff-lcs (1.
|
35
|
-
docile (1.4.
|
36
|
+
concurrent-ruby (1.3.5)
|
37
|
+
connection_pool (2.5.2)
|
38
|
+
diff-lcs (1.6.1)
|
39
|
+
docile (1.4.1)
|
36
40
|
drb (2.2.1)
|
37
41
|
fuubar (2.5.1)
|
38
42
|
rspec-core (~> 3.0)
|
39
43
|
ruby-progressbar (~> 1.4)
|
40
|
-
i18n (1.14.
|
44
|
+
i18n (1.14.7)
|
41
45
|
concurrent-ruby (~> 1.0)
|
42
|
-
json (2.
|
43
|
-
language_server-protocol (3.17.0.
|
44
|
-
|
45
|
-
|
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)
|
46
51
|
mysql2 (0.5.6)
|
47
|
-
parallel (1.
|
48
|
-
parser (3.3.
|
52
|
+
parallel (1.27.0)
|
53
|
+
parser (3.3.8.0)
|
49
54
|
ast (~> 2.4.1)
|
50
55
|
racc
|
51
|
-
pg (1.5.
|
52
|
-
|
53
|
-
|
56
|
+
pg (1.5.9)
|
57
|
+
prism (1.4.0)
|
58
|
+
racc (1.8.1)
|
59
|
+
rack (3.1.13)
|
54
60
|
rainbow (3.1.1)
|
55
61
|
rake (13.2.1)
|
56
|
-
regexp_parser (2.
|
57
|
-
rexml (3.3.0)
|
58
|
-
strscan
|
62
|
+
regexp_parser (2.10.0)
|
59
63
|
rspec (3.13.0)
|
60
64
|
rspec-core (~> 3.13.0)
|
61
65
|
rspec-expectations (~> 3.13.0)
|
62
66
|
rspec-mocks (~> 3.13.0)
|
63
|
-
rspec-core (3.13.
|
67
|
+
rspec-core (3.13.3)
|
64
68
|
rspec-support (~> 3.13.0)
|
65
|
-
rspec-expectations (3.13.
|
69
|
+
rspec-expectations (3.13.3)
|
66
70
|
diff-lcs (>= 1.2.0, < 2.0)
|
67
71
|
rspec-support (~> 3.13.0)
|
68
|
-
rspec-mocks (3.13.
|
72
|
+
rspec-mocks (3.13.2)
|
69
73
|
diff-lcs (>= 1.2.0, < 2.0)
|
70
74
|
rspec-support (~> 3.13.0)
|
71
|
-
rspec-support (3.13.
|
72
|
-
rubocop (1.
|
75
|
+
rspec-support (3.13.2)
|
76
|
+
rubocop (1.75.3)
|
73
77
|
json (~> 2.3)
|
74
|
-
language_server-protocol (
|
78
|
+
language_server-protocol (~> 3.17.0.2)
|
79
|
+
lint_roller (~> 1.1.0)
|
75
80
|
parallel (~> 1.10)
|
76
81
|
parser (>= 3.3.0.2)
|
77
82
|
rainbow (>= 2.2.2, < 4.0)
|
78
|
-
regexp_parser (>=
|
79
|
-
|
80
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
83
|
+
regexp_parser (>= 2.9.3, < 3.0)
|
84
|
+
rubocop-ast (>= 1.44.0, < 2.0)
|
81
85
|
ruby-progressbar (~> 1.7)
|
82
|
-
unicode-display_width (>= 2.4.0, <
|
83
|
-
rubocop-ast (1.
|
84
|
-
parser (>= 3.3.
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
rubocop (
|
89
|
-
|
90
|
-
|
91
|
-
rubocop-ast (>= 1.31.1, < 2.0)
|
92
|
-
rubocop-rails (2.25.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)
|
93
95
|
activesupport (>= 4.2.0)
|
96
|
+
lint_roller (~> 1.1)
|
94
97
|
rack (>= 1.1)
|
95
|
-
rubocop (>= 1.
|
96
|
-
rubocop-ast (>= 1.
|
97
|
-
rubocop-rake (0.
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
rubocop
|
103
|
-
rubocop-rspec_rails (~> 2.28)
|
104
|
-
rubocop-rspec_rails (2.29.0)
|
105
|
-
rubocop (~> 1.40)
|
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)
|
106
106
|
ruby-progressbar (1.13.0)
|
107
|
+
securerandom (0.4.1)
|
107
108
|
simplecov (0.22.0)
|
108
109
|
docile (~> 1.1)
|
109
110
|
simplecov-html (~> 0.11)
|
110
111
|
simplecov_json_formatter (~> 0.1)
|
111
|
-
simplecov-html (0.
|
112
|
+
simplecov-html (0.13.1)
|
112
113
|
simplecov-rcov (0.3.7)
|
113
114
|
simplecov (>= 0.4.1)
|
114
115
|
simplecov_json_formatter (0.1.4)
|
115
|
-
|
116
|
-
|
117
|
-
timeout (0.4.1)
|
116
|
+
thor (1.3.2)
|
117
|
+
timeout (0.4.3)
|
118
118
|
tzinfo (2.0.6)
|
119
119
|
concurrent-ruby (~> 1.0)
|
120
|
-
unicode-display_width (
|
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)
|
121
124
|
|
122
125
|
PLATFORMS
|
123
126
|
x86_64-linux
|
@@ -140,4 +143,4 @@ DEPENDENCIES
|
|
140
143
|
simplecov-rcov
|
141
144
|
|
142
145
|
BUNDLED WITH
|
143
|
-
2.
|
146
|
+
2.5.3
|
data/LICENSE
CHANGED
data/friendly_fk.gemspec
CHANGED
data/lib/friendly_fk/version.rb
CHANGED
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.
|
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:
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: activerecord
|
@@ -33,6 +32,7 @@ extra_rdoc_files: []
|
|
33
32
|
files:
|
34
33
|
- ".github/dependabot.yml"
|
35
34
|
- ".github/workflows/bundle-audit.yml"
|
35
|
+
- ".github/workflows/publish.yml"
|
36
36
|
- ".github/workflows/rspec-mysql.yml"
|
37
37
|
- ".github/workflows/rspec-pg.yml"
|
38
38
|
- ".github/workflows/rubocop.yml"
|
@@ -60,7 +60,6 @@ metadata:
|
|
60
60
|
source_code_uri: https://github.com/marinazzio/friendly_fk
|
61
61
|
rubygems_mfa_required: 'true'
|
62
62
|
allowed_push_host: https://rubygems.org
|
63
|
-
post_install_message:
|
64
63
|
rdoc_options: []
|
65
64
|
require_paths:
|
66
65
|
- lib
|
@@ -68,15 +67,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
67
|
requirements:
|
69
68
|
- - ">="
|
70
69
|
- !ruby/object:Gem::Version
|
71
|
-
version: 2.
|
70
|
+
version: 3.2.0
|
72
71
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
73
72
|
requirements:
|
74
73
|
- - ">="
|
75
74
|
- !ruby/object:Gem::Version
|
76
75
|
version: '0'
|
77
76
|
requirements: []
|
78
|
-
rubygems_version: 3.
|
79
|
-
signing_key:
|
77
|
+
rubygems_version: 3.6.7
|
80
78
|
specification_version: 4
|
81
79
|
summary: Creates foreign keys with friendly names
|
82
80
|
test_files: []
|