Sha256: ff8524739bc3b19d88c089d23c83ff55dee74f1d4d5f535f27100e4c3cf17ce4

Contents?: true

Size: 470 Bytes

Versions: 6

Compression:

Stored size: 470 Bytes

Contents

require 'handsome_fencer/circle_c_i/crypto'
require 'thor'
namespace :handsome_fencer do

  namespace :circle_c_i do

    desc "Generaters necessary files for CI using Circle, Docker, and Rails"

    task :obfuscate do

      environment = ARGV[0].nil? ? 'deploy' : ARGV[0]
      directory = ARGV[1].nil? ? '.circleci' : ARGV[1]

      @cipher = HandsomeFencer::CircleCI::Crypto.new(dkfile: environment)
      @cipher.obfuscate(directory, environment)
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
handsome_fencer-circle_c_i-0.1.22 lib/handsome_fencer/circle_c_i/tasks/obfuscate.rake
handsome_fencer-circle_c_i-0.1.21 lib/handsome_fencer/circle_c_i/tasks/obfuscate.rake
handsome_fencer-circle_c_i-0.1.20 lib/handsome_fencer/circle_c_i/tasks/obfuscate.rake
handsome_fencer-circle_c_i-0.1.19 lib/handsome_fencer/circle_c_i/tasks/obfuscate.rake
handsome_fencer-circle_c_i-0.1.17 lib/handsome_fencer/circle_c_i/tasks/obfuscate.rake
handsome_fencer-circle_c_i-0.1.15 lib/handsome_fencer/circle_c_i/tasks/obfuscate.rake