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 language: ruby
rvm: rvm:
- 2.2.0 - 2.2.0
services: services:
- mongodb - mongodb
notifications: notifications:
irc: chat.freenode.net#farmbot irc:
- "chat.freenode.net#farmbot"
env: env:
# A 'fake' secret token for use in our CI env. # A 'fake' secret token for use in our CI env.
# Don't worry- this isn't the real one. # Don't worry- this isn't the real one.

View File

@ -12,7 +12,7 @@ require "sprockets/railtie"
Bundler.require(:default, Rails.env) Bundler.require(:default, Rails.env)
# TODO: Rename this to Farmbot. # TODO: Rename this to Farmbot.
module Dss module FarmBot
class Application < Rails::Application class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified # Settings in config/environments/* take precedence over those specified
# here. Application configuration should go into files in # here. Application configuration should go into files in

View File

@ -2,4 +2,4 @@
require File.expand_path('../application', __FILE__) require File.expand_path('../application', __FILE__)
# Initialize the Rails application. # 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. # Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded on # 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. # Don't care if the mailer can't send.
config.action_mailer.raise_delivery_errors = false config.action_mailer.raise_delivery_errors = false
config.action_mailer.default_url_options = { config.action_mailer.default_url_options = {
host: 'localhost', port: 3000 } host: 'localhost', port: 3000 }
# Print deprecation notices to the Rails logger. # Print deprecation notices to the Rails logger.
config.active_support.deprecation = :log 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. # Settings specified here will take precedence over those in config/application.rb.
# Code is not reloaded between requests. # 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. # Settings specified here will take precedence over those in config/application.rb.
# The test environment is used exclusively to run your application's # 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 # Make sure your secret_key_base is kept private
# if you're sharing your code publicly. # 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. # 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: development:
sessions: sessions:
default: default:
database: dss_development database: farmbot_web_development
hosts: hosts:
- localhost:27017 - localhost:27017
options: options:
@ -9,9 +9,9 @@ development:
test: test:
sessions: sessions:
default: default:
database: dss_test database: farmbot_web_test
hosts: hosts:
- localhost:27017 - <%= ENV['MONGO_HOST'] || 'localhost:27017' %>
options: options:
read: primary read: primary
# In the test environment we lower the retries and retry interval to # 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) mount JasmineRails::Engine => '/specs' if defined?(JasmineRails)
namespace :api, defaults: {format: :json} do namespace :api, defaults: {format: :json} do