Sha256: 6dc3f294494c3736d66c5f4046bab94a801bd96be3374a74ffeaef5b7b8c1dfc

Contents?: true

Size: 1.01 KB

Versions: 60

Compression:

Stored size: 1.01 KB

Contents

#
# Copyright 2012 Mortar Data Inc.
#
# Licensed 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.
#
# Portions of this code from heroku (https://github.com/heroku/heroku/) Copyright Heroku 2008 - 2012,
# used under an MIT license (https://github.com/heroku/heroku/blob/master/LICENSE).
#

require "mortar/command/base"
require "mortar/version"

# display version
#
class Mortar::Command::Version < Mortar::Command::Base

  # version
  #
  # show mortar client version
  #
  def index
    validate_arguments!

    display(Mortar::USER_AGENT)
  end

end

Version data entries

60 entries across 60 versions & 1 rubygems

Version Path
mortar-0.13.5 lib/mortar/command/version.rb
mortar-0.13.4 lib/mortar/command/version.rb
mortar-0.13.3 lib/mortar/command/version.rb
mortar-0.13.2 lib/mortar/command/version.rb
mortar-0.13.1 lib/mortar/command/version.rb
mortar-0.13.0 lib/mortar/command/version.rb
mortar-0.12.6 lib/mortar/command/version.rb
mortar-0.12.5 lib/mortar/command/version.rb
mortar-0.12.4 lib/mortar/command/version.rb
mortar-0.12.3 lib/mortar/command/version.rb
mortar-0.12.2 lib/mortar/command/version.rb
mortar-0.12.1 lib/mortar/command/version.rb
mortar-0.12.0 lib/mortar/command/version.rb
mortar-0.11.1 lib/mortar/command/version.rb
mortar-0.11.0 lib/mortar/command/version.rb
mortar-0.10.1 lib/mortar/command/version.rb
mortar-0.10.0 lib/mortar/command/version.rb
mortar-0.9.10 lib/mortar/command/version.rb
mortar-0.9.8 lib/mortar/command/version.rb
mortar-0.9.7 lib/mortar/command/version.rb