Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions Dockerfile.rails-next
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ ENV RAILS_ENV=$RAILS_ENV

RUN bundle config --global jobs `cat /proc/cpuinfo | grep processor | wc -l | xargs -I % expr % - 1` && \
if echo "development test" | grep -w "$RAILS_ENV"; then \
gem update --system 3.3.22 \
gem install bundler --version 2.3.26 \
bundle install; \
else bundle install --without development test; fi

Expand Down
6 changes: 4 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@ gem 'httparty'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
if next?
gem "rails", '6.0.6.1'
gem 'omniauth-oauth2'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bundler/OrderedGems: Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem omniauth-oauth2 should appear before rails.

gem 'graphql', "1.12"
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bundler/OrderedGems: Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem graphql should appear before omniauth-oauth2.
Style/StringLiterals: Prefer single-quoted strings when you don't need string interpolation or special symbols.

else
gem 'rails', '~> 5.2'
gem 'graphql'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bundler/DuplicatedGem: Gem graphql requirements already given on line 17 of the Gemfile.
Bundler/OrderedGems: Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem graphql should appear before rails.

end
# Use postgresql as the database for Active Record
gem 'pg', '~> 1.3'
Expand Down Expand Up @@ -55,7 +58,6 @@ gem 'rest-client', '> 2.0'
gem 'jsonpath'
gem 'simple_form'
gem 'pundit', "~> 2.2.0"
gem 'graphql'
gem 'graphiql-rails'
gem 'stoplight'
gem 'ranked-model'
Expand All @@ -78,7 +80,7 @@ group :development, :test do
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
gem 'byebug', platform: [:mri, :mingw, :x64_mingw]
gem 'pry-byebug'
gem 'rspec-rails', '~> 3.8'
gem 'rspec-rails'
gem 'pry-rails'
gem 'webmock'
gem 'spring-commands-rspec'
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ DEPENDENCIES
ranked-model
responders
rest-client (> 2.0)
rspec-rails (~> 3.8)
rspec-rails
rubocop
sass-rails (~> 5.0)
sentry-raven
Expand Down
Loading