|
| 1 | +# NOTE: It is preferable to list development dependencies in the gemspec due to increased |
| 2 | +# visibility and discoverability on RubyGems.org. |
| 3 | +# However, this gem sits underneath all my other gems, and also "depends on" many of them. |
| 4 | +# So instead of depending on them directly it injects them into the other gem's gemspec on install. |
| 5 | +# This gem its injected dev dependencies, will install on Ruby down to 2.3.x. |
| 6 | +# This gem does not inject runtime dependencies. |
| 7 | +# Thus, dev dependencies injected into gemspecs must have |
| 8 | +# |
| 9 | +# required_ruby_version ">= 2.3" (or lower) |
| 10 | +# |
| 11 | +# Development dependencies that require strictly newer Ruby versions should be in a "gemfile", |
| 12 | +# and preferably a modular one (see gemfiles/modular/*.gemfile). |
| 13 | + |
| 14 | +# Security |
| 15 | +gem "bundler-audit", "~> 0.9.2" # ruby >= 2.0.0 |
| 16 | + |
| 17 | +# Tasks |
| 18 | +gem "rake", "~> 13.0" # ruby >= 2.2.0 |
| 19 | + |
| 20 | +# Debugging |
| 21 | +gem "require_bench", "~> 1.0", ">= 1.0.4" # ruby >= 2.2.0 |
| 22 | + |
| 23 | +# Testing |
| 24 | +gem "appraisal2", "~> 3.0" # ruby >= 1.8.7, for testing against multiple versions of dependencies |
| 25 | +gem "kettle-test", "~> 1.0" # ruby >= 2.3 |
| 26 | +gem "rspec-pending_for" # ruby >= 2.3, used to skip specs on incompatible Rubies |
| 27 | + |
| 28 | +# Releasing |
| 29 | +gem "ruby-progressbar", "~> 1.13" # ruby >= 0 |
| 30 | +gem "stone_checksums", "~> 1.0", ">= 1.0.2" # ruby >= 2.2.0 |
| 31 | + |
| 32 | +# Git integration (optional) |
| 33 | +# The 'git' gem is optional; kettle-dev falls back to shelling out to `git` if it is not present. |
| 34 | +# The current release of the git gem depends on activesupport, which makes it too heavy to depend on directly |
| 35 | +# Compatibility with the git gem is tested via appraisals instead. |
| 36 | +# gem("git", ">= 1.19.1") # ruby >= 2.3 |
| 37 | + |
| 38 | +# Development tasks |
| 39 | +gem "gitmoji-regex", "~> 1.0", ">= 1.0.3" # ruby >= 2.3.0 |
| 40 | + |
| 41 | +# The cake is a lie. erb v2.2, the oldest release on RubyGems.org, was never compatible with Ruby 2.3. |
| 42 | +# This means we have no choice but to use the erb that shipped with Ruby 2.3 |
| 43 | +# /opt/hostedtoolcache/Ruby/2.3.8/x64/lib/ruby/gems/2.3.0/gems/erb-2.2.2/lib/erb.rb:670:in `prepare_trim_mode': undefined method `match?' for "-":String (NoMethodError) |
| 44 | +# gem "erb", ">= 2.2" # ruby >= 2.3.0, not SemVer, old rubies get dropped in a patch. |
| 45 | + |
| 46 | +# HTTP recording for deterministic specs |
| 47 | +# It seems that somehow just having a newer version of appraisal installed breaks |
| 48 | +# Ruby 2.3 and 2.4 even if their bundle specifies an older version, |
| 49 | +# and as a result it can only be a dependency in the appraisals. |
| 50 | +# | An error occurred while loading spec_helper. |
| 51 | +# | Failure/Error: require "vcr" |
| 52 | +# | |
| 53 | +# | NoMethodError: |
| 54 | +# | undefined method `delete_prefix' for "CONTENT_LENGTH":String |
| 55 | +# | # ./spec/config/vcr.rb:3:in `require' |
| 56 | +# | # ./spec/config/vcr.rb:3:in `<top (required)>' |
| 57 | +# | # ./spec/spec_helper.rb:8:in `require_relative' |
| 58 | +# | # ./spec/spec_helper.rb:8:in `<top (required)>' |
| 59 | +# gem "vcr", ">= 4" # 6.0 claims to support ruby >= 2.3, but fails on ruby 2.4 |
| 60 | +# gem "webmock", ">= 3" # Last version to support ruby >= 2.3 |
0 commit comments