capistrano-distribution 0.3.2 → 0.4.0

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: a10f051da360d0daef93fef3671bb5eb9ad3d8da
4
- data.tar.gz: d8cfb16bf539b2cac10c55e20b503294a746bafd
3
+ metadata.gz: 0b6cfa088d3f36dc855dfa2811506b3f7b73ddd5
4
+ data.tar.gz: 0618b1d4a27be2f40f120d72b1c492b50dc872f1
5
5
  SHA512:
6
- metadata.gz: e08755bd304d7eea89498b97260f1e3e6a9f55fd9bf034d509f66536a5606b544b98df49c4dfeaa60b5991dc3cfd24245b55245d12a90e7ca8788f4958864fbb
7
- data.tar.gz: cb0fc973197a54b7a3ada98f49fca22cf59b950a83e7a1a82a04dd47f89e7142a12d5338420e4009e30fd90896665b0f6ada75b35371ad9b5f8e9b98f552df38
6
+ metadata.gz: f8265a2d57e8cd86fe35897b373f014e29c1fb6c318573cd856e8e83a5e2fa33a99c3a3ec3b541e7779d4b3f0e889ef59bf123b5edacba5970effbb38840f6e4
7
+ data.tar.gz: f099a63ec628f92cf561be9c334438b5d431de91326c5b83948428d59b1666d44f3482661c60dfba656feada2a489745f2888c038f488896d94828caf69b25d7
data/NEWS.md CHANGED
@@ -6,6 +6,10 @@ detailed information is available in the rest of the documentation.
6
6
  **NOTE:** Date stamps in the following entries are in YYYY/MM/DD format.
7
7
 
8
8
 
9
+ ## v0.4.0 (2016/03/15)
10
+
11
+ * Create workspace for downloaded ZIP files before downloading them.
12
+
9
13
  ## v0.3.2 (2016/03/01)
10
14
 
11
15
  * Update copyright date.
@@ -19,10 +19,9 @@ class CurlZip < AbstractCurl
19
19
  def distribute
20
20
  zip_path = repo_path.to_s + '.zip'
21
21
 
22
+ context.execute 'mkdir', '-p', repo_path
22
23
  context.execute 'curl', '--fail', '--location', '--silent',
23
24
  '--output', zip_path, url
24
-
25
- context.execute 'mkdir', '-p', repo_path
26
25
  context.execute 'unzip', '-q',
27
26
  '-d', repo_path,
28
27
  zip_path,
@@ -3,7 +3,7 @@ module Capistrano
3
3
  class Distribution
4
4
  ##
5
5
  # The release version of this gem.
6
- VERSION = '0.3.2'
6
+ VERSION = '0.4.0'
7
7
  end
8
8
 
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-distribution
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeremy Bopp
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-03-01 00:00:00.000000000 Z
11
+ date: 2016-03-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: capistrano