Sha256: c3eabb98859602d02919b2b0c7d74b63f2f88b8577f8c191619b13818ad81a42
Contents?: true
Size: 1.32 KB
Versions: 11
Compression:
Stored size: 1.32 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" require "mortar/helpers" require "open3" # display version # class Mortar::Command::Version < Mortar::Command::Base include Mortar::Helpers # version # # show mortar client version # def index validate_arguments! display(Mortar::USER_AGENT) end # upgrade # # DEPRECATED - Please upgrade the Mortar development framework using 'gem install mortar'. # def upgrade error("Please upgrade by running 'gem install mortar'.") end alias_command "upgrade", "version:upgrade" end
Version data entries
11 entries across 11 versions & 1 rubygems