From a79116c521b0b85f74039637b2067d24615b00e1 Mon Sep 17 00:00:00 2001 From: David Davis Date: Wed, 11 Jan 2012 12:44:00 -0500 Subject: [PATCH] Renamed the app from rubiks to rubeque --- .rvmrc | 2 +- Gemfile | 5 ++++- Gemfile.lock | 23 +++++++++++++---------- Rakefile | 2 +- app/views/layouts/application.html.erb | 4 ++-- config.ru | 2 +- config/application.rb | 2 +- config/environment.rb | 2 +- config/environments/development.rb | 2 +- config/environments/production.rb | 2 +- config/environments/test.rb | 2 +- config/initializers/secret_token.rb | 2 +- config/initializers/session_store.rb | 4 ++-- config/mongoid.yml | 4 ++-- config/routes.rb | 2 +- 15 files changed, 33 insertions(+), 27 deletions(-) diff --git a/.rvmrc b/.rvmrc index 58f900c..1e09567 100644 --- a/.rvmrc +++ b/.rvmrc @@ -1 +1 @@ -rvm 1.9.3@rubiks \ No newline at end of file +rvm 1.9.3@rubeque \ No newline at end of file diff --git a/Gemfile b/Gemfile index 879c1f8..f4cddb5 100644 --- a/Gemfile +++ b/Gemfile @@ -34,5 +34,8 @@ end group :development do # bash < <(curl -L https://raw.github.com/gist/1333785) - gem 'ruby-debug19' + rvm_path = ENV['rvm_path'] + gem 'linecache19','0.5.13', :path => "#{rvm_path}/gems/ruby-1.9.3-p0@rubeque/gems/linecache19-0.5.13" + gem 'ruby-debug-base19', '0.11.26', :path => "#{rvm_path}/gems/ruby-1.9.3-p0@rubeque/gems/ruby-debug-base19-0.11.26" + gem 'ruby-debug19', '0.11.6',:require => 'ruby-debug'#, :path => "#{rvm_path}/gems/ruby-1.9.3-p0@rubeque/gems/ruby-debug19-0.11.6" end diff --git a/Gemfile.lock b/Gemfile.lock index f60601b..4c632b8 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,3 +1,13 @@ +PATH + remote: /Users/davidd/.rvm/gems/ruby-1.9.3-p0@rubeque/gems/linecache19-0.5.13 + specs: + linecache19 (0.5.13) + +PATH + remote: /Users/davidd/.rvm/gems/ruby-1.9.3-p0@rubeque/gems/ruby-debug-base19-0.11.26 + specs: + ruby-debug-base19 (0.11.26) + GEM remote: http://rubygems.org/ specs: @@ -30,7 +40,6 @@ GEM activesupport (3.1.3) multi_json (~> 1.0) ansi (1.4.1) - archive-tar-minitar (0.5.2) arel (2.2.1) bcrypt-ruby (3.0.1) bson (1.5.2) @@ -58,8 +67,6 @@ GEM railties (~> 3.0) thor (~> 0.14) json (1.6.4) - linecache19 (0.5.12) - ruby_core_source (>= 0.1.4) mail (2.3.0) i18n (>= 0.4.0) mime-types (~> 1.16) @@ -101,16 +108,10 @@ GEM rake (0.9.2.2) rdoc (3.12) json (~> 1.4) - ruby-debug-base19 (0.11.25) - columnize (>= 0.3.1) - linecache19 (>= 0.5.11) - ruby_core_source (>= 0.1.4) ruby-debug19 (0.11.6) columnize (>= 0.3.1) linecache19 (>= 0.5.11) ruby-debug-base19 (>= 0.11.19) - ruby_core_source (0.1.5) - archive-tar-minitar (>= 0.5.2) sass (3.1.12) sass-rails (3.1.5) actionpack (~> 3.1.0) @@ -143,9 +144,11 @@ DEPENDENCIES coffee-rails (~> 3.1.1) devise (~> 1.5.3) jquery-rails + linecache19 (= 0.5.13)! mongoid (~> 2.4) rails (= 3.1.3) - ruby-debug19 + ruby-debug-base19 (= 0.11.26)! + ruby-debug19 (= 0.11.6) sass-rails (~> 3.1.5) turn (= 0.8.2) uglifier (>= 1.0.3) diff --git a/Rakefile b/Rakefile index ffb9cd9..2d1b324 100644 --- a/Rakefile +++ b/Rakefile @@ -4,4 +4,4 @@ require File.expand_path('../config/application', __FILE__) -Rubiks::Application.load_tasks +Rubeque::Application.load_tasks diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb index dac1758..3ff5855 100644 --- a/app/views/layouts/application.html.erb +++ b/app/views/layouts/application.html.erb @@ -1,7 +1,7 @@ - Rubiks + rubeque <%= stylesheet_link_tag "application" %> <%= javascript_include_tag "application" %> <%= csrf_meta_tags %> @@ -10,7 +10,7 @@
diff --git a/config.ru b/config.ru index 65860b2..03b926d 100644 --- a/config.ru +++ b/config.ru @@ -1,4 +1,4 @@ # This file is used by Rack-based servers to start the application. require ::File.expand_path('../config/environment', __FILE__) -run Rubiks::Application +run Rubeque::Application diff --git a/config/application.rb b/config/application.rb index 3ab0a29..7320d70 100644 --- a/config/application.rb +++ b/config/application.rb @@ -15,7 +15,7 @@ # Bundler.require(:default, :assets, Rails.env) end -module Rubiks +module Rubeque class Application < Rails::Application # Settings in config/environments/* take precedence over those specified here. # Application configuration should go into files in config/initializers diff --git a/config/environment.rb b/config/environment.rb index 317cf82..a4e571a 100644 --- a/config/environment.rb +++ b/config/environment.rb @@ -2,4 +2,4 @@ require File.expand_path('../application', __FILE__) # Initialize the rails application -Rubiks::Application.initialize! +Rubeque::Application.initialize! diff --git a/config/environments/development.rb b/config/environments/development.rb index 805c1e7..bd075e9 100644 --- a/config/environments/development.rb +++ b/config/environments/development.rb @@ -1,4 +1,4 @@ -Rubiks::Application.configure do +Rubeque::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 diff --git a/config/environments/production.rb b/config/environments/production.rb index 542ec83..13be7d9 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -1,4 +1,4 @@ -Rubiks::Application.configure do +Rubeque::Application.configure do # Settings specified here will take precedence over those in config/application.rb # Code is not reloaded between requests diff --git a/config/environments/test.rb b/config/environments/test.rb index 8c7d694..d135c50 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -1,4 +1,4 @@ -Rubiks::Application.configure do +Rubeque::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 diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb index 2d9fb9e..04eea30 100644 --- a/config/initializers/secret_token.rb +++ b/config/initializers/secret_token.rb @@ -4,4 +4,4 @@ # 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. -Rubiks::Application.config.secret_token = '5071aa9102854f283467febff356a2166072fc2745ef846340eebf33afcb48a398229f7b8437eecfedf6e020dc954f42e81cf25a26384743cabec46dd7d9c2f3' +Rubeque::Application.config.secret_token = '5071aa9102854f283467febff356a2166072fc2745ef846340eebf33afcb48a398229f7b8437eecfedf6e020dc954f42e81cf25a26384743cabec46dd7d9c2f3' diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb index 2a8e6be..25ef162 100644 --- a/config/initializers/session_store.rb +++ b/config/initializers/session_store.rb @@ -1,8 +1,8 @@ # Be sure to restart your server when you modify this file. -Rubiks::Application.config.session_store :cookie_store, key: '_rubiks_session' +rubeque::Application.config.session_store :cookie_store, key: '_rubeque_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") -# Rubiks::Application.config.session_store :active_record_store +# rubeque::Application.config.session_store :active_record_store diff --git a/config/mongoid.yml b/config/mongoid.yml index adcb35f..6f4af10 100644 --- a/config/mongoid.yml +++ b/config/mongoid.yml @@ -4,11 +4,11 @@ defaults: &defaults development: <<: *defaults - database: rubiks_dev + database: rubeque_dev test: <<: *defaults - database: rubiks_test + database: rubeque_test production: host: <%= ENV["MONGOID_HOST"] %> diff --git a/config/routes.rb b/config/routes.rb index 50ede7f..0537a32 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1,4 +1,4 @@ -Rubiks::Application.routes.draw do +Rubeque::Application.routes.draw do resources :problems devise_for :users