Sha256: 3d99b337ffab9e4ed75289f9400245c3b5a40edd421ad7ac75038c90a0c8b693

Contents?: true

Size: 1.28 KB

Versions: 2

Compression:

Stored size: 1.28 KB

Contents

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

Gem::Specification.new do |spec|
  spec.name          = 'browserslist_useragent'
  spec.version       = BrowserslistUseragent::VERSION
  spec.authors       = ['Salahutdinov Dmitry']
  spec.email         = ['dsalahutdinov@gmail.com']

  spec.summary       = 'Find if a given user agent string satisfies a browserslist query.'
  spec.description   = 'Provides easy way to match browser user agent string with specified set of rules (from browserslist tool)'
  spec.homepage      = 'https://github.com/browserslist/browserlist-useragent-ruby'
  spec.license       = 'MIT'

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

  spec.add_runtime_dependency 'semantic'
  spec.add_runtime_dependency 'user_agent_parser'

  spec.add_development_dependency 'bundler', '>= 1.16'
  spec.add_development_dependency 'byebug'
  spec.add_development_dependency 'rake', '~> 10.0'

  spec.add_development_dependency 'rspec', '~> 3.0'
  spec.add_development_dependency 'rubocop', '~> 0.55'
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
browserslist_useragent-0.2.0 browserslist_useragent.gemspec
browserslist_useragent-0.1.3 browserslist_useragent.gemspec