spec/spec_helper.rb in tty-platform-0.1.0 vs spec/spec_helper.rb in tty-platform-0.2.0
- old
+ new
@@ -1,7 +1,7 @@
-# encoding: utf-8
+# frozen_string_literal: true
-if RUBY_VERSION > '1.9' and (ENV['COVERAGE'] || ENV['TRAVIS'])
+if ENV['COVERAGE'] || ENV['TRAVIS']
require 'simplecov'
require 'coveralls'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,