Sha256: 0d2389ad3d8dd0a9ea25a76a7b4aafe7c09d2be45db5100eff14d894a1673fcb
Contents?: true
Size: 1.44 KB
Versions: 6
Compression:
Stored size: 1.44 KB
Contents
require 'uricp/version' require 'uricp/curl_primitives' require 'uricp/strategy/common' require 'uricp/strategy/cache_common' require 'uricp/strategy/local_convert' require 'uricp/strategy/local_link' require 'uricp/strategy/piped_cache' require 'uricp/strategy/piped_cache_convert' require 'uricp/strategy/piped_local_get' require 'uricp/strategy/piped_local_put' require 'uricp/strategy/piped_remote_get' require 'uricp/strategy/piped_compress' require 'uricp/strategy/piped_decompress' require 'uricp/strategy/piped_local_compress' require 'uricp/strategy/segmented_remote_put' require 'uricp/strategy/remote_put' require 'uricp/strategy/cached_get' require 'uricp/strategy/sweeper' require 'uricp/strategy/cleaner' require 'uricp/uri_strategy' require 'uricp/orbit_auth' module Uricp UnsupportedURLtype = Class.new(ArgumentError) MissingCache = Class.new(ArgumentError) UnsupportedConversion = Class.new(ArgumentError) end require 'tempfile' class Dir module Tmpname unless respond_to? :make_tmpname module_function def make_tmpname(prefix_suffix, n) case prefix_suffix when String prefix = prefix_suffix suffix = "" when Array prefix = prefix_suffix[0] suffix = prefix_suffix[1] else raise ArgumentError, "unexpected prefix_suffix: #{prefix_suffix.inspect}" end t = Time.now.strftime("%Y%m%d") path = "#{prefix}#{t}-#{$$}-#{rand(0x100000000).to_s(36)}" path << "-#{n}" if n path << suffix end end end end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
uricp-0.0.9 | lib/uricp.rb |
uricp-0.0.8 | lib/uricp.rb |
uricp-0.0.7 | lib/uricp.rb |
uricp-0.0.6 | lib/uricp.rb |
uricp-0.0.5 | lib/uricp.rb |
uricp-0.0.4 | lib/uricp.rb |