|
| 1 | +# coding: utf-8 |
| 2 | + |
| 3 | +Gem::Specification.new do |s| |
| 4 | + s.name = "ip2proxy_ruby" |
| 5 | + s.version = "1.0.0" |
| 6 | + s.authors = ["ip2location"] |
| 7 | + |
| 8 | + |
| 9 | + s.summary = "IP2Proxy Ruby library" |
| 10 | + s.description = "Ruby library for IP2Proxy" |
| 11 | + s.homepage = "https://github.com/ip2location/ip2proxy-ruby" |
| 12 | + s.licenses = ["MIT"] |
| 13 | + s.require_paths = ["lib"] |
| 14 | + |
| 15 | + s.extra_rdoc_files = [ |
| 16 | + "LICENSE.txt", |
| 17 | + "README.md" |
| 18 | + ] |
| 19 | + s.files = [ |
| 20 | + ".document", |
| 21 | + ".gitignore", |
| 22 | + "Gemfile", |
| 23 | + "Gemfile.lock", |
| 24 | + "LICENSE.txt", |
| 25 | + "README.md", |
| 26 | + "Rakefile", |
| 27 | + "ip2proxy_ruby.gemspec", |
| 28 | + "example.rb", |
| 29 | + "lib/ip2proxy_ruby.rb", |
| 30 | + "lib/ip2proxy_ruby/database_config.rb", |
| 31 | + "lib/ip2proxy_ruby/i2p_ip_data.rb", |
| 32 | + "lib/ip2proxy_ruby/i2p_string_data.rb", |
| 33 | + "lib/ip2proxy_ruby/ip2proxy_config.rb", |
| 34 | + "lib/ip2proxy_ruby/ip2proxy_record.rb", |
| 35 | + "spec/assets/IP2PROXY-IP-PROXYTYPE-COUNTRY-REGION-CITY-ISP.SAMPLE.BIN", |
| 36 | + "spec/ip2proxy_ruby_spec.rb", |
| 37 | + "spec/spec_helper.rb", |
| 38 | + "rb/data/IP2PROXY-IP-PROXYTYPE-COUNTRY-REGION-CITY-ISP.SAMPLE.BIN" |
| 39 | + ] |
| 40 | + |
| 41 | + if s.respond_to? :specification_version then |
| 42 | + s.specification_version = 4 |
| 43 | + |
| 44 | + if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then |
| 45 | + s.add_runtime_dependency(%q<bindata>, [">= 0"]) |
| 46 | + s.add_development_dependency(%q<awesome_print>, [">= 0"]) |
| 47 | + s.add_development_dependency(%q<rspec>, ["~> 2.8.0"]) |
| 48 | + s.add_development_dependency(%q<rdoc>, ["~> 3.12"]) |
| 49 | + s.add_development_dependency(%q<bundler>, [">= 1.2.0"]) |
| 50 | + s.add_development_dependency(%q<simplecov>, [">= 0"]) |
| 51 | + else |
| 52 | + s.add_dependency(%q<bindata>, [">= 0"]) |
| 53 | + s.add_dependency(%q<awesome_print>, [">= 0"]) |
| 54 | + s.add_dependency(%q<rspec>, ["~> 2.8.0"]) |
| 55 | + s.add_dependency(%q<rdoc>, ["~> 3.12"]) |
| 56 | + s.add_dependency(%q<bundler>, [">= 1.2.0"]) |
| 57 | + s.add_dependency(%q<simplecov>, [">= 0"]) |
| 58 | + end |
| 59 | + else |
| 60 | + s.add_dependency(%q<bindata>, [">= 0"]) |
| 61 | + s.add_dependency(%q<awesome_print>, [">= 0"]) |
| 62 | + s.add_dependency(%q<rspec>, ["~> 2.8.0"]) |
| 63 | + s.add_dependency(%q<rdoc>, ["~> 3.12"]) |
| 64 | + s.add_dependency(%q<bundler>, [">= 1.2.0"]) |
| 65 | + s.add_dependency(%q<simplecov>, [">= 0"]) |
| 66 | + end |
| 67 | +end |
0 commit comments