File: fix-hotp-spec-rb.patch

package info (click to toggle)
ruby-rotp 6.3.0-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 288 kB
  • sloc: ruby: 1,020; makefile: 16
file content (15 lines) | stat: -rw-r--r-- 569 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Description: Add require 'uri' to hotp_spec.rb to fix a build error.  This comes
 from an upstream commit.  It should be included in the next upstream release
 (6.3.1).
From: Soren Stoutner <soren@debian.org>
Forwarded: https://github.com/mdp/rotp/commit/642deba39d09206e133deb93bc109b4c7ca420cf#diff-90335855bd42d7a0cb40eddfd97ee2dae1677f979a2df7533f404323af9a85d9
Last-Update: 2025-12-20

--- a/spec/lib/rotp/hotp_spec.rb
+++ b/spec/lib/rotp/hotp_spec.rb
@@ -1,4 +1,5 @@
 require 'spec_helper'
+require 'uri'
 
 RSpec.describe ROTP::HOTP do
   let(:counter) { 1234 }