Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
source 'http://rubygems.org'

gem 'rails', '~>3.0'

gem 'authlogic'

gem 'compass'
gem 'haml'

Expand Down
137 changes: 137 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
GEM
remote: http://rubygems.org/
specs:
RedCloth (4.2.8)
actionmailer (3.1.0)
actionpack (= 3.1.0)
mail (~> 2.3.0)
actionpack (3.1.0)
activemodel (= 3.1.0)
activesupport (= 3.1.0)
builder (~> 3.0.0)
erubis (~> 2.7.0)
i18n (~> 0.6)
rack (~> 1.3.2)
rack-cache (~> 1.0.3)
rack-mount (~> 0.8.2)
rack-test (~> 0.6.1)
sprockets (~> 2.0.0)
activemodel (3.1.0)
activesupport (= 3.1.0)
bcrypt-ruby (~> 3.0.0)
builder (~> 3.0.0)
i18n (~> 0.6)
activerecord (3.1.0)
activemodel (= 3.1.0)
activesupport (= 3.1.0)
arel (~> 2.2.1)
tzinfo (~> 0.3.29)
activeresource (3.1.0)
activemodel (= 3.1.0)
activesupport (= 3.1.0)
activesupport (3.1.0)
multi_json (~> 1.0)
acts-as-taggable-on (2.1.1)
rails
arel (2.2.1)
authlogic (3.0.3)
activerecord (>= 3.0.7)
activerecord (>= 3.0.7)
bcrypt-ruby (3.0.0)
builder (3.0.0)
capybara (1.1.0)
mime-types (>= 1.16)
nokogiri (>= 1.3.3)
rack (>= 1.0.0)
rack-test (>= 0.5.4)
selenium-webdriver (~> 2.0)
xpath (~> 0.1.4)
cells (3.6.5)
actionpack (~> 3.0)
railties (~> 3.0)
childprocess (0.2.2)
ffi (~> 1.0.6)
chunky_png (1.2.1)
compass (0.11.5)
chunky_png (~> 1.2)
fssm (>= 0.2.7)
sass (~> 3.1)
erubis (2.7.0)
ffi (1.0.9)
fssm (0.2.7)
haml (3.1.2)
hike (1.2.1)
i18n (0.6.0)
json_pure (1.5.4)
spruz (~> 0.2.8)
mail (2.3.0)
i18n (>= 0.4.0)
mime-types (~> 1.16)
treetop (~> 1.4.8)
mime-types (1.16)
multi_json (1.0.3)
nokogiri (1.5.0)
polyglot (0.3.2)
rack (1.3.2)
rack-cache (1.0.3)
rack (>= 0.4)
rack-mount (0.8.3)
rack (>= 1.0.0)
rack-ssl (1.3.2)
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.1.0)
actionmailer (= 3.1.0)
actionpack (= 3.1.0)
activerecord (= 3.1.0)
activeresource (= 3.1.0)
activesupport (= 3.1.0)
bundler (~> 1.0)
railties (= 3.1.0)
railties (3.1.0)
actionpack (= 3.1.0)
activesupport (= 3.1.0)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
rake (0.9.2)
rdoc (3.9.4)
rubyzip (0.9.4)
sass (3.1.7)
selenium-webdriver (2.5.0)
childprocess (>= 0.2.1)
ffi (>= 1.0.7)
json_pure
rubyzip
sprockets (2.0.0)
hike (~> 1.2)
rack (~> 1.0)
tilt (!= 1.3.0, ~> 1.1)
spruz (0.2.13)
sqlite3 (1.3.4)
sqlite3-ruby (1.3.3)
sqlite3 (>= 1.3.3)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.29)
xpath (0.1.4)
nokogiri (~> 1.3)

PLATFORMS
ruby

DEPENDENCIES
RedCloth
acts-as-taggable-on
authlogic
capybara
cells (~> 3.5)
compass
haml
rails (~> 3.0)
sqlite3-ruby
3 changes: 2 additions & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
class User < ActiveRecord::Base
#acts_as_authentic
acts_as_authentic
end

3 changes: 3 additions & 0 deletions app/models/user_session.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
class UserSession < Authlogic::Session::Base
end

4 changes: 3 additions & 1 deletion config/environments/development.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,11 @@

# Show full error reports and disable caching
config.consider_all_requests_local = true
config.action_view.debug_rjs = true
config.action_controller.perform_caching = false

# Don't care if the mailer can't send
config.action_mailer.raise_delivery_errors = false

# Log deprecations
config.active_support.deprecation = :log
end
3 changes: 0 additions & 3 deletions config/initializers/compass.rb

This file was deleted.

2 changes: 1 addition & 1 deletion config/routes.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Blog::Application.routes.draw do |map|
Blog::Application.routes.draw do
#match ":controller/tag", :to => "posts#tag"

resources :posts do
Expand Down
3 changes: 3 additions & 0 deletions db/migrate/20100417235922_create_users.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ def self.up

t.timestamps
end

# login : test / password : test
User.create(:login => "test", :password_hash => "6736ddf84c4a92b2933cc5b74eee3da149c6a71e97ae0cda1421f8adb2d80ef2e43e5131903861d75cd9a61350470e00b98b7b0292627046f814cd3309314cef", :password_salt => "T21ddbyDBLMRKcMtgTV9")
end

def self.down
Expand Down