Skip to content

Commit

Permalink
Updated gems and files.
Browse files Browse the repository at this point in the history
  • Loading branch information
Virgil Dimaguila committed Aug 18, 2012
1 parent 0ade6a2 commit eb7980f
Show file tree
Hide file tree
Showing 13 changed files with 61 additions and 15 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Expand Up @@ -12,6 +12,7 @@ gem 'capistrano'
gem 'memcached'
gem 'redis'
gem 'resque'
gem 'mobylette'

# Gems used only for assets and not required
# in production environments by default.
Expand All @@ -24,4 +25,5 @@ end

group :development do
gem 'debugger'
gem 'thin'
end
10 changes: 10 additions & 0 deletions Gemfile.lock
Expand Up @@ -45,6 +45,7 @@ GEM
execjs
coffee-script-source (1.3.3)
columnize (0.3.6)
daemons (1.1.9)
debugger (1.2.0)
columnize (>= 0.3.1)
debugger-linecache (~> 1.1.1)
Expand All @@ -53,6 +54,7 @@ GEM
debugger-ruby_core_source (>= 1.1.1)
debugger-ruby_core_source (1.1.3)
erubis (2.7.0)
eventmachine (0.12.10)
execjs (1.4.0)
multi_json (~> 1.0)
haml (3.1.4)
Expand All @@ -72,6 +74,8 @@ GEM
treetop (~> 1.4.8)
memcached (1.4.3)
mime-types (1.19)
mobylette (3.1)
actionpack (>= 3.0)
multi_json (1.3.6)
mysql2 (0.3.11)
net-scp (1.0.4)
Expand Down Expand Up @@ -134,6 +138,10 @@ GEM
tilt (~> 1.1, != 1.3.0)
therubyracer (0.10.2)
libv8 (~> 3.3.10)
thin (1.4.1)
daemons (>= 1.0.9)
eventmachine (>= 0.12.6)
rack (>= 1.0.0)
thor (0.16.0)
tilt (1.3.3)
treetop (1.4.10)
Expand Down Expand Up @@ -161,6 +169,7 @@ DEPENDENCIES
haml (= 3.1.4)
jquery-rails
memcached
mobylette
mysql2
oj
rails (= 3.2.8)
Expand All @@ -169,5 +178,6 @@ DEPENDENCIES
sass
sass-rails (~> 3.2.3)
therubyracer
thin
uglifier (>= 1.0.3)
unicorn
4 changes: 4 additions & 0 deletions app/assets/stylesheets/sass/main.sass
@@ -0,0 +1,4 @@
body
font-family: Helvetica
font-size: 12px

6 changes: 6 additions & 0 deletions app/controllers/application_controller.rb
@@ -1,3 +1,9 @@
class ApplicationController < ActionController::Base
include Mobylette::RespondToMobileRequests
protect_from_forgery

def current_user

end

end
18 changes: 18 additions & 0 deletions app/controllers/users_controller.rb
@@ -0,0 +1,18 @@
class UsersController < ApplicationController

def dashboard

end

def login
end

def index

end

def new

end

end
4 changes: 4 additions & 0 deletions app/models/user.rb
@@ -0,0 +1,4 @@
class User < ActiveRecord::Base


end
14 changes: 0 additions & 14 deletions app/views/layouts/application.html.erb

This file was deleted.

11 changes: 11 additions & 0 deletions app/views/layouts/application.html.haml
@@ -0,0 +1,11 @@
!!! 5

%html
%head
%title Little One
= stylesheet_link_tag "application", :media => "all"
= javascript_include_tag "application"
= csrf_meta_tags

%body
= yield
1 change: 1 addition & 0 deletions app/views/users/dashboard.html.haml
@@ -0,0 +1 @@
%h1 Dashboard
Empty file added app/views/users/login.html.haml
Empty file.
1 change: 1 addition & 0 deletions app/views/users/new.html.haml
@@ -0,0 +1 @@
%h1 Users
2 changes: 1 addition & 1 deletion config/database.yml
Expand Up @@ -12,7 +12,7 @@ development:
adapter: mysql2
encoding: utf8
reconnect: false
database: littleone_development
database: littleone_dev
pool: 5
username: root
password:
Expand Down
3 changes: 3 additions & 0 deletions config/routes.rb
@@ -1,4 +1,7 @@
Littleone::Application.routes.draw do

root :to => "users#dashboard"

# The priority is based upon order of creation:
# first created -> highest priority.

Expand Down

0 comments on commit eb7980f

Please sign in to comment.