mirror of
https://github.com/stripe/stripe-ruby.git
synced 2025-10-04 00:00:47 -04:00
Basically went through trying to make the whole stripe-ruby test run Ruby 2.7 friendly. @dennisvdvliet got most of the internal stuff, but we still have a couple external dependencies that are producing warning. Here we upgrade Rubocop to 0.79, which curbs some warnings. A few lints were moved and/or renamed, so I've modified the `.rubocop.yml` appropriately, but there's no major changes there. The last broken dependency is Webmock, and luckily I think it's pretty easy to fix, so I'll send them a PR and see what happens.
29 lines
722 B
Ruby
29 lines
722 B
Ruby
# frozen_string_literal: true
|
|
|
|
source "https://rubygems.org"
|
|
|
|
gemspec
|
|
|
|
group :development do
|
|
gem "coveralls", require: false
|
|
gem "mocha", "~> 0.13.2"
|
|
gem "rack", ">= 2.0.6"
|
|
gem "rake"
|
|
gem "shoulda-context"
|
|
gem "test-unit"
|
|
gem "webmock"
|
|
|
|
# Rubocop changes pretty quickly: new cops get added and old cops change
|
|
# names or go into new namespaces. This is a library and we don't have
|
|
# `Gemfile.lock` checked in, so to prevent good builds from suddenly going
|
|
# bad, pin to a specific version number here. Try to keep this relatively
|
|
# up-to-date, but it's not the end of the world if it's not.
|
|
gem "rubocop", "0.79"
|
|
|
|
platforms :mri do
|
|
gem "byebug"
|
|
gem "pry"
|
|
gem "pry-byebug"
|
|
end
|
|
end
|