hubrise_initializer 1.0.8 → 1.0.9
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/rubocop.yml +2 -1
- data/.github/workflows/spec.yml +2 -1
- data/Gemfile.lock +1 -1
- data/lib/hubrise_initializer/version.rb +1 -1
- data/lib/hubrise_initializer.rb +10 -1
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4712643d0fd1338318c2019d0727b810a7b97e8445a361835fc93d72e3e2582a
|
4
|
+
data.tar.gz: f0c1f66f34070c92e67623687b82dec02bf119c8671332b2acc45929c4329d9a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bfbbfb03bc8b8f83ae24d01b062f179e26433367af7e81b7e689a8f4a3ac62661821ad843d2f5695401692c2163a71008d71a4cb9bdce128497488247b6c910
|
7
|
+
data.tar.gz: 93c27b373bfcb3f1386c8bc7ebfaf3930727dbd6e2fa06797e416dddf9ed022f9d3415899560d2d839d9b926940bed8f169590c07bc5a19be9fe04e3de9af75c
|
@@ -4,12 +4,13 @@ on: push
|
|
4
4
|
jobs:
|
5
5
|
rubocop:
|
6
6
|
runs-on: ubuntu-latest
|
7
|
+
timeout-minutes: 20
|
7
8
|
|
8
9
|
steps:
|
9
10
|
- name: Clone repository
|
10
11
|
uses: actions/checkout@v4
|
11
12
|
|
12
|
-
- name: Install Ruby
|
13
|
+
- name: Install Ruby and the gems
|
13
14
|
uses: ruby/setup-ruby@v1
|
14
15
|
with:
|
15
16
|
ruby-version: 3.1.4
|
data/.github/workflows/spec.yml
CHANGED
@@ -4,12 +4,13 @@ on: push
|
|
4
4
|
jobs:
|
5
5
|
spec:
|
6
6
|
runs-on: ubuntu-latest
|
7
|
+
timeout-minutes: 20
|
7
8
|
|
8
9
|
steps:
|
9
10
|
- name: Clone repository
|
10
11
|
uses: actions/checkout@v4
|
11
12
|
|
12
|
-
- name: Install Ruby
|
13
|
+
- name: Install Ruby and the gems
|
13
14
|
uses: ruby/setup-ruby@v1
|
14
15
|
with:
|
15
16
|
ruby-version: 3.1.4
|
data/Gemfile.lock
CHANGED
data/lib/hubrise_initializer.rb
CHANGED
@@ -40,7 +40,16 @@ class HubriseInitializer
|
|
40
40
|
when "fluentd"
|
41
41
|
# Log to fluentd (kubernetes)
|
42
42
|
# ENV['FLUENTD_URL'] is used internally by this logger
|
43
|
-
config.logger = ActFluentLoggerRails::Logger.new
|
43
|
+
config.logger = ActFluentLoggerRails::Logger.new(
|
44
|
+
settings: {
|
45
|
+
# AM 25/4/2025: it's critical to make logging non-blocking so that an ElasticSearch outage does not block
|
46
|
+
# the application.
|
47
|
+
# See https://docs.google.com/document/d/1fL7PYC2Vb_eqlbUGYWZ7ZvLvX_o821LL1QZxBM_xjXc/edit?tab=t.0
|
48
|
+
use_nonblock: true, # default: false – makes writes non-blocking
|
49
|
+
wait_writeable: false, # default: true – skip IO.select; drop on EAGAIN
|
50
|
+
# End of AM 25/4/2025
|
51
|
+
}
|
52
|
+
)
|
44
53
|
|
45
54
|
config.lograge.enabled = true
|
46
55
|
config.lograge.formatter = ::Lograge::Formatters::Json.new
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hubrise_initializer
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Antoine Monnier
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2025-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: lograge
|
@@ -66,8 +66,8 @@ dependencies:
|
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '1.2'
|
69
|
-
description:
|
70
|
-
email:
|
69
|
+
description:
|
70
|
+
email:
|
71
71
|
executables: []
|
72
72
|
extensions: []
|
73
73
|
extra_rdoc_files: []
|
@@ -87,7 +87,7 @@ homepage: https://github.com/hubrise/rails-initializer.git
|
|
87
87
|
licenses:
|
88
88
|
- MIT
|
89
89
|
metadata: {}
|
90
|
-
post_install_message:
|
90
|
+
post_install_message:
|
91
91
|
rdoc_options: []
|
92
92
|
require_paths:
|
93
93
|
- lib
|
@@ -102,8 +102,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
102
102
|
- !ruby/object:Gem::Version
|
103
103
|
version: '0'
|
104
104
|
requirements: []
|
105
|
-
rubygems_version: 3.
|
106
|
-
signing_key:
|
105
|
+
rubygems_version: 3.4.20
|
106
|
+
signing_key:
|
107
107
|
specification_version: 4
|
108
108
|
summary: Rails app initializers optimized for HubRise
|
109
109
|
test_files: []
|