Sha256: ff70e724b480640a3e2225709cb56e54723365a78c31c6abfbea9b2d0784cde2

Contents?: true

Size: 1.08 KB

Versions: 36

Compression:

Stored size: 1.08 KB

Contents

require 'run_loop'
require 'calabash-cucumber/utils/logging'

module Calabash
  module Cucumber

    include Calabash::Cucumber::Logging

    # @!visibility private
    def self.const_missing(const_name)
      if const_name == :FRAMEWORK_VERSION
        _deprecated('0.9.169', 'FRAMEWORK_VERSION has been deprecated - there is no replacement', :warn)
        return nil
      end
      raise(NameError, "uninitialized constant Calabash::Cucumber::#{const_name}")
    end

    # A model of a release version that can be used to compare two version.
    #
    # Calabash tries very hard to comply with Semantic Versioning rules. However,
    # the semantic versioning spec is incompatible with RubyGem's patterns for
    # pre-release gems.
    #
    # > "But returning to the practical: No release version of SemVer is compatible with Rubygems." - _David Kellum_
    #
    # Calabash version numbers will be in the form `<major>.<minor>.<patch>[.pre<N>]`.
    #
    # @see http://semver.org/
    # @see http://gravitext.com/2012/07/22/versioning.html
    class Version < RunLoop::Version

    end
  end
end

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
calabash-cucumber-0.18.2 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.18.1 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.18.0 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.17.1 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.17.0 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.16.4 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.16.3 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.16.2 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.16.1 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.15.0 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.14.3 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.14.2 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.14.2.pre1 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.14.1 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.14.0 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.13.0 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.12.3 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.12.2 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.12.1 lib/calabash-cucumber/deprecated.rb
calabash-cucumber-0.12.0 lib/calabash-cucumber/deprecated.rb