|
1 | | -ruby '2.2.5' |
2 | | -source 'https://rubygems.org' |
| 1 | +source "https://rubygems.org" |
| 2 | +git_source(:github) { |repo| "https://github.com/#{repo}.git" } |
3 | 3 |
|
4 | | -# Bundle edge Rails instead: gem 'rails', github: 'rails/rails' |
5 | | -gem 'rails', '4.2.7' |
6 | | -# Use postgresql as the database for Active Record |
7 | | -gem 'pg' |
8 | | -gem 'sass' |
9 | | -gem 'sass-rails', '~> 5.0' |
10 | | -gem 'uglifier', '>= 2.7.2' |
11 | | -gem 'coffee-rails', '~> 4.1.0' |
| 4 | +ruby "2.5.1" |
12 | 5 |
|
13 | | -# Use jquery as the JavaScript library |
14 | | -gem 'jquery-rails', '~> 4.0.4' |
15 | | -# Turbolinks makes following links in your web application faster. Read more: https://github.com/rails/turbolinks |
16 | | -gem 'turbolinks' |
| 6 | +# Bundle edge Rails instead: gem "rails", github: "rails/rails" |
| 7 | +gem "rails", "~> 5.2.1" |
| 8 | +# Use postgresql as the database for Active Record |
| 9 | +gem "pg", ">= 0.18", "< 2.0" |
| 10 | +# Use Puma as the app server |
| 11 | +gem "puma", "~> 3.11" |
17 | 12 |
|
18 | | -# Use ActiveModel has_secure_password |
19 | | -# gem 'bcrypt', '~> 3.1.7' |
| 13 | +# API stuff |
| 14 | +gem "active_model_serializers", "~> 0.8.3" # Use active model serializers to serialize JSON. Use version 0.8 because it supports caching |
| 15 | +gem "kaminari" # Pagination |
| 16 | +gem "grape", "~> 1.0.3" # DSL for APIs |
| 17 | +gem "grape_logging" # Ensuring we get logs from Grape |
| 18 | +gem "grape-swagger" # Swagger spec for Grape |
| 19 | +gem "api-pagination" # Paginate the APIs |
| 20 | +gem "rack-cors", require: "rack/cors" # Allow CORS access |
20 | 21 |
|
21 | | -# Basic running |
22 | | -gem 'haml' |
23 | | -gem 'puma' |
24 | | -gem 'bootstrap-sass', '~> 3.3.1' |
25 | | -gem 'devise' |
26 | | -gem 'omniauth' |
27 | | -gem 'omniauth-bike-index' |
28 | | -gem 'devise-bootstrap-views' |
29 | | -gem 'hashie-forbidden_attributes' |
| 22 | +# Redis, redis requirements |
| 23 | +gem "hiredis" # Redis driver for MRI |
| 24 | +gem "redis" # Redis itself |
| 25 | +gem "readthis" # caching (using redis) |
| 26 | +gem "sidekiq" # Background job processing (with redis) |
| 27 | +gem "sinatra" # Used for sidekiq web |
| 28 | +gem "sidekiq-failures" # Show sidekiq failures |
30 | 29 |
|
31 | | -# Store configuration options |
32 | | -gem 'dotenv-rails' |
| 30 | +# Users |
| 31 | +gem "devise" |
| 32 | +gem "omniauth" # sign on with other services |
| 33 | +gem "omniauth-bike-index" |
| 34 | +gem "devise-bootstrap-views" # Make better user views |
33 | 35 |
|
| 36 | +# Frontend things |
| 37 | +gem "sass-rails", "~> 5.0" # Use SCSS for stylesheets |
| 38 | +gem "uglifier", ">= 1.3.0" # Use Uglifier as compressor for JavaScript assets |
| 39 | +gem "webpacker" # Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker |
| 40 | +gem "turbolinks", "~> 5" # Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks |
| 41 | +gem "hamlit" # Faster haml templates |
| 42 | +gem "bootstrap" # Internet Style |
| 43 | +gem "jquery-rails" # We need jquery because bootstrap |
34 | 44 |
|
35 | | -# Authentication |
36 | | -gem 'doorkeeper', '~> 2.2.2' |
37 | | -gem 'wine_bouncer' |
| 45 | +gem "commonmarker" # Rendering markdown. Used to render readme on homepage |
38 | 46 |
|
39 | | -# Things tied in with Grade and swagger |
40 | | -gem 'kramdown' |
41 | | -gem 'kaminari' |
42 | | -gem 'grape' |
43 | | -gem 'grape_logging' |
44 | | -gem 'active_model_serializers' |
45 | | -gem 'grape-active_model_serializers' |
46 | | -gem 'grape-swagger' |
47 | | -gem 'api-pagination' |
48 | | -gem 'rack-cors', require: 'rack/cors' |
| 47 | +# Reduces boot times through caching; required in config/boot.rb |
| 48 | +gem "bootsnap", ">= 1.1.0", require: false |
49 | 49 |
|
50 | | -# Temporarily remote branch because updates, for more info look at |
51 | | -# https://github.com/d4be4st/swagger-ui_rails/pull/13 |
52 | | -gem 'swagger-ui_rails', github: 'audionerd/swagger-ui_rails' |
| 50 | +group :production do |
| 51 | + # Make logging - more useful and ingestible |
| 52 | + gem "lograge" # Structure log data, put it in single lines to improve the functionality |
| 53 | + gem "logstash-event" # Use logstash format for logging data |
| 54 | +end |
53 | 55 |
|
54 | 56 | group :development, :test do |
55 | | - gem 'rspec-rails' |
56 | | - gem 'shoulda-matchers', '~> 3.0', require: false |
57 | | - gem 'foreman' |
58 | | - gem 'rerun' |
59 | | - gem 'vcr' |
60 | | - gem 'rspec', '~>3.3.0' |
61 | | - gem 'factory_girl_rails' |
62 | | - gem 'pry' |
63 | | - gem 'growl' |
64 | | - gem 'guard' |
65 | | - gem 'guard-rubocop' |
66 | | - gem 'guard-rspec', '4.2.8' |
67 | | - gem 'guard-livereload' |
| 57 | + gem "foreman" # Process runner for local work |
| 58 | + gem "rspec-rails" # Test framework |
| 59 | + gem "factory_bot_rails" # mocking/stubbing |
68 | 60 | end |
69 | 61 |
|
70 | 62 | group :development do |
| 63 | + # Access an interactive console on exception pages or by calling "console" anywhere in the code. |
| 64 | + gem "web-console", ">= 3.3.0" |
| 65 | + gem "listen", ">= 3.0.5", "< 3.2" |
71 | 66 | # Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring |
72 | | - gem 'spring' |
| 67 | + gem "spring" |
| 68 | + gem "spring-watcher-listen", "~> 2.0.0" |
73 | 69 | end |
74 | 70 |
|
75 | 71 | group :test do |
76 | | - gem 'database_cleaner' |
| 72 | + gem "guard", "~> 2.13.0", require: false |
| 73 | + gem "guard-rspec", "~> 4.6.4", require: false |
| 74 | + gem "guard-rubocop", require: false |
| 75 | + gem "rails-controller-testing" # Assert testing views |
77 | 76 | end |
| 77 | + |
| 78 | +# Performance Stuff |
| 79 | +gem "fast_blank" # high performance replacement String#blank? a method that is called quite frequently in ActiveRecord |
| 80 | +gem "flamegraph", require: false |
| 81 | +gem "rack-mini-profiler", require: false # If you can't see it you can't make it better |
0 commit comments