diff --git a/.rubocop.yml b/.rubocop.yml index 36a6c15..c8550ab 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -21,3 +21,10 @@ AllCops: TargetRubyVersion: 3.3 Exclude: - 'vendor/**/*' + +RSpec/NotToNot: + Enabled: true + +Style/StringLiterals: + Enabled: true + EnforcedStyle: double_quotes diff --git a/singed.gemspec b/singed.gemspec index 35f08e9..2b8fa56 100644 --- a/singed.gemspec +++ b/singed.gemspec @@ -5,8 +5,8 @@ Gem::Specification.new do |spec| spec.version = "0.4.0" spec.license = "MIT" - spec.authors = ['Gusto Engineers'] - spec.email = ['dev@gusto.com'] + spec.authors = ["Gusto Engineers"] + spec.email = ["dev@gusto.com"] spec.summary = "Quick and easy way to get flamegraphs from a specific part of your code base" spec.required_ruby_version = ">= 3.3" spec.homepage = "https://github.com/rubyatscale/singed" diff --git a/spec/singed/kernel_ext_spec.rb b/spec/singed/kernel_ext_spec.rb index 5f82870..f4606b2 100644 --- a/spec/singed/kernel_ext_spec.rb +++ b/spec/singed/kernel_ext_spec.rb @@ -56,7 +56,7 @@ Object.new.flamegraph(open: false, io:) do end - expect(flamegraph).to_not have_received(:open) + expect(flamegraph).not_to have_received(:open) end end end