Skip to content

Commit d996393

Browse files
committed
Merge branch 'main' of https://github.com/Shopify/semian into pid-take-2
2 parents 26bb0c7 + 8459875 commit d996393

File tree

8 files changed

+15
-12
lines changed

8 files changed

+15
-12
lines changed

.github/workflows/analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
name: Checkout
2727
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2828
-
29-
uses: ruby/setup-ruby@44511735964dcb71245e7e55f72539531f7bc0eb # v1.257.0
29+
uses: ruby/setup-ruby@ab177d40ee5483edb974554986f56b33477e21d0 # v1.265.0
3030
with:
3131
bundler-cache: true
3232
-

.github/workflows/dependencies.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
2323
-
2424
name: Cache
25-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
25+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
2626
with:
2727
path: vendor/bundle
2828
key: ${{ runner.os }}-ruby-3.1-gems-${{ hashFiles('Gemfile.lock') }}

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
6161
-
6262
name: Cache
63-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
63+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
6464
with:
6565
path: vendor/bundle
6666
# yamllint disable-line rule:line-length
@@ -167,7 +167,7 @@ jobs:
167167
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
168168
-
169169
name: Cache
170-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
170+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
171171
with:
172172
path: vendor/bundle
173173
# yamllint disable-line rule:line-length

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# v026.6
2+
* Remove force_config_validation spammy log
3+
4+
# v0.26.5
5+
* Made `consumers` and `resources` fields private in Semian (#795)
6+
17
# v0.25.5
28

39
* Fixed thread safety issues (#566)

Gemfile.lock

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/semian/configuration_validator.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ def initialize(name, configuration)
77
@configuration = configuration
88
@adapter = configuration[:adapter]
99
@force_config_validation = force_config_validation?
10-
11-
unless @force_config_validation
12-
Semian.logger.info(
13-
"Semian Resource #{@name} is running in log-mode for configuration validation. This means that Semian will not raise an error if the configuration is invalid. This is not recommended for production environments.\n\n[IMPORTANT] PLEASE UPDATE YOUR CONFIGURATION TO USE `force_config_validation: true` TO ENABLE STRICT CONFIGURATION VALIDATION.\n---\n",
14-
)
15-
end
1610
end
1711

1812
def validate!

lib/semian/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module Semian
4-
VERSION = "0.25.5"
4+
VERSION = "0.26.6"
55
end

semian.gemspec

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ Gem::Specification.new do |s|
2727
"source_code_uri" => "https://github.com/Shopify/semian",
2828
}
2929

30+
s.add_runtime_dependency("concurrent-ruby")
31+
3032
s.required_ruby_version = ">= 3.2.0"
3133

3234
s.files = Dir["{lib,ext}/**/**/*.{rb,h,c}"]

0 commit comments

Comments
 (0)