Sha256: 6fe29f7d2cdb4ba210364ec248c799651311dad38ad8653a52bd02e7929180de

Contents?: true

Size: 243 Bytes

Versions: 5

Compression:

Stored size: 243 Bytes

Contents

require 'whiskey_disk/config/abstract_filter'

class WhiskeyDisk
  class Config
    class AddEnvironmentNameFilter < AbstractFilter
      def filter(data)
        data.merge( { 'environment' => environment_name } )
      end
    end
  end
end

Version data entries

5 entries across 5 versions & 3 rubygems

Version Path
ol-whisk_deploy-0.6.25 lib/whiskey_disk/config/filters/add_environment_name_filter.rb
ol-whisk_deploy-0.6.26 lib/whiskey_disk/config/filters/add_environment_name_filter.rb
whisk_deploy-0.6.26 lib/whiskey_disk/config/filters/add_environment_name_filter.rb
whiskey_disk-0.6.24 lib/whiskey_disk/config/filters/add_environment_name_filter.rb
whiskey_disk-0.6.23 lib/whiskey_disk/config/filters/add_environment_name_filter.rb