Skip to content

Commit

Permalink
Merge pull request #10 from DataDog/tonycthsus/cleanup
Browse files Browse the repository at this point in the history
More minor cleanup
  • Loading branch information
anmarchenko committed Aug 23, 2023
2 parents 4e07eb1 + 0910b3a commit fc1679f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
7 changes: 0 additions & 7 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@ if ["true", "y", "yes", "1"].include?(ENV["APPRAISAL_SKIP_BUNDLE_CHECK"])
::Appraisal::Appraisal.prepend(DisableBundleCheck)
end

def ruby_version?(version)
full_version = "#{version}.0" # Turn 2.1 into 2.1.0 otherwise #bump below doesn't work as expected

Gem::Version.new(full_version) <= Gem::Version.new(RUBY_VERSION) &&
Gem::Version.new(RUBY_VERSION) < Gem::Version.new(full_version).bump
end

alias original_appraise appraise

REMOVED_GEMS = {
Expand Down
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ end
desc "Run RSpec"
# rubocop:disable Metrics/BlockLength
namespace :spec do
task all: [:main, :cucumber, :rspec]
task all: [:main]

RSpec::Core::RakeTask.new(:main) do |t, args|
t.pattern = "spec/**/*_spec.rb"
Expand Down

0 comments on commit fc1679f

Please sign in to comment.