Searched refs:config (Results 1 - 25 of 45) sorted by relevance

12

/ontohub/config/initializers/
H A Dkaminari_config.rb1 Kaminari.configure do |config|
2 config.default_per_page = 25
3 # config.window = 4
4 # config.outer_window = 0
5 # config.left = 0
6 # config.right = 0
7 # config.page_method_name = :page
8 # config.param_name = :page
H A Drails_config.rb3 RailsConfig.setup do |config|
4 config.const_name = 'Settings'
H A Ddevise.rb3 Devise.setup do |config|
8 config.secret_key = Ontohub::Application.config.secret_token
14 config.mailer_sender =
18 "#{Settings.email}@#{Ontohub::Application.config.fqdn}"
22 config.mailer = 'Devise::Mailer'
38 # config.authentication_keys = [ :email ]
45 # config.request_keys = []
50 config.case_insensitive_keys = [ :email ]
55 config
[all...]
H A Dsidekiq.rb2 Sidekiq.configure_server do |config|
3 config.redis = Ontohub::RedisConnection.new.pool.
7 Sidekiq.configure_client do |config|
8 config.redis = Ontohub::RedisConnection.new.pool.
H A Dexception_notification.rb0 config = Settings.exception_notifier
3 if config.try(:enabled)
14 en.add_notifier :email, config.to_hash
H A Dsecurity_headers.rb1 ::SecureHeaders::Configuration.default do |config|
2 config.hsts = 'max-age=99; includeSubdomains'
3 config.x_frame_options = 'SAMEORIGIN'
4 config.x_content_type_options = 'nosniff'
5 config.x_xss_protection = '1; mode=block'
7 config.cookies = {
17 config.csp = {
H A Dsimple_form.rb2 SimpleForm.setup do |config|
8 config.wrappers :default, :class => :input,
49 config.default_wrapper = :default
52 # Defaults to :nested for bootstrap config.
55 config.boolean_style = :nested
58 config.button_class = 'btn'
63 # config.error_method = :first
66 config.error_notification_tag = :div
69 config.error_notification_class = 'alert alert-error'
72 # config
[all...]
H A Dsession_store.rb3 Ontohub::Application.config.session_store :cookie_store, key: '_ontohub_session'
8 # Ontohub::Application.config.session_store :active_record_store
H A Dsecret_token.rb7 Ontohub::Application.config.secret_token = Settings.secret_token.to_s
H A Dpaths.rb22 def empty_initialization(config)
23 config.data_root = nil
24 config.git_root = nil
25 config.git_daemon_path = nil
26 config.git_ssh_path = nil
27 config.commits_path = nil
32 def perform_initialization(config)
33 config.data_root = prepare(Settings.paths.data)
34 config.git_root = prepare(Settings.paths.git_repositories, DEFAULT_PATHS[:git_repositories])
35 config
[all...]
/ontohub/config/environments/
H A Ddevelopment.rb2 # Settings specified here will take precedence over those in config/application.rb
7 config.cache_classes = false
10 config.whiny_nils = true
13 config.consider_all_requests_local = true
14 config.action_controller.perform_caching = false
17 config.action_mailer.raise_delivery_errors = false
18 config.action_mailer.default_url_options = {:host => 'localhost'}
21 config.active_support.deprecation = :log
24 config.action_dispatch.best_standards_support = :builtin
27 config
[all...]
H A Dtest.rb2 # Settings specified here will take precedence over those in config/application.rb
8 config.cache_classes = true
11 config.serve_static_assets = true
12 config.static_cache_control = "public, max-age=3600"
15 config.whiny_nils = true
18 config.consider_all_requests_local = true
19 config.action_controller.perform_caching = false
22 config.action_dispatch.show_exceptions = false
25 config.action_controller.allow_forgery_protection = false
28 config
[all...]
H A Dproduction.rb2 # Settings specified here will take precedence over those in config/application.rb
5 config.cache_classes = true
8 config.consider_all_requests_local = false
9 config.action_controller.perform_caching = true
12 config.serve_static_assets = false
15 config.assets.compress = true
18 config.assets.compile = false
21 config.assets.digest = true
24 # config.assets.manifest = YOUR_PATH
27 # config
[all...]
/ontohub/spec/support/config/
H A Dstrip_attributes.rb3 RSpec.configure do |config|
4 config.include StripAttributes::Matchers
H A Dfactory_girl.rb1 RSpec.configure do |config|
2 config.include FactoryGirl::Syntax::Methods
H A Dsidekiq.rb5 RSpec.configure do |config|
6 config.before(:each) do
/ontohub/db/seeds/
H A D002-clean_git.rb2 FileUtils.rm_rf Ontohub::Application.config.git_root
/ontohub/config/
H A Dapplication.rb16 # Settings in config/environments/* take precedence over those specified here.
17 # Application configuration should go into files in config/initializers
21 config.eager_load_paths += %W(#{config.root}/lib)
25 config.sass.load_paths << Compass::Frameworks['compass'].stylesheets_directory
29 config.to_prepare { Devise::Mailer.layout "mailer" }
33 # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
36 # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
40 # config.time_zone = 'Central Time (US & Canada)'
42 # The default locale is :en and all translations from config/locale
[all...]
H A Ddatabase_cleaner.rb25 RSpec.configure do |config|
26 config.use_instantiated_fixtures = false
27 config.use_transactional_fixtures = false
28 config.add_setting :original_hostname
31 config.treat_symbols_as_metadata_keys_with_true_values = true
33 config.before(:suite) do
37 config.original_hostname = Settings.hostname
40 config.before(:each, :example_uses_transaction) do
44 config.after(:each, :example_uses_transaction) do
48 config
[all...]
/ontohub/spec/
H A Dspec_helper.rb5 require File.expand_path("../../config/environment", __FILE__)
9 require Rails.root.join('config', 'database_cleaner.rb')
61 RSpec.configure do |config|
62 config.add_setting :current_full_description
63 config.add_setting :current_description
64 config.add_setting :current_file_path
66 # config.mock_with :mocha
67 # config.mock_with :flexmock
68 # config.mock_with :rr
69 config
[all...]
/ontohub/db/
H A Dseeds.rb20 FileUtils.rm_rf(Dir.glob(Ontohub::Application.config.git_root.join('*')))
21 FileUtils.rm_rf(Dir.glob(Ontohub::Application.config.git_daemon_path.join('*')))
22 FileUtils.rm_rf(Dir.glob(Ontohub::Application.config.git_ssh_path.join('*')))
23 FileUtils.rm_rf(Dir.glob(Ontohub::Application.config.commits_path.join('*')))
/ontohub/lib/
H A Dsettings_interpreter.rb5 PathsInitializer.perform_initialization(app.config)
/ontohub/app/serializers/
H A Dformality_level_serializer.rb8 host: Ontohub::Application.config.fqdn,
9 port: Ontohub::Application.config.port)
H A Dlicense_model_serializer.rb8 host: Ontohub::Application.config.fqdn,
9 port: Ontohub::Application.config.port)
H A Dlogic_serializer.rb8 host: Ontohub::Application.config.fqdn,
9 port: Ontohub::Application.config.port)

Completed in 363 milliseconds

12