Sha256: a3f3b24f52a7fb4741f0c1422a97eb3d02c7e4895071e37c97392e37ea5fae80

Contents?: true

Size: 1000 Bytes

Versions: 25

Compression:

Stored size: 1000 Bytes

Contents

#--
# Licensed to the Apache Software Foundation (ASF) under one
# or more contributor license agreements.  See the NOTICE file
# distributed with this work for additional information
# regarding copyright ownership.  The ASF licenses this file
# to you under the Apache License, Version 2.0 (the
# "License"); you may not use this file except in compliance
# with the License.  You may obtain a copy of the License at
#
#   http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied.  See the License for the
# specific language governing permissions and limitations
# under the License.
#++

module Qpid::Proton::Util

  module UUID

    def generate_uuid
      # generate a UUID based on what APIs are available with the current
      # version of Ruby
      SecureRandom.uuid
    end

  end

end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
mqlight-1.0.2016020812-x86_64-darwin-13 lib/util/uuid.rb
mqlight-1.0.2015120815-x86_64-linux lib/util/uuid.rb
mqlight-1.0.2015120816-x86_64-darwin-13 lib/util/uuid.rb
qpid_proton-0.10.1 lib/util/uuid.rb
qpid_proton-0.10 lib/util/uuid.rb