Class: Settings::RailsProjectFilesContent

Inherits:
FilesContent show all
Defined in:
lib/gorgon/settings/rails_project_files_content.rb

Constant Summary

Constants inherited from FilesContent

FilesContent::DEFAULT_HOST, FilesContent::RSPEC_GLOB, FilesContent::TEST_UNIT_GLOB

Instance Attribute Summary

Attributes inherited from FilesContent

#amqp_host, #callbacks, #failed_files, #file_server_host, #files, #originator_log_file, #runtime_file, #sync_exclude

Instance Method Summary collapse

Methods inherited from FilesContent

get_amqp_host, get_file_server_host

Constructor Details

#initializeRailsProjectFilesContent

Returns a new instance of RailsProjectFilesContent.



5
6
7
8
9
10
11
12
13
# File 'lib/gorgon/settings/rails_project_files_content.rb', line 5

def initialize
  super
  @amqp_host = FilesContent.get_amqp_host
  @file_server_host = FilesContent.get_file_server_host
  @sync_exclude = [".git", ".rvmrc","doc","log","tmp"]
  @originator_log_file = 'log/gorgon-originator.log'
  @failed_files = 'gorgon-failed-files.json'
  create_callbacks
end