Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Modernize Rails template

  • Loading branch information...
commit e4b9be60c466696391826015e935488a82184174 1 parent 16e9cf7
@avdgaag authored
Showing with 10 additions and 15 deletions.
  1. +10 −15 share/rails.rb
View
25 share/rails.rb
@@ -1,22 +1,16 @@
gem_group :development, :test do
- gem 'jasmine'
- gem 'factory_girl_rails'
- gem 'rspec-rails'
-end
-
-gem_group :development do
- gem 'guard-rspec'
- gem 'guard-pow'
- gem 'jasmine-headless-webkit'
- gem 'guard-jasmine-headless-webkit'
- gem 'growl'
+ gem 'konacha'
+ gem 'factory_girl_rails', '~> 4.2'
+ gem 'rspec-rails', '~> 2.12'
+ gem 'better_errors'
+ gem 'quiet_assets'
end
gem_group :test do
gem 'database_cleaner'
- gem 'capybara'
+ gem 'capybara', '~> 2.0'
gem 'shoulda-matchers'
- gem 'capybara-webkit'
+ gem 'capybara-webkit', '~> 0.14'
end
gem_group :assets do
@@ -32,6 +26,8 @@
gem 'kaminari'
gem 'simple-navigation'
gem 'simple_form'
+gem 'thin'
+gem 'cancan'
# Rspec support files
create_file 'spec/support/capybara_headless_webkit', <<-RUBY
@@ -103,7 +99,7 @@
RUBY
create_file 'app/decorators/ApplicationDecorator', <<-RUBY
-class ApplicationDecorator < Draper::Base
+class ApplicationDecorator < Draper::Decorator
end
RUBY
@@ -128,7 +124,6 @@ class ApplicationDecorator < Draper::Base
generate 'devise user'
generate 'simple_form:install'
generate 'navigation_config'
-generate 'jasmine:install'
generate 'kaminari:config'
run 'bundle exec guard init'
Please sign in to comment.
Something went wrong with that request. Please try again.