Browse Source

Removed unneeded config options, added gemnasium

Dominik Sander 11 years ago
parent
commit
460e940c8a
5 changed files with 1 additions and 13 deletions
  1. 0 1
      .env.example
  2. 1 1
      README.md
  3. 0 3
      config/application.rb
  4. 0 3
      config/environments/production.rb
  5. 0 5
      config/initializers/devise.rb

+ 0 - 1
.env.example

@@ -2,7 +2,6 @@
 
 # Replace the following with the output from "rake secret"
 APP_SECRET_TOKEN=REPLACE_ME_NOW!
-DEVISE_SECRET_TOKEN=REPLACE_ME_NOW!
 
 # This is the domain where your Huginn instance will be running. The default should work
 # for development, but it needs to be changed to your Huginn domain when you deploy to a

+ 1 - 1
README.md

@@ -104,5 +104,5 @@ Huginn is a work in progress and is hopefully just getting started.  Please get
 
 Please fork, add specs, and send pull requests!
 
-[![Build Status](https://travis-ci.org/cantino/huginn.png)](https://travis-ci.org/cantino/huginn) [![Coverage Status](https://coveralls.io/repos/cantino/huginn/badge.png)](https://coveralls.io/r/cantino/huginn) [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/cantino/huginn/trend.png)](https://bitdeli.com/free "Bitdeli Badge")
+[![Build Status](https://travis-ci.org/cantino/huginn.png)](https://travis-ci.org/cantino/huginn) [![Coverage Status](https://coveralls.io/repos/cantino/huginn/badge.png)](https://coveralls.io/r/cantino/huginn) [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/cantino/huginn/trend.png)](https://bitdeli.com/free "Bitdeli Badge") [![Dependency Status](https://gemnasium.com/cantino/huginn.svg)](https://gemnasium.com/cantino/huginn)
 

+ 0 - 3
config/application.rb

@@ -47,8 +47,5 @@ module Huginn
     # Enable the asset pipeline
     config.assets.enabled = true
     config.assets.initialize_on_precompile = false
-
-    # Version of your assets, change this if you want to expire all your assets
-    config.assets.version = '1.0'
   end
 end

+ 0 - 3
config/environments/production.rb

@@ -32,9 +32,6 @@ Huginn::Application.configure do
   # Generate digests for assets URLs
   config.assets.digest = true
 
-  # Version of your assets, change this if you want to expire all your assets.
-  config.assets.version = '1.0'
-
   # Specifies the header that your server uses for sending files.
   # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
   # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx

+ 0 - 5
config/initializers/devise.rb

@@ -1,11 +1,6 @@
 # Use this hook to configure devise mailer, warden hooks and so forth.
 # Many of these configuration options can be set straight in your model.
 Devise.setup do |config|
-  # The secret key used by Devise. Devise uses this key to generate
-  # random tokens. Changing this key will render invalid all existing
-  # confirmation, reset password and unlock tokens in the database.
-  config.secret_key = ENV['DEVISE_SECRET_TOKEN']
-
   # ==> Mailer Configuration
   # Configure the e-mail address which will be shown in Devise::Mailer,
   # note that it will be overwritten if you use your own mailer class