mirror of
https://github.com/neocities/neocities.git
synced 2025-08-06 01:24:56 +02:00
merge master with paypalrecurring
This commit is contained in:
commit
b878417ee0
206 changed files with 8067 additions and 1860 deletions
|
@ -11,6 +11,8 @@ require 'logger'
|
|||
Bundler.require
|
||||
Bundler.require :development if ENV['RACK_ENV'] == 'development'
|
||||
|
||||
require 'tilt/erubis'
|
||||
|
||||
Dir['./ext/**/*.rb'].each {|f| require f}
|
||||
|
||||
# :nocov:
|
||||
|
@ -31,6 +33,8 @@ raise 'hash_ip_salt is required' unless $config['ip_hash_salt']
|
|||
DB = Sequel.connect $config['database'], sslmode: 'disable', max_connections: $config['database_pool']
|
||||
DB.extension :pagination
|
||||
|
||||
require 'will_paginate/sequel'
|
||||
|
||||
# :nocov:
|
||||
=begin
|
||||
if defined?(Pry)
|
||||
|
@ -61,6 +65,7 @@ end
|
|||
# :nocov:
|
||||
if ENV['RACK_ENV'] == 'development'
|
||||
# Run async jobs immediately in development.
|
||||
=begin
|
||||
module Sidekiq
|
||||
module Worker
|
||||
module ClassMethods
|
||||
|
@ -72,6 +77,7 @@ if ENV['RACK_ENV'] == 'development'
|
|||
end
|
||||
end
|
||||
end
|
||||
=end
|
||||
end
|
||||
# :nocov:
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue