-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathgeo_redirect.gemspec
31 lines (26 loc) · 1.16 KB
/
geo_redirect.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
27
28
29
30
31
# -*- encoding: utf-8 -*-
lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'geo_redirect/version'
Gem::Specification.new do |gem|
gem.name = 'geo_redirect'
gem.version = GeoRedirect::VERSION
gem.authors = ['Sagie Maoz']
gem.email = ['[email protected]']
gem.description = 'Geo-location based redirector'
gem.summary =
'Rack middleware to redirect clients to hostnames based on geo-location'
gem.homepage = ''
gem.add_dependency 'rake'
gem.add_dependency 'geoip'
gem.add_development_dependency 'rspec', '~> 3.6.0'
gem.add_development_dependency 'rack', '~> 2.0.0'
gem.add_development_dependency 'rack-test', '~> 0.6.3'
gem.add_development_dependency 'simplecov', '~> 0.14.1'
gem.add_development_dependency 'rubocop', '~> 0.49'
gem.add_development_dependency 'rubocop-rspec', '~> 1.15.0'
gem.files = `git ls-files`.split($INPUT_RECORD_SEPARATOR)
gem.executables = gem.files.grep(%r{^bin/}).map { |f| File.basename(f) }
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
gem.require_paths = ['lib']
end