Sha256: b7fdee792c100396597df35f15ee30f1a5edb4638e6a8a6fdf85af457207078b

Contents?: true

Size: 1019 Bytes

Versions: 2

Compression:

Stored size: 1019 Bytes

Contents

# frozen_string_literal: true

require_relative 'lib/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.7'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rack-simple_user_agent-1.1.1 rack-simple_user_agent.gemspec
rack-simple_user_agent-1.1.0 rack-simple_user_agent.gemspec