Sha256: 2a799372c85b691b2d90c431f174472025318781ebfbf6b5365b84ba05f23d46
Contents?: true
Size: 969 Bytes
Versions: 3
Compression:
Stored size: 969 Bytes
Contents
# encoding: utf-8 # ChangeLog config file. Generated on <%= DateTime.now.to_s(:long) %> # See github.com/amuntasim/change_log for more informations #ChangeLog::ApplicationController.authenticator = proc { # authenticate_or_request_with_http_basic('ChangeLog') do |user_name, password| # user_name == 'change_log' && password == 'password' # end #} ChangeLog.config do |config| <% if table_prefix.present? -%> config.table_prefix = '<%= table_prefix %>' <% else -%> #config.table_prefix = '' <% end -%> config.orm = '<%= @orm %>' #config.layout = 'change_log/application' #config.commit_prefix = '~~~' #config.tag_prefix = '~~' #config.tag_filter_enabled = true end if defined? ChangeLog <% if @orm == 'mongoid' -%> ChangeLog::Base.store_in collection: :'<%= [@table_prefix, 'change_logs'].compact.join('_') %>' <% else %> ChangeLog::Base.table_name = '<%= [@table_prefix, 'change_logs'].compact.join('_') %>' <% end -%>
Version data entries
3 entries across 3 versions & 1 rubygems