-
Notifications
You must be signed in to change notification settings - Fork 1
/
actionpack-fly.gemspec
26 lines (25 loc) · 994 Bytes
/
actionpack-fly.gemspec
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
26
# coding: utf-8
lib = File.expand_path("../lib", __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require "action_pack/fly/version"
Gem::Specification.new do |spec|
spec.name = "actionpack-fly"
spec.version = ActionPack::Fly::VERSION
spec.authors = ["Peter Cai"]
spec.email = ["[email protected]"]
spec.summary =
"Allow Rails request.remote_ip to defer to Fly's connecting IP address."
spec.description =
"Simple gem that extends Rails `request.remote_ip` to default to Fly's `Fly-Client-IP` header."
spec.required_ruby_version = ">= 2.7.0"
spec.homepage = "https://github.com/pcai/actionpack-fly"
spec.license = "MIT"
spec.files =
`git ls-files -z`.split("\x0")
.reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = "exe"
spec.require_paths = ["lib"]
spec.add_runtime_dependency "actionpack", ">= 6.0", "< 8.0"
spec.add_development_dependency "rspec", "~> 3.12"
spec.metadata["rubygems_mfa_required"] = "true"
end