lib/eco/data/crypto/encryption.rb in eco-helpers-0.8.3 vs lib/eco/data/crypto/encryption.rb in eco-helpers-0.8.4
- old
+ new
@@ -1,15 +1,15 @@
require 'openssl'
require 'json'
require 'base64'
require 'pp'
-require_relative '../../scripting'
+require_relative '../../cli/scripting'
# see some ramblings here: http://distributed-frostbite.blogspot.com/2010/06/file-encryption-in-ruby-with-openssl.html
def run! # this will run only if called from command line (not when require'd nor load'd)
- include Eco::Scripting
+ include Eco::CLI::Scripting
include Eco::Data::Crypto
# script arguments
keygen = get_arg("-keygen")
filename = get_arg("-keygen", with_param: true)
ssh = get_arg("-ssh")