Sha256: 4c54ab25a854d1b639376f8e69856ade3c9a129271ba669fd211729801d7e5fb

Contents?: true

Size: 356 Bytes

Versions: 1

Compression:

Stored size: 356 Bytes

Contents

# frozen_string_literal: true

# :nocov:
module LedgerSync
  module Xero
    VERSION = '0.1.0'

    def self.version(args = {})
      pre = args.fetch(:pre, false)

      if !pre && (!ENV['TRAVIS'] || ENV.fetch('TRAVIS_TAG', '') != '')
        VERSION
      else
        "#{VERSION}.pre.#{ENV['TRAVIS_BUILD_NUMBER']}"
      end
    end
  end
end
# :nocov:

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ledger_sync-xero-0.1.0 lib/ledger_sync/xero/version.rb