File: 01-require-securerandom.patch

package info (click to toggle)
ruby-secure-headers 6.0.0-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 480 kB
  • sloc: ruby: 3,328; makefile: 2
file content (18 lines) | stat: -rw-r--r-- 478 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Description: require-securerandom.
securerandom is a inbuilt library in ruby. Calling it explicitly to the scope. 
Thanks to Shanavas <shanavas@disroot.org>. 
Author: Abhijith PA <abhijith@openmailbox.org>
Forwarded: not-needed
Last-Update: 2017-06-02


--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -4,6 +4,7 @@
 require "rack"
 require "coveralls"
 Coveralls.wear!
+require 'securerandom'
 
 require File.join(File.dirname(__FILE__), "..", "lib", "secure_headers")