Sha256: e2e0c3612089a13ad747080ecfe750a067766ae49bcb1fb9d87b14fe8ae82787

Contents?: true

Size: 737 Bytes

Versions: 5

Compression:

Stored size: 737 Bytes

Contents

puts "Loading Development Environment"

# Get Access
Pancake.configuration.configs(<%= stack_name.camel_case %> ) do |config|
  config.foo = :foo
end

# Allows Pancake to selectively apply middlewares in the stack.  
# If a middleware is not declared with a specific stack label then it will always be loaded
# You can specify Middleware to be active under particular stack labels only however.
# 
# Example
# <%= stack_name.camel_case %>.stack(:my_middlware, :labels => [:demo, :development]).use(Middlware, :with => :opts)
#
# This would only include the middleware Middlware in stacks with either the :demo, or :development label 
#
# Setting The Pancake.stack_labels will use any relevant stacks
Pancake.stack_labels = [:development]

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
hassox-pancake-0.1.6 lib/pancake/generators/templates/stack/%stack_name%/lib/%stack_name%/config/environments/development.rb.tt
pancake-0.1.13 lib/pancake/generators/templates/stack/%stack_name%/lib/%stack_name%/config/environments/development.rb.tt
pancake-0.1.12 lib/pancake/generators/templates/stack/%stack_name%/lib/%stack_name%/config/environments/development.rb.tt
pancake-0.1.10 lib/pancake/generators/templates/stack/%stack_name%/lib/%stack_name%/config/environments/development.rb.tt
pancake-0.1.8 lib/pancake/generators/templates/stack/%stack_name%/lib/%stack_name%/config/environments/development.rb.tt