capistrano-fiftyfive 0.20.0 → 0.20.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d48d43572e397d2e9c282fb3f155340a9aca4c08
4
- data.tar.gz: c53839c52e731da714afe54411aade3b146d2e1e
3
+ metadata.gz: 9245565a98882777d558beb20a89e5c5cc0e1d79
4
+ data.tar.gz: e25593fe4e0ce426ae0db43c133ea32614ef1b68
5
5
  SHA512:
6
- metadata.gz: 52c834f13c387babac019f179d9e463c793f67930d14d77d9230359944edfdfadb268a2a6519749c8a4cea86bea6e7395813fbc0b994dc6c5b8e9bd9d3536e06
7
- data.tar.gz: a337b7a7950df9a4415d9012426c3df16e6b86d4db7ebe663c20d8e0e8e037cacc2a1b9eab0c418a6f194078b971e431ced6b097bacf14c9e3d519db96194721
6
+ metadata.gz: 44892defb02628eb63ed9955759f316ff4efa7884a6869dacc9ff8b2fe1a3d1eb07fba36b7ea59f1a61484c66eaa4ff0ad0ee8355e219f6db2b624a9a7494d59
7
+ data.tar.gz: 7e8ed26c9eabafd9c665e4694c4f60d26d315a1bbec457557c05cb8220f2b38a4a832008eacc7628e4e9ba735fe144a185ce307121aa7650290a3be06659368b
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
 
3
3
  * Your contribution here!
4
4
 
5
+ ## 0.20.1 (2015-05-29)
6
+
7
+ * An internal change in Capistrano 3.4.0 caused `fiftyfive:aptitude:install` to fail to install packages. This is now fixed.
8
+
5
9
  ## 0.20.0 (2015-05-29)
6
10
 
7
11
  * Increase SSL/TLS security of the generated nginx configuration by following the suggestions of [weakdh.org](https://weakdh.org/sysadmin.html).
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Fiftyfive
3
- VERSION = "0.20.0"
3
+ VERSION = "0.20.1"
4
4
  end
5
5
  end
@@ -89,9 +89,9 @@ namespace :fiftyfive do
89
89
 
90
90
  def _each_package(host)
91
91
  return to_enum(:_each_package, host) unless block_given?
92
-
92
+ hostname = host.hostname
93
93
  fetch(:fiftyfive_aptitude_packages).each do |package_spec, *role_list|
94
- next unless roles(*role_list.flatten).include?(host)
94
+ next unless roles(*role_list.flatten).map(&:hostname).include?(hostname)
95
95
 
96
96
  pkg, repo = package_spec.split("@")
97
97
  yield(pkg, repo)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-fiftyfive
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.20.0
4
+ version: 0.20.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Brictson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-29 00:00:00.000000000 Z
11
+ date: 2015-05-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano