lib/tmpdir.rb in tmpdir-0.1.1 vs lib/tmpdir.rb in tmpdir-0.1.2

- old
+ new

@@ -113,10 +113,10 @@ def tmpdir Dir.tmpdir end - UNUSABLE_CHARS = [File::SEPARATOR, File::ALT_SEPARATOR, File::PATH_SEPARATOR, ":"].uniq.join("").freeze + UNUSABLE_CHARS = "^,-.0-9A-Z_a-z~" class << (RANDOM = Random.new) MAX = 36**6 # < 0x100000000 def next rand(MAX).to_s(36)