fishplate 7.0.5 → 7.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.bundler-version +1 -1
- data/.dependabot/config.yml +3 -0
- data/.github/workflows/auto-approve.yml +8 -9
- data/.github/workflows/auto-merge-dependencies.yml +24 -0
- data/.github/workflows/auto-merge.yml +4 -1
- data/.github/workflows/ci.yml +1 -1
- data/Gemfile +9 -0
- data/Gemfile.lock +63 -38
- data/fishplate.gemspec +4 -13
- data/lib/fishplate/rack.rb +1 -1
- data/lib/fishplate/sidekiq_middleware.rb +1 -1
- data/lib/fishplate/version.rb +1 -1
- data/lib/fishplate.rb +2 -2
- metadata +11 -122
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dc7f126143ce3b6f17543d22403caba365093b249ec245351b905115277b927
|
4
|
+
data.tar.gz: 0d77ea962a9bcf62b30413cf5d6ce9fd74217bf2daeca88b2768d4f734d69792
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd167ee7f1a4e2090748e8a1c06d2a2fa13cc9fabc4f892c10f730b2251fdfa90e598d3ee1f50ae0b85e144493831a12b66b3de2407bd3893d731fac8f831ad0
|
7
|
+
data.tar.gz: 0f74769e8353352421fb228acbf589df9d9001ca09dac1e0826c59f7677b8f46addd111621ef8752e56e72c3d5cab8955163495c6c6cf477e48907e9dfba0f0b
|
data/.bundler-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.
|
1
|
+
2.4.20
|
data/.dependabot/config.yml
CHANGED
@@ -1,14 +1,13 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
on: pull_request_target
|
1
|
+
name: Auto approve dependency upgrades and hot-fix PRs
|
2
|
+
on:
|
3
|
+
pull_request_target:
|
4
|
+
types: [labeled, unlabeled, edited, ready_for_review, review_requested, auto_merge_enabled]
|
6
5
|
|
7
6
|
jobs:
|
8
7
|
auto-approve:
|
9
8
|
runs-on: ubuntu-latest
|
10
9
|
steps:
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
10
|
+
- uses: hmarr/auto-approve-action@v3
|
11
|
+
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev' || contains(toJson(github), 'HOTFIX-AUTO-APPROVE')
|
12
|
+
with:
|
13
|
+
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
@@ -0,0 +1,24 @@
|
|
1
|
+
name: automerge-dependencies
|
2
|
+
on:
|
3
|
+
pull_request_review:
|
4
|
+
types:
|
5
|
+
- submitted
|
6
|
+
check_suite:
|
7
|
+
types:
|
8
|
+
- completed
|
9
|
+
label:
|
10
|
+
types:
|
11
|
+
- created
|
12
|
+
status: {}
|
13
|
+
jobs:
|
14
|
+
automerge:
|
15
|
+
runs-on: ubuntu-latest
|
16
|
+
steps:
|
17
|
+
- name: automerge-dependencies
|
18
|
+
uses: pascalgn/automerge-action@v0.15.6
|
19
|
+
env:
|
20
|
+
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
21
|
+
MERGE_METHOD: squash
|
22
|
+
MERGE_DELETE_BRANCH: true
|
23
|
+
MERGE_LABELS: dependencies
|
24
|
+
MERGE_REMOVE_LABELS: ""
|
@@ -6,13 +6,16 @@ on:
|
|
6
6
|
check_suite:
|
7
7
|
types:
|
8
8
|
- completed
|
9
|
+
label:
|
10
|
+
types:
|
11
|
+
- created
|
9
12
|
status: {}
|
10
13
|
jobs:
|
11
14
|
automerge:
|
12
15
|
runs-on: ubuntu-latest
|
13
16
|
steps:
|
14
17
|
- name: automerge
|
15
|
-
uses:
|
18
|
+
uses: pascalgn/automerge-action@v0.15.6
|
16
19
|
env:
|
17
20
|
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
|
18
21
|
MERGE_METHOD: squash
|
data/.github/workflows/ci.yml
CHANGED
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,85 +1,110 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fishplate (7.0
|
4
|
+
fishplate (7.1.0)
|
5
5
|
a9n (~> 1.0)
|
6
|
-
activemodel (~> 7.
|
7
|
-
activerecord (~> 7.
|
8
|
-
activesupport (~> 7.
|
6
|
+
activemodel (~> 7.1)
|
7
|
+
activerecord (~> 7.1)
|
8
|
+
activesupport (~> 7.1)
|
9
9
|
rake (~> 13)
|
10
10
|
tzinfo-data
|
11
11
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
a9n (1.
|
16
|
-
activemodel (7.0
|
17
|
-
activesupport (= 7.0
|
18
|
-
activerecord (7.0
|
19
|
-
activemodel (= 7.0
|
20
|
-
activesupport (= 7.0
|
21
|
-
|
15
|
+
a9n (1.5.0)
|
16
|
+
activemodel (7.1.0)
|
17
|
+
activesupport (= 7.1.0)
|
18
|
+
activerecord (7.1.0)
|
19
|
+
activemodel (= 7.1.0)
|
20
|
+
activesupport (= 7.1.0)
|
21
|
+
timeout (>= 0.4.0)
|
22
|
+
activesupport (7.1.0)
|
23
|
+
base64
|
24
|
+
bigdecimal
|
22
25
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
26
|
+
connection_pool (>= 2.2.5)
|
27
|
+
drb
|
23
28
|
i18n (>= 1.6, < 2)
|
24
29
|
minitest (>= 5.1)
|
30
|
+
mutex_m
|
25
31
|
tzinfo (~> 2.0)
|
26
32
|
ast (2.4.2)
|
33
|
+
base64 (0.1.1)
|
34
|
+
bigdecimal (3.1.4)
|
27
35
|
coderay (1.1.3)
|
28
|
-
concurrent-ruby (1.
|
36
|
+
concurrent-ruby (1.2.2)
|
37
|
+
connection_pool (2.4.1)
|
29
38
|
diff-lcs (1.5.0)
|
30
|
-
|
39
|
+
drb (2.1.1)
|
40
|
+
ruby2_keywords
|
41
|
+
i18n (1.14.1)
|
31
42
|
concurrent-ruby (~> 1.0)
|
32
|
-
json (2.6.
|
43
|
+
json (2.6.3)
|
44
|
+
language_server-protocol (3.17.0.3)
|
33
45
|
method_source (1.0.0)
|
34
|
-
mini_portile2 (2.8.
|
35
|
-
minitest (5.
|
36
|
-
|
37
|
-
|
46
|
+
mini_portile2 (2.8.4)
|
47
|
+
minitest (5.20.0)
|
48
|
+
mutex_m (0.1.2)
|
49
|
+
parallel (1.23.0)
|
50
|
+
parser (3.2.2.4)
|
38
51
|
ast (~> 2.4.1)
|
39
|
-
|
52
|
+
racc
|
53
|
+
pry (0.14.2)
|
40
54
|
coderay (~> 1.1)
|
41
55
|
method_source (~> 1.0)
|
56
|
+
racc (1.7.1)
|
42
57
|
rainbow (3.1.1)
|
43
58
|
rake (13.0.6)
|
44
|
-
regexp_parser (2.
|
45
|
-
rexml (3.2.
|
59
|
+
regexp_parser (2.8.1)
|
60
|
+
rexml (3.2.6)
|
46
61
|
rspec (3.12.0)
|
47
62
|
rspec-core (~> 3.12.0)
|
48
63
|
rspec-expectations (~> 3.12.0)
|
49
64
|
rspec-mocks (~> 3.12.0)
|
50
|
-
rspec-core (3.12.
|
65
|
+
rspec-core (3.12.2)
|
51
66
|
rspec-support (~> 3.12.0)
|
52
|
-
rspec-expectations (3.12.
|
67
|
+
rspec-expectations (3.12.3)
|
53
68
|
diff-lcs (>= 1.2.0, < 2.0)
|
54
69
|
rspec-support (~> 3.12.0)
|
55
|
-
rspec-mocks (3.12.
|
70
|
+
rspec-mocks (3.12.6)
|
56
71
|
diff-lcs (>= 1.2.0, < 2.0)
|
57
72
|
rspec-support (~> 3.12.0)
|
58
|
-
rspec-support (3.12.
|
59
|
-
rubocop (1.
|
73
|
+
rspec-support (3.12.1)
|
74
|
+
rubocop (1.56.4)
|
75
|
+
base64 (~> 0.1.1)
|
60
76
|
json (~> 2.3)
|
77
|
+
language_server-protocol (>= 3.17.0)
|
61
78
|
parallel (~> 1.10)
|
62
|
-
parser (>= 3.
|
79
|
+
parser (>= 3.2.2.3)
|
63
80
|
rainbow (>= 2.2.2, < 4.0)
|
64
81
|
regexp_parser (>= 1.8, < 3.0)
|
65
82
|
rexml (>= 3.2.5, < 4.0)
|
66
|
-
rubocop-ast (>= 1.
|
83
|
+
rubocop-ast (>= 1.28.1, < 2.0)
|
67
84
|
ruby-progressbar (~> 1.7)
|
68
|
-
unicode-display_width (>=
|
69
|
-
rubocop-ast (1.
|
70
|
-
parser (>= 3.
|
85
|
+
unicode-display_width (>= 2.4.0, < 3.0)
|
86
|
+
rubocop-ast (1.29.0)
|
87
|
+
parser (>= 3.2.1.0)
|
88
|
+
rubocop-capybara (2.19.0)
|
89
|
+
rubocop (~> 1.41)
|
90
|
+
rubocop-factory_bot (2.24.0)
|
91
|
+
rubocop (~> 1.33)
|
71
92
|
rubocop-rake (0.6.0)
|
72
93
|
rubocop (~> 1.0)
|
73
|
-
rubocop-rspec (2.
|
94
|
+
rubocop-rspec (2.24.1)
|
74
95
|
rubocop (~> 1.33)
|
75
|
-
|
76
|
-
|
96
|
+
rubocop-capybara (~> 2.17)
|
97
|
+
rubocop-factory_bot (~> 2.22)
|
98
|
+
ruby-progressbar (1.13.0)
|
99
|
+
ruby2_keywords (0.0.5)
|
100
|
+
sqlite3 (1.6.6)
|
77
101
|
mini_portile2 (~> 2.8.0)
|
78
|
-
|
102
|
+
timeout (0.4.0)
|
103
|
+
tzinfo (2.0.6)
|
79
104
|
concurrent-ruby (~> 1.0)
|
80
|
-
tzinfo-data (1.
|
105
|
+
tzinfo-data (1.2023.3)
|
81
106
|
tzinfo (>= 1.0.0)
|
82
|
-
unicode-display_width (2.
|
107
|
+
unicode-display_width (2.5.0)
|
83
108
|
|
84
109
|
PLATFORMS
|
85
110
|
ruby
|
@@ -96,4 +121,4 @@ DEPENDENCIES
|
|
96
121
|
sqlite3
|
97
122
|
|
98
123
|
BUNDLED WITH
|
99
|
-
2.
|
124
|
+
2.4.20
|
data/fishplate.gemspec
CHANGED
@@ -23,21 +23,12 @@ Gem::Specification.new do |spec|
|
|
23
23
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
24
24
|
spec.require_paths = ['lib']
|
25
25
|
|
26
|
-
spec.required_ruby_version = '>= 3.
|
26
|
+
spec.required_ruby_version = '>= 3.2'
|
27
27
|
|
28
28
|
spec.add_dependency 'a9n', '~> 1.0'
|
29
|
-
spec.add_dependency 'activemodel', '~> 7.
|
30
|
-
spec.add_dependency 'activerecord', '~> 7.
|
31
|
-
spec.add_dependency 'activesupport', '~> 7.
|
29
|
+
spec.add_dependency 'activemodel', '~> 7.1'
|
30
|
+
spec.add_dependency 'activerecord', '~> 7.1'
|
31
|
+
spec.add_dependency 'activesupport', '~> 7.1'
|
32
32
|
spec.add_dependency 'rake', '~> 13'
|
33
33
|
spec.add_dependency 'tzinfo-data'
|
34
|
-
|
35
|
-
spec.add_development_dependency 'bundler'
|
36
|
-
spec.add_development_dependency 'pry'
|
37
|
-
spec.add_development_dependency 'rake'
|
38
|
-
spec.add_development_dependency 'rspec'
|
39
|
-
spec.add_development_dependency 'rubocop'
|
40
|
-
spec.add_development_dependency 'rubocop-rake'
|
41
|
-
spec.add_development_dependency 'rubocop-rspec'
|
42
|
-
spec.add_development_dependency 'sqlite3'
|
43
34
|
end
|
data/lib/fishplate/rack.rb
CHANGED
data/lib/fishplate/version.rb
CHANGED
data/lib/fishplate.rb
CHANGED
@@ -83,8 +83,8 @@ module Fishplate
|
|
83
83
|
end
|
84
84
|
|
85
85
|
def setup_db_connection
|
86
|
-
ActiveRecord::Base.clear_active_connections!
|
87
|
-
ActiveRecord::Base.flush_idle_connections!
|
86
|
+
ActiveRecord::Base.connection_handler.clear_active_connections!
|
87
|
+
ActiveRecord::Base.connection_handler.flush_idle_connections!
|
88
88
|
ActiveRecord::Base.establish_connection
|
89
89
|
end
|
90
90
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fishplate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 7.0
|
4
|
+
version: 7.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Knapik
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-10-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: a9n
|
@@ -30,42 +30,42 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '7.
|
33
|
+
version: '7.1'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '7.
|
40
|
+
version: '7.1'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: activerecord
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: '7.
|
47
|
+
version: '7.1'
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: '7.
|
54
|
+
version: '7.1'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: activesupport
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: '7.
|
61
|
+
version: '7.1'
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: '7.
|
68
|
+
version: '7.1'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: rake
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -94,118 +94,6 @@ dependencies:
|
|
94
94
|
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '0'
|
97
|
-
- !ruby/object:Gem::Dependency
|
98
|
-
name: bundler
|
99
|
-
requirement: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
type: :development
|
105
|
-
prerelease: false
|
106
|
-
version_requirements: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
109
|
-
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
111
|
-
- !ruby/object:Gem::Dependency
|
112
|
-
name: pry
|
113
|
-
requirement: !ruby/object:Gem::Requirement
|
114
|
-
requirements:
|
115
|
-
- - ">="
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
type: :development
|
119
|
-
prerelease: false
|
120
|
-
version_requirements: !ruby/object:Gem::Requirement
|
121
|
-
requirements:
|
122
|
-
- - ">="
|
123
|
-
- !ruby/object:Gem::Version
|
124
|
-
version: '0'
|
125
|
-
- !ruby/object:Gem::Dependency
|
126
|
-
name: rake
|
127
|
-
requirement: !ruby/object:Gem::Requirement
|
128
|
-
requirements:
|
129
|
-
- - ">="
|
130
|
-
- !ruby/object:Gem::Version
|
131
|
-
version: '0'
|
132
|
-
type: :development
|
133
|
-
prerelease: false
|
134
|
-
version_requirements: !ruby/object:Gem::Requirement
|
135
|
-
requirements:
|
136
|
-
- - ">="
|
137
|
-
- !ruby/object:Gem::Version
|
138
|
-
version: '0'
|
139
|
-
- !ruby/object:Gem::Dependency
|
140
|
-
name: rspec
|
141
|
-
requirement: !ruby/object:Gem::Requirement
|
142
|
-
requirements:
|
143
|
-
- - ">="
|
144
|
-
- !ruby/object:Gem::Version
|
145
|
-
version: '0'
|
146
|
-
type: :development
|
147
|
-
prerelease: false
|
148
|
-
version_requirements: !ruby/object:Gem::Requirement
|
149
|
-
requirements:
|
150
|
-
- - ">="
|
151
|
-
- !ruby/object:Gem::Version
|
152
|
-
version: '0'
|
153
|
-
- !ruby/object:Gem::Dependency
|
154
|
-
name: rubocop
|
155
|
-
requirement: !ruby/object:Gem::Requirement
|
156
|
-
requirements:
|
157
|
-
- - ">="
|
158
|
-
- !ruby/object:Gem::Version
|
159
|
-
version: '0'
|
160
|
-
type: :development
|
161
|
-
prerelease: false
|
162
|
-
version_requirements: !ruby/object:Gem::Requirement
|
163
|
-
requirements:
|
164
|
-
- - ">="
|
165
|
-
- !ruby/object:Gem::Version
|
166
|
-
version: '0'
|
167
|
-
- !ruby/object:Gem::Dependency
|
168
|
-
name: rubocop-rake
|
169
|
-
requirement: !ruby/object:Gem::Requirement
|
170
|
-
requirements:
|
171
|
-
- - ">="
|
172
|
-
- !ruby/object:Gem::Version
|
173
|
-
version: '0'
|
174
|
-
type: :development
|
175
|
-
prerelease: false
|
176
|
-
version_requirements: !ruby/object:Gem::Requirement
|
177
|
-
requirements:
|
178
|
-
- - ">="
|
179
|
-
- !ruby/object:Gem::Version
|
180
|
-
version: '0'
|
181
|
-
- !ruby/object:Gem::Dependency
|
182
|
-
name: rubocop-rspec
|
183
|
-
requirement: !ruby/object:Gem::Requirement
|
184
|
-
requirements:
|
185
|
-
- - ">="
|
186
|
-
- !ruby/object:Gem::Version
|
187
|
-
version: '0'
|
188
|
-
type: :development
|
189
|
-
prerelease: false
|
190
|
-
version_requirements: !ruby/object:Gem::Requirement
|
191
|
-
requirements:
|
192
|
-
- - ">="
|
193
|
-
- !ruby/object:Gem::Version
|
194
|
-
version: '0'
|
195
|
-
- !ruby/object:Gem::Dependency
|
196
|
-
name: sqlite3
|
197
|
-
requirement: !ruby/object:Gem::Requirement
|
198
|
-
requirements:
|
199
|
-
- - ">="
|
200
|
-
- !ruby/object:Gem::Version
|
201
|
-
version: '0'
|
202
|
-
type: :development
|
203
|
-
prerelease: false
|
204
|
-
version_requirements: !ruby/object:Gem::Requirement
|
205
|
-
requirements:
|
206
|
-
- - ">="
|
207
|
-
- !ruby/object:Gem::Version
|
208
|
-
version: '0'
|
209
97
|
description:
|
210
98
|
email:
|
211
99
|
- knapo@knapo.net
|
@@ -220,6 +108,7 @@ files:
|
|
220
108
|
- ".github/ISSUE_TEMPLATE/story.md"
|
221
109
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
222
110
|
- ".github/workflows/auto-approve.yml"
|
111
|
+
- ".github/workflows/auto-merge-dependencies.yml"
|
223
112
|
- ".github/workflows/auto-merge.yml"
|
224
113
|
- ".github/workflows/ci.yml"
|
225
114
|
- ".gitignore"
|
@@ -250,14 +139,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
250
139
|
requirements:
|
251
140
|
- - ">="
|
252
141
|
- !ruby/object:Gem::Version
|
253
|
-
version: '3.
|
142
|
+
version: '3.2'
|
254
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
255
144
|
requirements:
|
256
145
|
- - ">="
|
257
146
|
- !ruby/object:Gem::Version
|
258
147
|
version: '0'
|
259
148
|
requirements: []
|
260
|
-
rubygems_version: 3.
|
149
|
+
rubygems_version: 3.4.20
|
261
150
|
signing_key:
|
262
151
|
specification_version: 4
|
263
152
|
summary: Fishplate is a library allowing running ActiveRecord without Railties.
|