Sha256: 33d2a6597757cc18eedd0f454c1a51e1d4cbe22d94043a48f021fe28bd42cad1

Contents?: true

Size: 1.08 KB

Versions: 1

Compression:

Stored size: 1.08 KB

Contents

# frozen_string_literal: true

lib = File.expand_path('lib', __dir__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'rack/simple_user_agent/version'

Gem::Specification.new do |spec|
  spec.name          = 'rack-simple_user_agent'
  spec.version       = Rack::SimpleUserAgent::VERSION
  spec.authors       = ['toshimaru']
  spec.email         = ['me@toshimaru.net']

  spec.summary       = 'Rack::SimpleUserAgent is stupidly simple UA detector'
  spec.description   = 'Rack::SimpleUserAgent is Rack::Request extension which detects user-agent from user-agent string. No complicated logic for the detection, it simply(stupidly) checks if user-agent includes particular string or not.'
  spec.homepage      = 'https://github.com/toshimaru/rack-simple_user_agent'
  spec.license       = 'MIT'

  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|sample)/}) }
  spec.bindir        = 'exe'
  spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
  spec.require_paths = ['lib']

  spec.required_ruby_version = '>= 2.4'
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rack-simple_user_agent-0.6.0 rack-simple_user_agent.gemspec