-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathip2location_ruby.gemspec
76 lines (71 loc) · 3.06 KB
/
ip2location_ruby.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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
Gem::Specification.new do |s|
s.name = "ip2location_ruby"
s.version = "8.7.3"
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.require_paths = ["lib"]
s.authors = ["ip2location"]
s.email = ["support@ip2location.com"]
s.description = "The official IP2Location Ruby library to geolocate an IP address. You can lookup for country, region, district, city, latitude and longitude, ZIP/Postal code, time zone, Internet Service Provider (ISP) or company name, domain name, net speed, area code, weather station code, weather station name, mobile country code (MCC), mobile network code (MNC) and carrier brand, elevation, usage type, address type, IAB category and ASN from an IP address. Supported both IPv4 and IPv6 lookup."
s.email = "support@ip2location.com"
s.extra_rdoc_files = [
"LICENSE.txt",
"README.md"
]
s.files = [
".document",
".rspec",
"Gemfile",
"LICENSE.txt",
"Rakefile",
"VERSION",
"ip2location_ruby.gemspec",
"example.rb",
"lib/ip2location_ruby.rb",
"lib/ip2location_ruby/database_config.rb",
"lib/ip2location_ruby/i2l_float_data.rb",
"lib/ip2location_ruby/i2l_ip_data.rb",
"lib/ip2location_ruby/i2l_string_data.rb",
"lib/ip2location_ruby/ip2location_config.rb",
"lib/ip2location_ruby/ip2location_record.rb",
"spec/assets/IP2LOCATION-LITE-DB1.IPV6.BIN",
"spec/ip2location_ruby_country_spec.rb",
"spec/ip2location_ruby_database_spec.rb",
"spec/ip2location_ruby_iptools_spec.rb",
"spec/ip2location_ruby_region_spec.rb",
"spec/ip2location_ruby_webservice_spec.rb",
"spec/spec_helper.rb",
"rb/data/IP2LOCATION-LITE-DB1.IPV6.BIN",
"rb/data/IP2LOCATION-COUNTRY-INFORMATION-BASIC.CSV",
"rb/data/IP2LOCATION-ISO3166-2.CSV"
]
s.homepage = "https://github.com/ip2location/ip2location-ruby"
s.licenses = ["MIT"]
s.summary = "the ip2location ruby library"
if s.respond_to?(:metadata=)
s.metadata = {
"bug_tracker_uri" => "https://github.com/ip2location/ip2location-ruby/issues",
"documentation_uri" => "https://www.rubydoc.info/gems/ip2location_ruby",
"homepage_uri" => "https://www.ip2location.com",
"source_code_uri" => "https://github.com/ip2location/ip2location-ruby",
}
end
if s.respond_to? :specification_version then
s.specification_version = 4
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<bindata>, ["~> 2.4.15"])
s.add_development_dependency(%q<rspec>, ["~> 2.8.0"])
s.add_development_dependency(%q<rdoc>, [">= 6.3.1"])
s.add_development_dependency(%q<bundler>, [">= 1.2.0"])
else
s.add_dependency(%q<bindata>, ["~> 2.4.15"])
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
s.add_dependency(%q<rdoc>, [">= 6.3.1"])
s.add_dependency(%q<bundler>, [">= 1.2.0"])
end
else
s.add_dependency(%q<bindata>, ["~> 2.4.15"])
s.add_dependency(%q<rspec>, ["~> 2.8.0"])
s.add_dependency(%q<rdoc>, [">= 6.3.1"])
s.add_dependency(%q<bundler>, [">= 1.2.0"])
end
end