Sha256: fae70b26e8629ff5b53052e9fd84873b25352add870f2f818b2cc0ce55e392e3

Contents?: true

Size: 451 Bytes

Versions: 2

Compression:

Stored size: 451 Bytes

Contents

require 'data_objects'

begin
  require 'do_mysql/do_mysql'
rescue LoadError
  raise unless RUBY_PLATFORM =~ /mingw|mswin/

  RUBY_VERSION =~ /(\d+.\d+)/
  require "do_mysql/#{Regexp.last_match(1)}/do_mysql"
end

require 'do_mysql/version'
require 'do_mysql/transaction'
require 'do_mysql/encoding'

module DataObjects
  module Mysql
    class Connection
      def secure?
        !(@ssl_cipher.nil? || @ssl_cipher.empty?)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sbf-do_mysql-0.11.0 lib/do_mysql.rb
sbf-do_mysql-0.10.17 lib/do_mysql.rb