Sha256: b4b4e1bb3bf504920db86a21f45ba9e6c90698cc973db6e598a0e229c517ca7d
Contents?: true
Size: 1.73 KB
Versions: 3
Compression:
Stored size: 1.73 KB
Contents
# Use this hook to configure Corkboard. Corkboard.setup do |config| # # OmniAuth and Redis configuration. # # --------------------------------------------------------------------------- # OmniAuth.config.full_host = 'http://www.example.com' # config.redis = Redis.connect(:url => ENV['REDIS_URL']) # # # Authentication: who can see what. # # --------------------------------------------------------------------------- # config.authentication({ # :admin => :authenticate_admin!, # use `false` to disable auth. # :board => :authenticate_user! # use `false` to disable auth. # }) # # # Interests: the hashtags to look for and filter by. # # --------------------------------------------------------------------------- # config.interests({ # :scope => [:hashtag], # :filters => [:other_hashtag] # }) # # # Presentation: display stuff. # # --------------------------------------------------------------------------- # config.presentation({ # :title => 'Example title', # :description => 'Example description', # :framework => :bootstrap, # :weights => { :s => 10, :m => 3, :l => 1 } # }) # # # Publishers: send to the browser. # # --------------------------------------------------------------------------- # config.publisher(:pusher, { # :client_app => ENV['PUSHER_APP'], # :client_key => ENV['PUSHER_KEY'], # :client_secret => ENV['PUSHER_SECRET'] # }) # # # Services: pull from social networks. # # --------------------------------------------------------------------------- # config.service(:instagram, { # :client_key => ENV['INSTAGRAM_KEY'], # :client_secret => ENV['INSTAGRAM_SECRET'] # }) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
corkboard-0.1.3 | spec/dummy/config/initializers/corkboard.rb |
corkboard-0.1.2 | spec/dummy/config/initializers/corkboard.rb |
corkboard-0.1.1 | spec/dummy/config/initializers/corkboard.rb |