Skip to content

Commit 8be2f98

Browse files
committed
steep standard
1 parent b2a1eb4 commit 8be2f98

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

Rakefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@ CORE_WITH_LIBDATADOG_API = [
3232
'spec/datadog/open_feature_spec.rb',
3333
].freeze
3434

35-
DI_WITH_EXT = %w(
35+
DI_WITH_EXT = %w[
3636
spec/datadog/di/ext/*_spec.rb
3737
spec/datadog/di/ext/**/*_spec.rb
38-
)
38+
]
3939

4040
# Data Streams Monitoring (DSM) requires libdatadog_api for DDSketch
4141
# Add new instrumentation libraries here as they gain DSM support

sig/datadog/di.rbs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,8 @@ module Datadog
33
def self.component: () -> Component?
44
def self.enabled?: () -> bool
55

6+
def self.all_iseqs: () -> Array[RubyVM::InstructionSequence]
7+
def self.file_iseqs: () -> Array[RubyVM::InstructionSequence]
8+
69
end
710
end

spec/datadog/di/ext/loaded_file_iseqs_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
# that we have a reasonable set of files from dd-trace-rb in the iseqs.
2929
it 'returns iseqs for loaded files' do
3030
datadog_iseqs = file_iseqs.select do |iseq|
31-
iseq.absolute_path =~ %r,lib/datadog/,
31+
iseq.absolute_path =~ %r{lib/datadog/}
3232
end
3333
paths = datadog_iseqs.map(&:absolute_path).uniq
3434

0 commit comments

Comments
 (0)