Skip to content

Commit

Permalink
renamed application, some minor names, from services to accounts
Browse files Browse the repository at this point in the history
  • Loading branch information
jpslav committed Feb 25, 2014
1 parent cda3fee commit d07c80c
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion LICENSING
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
OpenStax Accounts welcomes interaction from other entities in the education industry.
If you are a part of an organization that wants to build on the OpenStax Services
If you are a part of an organization that wants to build on the OpenStax Accounts
infrastructure but are concerned about the copyleft nature of the AGPL, please
contact us to discuss other license options.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

require File.expand_path('../config/application', __FILE__)

Services::Application.load_tasks
Accounts::Application.load_tasks
2 changes: 1 addition & 1 deletion config.ru
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file is used by Rack-based servers to start the application.

require ::File.expand_path('../config/environment', __FILE__)
run Services::Application
run Accounts::Application
2 changes: 1 addition & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# Bundler.require(:default, :assets, Rails.env)
end

module Services
module Accounts
class Application < Rails::Application
# Settings in config/environments/* take precedence over those specified here.
# Application configuration should go into files in config/initializers
Expand Down
2 changes: 1 addition & 1 deletion config/environment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
COPYRIGHT_HOLDER = "Rice University"

# Initialize the rails application
Services::Application.initialize!
Accounts::Application.initialize!
2 changes: 1 addition & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Services::Application.configure do
Accounts::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
Expand Down
2 changes: 1 addition & 1 deletion config/environments/production.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Services::Application.configure do
Accounts::Application.configure do
# Settings specified here will take precedence over those in config/application.rb

# Code is not reloaded between requests
Expand Down
2 changes: 1 addition & 1 deletion config/environments/test.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Services::Application.configure do
Accounts::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
Expand Down
2 changes: 1 addition & 1 deletion config/initializers/secret_token.rb
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
# If you change this key, all old signed cookies will become invalid!
# Make sure the secret is at least 30 characters and all random,
# no regular words or you'll be exposed to dictionary attacks.
Services::Application.config.secret_token =
Accounts::Application.config.secret_token =
SECRET_SETTINGS[:secret_token] || 'f311708fb1dfa965f0911e4a3adb3cfc5998f1705d0713b66290eb848af5c7f5d6930b1ecfbbf9f1e1a2c27068acd7f42b542c7a1fdebe428b0d0a180fa55c35'
4 changes: 2 additions & 2 deletions config/initializers/session_store.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Be sure to restart your server when you modify this file.

Services::Application.config.session_store :cookie_store, key: '_services_session'
Accounts::Application.config.session_store :cookie_store, key: '_accounts_session'

# Use the database for sessions instead of the cookie-based default,
# which shouldn't be used to store highly confidential information
# (create the session table with "rails generate session_migration")
# Services::Application.config.session_store :active_record_store
# Accounts::Application.config.session_store :active_record_store
2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Services::Application.routes.draw do
Accounts::Application.routes.draw do

use_doorkeeper

Expand Down

0 comments on commit d07c80c

Please sign in to comment.