cocoapods-downloader 0.4.0 → 0.4.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of cocoapods-downloader might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6f28eb1ab8b3da09fd0ad05abdd2b524aa81e329
4
- data.tar.gz: 91e761ece6ef2da8f5b4086e2f9961cd66dc4daf
3
+ metadata.gz: 8bb5278864d56f46280ea2a14a997e5d3d020b7b
4
+ data.tar.gz: 2e95ec0b4373aa8a811df26f56ffb726a02b2e0b
5
5
  SHA512:
6
- metadata.gz: 504d84edc7468bc3daebac5778ebd984425c703175a21cd0df78a34d9911a8cd92128e7e3700ec8b671323862457a43c6fe4bbed26bb80fe0278cc7af126658b
7
- data.tar.gz: 68479c06a8cf758c63851155bea0413d43ea15e62afbca1c35d5d8a25c93d5449ed271562087dbd1b2f3a256720ae8340c6c9bcc6464b23b528589bd2fe7400f
6
+ metadata.gz: 665137d80ff908dd728b3a3de2c1e08b298b114ff4548035d558e27aa680fe11d73f4e5b6ccda3c381023cd43d8a89dca94900abb76ba796def8a6e58659f656
7
+ data.tar.gz: aa61378e9fb2453920eee210517af935c372f60eb3988c70708672b647b675695f332f7ec16142cd0db27ae413ca6f5f3fc4b5d469c4b791870912011abe5cf0
@@ -3,8 +3,8 @@
3
3
  A small library for downloading files from remotes in a folder.
4
4
 
5
5
  [![Build Status](https://travis-ci.org/CocoaPods/cocoapods-downloader.svg?branch=master)](https://travis-ci.org/CocoaPods/cocoapods-downloader)
6
- [![Coverage Status](http://img.shields.io/coveralls/CocoaPods/cocoapods-downloader.svg)](https://coveralls.io/r/CocoaPods/cocoapods-downloader)
7
- [![Code Climate](http://img.shields.io/codeclimate/github/CocoaPods/cocoapods-downloader.svg)](https://codeclimate.com/github/CocoaPods/cocoapods-downloader)
6
+ [![Coverage Status](https://img.shields.io/coveralls/CocoaPods/cocoapods-downloader.svg)](https://coveralls.io/r/CocoaPods/cocoapods-downloader)
7
+ [![Code Climate](https://img.shields.io/codeclimate/github/CocoaPods/cocoapods-downloader.svg)](https://codeclimate.com/github/CocoaPods/cocoapods-downloader)
8
8
 
9
9
  ## Install
10
10
 
@@ -29,10 +29,10 @@ downloader.checkout_options #=> { :git => 'example.com', :commit => 'd7f410490da
29
29
  The downloader class supports the following option keys:
30
30
 
31
31
  - git: commit, tag, branch, submodules
32
+ - svn: revision, tag, folder, externals
32
33
  - hg: revision
34
+ - http: type, flatten
33
35
  - bzr: revision, tag
34
- - svn: revision, tag, folder, externals
35
- - http: type
36
36
 
37
37
  The downloader also provides hooks which allow to customize its output or the way in which the commands are executed
38
38
 
@@ -4,7 +4,7 @@ module Pod
4
4
  # @return [String] Downloader’s version, following
5
5
  # [semver](http://semver.org).
6
6
  #
7
- VERSION = '0.4.0'
7
+ VERSION = '0.4.1'
8
8
 
9
9
  end
10
10
  end
@@ -64,7 +64,7 @@ module Pod
64
64
  #
65
65
  def clone(from, to, flags = '')
66
66
  ui_sub_action("Cloning to Pods folder") do
67
- command = %Q|clone #{from} #{to.shellescape}|
67
+ command = %Q|clone #{from.shellescape} #{to.shellescape}|
68
68
  command << ' ' + flags if flags
69
69
  git!(command)
70
70
  end
@@ -275,7 +275,7 @@ module Pod
275
275
  tmpfile.write Zlib::GzipReader.new(archive).read
276
276
  end
277
277
 
278
- system "tar xf #{tmpfile.path} -C #{target_path} --strip-components 1"
278
+ system "tar xf #{tmpfile.path.shellescape} -C #{target_path.shellescape} --strip-components 1"
279
279
  end
280
280
  end
281
281
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-downloader
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eloy Duran
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-03-26 00:00:00.000000000 Z
12
+ date: 2014-03-31 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: