Skip to content

Commit

Permalink
Remove workaround for old Ruby versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jiikko committed Jun 1, 2023
1 parent 71ba85c commit 36955ac
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 42 deletions.
7 changes: 3 additions & 4 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,10 @@ group :development do
end

group :development, :test do
if RUBY_VERSION >= "1.9.3"
gem 'guard'
gem 'guard-rspec'
end
gem 'guard'
gem 'guard-rspec'
gem 'simplecov'
gem "pry"

if RUBY_PLATFORM =~ /darwin/
gem "ruby_gntp"
Expand Down
7 changes: 2 additions & 5 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,14 @@
require 'gmo'
require 'rspec'
require 'vcr'
require 'pry'
require 'support/config_loader'
require 'support/factory'
require 'support/vcr'

if RUBY_VERSION < '1.9.0'
require 'support/encoding'
end

RSpec.configure do |config|
config.mock_with :rspec
config.treat_symbols_as_metadata_keys_with_true_values = true
config.filter_run :focus => true
config.run_all_when_everything_filtered = true
end
end
33 changes: 0 additions & 33 deletions spec/support/encoding.rb

This file was deleted.

0 comments on commit 36955ac

Please sign in to comment.