rename application from `dss` to `farmbot`

pull/168/head
Rick Carlino 2015-03-09 05:31:05 -05:00
parent 05359e0d72
commit dcbe7c3255
12 changed files with 17 additions and 16 deletions

0
.coveralls.yml 100644
View File

View File

@ -1 +1 @@
farmbot-dss
farmbot-web-app

View File

@ -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.

View File

@ -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

View File

@ -2,4 +2,4 @@
require File.expand_path('../application', __FILE__)
# Initialize the Rails application.
Dss::Application.initialize!
FarmBot::Application.initialize!

View File

@ -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
@ -15,7 +15,7 @@ Dss::Application.configure do
# Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false
config.action_mailer.default_url_options = {
config.action_mailer.default_url_options = {
host: 'localhost', port: 3000 }
# Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log

View File

@ -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.

View File

@ -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

View File

@ -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'

View File

@ -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'

View File

@ -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

View File

@ -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