Sha256: 6e31c17be5b8bfd8725a2941459da18de55d032d0d50d26539acfacc385a34d8
Contents?: true
Size: 545 Bytes
Versions: 7
Compression:
Stored size: 545 Bytes
Contents
# encoding: utf-8 module TingYun module Instrumentation module Support module SinatraHelper module_function SINATRA_MIN_VERSION = '1.2.3'.freeze SINATRA_MAX_VERSION = '1.4.8'.freeze def version_supported? TingYun::Support::VersionNumber.new(::Sinatra::VERSION) >= TingYun::Support::VersionNumber.new(SINATRA_MIN_VERSION) TingYun::Support::VersionNumber.new(::Sinatra::VERSION) <= TingYun::Support::VersionNumber.new(SINATRA_MAX_VERSION) end end end end end
Version data entries
7 entries across 7 versions & 1 rubygems