lib/mina.rb in mina-1.2.4 vs lib/mina.rb in mina-1.2.5
- old
+ new
@@ -1,15 +1,16 @@
+# frozen_string_literal: true
+
require 'rake'
Rake.application.options.trace = true
# require 'pry'
-# require 'awesome_print'
require 'forwardable'
require 'shellwords'
require 'singleton'
-require 'open4'
+require 'open3'
require 'mina/version'
require 'mina/helpers/output'
require 'mina/helpers/internal'
require 'mina/configuration'
@@ -25,8 +26,8 @@
require 'mina/windows_patches'
require 'mina/application'
module Mina
def self.root_path(*args)
- File.join File.expand_path('../../', __FILE__), *args
+ File.join File.expand_path('..', __dir__), *args
end
end