```ruby
$LOAD_PATH << File.expand_path("../lib", __FILE__)
require 'gemsurance/version'

Gem::Specification.new do |s|
  s.name                      = "gemsurance"
  s.version                   = Gemsurance::VERSION

  s.required_ruby_version     = '>= 2.4'
  s.required_rubygems_version = '>= 1.8.11'
  s.authors                   = ["Jon Kessler"]
  s.description               = "Gem vulnerability and version checker"
  s.email                     = "jon.kessler@appfolio.com"

  s.homepage                  = "http://github.com/appfolio/gemsurance"
  s.licenses                  = ["MIT"]
  s.require_paths             = ["lib"]
  s.summary                   = "Your Gem Insurance Policy"

  s.files                     = `git ls-files -- bin lib`.split("\n")
  s.executables               = ["gemsurance"]

  s.add_dependency("bundler", "~> 2.0")
  s.add_dependency("git", "~> 1.2")
  s.add_dependency("gems", ">= 0.8")

  s.add_development_dependency("mocha", "0.14.0")
  s.add_development_dependency("rake", ">= 10.0")
  s.add_development_dependency("nokogiri", "1.10.0")
  s.add_development_dependency("test-unit", "3.0.9")
end
```

Allow 1.x and 2.x versions of bundler
user
```ruby
$LOAD_PATH << File.expand_path("../lib", __FILE__)
require 'gemsurance/version'

Gem::Specification.new do |s|
  s.name                      = "gemsurance"
  s.version                   = Gemsurance::VERSION

  s.required_ruby_version     = '>= 2.4'
  s.required_rubygems_version = '>= 1.8.11'
  s.authors                   = ["Jon Kessler"]
  s.description               = "Gem vulnerability and version checker"
  s.email                     = "jon.kessler@appfolio.com"

  s.homepage                  = "http://github.com/appfolio/gemsurance"
  s.licenses                  = ["MIT"]
  s.require_paths             = ["lib"]
  s.summary                   = "Your Gem Insurance Policy"

  s.files                     = `git ls-files -- bin lib`.split("\n")
  s.executables               = ["gemsurance"]

  s.add_dependency("bundler", ">= 1.2", "< 3.0")
  s.add_dependency("git", "~> 1.2")
  s.add_dependency("gems", ">= 0.8")

  s.add_development_dependency("mocha", "0.14.0")
  s.add_development_dependency("rake", ">= 10.0")
  s.add_development_dependency("nokogiri", "1.10.0")
  s.add_development_dependency("test-unit", "3.0.9")
end
```
assistant