Skip to content

Commit

Permalink
Add simple-forms and their validations
Browse files Browse the repository at this point in the history
  • Loading branch information
Tray Torrance committed Feb 6, 2012
1 parent 7d8765c commit 2dea288
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 7 deletions.
7 changes: 5 additions & 2 deletions Gemfile
Expand Up @@ -26,13 +26,17 @@ gem 'nokogiri', '~> 1.5.0'
# Act as API
gem 'acts_as_api', '~> 0.3.11'

# Use SimpleForm for form building
gem 'simple_form'

# Use HAML & JQuery
gem 'haml-rails', '~> 0.3.4'
gem 'jquery-rails', '~> 1.0.19'

# Client-side (javascript) validations
gem 'client_side_validations', '~> 3.2.0.beta.2'
gem 'client_side_validations-mongoid', '~> 2.4.0.beta.2'
gem 'client_side_validations-simple_form'

# Use unicorn as the web server
gem 'unicorn', '~> 4.1.1', :require => false
Expand All @@ -50,8 +54,7 @@ gem 'newrelic_rpm', :group => :newrelic
# in production environments by default.
group :assets do
# Less CSS Asset gems
gem 'less-rails', '~> 2.1.2'
gem 'less-rails-bootstrap', '~> 1.4.3'
gem 'less-rails-bootstrap', '~> 2.0.4'

# Core Asset gems
gem 'coffee-rails', '~> 3.1.1'
Expand Down
17 changes: 12 additions & 5 deletions Gemfile.lock
Expand Up @@ -68,6 +68,9 @@ GEM
client_side_validations-mongoid (2.4.0.beta.2)
client_side_validations (~> 3.2.0.beta.1)
mongoid (~> 2.4.0)
client_side_validations-simple_form (1.5.0.beta.3)
client_side_validations (~> 3.2.0.beta.1)
simple_form (~> 1.5.0)
coderay (0.9.8)
coffee-rails (3.1.1)
coffee-script (>= 2.2.0)
Expand Down Expand Up @@ -144,13 +147,13 @@ GEM
kgio (2.7.2)
launchy (2.0.5)
addressable (~> 2.2.6)
less (2.0.8)
less (2.0.9)
commonjs (~> 0.2.0)
therubyracer (~> 0.9.9)
less-rails (2.1.2)
less-rails (2.1.5)
actionpack (>= 3.1)
less (~> 2.0.7)
less-rails-bootstrap (1.4.3)
less-rails-bootstrap (2.0.4)
less-rails (~> 2.1.0)
libnotify (0.7.1)
libv8 (3.3.10.4)
Expand Down Expand Up @@ -241,6 +244,9 @@ GEM
rubyzip
settingslogic (2.0.8)
sexp_processor (3.0.10)
simple_form (1.5.2)
actionpack (~> 3.0)
activemodel (~> 3.0)
slop (2.1.0)
spork (0.9.0.rc9)
sprockets (2.0.3)
Expand Down Expand Up @@ -282,6 +288,7 @@ DEPENDENCIES
capistrano_colors (~> 0.5.5)
client_side_validations (~> 3.2.0.beta.2)
client_side_validations-mongoid (~> 2.4.0.beta.2)
client_side_validations-simple_form
coffee-rails (~> 3.1.1)
cucumber-rails (~> 1.2.1)
database_cleaner (~> 0.7.1)
Expand All @@ -298,8 +305,7 @@ DEPENDENCIES
hpricot (~> 0.8.5)
jquery-rails (~> 1.0.19)
json (~> 1.6.5)
less-rails (~> 2.1.2)
less-rails-bootstrap (~> 1.4.3)
less-rails-bootstrap (~> 2.0.4)
libnotify
mongoid (~> 2.4.1)
newrelic_rpm
Expand All @@ -310,6 +316,7 @@ DEPENDENCIES
rspec-rails (~> 2.8.1)
ruby_parser (~> 2.3.1)
settingslogic (~> 2.0.8)
simple_form
spork (~> 0.9.0.rc)
stalker (~> 0.9.0)
unicorn (~> 4.1.1)
Expand Down

0 comments on commit 2dea288

Please sign in to comment.