Sha256: 6e335987db28c78af8c3ddf9d21c519c68b61e440fba7a4fd01a2118e9b7c9d3
Contents?: true
Size: 1010 Bytes
Versions: 3
Compression:
Stored size: 1010 Bytes
Contents
# encoding: UTF-8 # Copyright 2011 innoQ Deutschland GmbH # # 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. # load .capistrano_history.yml to @capistrano_history def load_history @capistrano_history = {} @capistrano_history = YAML::load(File.open(".capistrano_history.yml")) if File.exist?(".capistrano_history.yml") end # Write history file to prevent too much typing the next time :-) def save_history File.open(".capistrano_history.yml", 'w') do |f| f.write(@capistrano_history.to_yaml) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
iqvoc-3.2.5 | config/deploy/history.rb |
iqvoc-3.2.4 | config/deploy/history.rb |
iqvoc-3.2.3 | config/deploy/history.rb |