summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2016-08-22 14:51:27 -0700
committerTim Smith <tsmith@chef.io>2016-08-22 14:51:27 -0700
commit3fee839fd02fe061fbd840ba970ee7c826636c02 (patch)
tree4679323afad70298cf6d52ae5f18762ebfdea3d0 /spec/support
parent2ff0466762a73f9dd8fa4c92bf5a2e35065f4bad (diff)
downloadmixlib-shellout-deprecate.tar.gz
Require Ruby 2.1+deprecate
Just removes some 1.9 logic from testing. Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/platform_helpers.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/support/platform_helpers.rb b/spec/support/platform_helpers.rb
index c730b4d..bbf7d15 100644
--- a/spec/support/platform_helpers.rb
+++ b/spec/support/platform_helpers.rb
@@ -1,12 +1,3 @@
-
-def ruby_19?
- !!(RUBY_VERSION =~ /^1.9/)
-end
-
-def ruby_18?
- !!(RUBY_VERSION =~ /^1.8/)
-end
-
def windows?
!!(RUBY_PLATFORM =~ /mswin|mingw|windows/)
end