Skip to content

Commit

Permalink
fix an issue with printer backend refs: #13 (#14)
Browse files Browse the repository at this point in the history
* fix an issue with printer backend refs: #13
* Bumped version. Added changlog informations.
  • Loading branch information
slowjack2k committed Jun 23, 2017
1 parent 362c1ae commit 46d6309
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 3 deletions.
12 changes: 10 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
0.0.9 (next)
0.0.10(next)
=================

0.0.9 (23/06/2017)
==================

#### Fixes

* [#14](https://github.com/faber-lotto/capistrano-template/14): Fixes an issue with printer backend. [@slowjack2k](https://github.com/slowjack2k).


0.0.8 (21/05/2017)
==================

Expand Down Expand Up @@ -32,4 +40,4 @@ skipped

#### Fixes

* [#4](https://github.com/faber-lotto/capistrano-template/pull/4): Fix for `Digest::Base cannot be directly inherited in Ruby` race condition within ruby digest - [@slowjack2k](https://github.com/slowjack2k).
* [#4](https://github.com/faber-lotto/capistrano-template/pull/4): Fix for `Digest::Base cannot be directly inherited in Ruby` race condition within ruby digest - [@slowjack2k](https://github.com/slowjack2k).
8 changes: 8 additions & 0 deletions lib/capistrano/capistrano_plugin_template.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,12 @@

SSHKit::Backend::Netssh.send(:include, Capistrano::Template::Helpers::DSL)

# rubocop: disable Lint/HandleExceptions
begin
require 'sshkit/backend/printer'
SSHKit::Backend::Printer.send(:include, Capistrano::Template::Helpers::DSL)
rescue LoadError
end
# rubocop: enable Lint/HandleExceptions

import File.join(__dir__, 'template', 'tasks', 'template_defaults.rake')
2 changes: 1 addition & 1 deletion lib/capistrano/template/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module Capistrano
module Template
VERSION = '0.0.8'
VERSION = '0.0.9'
end
end

0 comments on commit 46d6309

Please sign in to comment.