deb_deploy 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/deb_deploy.rb +2 -2
  2. metadata +1 -1
data/lib/deb_deploy.rb CHANGED
@@ -9,7 +9,7 @@ Capistrano::Configuration.instance.load do
9
9
  set :debian_target, '/tmp/deb_deploy'
10
10
  set :debian_package_manager, 'dpkg'
11
11
  set :debian_stream_log, false
12
- set :debian_filter, ['*']
12
+ set :debian_filter, '*'
13
13
 
14
14
  namespace :bootstrap do
15
15
  desc "prepares remote hosts for debian deployment based on selected package manager (dpkg or apt)"
@@ -92,7 +92,7 @@ Capistrano::Configuration.instance.load do
92
92
  copy_cmd = DebDeploy::Rsync.command(
93
93
  debian_source,
94
94
  DebDeploy::Rsync.remote_address(target.user || fetch(:user, ENV['USER']), target.host, debian_target),
95
- :filter => ['*/'] + debian_filter.map {|x| "#{x}.deb"},
95
+ :filter => ['*/'] + debian_filter.split(',').map {|x| "#{x}.deb"},
96
96
  :ssh => {
97
97
  :keys => ssh_options[:keys],
98
98
  :config => ssh_options[:config],
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deb_deploy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.2.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: