Module: Boltless

Includes:
Extensions::ConfigurationHandling, Extensions::ConnectionPool, Extensions::Operations, Extensions::Transactions, Extensions::Utilities
Defined in:
lib/boltless.rb,
lib/boltless/result.rb,
lib/boltless/request.rb,
lib/boltless/version.rb,
lib/boltless/result_row.rb,
lib/boltless/transaction.rb,
lib/boltless/configuration.rb,
lib/boltless/statement_collector.rb,
lib/boltless/errors/request_error.rb,
lib/boltless/extensions/utilities.rb,
lib/boltless/errors/response_error.rb,
lib/boltless/extensions/operations.rb,
lib/boltless/extensions/transactions.rb,
lib/boltless/errors/invalid_json_error.rb,
lib/boltless/extensions/connection_pool.rb,
lib/boltless/errors/transaction_begin_error.rb,
lib/boltless/errors/transaction_rollback_error.rb,
lib/boltless/extensions/configuration_handling.rb,
lib/boltless/errors/transaction_not_found_error.rb,
lib/boltless/errors/transaction_in_bad_state_error.rb

Overview

The gem version details.

Defined Under Namespace

Modules: Errors, Extensions Classes: Configuration, Request, Result, ResultRow, StatementCollector, Transaction

Constant Summary collapse

VERSION =

The version of the boltless gem

'1.4.4'

Class Method Summary collapse

Class Method Details

.gem_versionGem::Version

Returns the version of the gem as a Gem::Version.

Returns:

  • (Gem::Version)

    the gem version as object



19
20
21
# File 'lib/boltless/version.rb', line 19

def gem_version
  Gem::Version.new VERSION
end

.versionString

Returns the version of gem as a string.

Returns:

  • (String)

    the gem version as string



12
13
14
# File 'lib/boltless/version.rb', line 12

def version
  VERSION
end