forked from ruby-grape/grape-swagger
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Development deps in Gemfile (ruby-grape#546)
* This PR moves the development dependencies to the Gemfile. - move development dependencies to Gemfile (where there's platforms annotation support and ruby version identification) - update the Bundler version to latest, in Travis build step before_install, so that the smarts keep working - made Gemfile Rubocop-compliant * CHANGELOG.md - add back missing line * Move line in CHANGELOG.md * CHANGELOG.md danger warning
- Loading branch information
1 parent
cf27664
commit f475045
Showing
4 changed files
with
27 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
language: ruby | ||
|
||
sudo: false | ||
before_install: | ||
- gem install bundler | ||
|
||
matrix: | ||
include: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,36 @@ | ||
source 'http://rubygems.org' | ||
|
||
ruby RUBY_VERSION | ||
|
||
gemspec | ||
|
||
case version = ENV['GRAPE_VERSION'] || '~> 0.18' | ||
when 'HEAD' | ||
gem 'grape', github: 'ruby-grape/grape' | ||
else | ||
gem 'grape', version | ||
end | ||
gem 'grape', case version = ENV['GRAPE_VERSION'] || '~> 0.18' | ||
when 'HEAD' | ||
{ github: 'ruby-grape/grape' } | ||
else | ||
version | ||
end | ||
|
||
gem ENV['MODEL_PARSER'] if ENV.key?('MODEL_PARSER') | ||
|
||
if RUBY_VERSION < '2.2.2' | ||
gem 'rack', '<2.0.0' | ||
gem 'activesupport', '<5.0.0' | ||
group :development, :test do | ||
gem 'bundler' | ||
gem 'kramdown' | ||
gem 'pry', platforms: [:mri] | ||
gem 'pry-byebug', platforms: [:mri] | ||
gem 'rack' | ||
gem 'rack-cors' | ||
gem 'rack-test' | ||
gem 'rake' | ||
gem 'rdoc' | ||
gem 'redcarpet', platforms: [:mri] | ||
gem 'rouge', platforms: [:mri] | ||
gem 'rspec', '~> 3.0' | ||
gem 'rubocop', '~> 0.40' | ||
gem 'shoulda' | ||
end | ||
|
||
group :test do | ||
gem 'ruby-grape-danger', '~> 0.1.0', require: false | ||
gem 'grape-entity' | ||
gem 'grape-swagger-entity' | ||
gem 'ruby-grape-danger', '~> 0.1.0', require: false | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters