Class: Gorgon::Settings::RailsProjectFilesContent

Inherits:
FilesContent
  • Object
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.



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

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