fishplate 7.1.0.1 → 7.1.0.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/Gemfile.lock +24 -25
- data/fishplate.gemspec +4 -4
- data/lib/fishplate/version.rb +1 -1
- data/lib/fishplate.rb +3 -2
- metadata +10 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2dd4e82db25f4935372d8281da25acb837021d5e54bf0f09a61243d719405065
|
4
|
+
data.tar.gz: 2116f98ebe05bcb35d82bc991f1a34f92a49a0a0a6d3b0f224baf830cebb5868
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb162cf26fdbe7ecc850b88dad3d44b202eceff267bad80165abf34902f3327837313cdb26144949e5d5eb10000a676b5a8db0b75b2777452e6b3a3642bafc09
|
7
|
+
data.tar.gz: dc559cda170d9a7d19939c552a177fcc43279c50124acaed095d943b17428a609256e83e0873e7c313a004581fb568cf32c6f480ff1722ca0c68361120c0daae
|
data/.bundler-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.4.
|
1
|
+
2.4.21
|
data/Gemfile.lock
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fishplate (7.1.0.
|
4
|
+
fishplate (7.1.0.3)
|
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
|
|
@@ -13,13 +13,13 @@ GEM
|
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
15
|
a9n (1.5.0)
|
16
|
-
activemodel (7.1.
|
17
|
-
activesupport (= 7.1.
|
18
|
-
activerecord (7.1.
|
19
|
-
activemodel (= 7.1.
|
20
|
-
activesupport (= 7.1.
|
16
|
+
activemodel (7.1.1)
|
17
|
+
activesupport (= 7.1.1)
|
18
|
+
activerecord (7.1.1)
|
19
|
+
activemodel (= 7.1.1)
|
20
|
+
activesupport (= 7.1.1)
|
21
21
|
timeout (>= 0.4.0)
|
22
|
-
activesupport (7.1.
|
22
|
+
activesupport (7.1.1)
|
23
23
|
base64
|
24
24
|
bigdecimal
|
25
25
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
@@ -30,22 +30,22 @@ GEM
|
|
30
30
|
mutex_m
|
31
31
|
tzinfo (~> 2.0)
|
32
32
|
ast (2.4.2)
|
33
|
-
base64 (0.
|
33
|
+
base64 (0.2.0)
|
34
34
|
bigdecimal (3.1.4)
|
35
35
|
coderay (1.1.3)
|
36
36
|
concurrent-ruby (1.2.2)
|
37
37
|
connection_pool (2.4.1)
|
38
38
|
diff-lcs (1.5.0)
|
39
|
-
drb (2.
|
39
|
+
drb (2.2.0)
|
40
40
|
ruby2_keywords
|
41
41
|
i18n (1.14.1)
|
42
42
|
concurrent-ruby (~> 1.0)
|
43
43
|
json (2.6.3)
|
44
44
|
language_server-protocol (3.17.0.3)
|
45
45
|
method_source (1.0.0)
|
46
|
-
mini_portile2 (2.8.
|
46
|
+
mini_portile2 (2.8.5)
|
47
47
|
minitest (5.20.0)
|
48
|
-
mutex_m (0.
|
48
|
+
mutex_m (0.2.0)
|
49
49
|
parallel (1.23.0)
|
50
50
|
parser (3.2.2.4)
|
51
51
|
ast (~> 2.4.1)
|
@@ -53,10 +53,10 @@ GEM
|
|
53
53
|
pry (0.14.2)
|
54
54
|
coderay (~> 1.1)
|
55
55
|
method_source (~> 1.0)
|
56
|
-
racc (1.7.
|
56
|
+
racc (1.7.3)
|
57
57
|
rainbow (3.1.1)
|
58
|
-
rake (13.0
|
59
|
-
regexp_parser (2.8.
|
58
|
+
rake (13.1.0)
|
59
|
+
regexp_parser (2.8.2)
|
60
60
|
rexml (3.2.6)
|
61
61
|
rspec (3.12.0)
|
62
62
|
rspec-core (~> 3.12.0)
|
@@ -71,19 +71,18 @@ GEM
|
|
71
71
|
diff-lcs (>= 1.2.0, < 2.0)
|
72
72
|
rspec-support (~> 3.12.0)
|
73
73
|
rspec-support (3.12.1)
|
74
|
-
rubocop (1.
|
75
|
-
base64 (~> 0.1.1)
|
74
|
+
rubocop (1.57.2)
|
76
75
|
json (~> 2.3)
|
77
76
|
language_server-protocol (>= 3.17.0)
|
78
77
|
parallel (~> 1.10)
|
79
|
-
parser (>= 3.2.2.
|
78
|
+
parser (>= 3.2.2.4)
|
80
79
|
rainbow (>= 2.2.2, < 4.0)
|
81
80
|
regexp_parser (>= 1.8, < 3.0)
|
82
81
|
rexml (>= 3.2.5, < 4.0)
|
83
82
|
rubocop-ast (>= 1.28.1, < 2.0)
|
84
83
|
ruby-progressbar (~> 1.7)
|
85
84
|
unicode-display_width (>= 2.4.0, < 3.0)
|
86
|
-
rubocop-ast (1.
|
85
|
+
rubocop-ast (1.30.0)
|
87
86
|
parser (>= 3.2.1.0)
|
88
87
|
rubocop-capybara (2.19.0)
|
89
88
|
rubocop (~> 1.41)
|
@@ -91,15 +90,15 @@ GEM
|
|
91
90
|
rubocop (~> 1.33)
|
92
91
|
rubocop-rake (0.6.0)
|
93
92
|
rubocop (~> 1.0)
|
94
|
-
rubocop-rspec (2.
|
95
|
-
rubocop (~> 1.
|
93
|
+
rubocop-rspec (2.25.0)
|
94
|
+
rubocop (~> 1.40)
|
96
95
|
rubocop-capybara (~> 2.17)
|
97
96
|
rubocop-factory_bot (~> 2.22)
|
98
97
|
ruby-progressbar (1.13.0)
|
99
98
|
ruby2_keywords (0.0.5)
|
100
|
-
sqlite3 (1.6.
|
99
|
+
sqlite3 (1.6.8)
|
101
100
|
mini_portile2 (~> 2.8.0)
|
102
|
-
timeout (0.4.
|
101
|
+
timeout (0.4.1)
|
103
102
|
tzinfo (2.0.6)
|
104
103
|
concurrent-ruby (~> 1.0)
|
105
104
|
tzinfo-data (1.2023.3)
|
data/fishplate.gemspec
CHANGED
@@ -23,12 +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.1'
|
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
34
|
end
|
data/lib/fishplate/version.rb
CHANGED
data/lib/fishplate.rb
CHANGED
@@ -64,6 +64,7 @@ module Fishplate
|
|
64
64
|
private
|
65
65
|
|
66
66
|
def configure_active_record
|
67
|
+
ActiveRecord.eager_load!
|
67
68
|
ActiveRecord.default_timezone = :utc
|
68
69
|
ActiveRecord::Base.logger = logger
|
69
70
|
ActiveRecord::Base.logger.level = ENV['LOG_LEVEL'] || 'debug'
|
@@ -83,8 +84,8 @@ module Fishplate
|
|
83
84
|
end
|
84
85
|
|
85
86
|
def setup_db_connection
|
86
|
-
ActiveRecord::Base.connection_handler.clear_active_connections!
|
87
|
-
ActiveRecord::Base.connection_handler.flush_idle_connections!
|
87
|
+
ActiveRecord::Base.connection_handler.clear_active_connections!(:all)
|
88
|
+
ActiveRecord::Base.connection_handler.flush_idle_connections!(:all)
|
88
89
|
ActiveRecord::Base.establish_connection
|
89
90
|
end
|
90
91
|
|
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.1.0.
|
4
|
+
version: 7.1.0.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: 2023-
|
11
|
+
date: 2023-11-09 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
|
@@ -139,14 +139,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
139
139
|
requirements:
|
140
140
|
- - ">="
|
141
141
|
- !ruby/object:Gem::Version
|
142
|
-
version: '3.
|
142
|
+
version: '3.1'
|
143
143
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
144
144
|
requirements:
|
145
145
|
- - ">="
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: '0'
|
148
148
|
requirements: []
|
149
|
-
rubygems_version: 3.4.
|
149
|
+
rubygems_version: 3.4.21
|
150
150
|
signing_key:
|
151
151
|
specification_version: 4
|
152
152
|
summary: Fishplate is a library allowing running ActiveRecord without Railties.
|