capistrano-locally 0.2.0 → 0.2.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: 281b70cf8991c8cc2b75da826aadb2fd176dfc79
4
- data.tar.gz: cdf2c30ed86f20f3bea6631f4e2a5de6f9fd668f
3
+ metadata.gz: b02ccd484763f78efb6669f111d9e5c6a08a6832
4
+ data.tar.gz: 28638978f8101ebdf6d9e2a2b03da8807b2aaf6b
5
5
  SHA512:
6
- metadata.gz: 6dbcc174116786aa181adc69a117f7884aa08cbace4e1bc407b2e7692dba11bc6ad5aabc665fc2b7f094c69f29ec48499e5eed55c40862b16045c905ca0bc6c3
7
- data.tar.gz: 809e863eb54addd87cc7b808edebc58229ae21b0fa5f47d9d6410152184cdcaba482f554b9f896b40743d972b4d57374836e1786d44ce36d4701de505f7bb783
6
+ metadata.gz: 537b9be25aa7b73d334abbecbde10381319b22a03551336ae4b690999781e2fc95fd8f8ac2d3fa528af6fbfb70716c7ea7a063ff08488fcc25f89a502d8207f0
7
+ data.tar.gz: 6494aee63653ce939eb06da0e74a05161cfce6b041e45082e7afdafa60cef1b1a6e095a76b31f6dfcd528b0c77259202e5d8d387e39b350dc3c45dc8e83f6121
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Locally
3
- VERSION = "0.2.0"
3
+ VERSION = "0.2.1"
4
4
  end
5
5
  end
@@ -12,6 +12,7 @@ module Capistrano
12
12
  alias original_on on
13
13
 
14
14
  def on(hosts, options={}, &block)
15
+ return unless hosts
15
16
  localhosts, remotehosts = hosts.partition { |h| h.hostname.to_s == 'localhost' }
16
17
  localhost = Configuration.env.filter(localhosts).first
17
18
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-locally
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Takuto Komazaki
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-09-26 00:00:00.000000000 Z
11
+ date: 2016-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano