Sha256: f4add74aa1423517fb59a23af835efcdc157767e4fb793a8afcac14d378f7767

Contents?: true

Size: 417 Bytes

Versions: 16

Compression:

Stored size: 417 Bytes

Contents

require 'fileutils'

module Jack
  module Config
    class Sort < Transmit # for the local_config_path method
      include Util

      def initialize(options={})
        super
        @options = options
      end

      def run
        YamlFormatter.new.process("#{@root}/#{local_config_path}")
        UI.say "Reformatted the local config to a sorted yaml format at #{local_config_path}"
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
jack-eb-0.2.0 lib/jack/config/sort.rb
jack-eb-0.1.6 lib/jack/config/sort.rb
jack-eb-0.1.5 lib/jack/config/sort.rb
jack-eb-0.1.4 lib/jack/config/sort.rb
jack-eb-0.1.3 lib/jack/config/sort.rb
jack-eb-0.1.2 lib/jack/config/sort.rb
jack-eb-0.1.1 lib/jack/config/sort.rb
jack-eb-0.1.0 lib/jack/config/sort.rb
jack-eb-0.0.9 lib/jack/config/sort.rb
jack-eb-0.0.8 lib/jack/config/sort.rb
jack-eb-0.0.7 lib/jack/config/sort.rb
jack-eb-0.0.6 lib/jack/config/sort.rb
jack-eb-0.0.4 lib/jack/config/sort.rb
jack-eb-0.0.3 lib/jack/config/sort.rb
jack-eb-0.0.2 lib/jack/config/sort.rb
jack-eb-0.0.1 lib/jack/config/sort.rb