File: voight_kampff.gemspec

package info (click to toggle)
ruby-voight-kampff 1.1.3-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 340 kB
  • sloc: ruby: 240; makefile: 4
file content (29 lines) | stat: -rw-r--r-- 1,024 bytes parent folder | download
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
# -*- encoding: utf-8 -*-
$:.unshift File.expand_path('../lib', __FILE__)
require 'voight_kampff/version'

Gem::Specification.new do |s|
  s.name = 'voight_kampff'
  s.summary     = "Voight-Kampff bot detection"
  s.description = 'Voight-Kampff detects bots, spiders, crawlers and replicants'

  s.licenses      = ['MIT']

  s.author      = "Adam Crownoble"
  s.email       = "adam@codenoble.com"
  s.homepage    = "https://github.com/biola/Voight-Kampff"

  # so that rubygems does not uses the actual object
  s.version       = VoightKampff::VERSION.dup
  s.platform      = Gem::Platform::RUBY.dup
  s.files         = Dir.glob("**/*").select {|v| v !~ /^debian/}
  s.files.reject! { |fn| fn.match(/\.travis.yml/) }
  s.test_files    = s.files.select {|v| v =~ /^(test|spec|features)/}
  s.require_path  = 'lib'

  s.add_dependency 'rack', ['>= 1.4', '< 3.0']

  s.add_development_dependency 'rails', '>= 5.0'
  s.add_development_dependency 'rspec-rails', '>= 3.3'
  s.add_development_dependency 'combustion', '>= 0.5'
end