cocoapods-downloader 1.0.0.beta.1 → 1.0.0.beta.2

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: 77628aea13e4f43dab5e7d7ee3dde65fe4967c1f
4
- data.tar.gz: ce13406a3822d843918d7f6c0a29f2d6ad0b4333
3
+ metadata.gz: 872744a93ffb90fce4694ea173e24cce82407d14
4
+ data.tar.gz: c9d1632cd5d8904c411b6aeaa277a8fa322fbefc
5
5
  SHA512:
6
- metadata.gz: 88cc2ae88bdaf585db5360c53f2a5197ba0557cecfd55e609f7c7aa10e69572701aa9f121854c7cf02682bedf5920b57d40b1990a85ce2c6088337112ba1633c
7
- data.tar.gz: b2a0108e8b3243e0a783fc9139fb49c48be204c99f2f8fd034c25fc882cc8e27b93aacc968d9772657c90b76795d9c1e18b5e68504b0b47b6a75f926132bc97a
6
+ metadata.gz: 65c512d4d8aa6bc6f0668860d6500f1c773a718ea0974f879d42b38ac36cff0b5e623f3d8ac5737bcdad0aca8defafade664e7dce8a256e76f7f28abaffbbe30
7
+ data.tar.gz: 5e4f969967803e02767f21fcec582ffc7f6b9a106f0e0bfbb625f2b3ea85cfe75c1092c5df22180002268440794f1686d4da297073d31934105ea9006f7318bb
@@ -14,7 +14,7 @@ module Pod
14
14
  include mod
15
15
  end
16
16
 
17
- alias_method :override_api, :expose_api
17
+ alias override_api expose_api
18
18
  end
19
19
  end
20
20
  end
@@ -104,7 +104,7 @@ module Pod
104
104
  # strategy.
105
105
  #
106
106
  def head_supported?
107
- self.respond_to?(:download_head!, true)
107
+ respond_to?(:download_head!, true)
108
108
  end
109
109
 
110
110
  # @return [Bool] Whether the options provided completely identify a source
@@ -3,6 +3,6 @@ module Pod
3
3
  # @return [String] Downloader’s version, following
4
4
  # [semver](http://semver.org).
5
5
  #
6
- VERSION = '1.0.0.beta.1'.freeze
6
+ VERSION = '1.0.0.beta.2'.freeze
7
7
  end
8
8
  end
@@ -85,7 +85,7 @@ module Pod
85
85
  # @return [Array<String>] arguments to pass to `git` to clone the repo.
86
86
  #
87
87
  def clone_arguments(force_head, shallow_clone)
88
- command = ['clone', url, target_path]
88
+ command = ['clone', url, target_path, '--template=']
89
89
 
90
90
  if shallow_clone && !options[:commit]
91
91
  command += %w(--single-branch --depth 1)
@@ -1,5 +1,6 @@
1
1
  require 'zlib'
2
2
  require 'fileutils'
3
+ require 'uri'
3
4
 
4
5
  module Pod
5
6
  module Downloader
@@ -33,16 +33,16 @@ module Pod
33
33
  end
34
34
 
35
35
  def store_exported_revision(output)
36
- output.match(/Exported revision ([0-9]+)\./)
36
+ output =~ /Exported revision ([0-9]+)\./
37
37
  @exported_revision = Regexp.last_match[1] if Regexp.last_match
38
38
  end
39
39
 
40
40
  def subcommand
41
- if options[:checkout]
42
- result = %w(checkout)
43
- else
44
- result = %w(export)
45
- end
41
+ result = if options[:checkout]
42
+ %w(checkout)
43
+ else
44
+ %w(export)
45
+ end
46
46
 
47
47
  result += %w(--non-interactive --trust-server-cert --force)
48
48
  result << '--ignore-externals' if options[:externals] == false
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: 1.0.0.beta.1
4
+ version: 1.0.0.beta.2
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: 2015-12-30 00:00:00.000000000 Z
12
+ date: 2016-03-15 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email:
@@ -51,7 +51,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
51
51
  version: '0'
52
52
  requirements: []
53
53
  rubyforge_project:
54
- rubygems_version: 2.5.1
54
+ rubygems_version: 2.6.2
55
55
  signing_key:
56
56
  specification_version: 3
57
57
  summary: A small library for downloading files from remotes in a folder.