Skip to content
This repository has been archived by the owner on Oct 12, 2018. It is now read-only.

Commit

Permalink
Convert to a Rails app.
Browse files Browse the repository at this point in the history
  • Loading branch information
craigw committed Sep 23, 2011
1 parent adc5707 commit bc39074
Show file tree
Hide file tree
Showing 61 changed files with 1,235 additions and 365 deletions.
7 changes: 5 additions & 2 deletions .gitignore
@@ -1,2 +1,5 @@
project.db
coverage
.bundle
db/*.sqlite3
log/*.log
tmp/
.sass-cache/
49 changes: 0 additions & 49 deletions .rvmrc

This file was deleted.

42 changes: 29 additions & 13 deletions Gemfile
@@ -1,18 +1,34 @@
source :rubygems
source 'http://rubygems.org'

gem 'rake'
gem 'sinatra'
gem 'datamapper'
gem 'json', '~> 1.4.6'
gem 'rails', '3.1.0'

gem 'dm-sqlite-adapter', '~> 1.1.0'
gem 'rack-test', '~> 0.5.0'
gem 'dm-mysql-adapter'
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'

gem 'em-proxy'
gem 'uuid'
gem 'mysql2'

gem 'simplecov'
gem 'simplecov-rcov'

gem 'plek'
# Gems used only for assets and not required
# in production environments by default.
group :assets do
gem 'sass-rails', " ~> 3.1.0"
gem 'coffee-rails', "~> 3.1.0"
gem 'uglifier'
end

gem 'jquery-rails'

# Use unicorn as the web server
# gem 'unicorn'

# Deploy with Capistrano
# gem 'capistrano'

# To use debugger
# gem 'ruby-debug19', :require => 'ruby-debug'

group :test do
# Pretty printed test output
gem 'turn', :require => false
gem 'sqlite3-ruby', :require => false
end
201 changes: 113 additions & 88 deletions Gemfile.lock
@@ -1,98 +1,123 @@
GEM
remote: http://rubygems.org/
specs:
addressable (2.2.6)
bcrypt-ruby (2.1.4)
data_objects (0.10.6)
addressable (~> 2.1)
datamapper (1.1.0)
dm-aggregates (= 1.1.0)
dm-constraints (= 1.1.0)
dm-core (= 1.1.0)
dm-migrations (= 1.1.0)
dm-serializer (= 1.1.0)
dm-timestamps (= 1.1.0)
dm-transactions (= 1.1.0)
dm-types (= 1.1.0)
dm-validations (= 1.1.0)
dm-aggregates (1.1.0)
dm-core (~> 1.1.0)
dm-constraints (1.1.0)
dm-core (~> 1.1.0)
dm-core (1.1.0)
addressable (~> 2.2.4)
dm-do-adapter (1.1.0)
data_objects (~> 0.10.2)
dm-core (~> 1.1.0)
dm-migrations (1.1.0)
dm-core (~> 1.1.0)
dm-mysql-adapter (1.1.0)
dm-do-adapter (~> 1.1.0)
do_mysql (~> 0.10.2)
dm-serializer (1.1.0)
dm-core (~> 1.1.0)
fastercsv (~> 1.5.4)
json (~> 1.4.6)
dm-sqlite-adapter (1.1.0)
dm-do-adapter (~> 1.1.0)
do_sqlite3 (~> 0.10.2)
dm-timestamps (1.1.0)
dm-core (~> 1.1.0)
dm-transactions (1.1.0)
dm-core (~> 1.1.0)
dm-types (1.1.0)
bcrypt-ruby (~> 2.1.4)
dm-core (~> 1.1.0)
fastercsv (~> 1.5.4)
json (~> 1.4.6)
stringex (~> 1.2.0)
uuidtools (~> 2.1.2)
dm-validations (1.1.0)
dm-core (~> 1.1.0)
do_mysql (0.10.6)
data_objects (= 0.10.6)
do_sqlite3 (0.10.6)
data_objects (= 0.10.6)
em-proxy (0.1.5)
eventmachine
eventmachine (0.12.10)
fastercsv (1.5.4)
json (1.4.6)
macaddr (1.4.0)
systemu (~> 2.2.0)
plek (0.0.1)
rack (1.3.2)
rack-test (0.5.7)
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)
ansi (1.3.0)
arel (2.2.1)
bcrypt-ruby (3.0.1)
builder (3.0.0)
coffee-rails (3.1.1)
coffee-script (>= 2.2.0)
railties (~> 3.1.0)
coffee-script (2.2.0)
coffee-script-source
execjs
coffee-script-source (1.1.2)
erubis (2.7.0)
execjs (1.2.6)
multi_json (~> 1.0)
hike (1.2.1)
i18n (0.6.0)
jquery-rails (1.0.14)
railties (~> 3.0)
thor (~> 0.14)
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)
mysql2 (0.3.7)
polyglot (0.3.2)
rack (1.3.3)
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)
simplecov (0.4.2)
simplecov-html (~> 0.4.4)
simplecov-html (0.4.5)
simplecov-rcov (0.2.3)
simplecov (>= 0.4.1)
sinatra (1.2.6)
rack (~> 1.1)
tilt (< 2.0, >= 1.2.2)
stringex (1.2.2)
systemu (2.2.0)
tilt (1.3.2)
uuid (2.3.3)
macaddr (~> 1.0)
uuidtools (2.1.2)
rdoc (3.9.4)
sass (3.1.7)
sass-rails (3.1.2)
actionpack (~> 3.1.0)
railties (~> 3.1.0)
sass (>= 3.1.4)
sprockets (~> 2.0.0)
tilt (~> 1.3.2)
sprockets (2.0.0)
hike (~> 1.2)
rack (~> 1.0)
tilt (!= 1.3.0, ~> 1.1)
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)
turn (0.8.2)
ansi (>= 1.2.2)
tzinfo (0.3.29)
uglifier (1.0.3)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)

PLATFORMS
ruby

DEPENDENCIES
datamapper
dm-mysql-adapter
dm-sqlite-adapter (~> 1.1.0)
em-proxy
json (~> 1.4.6)
plek
rack-test (~> 0.5.0)
rake
simplecov
simplecov-rcov
sinatra
uuid
coffee-rails (~> 3.1.0)
jquery-rails
mysql2
rails (= 3.1.0)
sass-rails (~> 3.1.0)
sqlite3-ruby
turn
uglifier

0 comments on commit bc39074

Please sign in to comment.