Commit 2fafc209578df0b86683e8bf3247e6c966f9cf5a
1 parent
b5b2ec6b
Exists in
master
and in
2 other branches
rails_apps_composer: extras
Showing
2 changed files
with
0 additions
and
91 deletions
Show diff stats
Gemfile
1 | source 'https://rubygems.org' | 1 | source 'https://rubygems.org' |
2 | - | ||
3 | - | ||
4 | -# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' | ||
5 | ruby '2.1.1' | 2 | ruby '2.1.1' |
6 | gem 'rails', '4.1.1' | 3 | gem 'rails', '4.1.1' |
7 | -# Use sqlite3 as the database for Active Record | ||
8 | -# Use SCSS for stylesheets | ||
9 | gem 'sass-rails', '~> 4.0.3' | 4 | gem 'sass-rails', '~> 4.0.3' |
10 | -# Use Uglifier as compressor for JavaScript assets | ||
11 | gem 'uglifier', '>= 1.3.0' | 5 | gem 'uglifier', '>= 1.3.0' |
12 | -# Use CoffeeScript for .js.coffee assets and views | ||
13 | gem 'coffee-rails', '~> 4.0.0' | 6 | gem 'coffee-rails', '~> 4.0.0' |
14 | -# See https://github.com/sstephenson/execjs#readme for more supported runtimes | ||
15 | -# gem 'therubyracer', platforms: :ruby | ||
16 | - | ||
17 | -# Use jquery as the JavaScript library | ||
18 | gem 'jquery-rails' | 7 | gem 'jquery-rails' |
19 | -# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks | ||
20 | gem 'turbolinks' | 8 | gem 'turbolinks' |
21 | -# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder | ||
22 | gem 'jbuilder', '~> 2.0' | 9 | gem 'jbuilder', '~> 2.0' |
23 | -# bundle exec rake doc:rails generates the API under doc/api. | ||
24 | gem 'sdoc', '~> 0.4.0', group: :doc | 10 | gem 'sdoc', '~> 0.4.0', group: :doc |
25 | - | ||
26 | -# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring | ||
27 | gem 'spring', group: :development | 11 | gem 'spring', group: :development |
28 | - | ||
29 | -# Use ActiveModel has_secure_password | ||
30 | -# gem 'bcrypt', '~> 3.1.7' | ||
31 | - | ||
32 | -# Use unicorn as the app server | ||
33 | -# gem 'unicorn' | ||
34 | - | ||
35 | -# Use Capistrano for deployment | ||
36 | -# gem 'capistrano-rails', group: :development | ||
37 | - | ||
38 | -# Use debugger | ||
39 | -# gem 'debugger', group: [:development, :test] | ||
40 | - | ||
41 | - | ||
42 | gem 'bootstrap-sass' | 12 | gem 'bootstrap-sass' |
43 | gem 'devise' | 13 | gem 'devise' |
44 | gem 'haml-rails' | 14 | gem 'haml-rails' |
45 | gem 'mysql2' | 15 | gem 'mysql2' |
46 | gem 'simple_form' | 16 | gem 'simple_form' |
47 | gem 'therubyracer', :platform=>:ruby | 17 | gem 'therubyracer', :platform=>:ruby |
48 | - | ||
49 | group :development do | 18 | group :development do |
50 | gem 'better_errors' | 19 | gem 'better_errors' |
51 | gem 'binding_of_caller', :platforms=>[:mri_21] | 20 | gem 'binding_of_caller', :platforms=>[:mri_21] |
@@ -54,25 +23,20 @@ group :development do | @@ -54,25 +23,20 @@ group :development do | ||
54 | gem 'guard-rspec' | 23 | gem 'guard-rspec' |
55 | gem 'html2haml' | 24 | gem 'html2haml' |
56 | gem 'quiet_assets' | 25 | gem 'quiet_assets' |
57 | - gem 'rails_apps_pages' | ||
58 | - gem 'rails_apps_testing' | ||
59 | gem 'rails_layout' | 26 | gem 'rails_layout' |
60 | gem 'rb-fchange', :require=>false | 27 | gem 'rb-fchange', :require=>false |
61 | gem 'rb-fsevent', :require=>false | 28 | gem 'rb-fsevent', :require=>false |
62 | gem 'rb-inotify', :require=>false | 29 | gem 'rb-inotify', :require=>false |
63 | end | 30 | end |
64 | - | ||
65 | group :development, :test do | 31 | group :development, :test do |
66 | gem 'factory_girl_rails' | 32 | gem 'factory_girl_rails' |
67 | gem 'pry-rails' | 33 | gem 'pry-rails' |
68 | gem 'pry-rescue' | 34 | gem 'pry-rescue' |
69 | gem 'rspec-rails', '>= 3.0.0.beta2' | 35 | gem 'rspec-rails', '>= 3.0.0.beta2' |
70 | end | 36 | end |
71 | - | ||
72 | group :production do | 37 | group :production do |
73 | gem 'thin' | 38 | gem 'thin' |
74 | end | 39 | end |
75 | - | ||
76 | group :test do | 40 | group :test do |
77 | gem 'capybara' | 41 | gem 'capybara' |
78 | gem 'database_cleaner' | 42 | gem 'database_cleaner' |
@@ -80,4 +44,3 @@ group :test do | @@ -80,4 +44,3 @@ group :test do | ||
80 | gem 'launchy' | 44 | gem 'launchy' |
81 | gem 'selenium-webdriver' | 45 | gem 'selenium-webdriver' |
82 | end | 46 | end |
83 | - |
config/routes.rb
1 | Rails.application.routes.draw do | 1 | Rails.application.routes.draw do |
2 | - # The priority is based upon order of creation: first created -> highest priority. | ||
3 | - # See how all your routes lay out with "rake routes". | ||
4 | - | ||
5 | - # You can have the root of your site routed with "root" | ||
6 | - # root 'welcome#index' | ||
7 | - | ||
8 | - # Example of regular route: | ||
9 | - # get 'products/:id' => 'catalog#view' | ||
10 | - | ||
11 | - # Example of named route that can be invoked with purchase_url(id: product.id) | ||
12 | - # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase | ||
13 | - | ||
14 | - # Example resource route (maps HTTP verbs to controller actions automatically): | ||
15 | - # resources :products | ||
16 | - | ||
17 | - # Example resource route with options: | ||
18 | - # resources :products do | ||
19 | - # member do | ||
20 | - # get 'short' | ||
21 | - # post 'toggle' | ||
22 | - # end | ||
23 | - # | ||
24 | - # collection do | ||
25 | - # get 'sold' | ||
26 | - # end | ||
27 | - # end | ||
28 | - | ||
29 | - # Example resource route with sub-resources: | ||
30 | - # resources :products do | ||
31 | - # resources :comments, :sales | ||
32 | - # resource :seller | ||
33 | - # end | ||
34 | - | ||
35 | - # Example resource route with more complex sub-resources: | ||
36 | - # resources :products do | ||
37 | - # resources :comments | ||
38 | - # resources :sales do | ||
39 | - # get 'recent', on: :collection | ||
40 | - # end | ||
41 | - # end | ||
42 | - | ||
43 | - # Example resource route with concerns: | ||
44 | - # concern :toggleable do | ||
45 | - # post 'toggle' | ||
46 | - # end | ||
47 | - # resources :posts, concerns: :toggleable | ||
48 | - # resources :photos, concerns: :toggleable | ||
49 | - | ||
50 | - # Example resource route within a namespace: | ||
51 | - # namespace :admin do | ||
52 | - # # Directs /admin/products/* to Admin::ProductsController | ||
53 | - # # (app/controllers/admin/products_controller.rb) | ||
54 | - # resources :products | ||
55 | - # end | ||
56 | end | 2 | end |