lib/grape/generate.rb in grape-gen-0.0.5 vs lib/grape/generate.rb in grape-gen-0.0.6
- old
+ new
@@ -41,22 +41,18 @@
@redis = true
@faye_secret = Digest::MD5.hexdigest('%s-%s'%[app_name,Time.now.to_s])
directory './', exclude_pattern: /(sidekiq|carrierwave|faye|mandrill|tire|elastic_search|search_indexes|mailers|uploaders|jobs)/
- directory './log'
- directory './tmp/pids'
-
@redis ||= @sidekiq || @faye
if @faye
template './faye.ru'
copy_file './config/boot_faye.rb'
copy_file './config/initializers/faye.rb'
copy_file './config/initializers/em-patches/faye.rb'
copy_file './public/faye.html'
- copy_file './lib/faye_auth_extension.rb'
- copy_file './lib/faye_publisher.rb'
+ directory './lib/faye'
end
if @sidekiq
if @faye
copy_file './jobs/pong_time.rb'