fishplate 7.0.2 → 7.0.5
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/workflows/ci.yml +2 -5
- data/Gemfile.lock +39 -40
- data/Rakefile +1 -1
- data/lib/fishplate/version.rb +1 -1
- data/lib/fishplate.rb +7 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e07e9978bee7b68f4f6f9c3298b412e4464ec0e56122a1b18c85932ea65b513
|
4
|
+
data.tar.gz: f1764c269ddf606c4c6530d8dcca5bf222239d34b2c0ded9529404653ddc5478
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 32d442ca5c041a3ae954e2719162f1a80ce1d76636deb5f2f9641c80edbc8628ce48f34c6f85eb2ba62c3b4f987dd3485ae98936b14fa8c953cc1dcee28ff581
|
7
|
+
data.tar.gz: a7615053d7f21ae2c890f1274633453fff5cb647c5f55298b19e4791151e24a00bb51e2fb423e044ba4344cf82e22a5b125af5b5e550bf2998119080d7ae4313
|
data/.bundler-version
CHANGED
@@ -1 +1 @@
|
|
1
|
-
2.3.
|
1
|
+
2.3.26
|
data/.github/workflows/ci.yml
CHANGED
@@ -14,12 +14,9 @@ jobs:
|
|
14
14
|
ruby-version: ['3.0', 3.1]
|
15
15
|
|
16
16
|
steps:
|
17
|
-
- uses: actions/checkout@
|
17
|
+
- uses: actions/checkout@v3
|
18
18
|
- name: Set up Ruby
|
19
|
-
|
20
|
-
# change this to (see https://github.com/ruby/setup-ruby#versioning):
|
21
|
-
# uses: ruby/setup-ruby@v1
|
22
|
-
uses: ruby/setup-ruby@bd94d6a504586da892a5753afdd1480096ed30df
|
19
|
+
uses: ruby/setup-ruby@v1
|
23
20
|
with:
|
24
21
|
ruby-version: ${{ matrix.ruby-version }}
|
25
22
|
bundler-cache: true # runs 'bundle install' and caches installed gems automatically
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fishplate (7.0.
|
4
|
+
fishplate (7.0.5)
|
5
5
|
a9n (~> 1.0)
|
6
6
|
activemodel (~> 7.0)
|
7
7
|
activerecord (~> 7.0)
|
@@ -13,12 +13,12 @@ GEM
|
|
13
13
|
remote: https://rubygems.org/
|
14
14
|
specs:
|
15
15
|
a9n (1.3.1)
|
16
|
-
activemodel (7.0.
|
17
|
-
activesupport (= 7.0.
|
18
|
-
activerecord (7.0.
|
19
|
-
activemodel (= 7.0.
|
20
|
-
activesupport (= 7.0.
|
21
|
-
activesupport (7.0.
|
16
|
+
activemodel (7.0.4)
|
17
|
+
activesupport (= 7.0.4)
|
18
|
+
activerecord (7.0.4)
|
19
|
+
activemodel (= 7.0.4)
|
20
|
+
activesupport (= 7.0.4)
|
21
|
+
activesupport (7.0.4)
|
22
22
|
concurrent-ruby (~> 1.0, >= 1.0.2)
|
23
23
|
i18n (>= 1.6, < 2)
|
24
24
|
minitest (>= 5.1)
|
@@ -27,63 +27,62 @@ GEM
|
|
27
27
|
coderay (1.1.3)
|
28
28
|
concurrent-ruby (1.1.10)
|
29
29
|
diff-lcs (1.5.0)
|
30
|
-
i18n (1.
|
30
|
+
i18n (1.12.0)
|
31
31
|
concurrent-ruby (~> 1.0)
|
32
|
+
json (2.6.2)
|
32
33
|
method_source (1.0.0)
|
33
|
-
|
34
|
+
mini_portile2 (2.8.0)
|
35
|
+
minitest (5.16.3)
|
34
36
|
parallel (1.22.1)
|
35
|
-
parser (3.1.
|
37
|
+
parser (3.1.3.0)
|
36
38
|
ast (~> 2.4.1)
|
37
39
|
pry (0.14.1)
|
38
40
|
coderay (~> 1.1)
|
39
41
|
method_source (~> 1.0)
|
40
42
|
rainbow (3.1.1)
|
41
43
|
rake (13.0.6)
|
42
|
-
regexp_parser (2.
|
44
|
+
regexp_parser (2.6.1)
|
43
45
|
rexml (3.2.5)
|
44
|
-
rspec (3.
|
45
|
-
rspec-core (~> 3.
|
46
|
-
rspec-expectations (~> 3.
|
47
|
-
rspec-mocks (~> 3.
|
48
|
-
rspec-core (3.
|
49
|
-
rspec-support (~> 3.
|
50
|
-
rspec-expectations (3.
|
46
|
+
rspec (3.12.0)
|
47
|
+
rspec-core (~> 3.12.0)
|
48
|
+
rspec-expectations (~> 3.12.0)
|
49
|
+
rspec-mocks (~> 3.12.0)
|
50
|
+
rspec-core (3.12.0)
|
51
|
+
rspec-support (~> 3.12.0)
|
52
|
+
rspec-expectations (3.12.0)
|
51
53
|
diff-lcs (>= 1.2.0, < 2.0)
|
52
|
-
rspec-support (~> 3.
|
53
|
-
rspec-mocks (3.
|
54
|
+
rspec-support (~> 3.12.0)
|
55
|
+
rspec-mocks (3.12.0)
|
54
56
|
diff-lcs (>= 1.2.0, < 2.0)
|
55
|
-
rspec-support (~> 3.
|
56
|
-
rspec-support (3.
|
57
|
-
rubocop (1.
|
57
|
+
rspec-support (~> 3.12.0)
|
58
|
+
rspec-support (3.12.0)
|
59
|
+
rubocop (1.39.0)
|
60
|
+
json (~> 2.3)
|
58
61
|
parallel (~> 1.10)
|
59
|
-
parser (>= 3.1.
|
62
|
+
parser (>= 3.1.2.1)
|
60
63
|
rainbow (>= 2.2.2, < 4.0)
|
61
64
|
regexp_parser (>= 1.8, < 3.0)
|
62
|
-
rexml
|
63
|
-
rubocop-ast (>= 1.
|
65
|
+
rexml (>= 3.2.5, < 4.0)
|
66
|
+
rubocop-ast (>= 1.23.0, < 2.0)
|
64
67
|
ruby-progressbar (~> 1.7)
|
65
68
|
unicode-display_width (>= 1.4.0, < 3.0)
|
66
|
-
rubocop-ast (1.
|
69
|
+
rubocop-ast (1.23.0)
|
67
70
|
parser (>= 3.1.1.0)
|
68
71
|
rubocop-rake (0.6.0)
|
69
72
|
rubocop (~> 1.0)
|
70
|
-
rubocop-rspec (2.
|
71
|
-
rubocop (~> 1.
|
73
|
+
rubocop-rspec (2.15.0)
|
74
|
+
rubocop (~> 1.33)
|
72
75
|
ruby-progressbar (1.11.0)
|
73
|
-
sqlite3 (1.4
|
74
|
-
|
76
|
+
sqlite3 (1.5.4)
|
77
|
+
mini_portile2 (~> 2.8.0)
|
78
|
+
tzinfo (2.0.5)
|
75
79
|
concurrent-ruby (~> 1.0)
|
76
|
-
tzinfo-data (1.2022.
|
80
|
+
tzinfo-data (1.2022.6)
|
77
81
|
tzinfo (>= 1.0.0)
|
78
|
-
unicode-display_width (2.
|
82
|
+
unicode-display_width (2.3.0)
|
79
83
|
|
80
84
|
PLATFORMS
|
81
|
-
|
82
|
-
x86_64-darwin-18
|
83
|
-
x86_64-darwin-19
|
84
|
-
x86_64-darwin-20
|
85
|
-
x86_64-darwin-21
|
86
|
-
x86_64-linux
|
85
|
+
ruby
|
87
86
|
|
88
87
|
DEPENDENCIES
|
89
88
|
bundler
|
@@ -97,4 +96,4 @@ DEPENDENCIES
|
|
97
96
|
sqlite3
|
98
97
|
|
99
98
|
BUNDLED WITH
|
100
|
-
2.3.
|
99
|
+
2.3.22
|
data/Rakefile
CHANGED
data/lib/fishplate/version.rb
CHANGED
data/lib/fishplate.rb
CHANGED
@@ -56,6 +56,8 @@ module Fishplate
|
|
56
56
|
|
57
57
|
load_initializers
|
58
58
|
|
59
|
+
add_i18n_load_paths if defined?(I18n)
|
60
|
+
|
59
61
|
add_sidekiq_middleware if defined?(Sidekiq)
|
60
62
|
end
|
61
63
|
|
@@ -64,6 +66,7 @@ module Fishplate
|
|
64
66
|
def configure_active_record
|
65
67
|
ActiveRecord.default_timezone = :utc
|
66
68
|
ActiveRecord::Base.logger = logger
|
69
|
+
ActiveRecord::Base.logger.level = ENV['LOG_LEVEL'] || 'debug'
|
67
70
|
ActiveRecord::Base.time_zone_aware_attributes = true
|
68
71
|
ActiveRecord::Base.configurations = database_configuration
|
69
72
|
end
|
@@ -89,6 +92,10 @@ module Fishplate
|
|
89
92
|
A9n.root.join('config/initializers').glob('*.rb').sort.each { |f| require f }
|
90
93
|
end
|
91
94
|
|
95
|
+
def add_i18n_load_paths
|
96
|
+
I18n.load_path |= A9n.root.join('config/locales').glob('**/*.yml')
|
97
|
+
end
|
98
|
+
|
92
99
|
def add_sidekiq_middleware
|
93
100
|
Sidekiq.configure_server do |config|
|
94
101
|
config.server_middleware do |chain|
|
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.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Krzysztof Knapik
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: a9n
|
@@ -257,7 +257,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
257
257
|
- !ruby/object:Gem::Version
|
258
258
|
version: '0'
|
259
259
|
requirements: []
|
260
|
-
rubygems_version: 3.3.
|
260
|
+
rubygems_version: 3.3.7
|
261
261
|
signing_key:
|
262
262
|
specification_version: 4
|
263
263
|
summary: Fishplate is a library allowing running ActiveRecord without Railties.
|