File: rotp.gemspec

package info (click to toggle)
ruby-rotp 6.2.0-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 388 kB
  • sloc: ruby: 960; javascript: 325; makefile: 16
file content (24 lines) | stat: -rw-r--r-- 952 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
require './lib/rotp/version'

Gem::Specification.new do |s|
  s.name        = 'rotp'
  s.version     = ROTP::VERSION
  s.platform    = Gem::Platform::RUBY
  s.required_ruby_version = '>= 2.3'
  s.license     = 'MIT'
  s.authors     = ['Mark Percival']
  s.email       = ['mark@markpercival.us']
  s.homepage    = 'https://github.com/mdp/rotp'
  s.summary     = 'A Ruby library for generating and verifying one time passwords'
  s.description = 'Works for both HOTP and TOTP, and includes QR Code provisioning'

  s.files         = `git ls-files`.split("\n")
  s.test_files    = `git ls-files -- {test,spec,features}/*`.split("\n")
  s.executables   = `git ls-files -- bin/*`.split("\n").map { |f| File.basename(f) }
  s.require_paths = ['lib']

  s.add_development_dependency "rake", "~> 13.0"
  s.add_development_dependency 'rspec', '~> 3.5'
  s.add_development_dependency 'simplecov', '~> 0.12'
  s.add_development_dependency 'timecop', '~> 0.8'
end