File: style.gemfile

package info (click to toggle)
ruby-oauth2 2.0.17-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,608 kB
  • sloc: ruby: 5,441; javascript: 529; makefile: 4; sh: 4
file content (25 lines) | stat: -rw-r--r-- 940 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# frozen_string_literal: true

# We run rubocop on the latest version of Ruby,
#   but in support of the oldest supported version of Ruby

gem "reek", "~> 6.5"
# gem "rubocop", "~> 1.73", ">= 1.73.2" # constrained by standard
gem "rubocop-packaging", "~> 0.6", ">= 0.6.0"
gem "standard", ">= 1.50"
gem "rubocop-on-rbs", "~> 1.8"                    # ruby >= 3.1.0

# Std Lib extractions
gem "benchmark", "~> 0.4", ">= 0.4.1" # Removed from Std Lib in Ruby 3.5

if ENV.fetch("RUBOCOP_LTS_LOCAL", "false").casecmp("true").zero?
  home = ENV["HOME"]
  gem "rubocop-lts", path: "#{home}/src/rubocop-lts/rubocop-lts"
  gem "rubocop-lts-rspec", path: "#{home}/src/rubocop-lts/rubocop-lts-rspec"
  gem "rubocop-ruby2_2", path: "#{home}/src/rubocop-lts/rubocop-ruby2_2"
  gem "standard-rubocop-lts", path: "#{home}/src/rubocop-lts/standard-rubocop-lts"
else
  gem "rubocop-lts", "~> 8.0"
  gem "rubocop-ruby2_2"
  gem "rubocop-rspec", "~> 3.6"
end