Skip to content

Commit aafb017

Browse files
committed
Standard fixes
1 parent 10a4ece commit aafb017

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

.standard.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
parallel: true
22
format: progress
33
ruby_version: 3.1
4-
ignore:
5-
- 'samples/**/*'
64
plugins:
75
- standard-performance

samples/provider-sample/Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
source "https://rubygems.org"
22

3-
gem "configcat-openfeature-provider", path: "../../../"
3+
gem "configcat-openfeature-provider", path: "../../../"

samples/provider-sample/main.rb

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
sdk_key: "PKDVCLf-Hq-h-kCzMp-L7Q/HhOWfwVtZ0mb30i9wi17GQ",
1212
# Configure the ConfigCat SDK.
1313
options: ConfigCat::ConfigCatOptions.new(
14-
polling_mode: ConfigCat::PollingMode::auto_poll(poll_interval_seconds: 5),
14+
polling_mode: ConfigCat::PollingMode.auto_poll(poll_interval_seconds: 5),
1515
offline: false
16-
)))
16+
)
17+
))
1718
end
1819

1920
# Create a client.
@@ -31,7 +32,7 @@
3132
flag_details = client.fetch_boolean_details(
3233
flag_key: "isPOCFeatureEnabled",
3334
default_value: false,
34-
evaluation_context: evaluation_context,
35+
evaluation_context: evaluation_context
3536
)
3637

37-
puts(JSON::dump(flag_details))
38+
puts(JSON.dump(flag_details))

0 commit comments

Comments
 (0)