capistrano 2.15.8 → 2.15.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 25404ae990d8cd87aa0f95df00bd5c92eba20a79
4
- data.tar.gz: 5d4faf52933b2e2403b0af2197f7ef08a4ebd29a
3
+ metadata.gz: fe2657c8f2aa6a1133f1b14fde0ffa1539494573
4
+ data.tar.gz: 4c8515035d2677be3ecb0778bec0ce05c1106ec6
5
5
  SHA512:
6
- metadata.gz: 7d7b6db6a6ccef452e1876832438f8b4ca1f03728fc193a8c4d03515fa13c2f1a69d7b42b7b96fb7a64b414e5d045713f7ef67f984d1561ff9e5a2992f62560a
7
- data.tar.gz: 2755b60b64493e09e63872b12d34650c5e9efc888fa00902bd98b3cb0b26365672fee0ff41b27c2542889527a12280895ed389487a7fe53f107798463ef6f342
6
+ metadata.gz: dc5df21a5dd251af125612bd2be2af0adc4b54619479ec0781dd65d5de41b5dc3903690a3e96200a068b16f06eaff55a855ea9c9df12630175fe1547add7614e
7
+ data.tar.gz: 67d5e71632b874e93061b88e1c429187f5f991b12bca97ff0c18bc24fd1dcef8a0dc293cc7d3ac1b41ab3cd173ffba3f115b20a36c1963a868af5a00267d582a
data/CHANGELOG CHANGED
@@ -1,3 +1,17 @@
1
+ ## 2.15.9
2
+
3
+ * Continue if `HOSTROLEFILTER=` is set
4
+ * Don't treat `run()` as a parallel task in logging
5
+
6
+ ## 2.15.8 / May 30, 2016
7
+
8
+ * Empty release bump
9
+
10
+ ## 2.15.7 / May 30, 2016
11
+
12
+ * Fix subversion authentication arguments
13
+ * Fix rescue block for asset_manifest_prefix
14
+
1
15
  ## 2.15.6 / June 17 2015
2
16
 
3
17
  * Handle new Sprockets manifest name (@skaes)
@@ -320,7 +320,7 @@ module Capistrano
320
320
  branches += server_branches
321
321
  end
322
322
  branches
323
- end
323
+ end.compact.uniq
324
324
  end
325
325
 
326
326
  end
@@ -153,7 +153,7 @@ module Capistrano
153
153
  servers = find_servers_for_task(task, options)
154
154
 
155
155
  if servers.empty?
156
- if ENV['HOSTFILTER'] || task.options.merge(options)[:on_no_matching_servers] == :continue
156
+ if ENV['HOSTFILTER'] || ENV['HOSTROLEFILTER'] || task.options.merge(options)[:on_no_matching_servers] == :continue
157
157
  logger.info "skipping `#{task.fully_qualified_name}' because no servers matched"
158
158
  else
159
159
  unless dry_run
@@ -2,7 +2,7 @@ module Capistrano
2
2
  class Version
3
3
  MAJOR = 2
4
4
  MINOR = 15
5
- PATCH = 8
5
+ PATCH = 9
6
6
 
7
7
  def self.to_s
8
8
  "#{MAJOR}.#{MINOR}.#{PATCH}"
@@ -243,6 +243,12 @@ class ConfigurationActionsInvocationTest < Test::Unit::TestCase
243
243
 
244
244
  def test_parallel_command_execution_with_matching_servers
245
245
  @config.expects(:execute_on_servers)
246
+
247
+ logger = mock('logger')
248
+ logger.stubs(:debug).with("executing multiple commands in parallel").once
249
+ logger.stubs(:trace).twice
250
+ @config.stubs(:logger).returns(logger)
251
+
246
252
  assert_block("should not raise Argument error") do
247
253
  begin
248
254
  @config.servers = [:app, :db]
@@ -258,6 +264,18 @@ class ConfigurationActionsInvocationTest < Test::Unit::TestCase
258
264
  end
259
265
  end
260
266
 
267
+ def test_run_only_logs_once
268
+ @config.servers = [:app, :db]
269
+
270
+ logger = mock('logger')
271
+ logger.stubs(:debug).with("executing \"ls\"")
272
+ @config.stubs(:logger).returns(logger)
273
+
274
+ @config.expects(:execute_on_servers)
275
+
276
+ @config.run("ls")
277
+ end
278
+
261
279
  private
262
280
 
263
281
  def make_config
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.15.8
4
+ version: 2.15.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jamis Buck
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2016-05-30 00:00:00.000000000 Z
12
+ date: 2016-06-27 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: highline