rename application from `dss` to `farmbot`
parent
05359e0d72
commit
dcbe7c3255
|
@ -1 +1 @@
|
|||
farmbot-dss
|
||||
farmbot-web-app
|
||||
|
|
|
@ -1,10 +1,11 @@
|
|||
language: ruby
|
||||
rvm:
|
||||
- 2.2.0
|
||||
- 2.2.0
|
||||
services:
|
||||
- mongodb
|
||||
- mongodb
|
||||
notifications:
|
||||
irc: chat.freenode.net#farmbot
|
||||
irc:
|
||||
- "chat.freenode.net#farmbot"
|
||||
env:
|
||||
# A 'fake' secret token for use in our CI env.
|
||||
# Don't worry- this isn't the real one.
|
||||
|
|
|
@ -12,7 +12,7 @@ require "sprockets/railtie"
|
|||
Bundler.require(:default, Rails.env)
|
||||
|
||||
# TODO: Rename this to Farmbot.
|
||||
module Dss
|
||||
module FarmBot
|
||||
class Application < Rails::Application
|
||||
# Settings in config/environments/* take precedence over those specified
|
||||
# here. Application configuration should go into files in
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
require File.expand_path('../application', __FILE__)
|
||||
|
||||
# Initialize the Rails application.
|
||||
Dss::Application.initialize!
|
||||
FarmBot::Application.initialize!
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Dss::Application.configure do
|
||||
FarmBot::Application.configure do
|
||||
# Settings specified here will take precedence over those in config/application.rb.
|
||||
|
||||
# In the development environment your application's code is reloaded on
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Dss::Application.configure do
|
||||
FarmBot::Application.configure do
|
||||
# Settings specified here will take precedence over those in config/application.rb.
|
||||
|
||||
# Code is not reloaded between requests.
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Dss::Application.configure do
|
||||
FarmBot::Application.configure do
|
||||
# Settings specified here will take precedence over those in config/application.rb.
|
||||
|
||||
# The test environment is used exclusively to run your application's
|
||||
|
|
|
@ -10,4 +10,4 @@
|
|||
# Make sure your secret_key_base is kept private
|
||||
# if you're sharing your code publicly.
|
||||
|
||||
Dss::Application.config.secret_key_base = '78d21d901ba79defae9ddf6359eb70c6d8203f7ea7eec3e8f3e3791c6b1fe04a5b0313f149b2b81dd108aae49254dd2b905c00f863e1923916dbac70bba63134'
|
||||
FarmBot::Application.config.secret_key_base = '78d21d901ba79defae9ddf6359eb70c6d8203f7ea7eec3e8f3e3791c6b1fe04a5b0313f149b2b81dd108aae49254dd2b905c00f863e1923916dbac70bba63134'
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
# Be sure to restart your server when you modify this file.
|
||||
|
||||
Dss::Application.config.session_store :cookie_store, key: '_dss_session'
|
||||
FarmBot::Application.config.session_store :cookie_store, key: '_farmbot_session'
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
development:
|
||||
sessions:
|
||||
default:
|
||||
database: dss_development
|
||||
database: farmbot_web_development
|
||||
hosts:
|
||||
- localhost:27017
|
||||
options:
|
||||
|
@ -9,9 +9,9 @@ development:
|
|||
test:
|
||||
sessions:
|
||||
default:
|
||||
database: dss_test
|
||||
database: farmbot_web_test
|
||||
hosts:
|
||||
- localhost:27017
|
||||
- <%= ENV['MONGO_HOST'] || 'localhost:27017' %>
|
||||
options:
|
||||
read: primary
|
||||
# In the test environment we lower the retries and retry interval to
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
Dss::Application.routes.draw do
|
||||
FarmBot::Application.routes.draw do
|
||||
|
||||
mount JasmineRails::Engine => '/specs' if defined?(JasmineRails)
|
||||
namespace :api, defaults: {format: :json} do
|
||||
|
|
Loading…
Reference in New Issue