fishplate 1.1.2 → 1.1.3
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/.github/PULL_REQUEST_TEMPLATE.md +3 -15
- data/.github/workflows/auto-approve.yml +1 -1
- data/.github/workflows/ci.yml +28 -0
- data/Gemfile.lock +34 -31
- data/README.md +8 -1
- data/Rakefile +2 -1
- data/fishplate.gemspec +1 -0
- data/lib/fishplate/version.rb +1 -1
- data/lib/fishplate.rb +1 -0
- metadata +5 -4
- data/.travis.yml +0 -12
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4f2d7ca217b912fbd66ccb9504c7ae25fd64fc5057a2d67f1619e0fd0a84ec6
|
4
|
+
data.tar.gz: bbada21b4a1d09945b1c7138c018c1d540f3e9031d6608369ec1cc1db7824d96
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5c8deaf024053d046d0f74e33c36e0c393461446b336b151864b1ba8852be042c2cf2b65151ff7cc22ff4075d8f8c66286082917de3bbd9edf99154017d3274
|
7
|
+
data.tar.gz: 3dcf597d4c8f8faebccc5cbb6c9d44e4abd7c01ca03c542d4bb9848c9f8456d946bc63bce096c749256ea1f9687f927350a4cc43108eca6be37bd1af3c36a6d7
|
data/.bundler-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.2.
|
1
|
+
2.2.32
|
@@ -1,18 +1,6 @@
|
|
1
|
-
## Description
|
1
|
+
## Description, motivation and context
|
2
2
|
<!--- Describe your changes in detail -->
|
3
|
-
|
4
|
-
## Related issue(s)
|
5
|
-
<!--- GH issue number -->
|
6
|
-
|
7
|
-
## Motivation and Context
|
8
3
|
<!--- Why is this change required? What problem does it solve? -->
|
9
|
-
<!--- If it fixes an open issue, please link to the issue here. -->
|
10
4
|
|
11
|
-
##
|
12
|
-
<!---
|
13
|
-
|
14
|
-
## Screenshots (if appropriate):
|
15
|
-
<!--- Please add any screenshots of the feature. -->
|
16
|
-
|
17
|
-
## Related PRs
|
18
|
-
<!--- Please add links to any related PRs (backend, component packages, etc). -->
|
5
|
+
## Related issue(s) or PR(s)
|
6
|
+
<!--- GH issue number -->
|
@@ -10,7 +10,7 @@ jobs:
|
|
10
10
|
auto-approve:
|
11
11
|
runs-on: ubuntu-latest
|
12
12
|
steps:
|
13
|
-
- uses: hmarr/auto-approve-action@v2
|
13
|
+
- uses: hmarr/auto-approve-action@v2
|
14
14
|
if: github.actor == 'dependabot[bot]' || github.actor == 'dependabot-preview[bot]' || github.actor == 'renofidev'
|
15
15
|
with:
|
16
16
|
github-token: "${{ secrets.GITHUB_TOKEN }}"
|
@@ -0,0 +1,28 @@
|
|
1
|
+
name: Ruby CI
|
2
|
+
|
3
|
+
on:
|
4
|
+
push:
|
5
|
+
branches: [ main ]
|
6
|
+
pull_request:
|
7
|
+
branches: [ main ]
|
8
|
+
|
9
|
+
jobs:
|
10
|
+
test:
|
11
|
+
runs-on: ubuntu-latest
|
12
|
+
strategy:
|
13
|
+
matrix:
|
14
|
+
ruby-version: ['2.7', '3.0']
|
15
|
+
|
16
|
+
steps:
|
17
|
+
- uses: actions/checkout@v2
|
18
|
+
- name: Set up Ruby
|
19
|
+
# To automatically get bug fixes and new Ruby versions for ruby/setup-ruby,
|
20
|
+
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
21
|
+
# uses: ruby/setup-ruby@v1
|
22
|
+
uses: ruby/setup-ruby@473e4d8fe5dd94ee328fdfca9f8c9c7afc9dae5e
|
23
|
+
with:
|
24
|
+
ruby-version: ${{ matrix.ruby-version }}
|
25
|
+
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
26
|
+
|
27
|
+
- name: Run tests
|
28
|
+
run: bundle exec rake ci
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fishplate (1.1.
|
4
|
+
fishplate (1.1.3)
|
5
5
|
a9n (~> 1.0)
|
6
6
|
activemodel (~> 6.0)
|
7
7
|
activerecord (~> 6.0)
|
@@ -12,13 +12,13 @@ PATH
|
|
12
12
|
GEM
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
|
-
a9n (1.2.
|
16
|
-
activemodel (6.1.
|
17
|
-
activesupport (= 6.1.
|
18
|
-
activerecord (6.1.
|
19
|
-
activemodel (= 6.1.
|
20
|
-
activesupport (= 6.1.
|
21
|
-
activesupport (6.1.
|
15
|
+
a9n (1.2.3)
|
16
|
+
activemodel (6.1.4.1)
|
17
|
+
activesupport (= 6.1.4.1)
|
18
|
+
activerecord (6.1.4.1)
|
19
|
+
activemodel (= 6.1.4.1)
|
20
|
+
activesupport (= 6.1.4.1)
|
21
|
+
activesupport (6.1.4.1)
|
22
22
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
23
23
|
i18n (>= 1.6, < 2)
|
24
24
|
minitest (>= 5.1)
|
@@ -26,22 +26,22 @@ GEM
|
|
26
26
|
zeitwerk (~> 2.3)
|
27
27
|
ast (2.4.2)
|
28
28
|
coderay (1.1.3)
|
29
|
-
concurrent-ruby (1.1.
|
29
|
+
concurrent-ruby (1.1.9)
|
30
30
|
diff-lcs (1.4.4)
|
31
|
-
i18n (1.8.
|
31
|
+
i18n (1.8.11)
|
32
32
|
concurrent-ruby (~> 1.0)
|
33
33
|
method_source (1.0.0)
|
34
|
-
minitest (5.14.
|
35
|
-
parallel (1.
|
36
|
-
parser (3.0.
|
34
|
+
minitest (5.14.4)
|
35
|
+
parallel (1.21.0)
|
36
|
+
parser (3.0.2.0)
|
37
37
|
ast (~> 2.4.1)
|
38
|
-
pry (0.14.
|
38
|
+
pry (0.14.1)
|
39
39
|
coderay (~> 1.1)
|
40
40
|
method_source (~> 1.0)
|
41
41
|
rainbow (3.0.0)
|
42
|
-
rake (13.0.
|
43
|
-
regexp_parser (2.
|
44
|
-
rexml (3.2.
|
42
|
+
rake (13.0.6)
|
43
|
+
regexp_parser (2.1.1)
|
44
|
+
rexml (3.2.5)
|
45
45
|
rspec (3.10.0)
|
46
46
|
rspec-core (~> 3.10.0)
|
47
47
|
rspec-expectations (~> 3.10.0)
|
@@ -54,34 +54,37 @@ GEM
|
|
54
54
|
rspec-mocks (3.10.2)
|
55
55
|
diff-lcs (>= 1.2.0, < 2.0)
|
56
56
|
rspec-support (~> 3.10.0)
|
57
|
-
rspec-support (3.10.
|
58
|
-
rubocop (1.
|
57
|
+
rspec-support (3.10.3)
|
58
|
+
rubocop (1.23.0)
|
59
59
|
parallel (~> 1.10)
|
60
60
|
parser (>= 3.0.0.0)
|
61
61
|
rainbow (>= 2.2.2, < 4.0)
|
62
62
|
regexp_parser (>= 1.8, < 3.0)
|
63
63
|
rexml
|
64
|
-
rubocop-ast (>= 1.
|
64
|
+
rubocop-ast (>= 1.12.0, < 2.0)
|
65
65
|
ruby-progressbar (~> 1.7)
|
66
66
|
unicode-display_width (>= 1.4.0, < 3.0)
|
67
|
-
rubocop-ast (1.
|
68
|
-
parser (>=
|
69
|
-
rubocop-rake (0.
|
70
|
-
rubocop
|
71
|
-
rubocop-rspec (2.2.0)
|
67
|
+
rubocop-ast (1.13.0)
|
68
|
+
parser (>= 3.0.1.1)
|
69
|
+
rubocop-rake (0.6.0)
|
72
70
|
rubocop (~> 1.0)
|
73
|
-
|
71
|
+
rubocop-rspec (2.6.0)
|
72
|
+
rubocop (~> 1.19)
|
74
73
|
ruby-progressbar (1.11.0)
|
75
74
|
sqlite3 (1.4.2)
|
76
75
|
tzinfo (2.0.4)
|
77
76
|
concurrent-ruby (~> 1.0)
|
78
|
-
tzinfo-data (1.2021.
|
77
|
+
tzinfo-data (1.2021.5)
|
79
78
|
tzinfo (>= 1.0.0)
|
80
|
-
unicode-display_width (2.
|
81
|
-
zeitwerk (2.
|
79
|
+
unicode-display_width (2.1.0)
|
80
|
+
zeitwerk (2.5.1)
|
82
81
|
|
83
82
|
PLATFORMS
|
84
|
-
|
83
|
+
aarch64-linux-musl
|
84
|
+
x86_64-darwin-18
|
85
|
+
x86_64-darwin-19
|
86
|
+
x86_64-darwin-20
|
87
|
+
x86_64-linux
|
85
88
|
|
86
89
|
DEPENDENCIES
|
87
90
|
bundler
|
@@ -95,4 +98,4 @@ DEPENDENCIES
|
|
95
98
|
sqlite3
|
96
99
|
|
97
100
|
BUNDLED WITH
|
98
|
-
2.2.
|
101
|
+
2.2.29
|
data/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
[![Gem Version](https://badge.fury.io/rb/fishplate.svg)](https://rubygems.org/gems/fishplate)
|
2
|
-
[![Build Status](https://
|
2
|
+
[![Build Status](https://github.com/RenoFi/fishplate/actions/workflows/ci.yml/badge.svg)](https://github.com/RenoFi/fishplate/actions/workflows/ci.yml?query=branch%3Amain)
|
3
3
|
|
4
4
|
# fishplate
|
5
5
|
|
@@ -65,6 +65,13 @@ rake db:structure:load # Recreates the databases from the struc
|
|
65
65
|
rake db:version # Retrieves the current schema version number
|
66
66
|
```
|
67
67
|
|
68
|
+
### Rack Middleware
|
69
|
+
|
70
|
+
To free up DB connections after each request, add middleware to your `config.ru`:
|
71
|
+
```ruby
|
72
|
+
use Fishplate::Rack
|
73
|
+
```
|
74
|
+
|
68
75
|
## Contributing
|
69
76
|
|
70
77
|
Bug reports and pull requests are welcome on GitHub at https://github.com/RenoFi/fishplate. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
data/Rakefile
CHANGED
data/fishplate.gemspec
CHANGED
@@ -14,6 +14,7 @@ Gem::Specification.new do |spec|
|
|
14
14
|
|
15
15
|
spec.metadata['homepage_uri'] = 'https://github.com/RenoFi/fishplate'
|
16
16
|
spec.metadata['source_code_uri'] = 'https://github.com/RenoFi/fishplate'
|
17
|
+
spec.metadata['rubygems_mfa_required'] = 'true'
|
17
18
|
|
18
19
|
spec.files = Dir.chdir(__dir__) do
|
19
20
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(bin/|spec/|\.rub)}) }
|
data/lib/fishplate/version.rb
CHANGED
data/lib/fishplate.rb
CHANGED
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: 1.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Knapik
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: a9n
|
@@ -221,9 +221,9 @@ files:
|
|
221
221
|
- ".github/PULL_REQUEST_TEMPLATE.md"
|
222
222
|
- ".github/workflows/auto-approve.yml"
|
223
223
|
- ".github/workflows/auto-merge.yml"
|
224
|
+
- ".github/workflows/ci.yml"
|
224
225
|
- ".gitignore"
|
225
226
|
- ".rspec"
|
226
|
-
- ".travis.yml"
|
227
227
|
- Gemfile
|
228
228
|
- Gemfile.lock
|
229
229
|
- LICENSE
|
@@ -241,6 +241,7 @@ licenses:
|
|
241
241
|
metadata:
|
242
242
|
homepage_uri: https://github.com/RenoFi/fishplate
|
243
243
|
source_code_uri: https://github.com/RenoFi/fishplate
|
244
|
+
rubygems_mfa_required: 'true'
|
244
245
|
post_install_message:
|
245
246
|
rdoc_options: []
|
246
247
|
require_paths:
|
@@ -256,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
256
257
|
- !ruby/object:Gem::Version
|
257
258
|
version: '0'
|
258
259
|
requirements: []
|
259
|
-
rubygems_version: 3.2.
|
260
|
+
rubygems_version: 3.2.23
|
260
261
|
signing_key:
|
261
262
|
specification_version: 4
|
262
263
|
summary: Fishplate is a library allowing running ActiveRecord without Railties.
|