cocoapods-binary-artifactory-cache 0.0.2 → 0.0.3

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
  SHA256:
3
- metadata.gz: f4de1125d0101423f9584e1d7b943bb7608707d184d17969e6b4fad8d19f7ed2
4
- data.tar.gz: aa9eb1829465d0968994e50d1ce7152e26e2c738fa12fc0bfc73330a8faad649
3
+ metadata.gz: 1273050331a8b3d8610e12688032d34c6f9040cb2f55f19a7cd04db82ee872be
4
+ data.tar.gz: 95b1db27646e934d2cf3bbd9011f881ba886f33225ede9a03a97a00997cdcb89
5
5
  SHA512:
6
- metadata.gz: bc15343f0371dd62c865ab8196e262f21b16b8d1224d6334451f42717fd99c492dbadb743d9b03d499d45e64ca29e64f769303460dd889499156d9f125337141
7
- data.tar.gz: 12c4c55e05d09df5670fac9b15ac0739f2c9689226060ca969b187f78e50faa0621314bac9a6a80507e28aa040344fc45fa68d93b863e54d771dfb4046a01d1e
6
+ metadata.gz: 137a0cd00be76f55d4b8b087c1680769510b0f17cd38274bbcc6b0678f28a45edfb0140f4de0ba539b3041d806e47604ccb020cff3796d4b13e1d2f00708bd56
7
+ data.tar.gz: b4292daf6c46cbf4168e9cbf58f16eaa7f3bcbab4c4235b902aad8ea105938ee23ffc74d9ffc8b6bfb515908d68c7c7fe883821167f3590ac7aa0efdf15803a4
@@ -66,7 +66,9 @@ module PodPrebuild
66
66
  args_[:simulator] ||= []
67
67
  args_[:device] ||= []
68
68
  args_[:default].prepend("BITCODE_GENERATION_MODE=bitcode") if bitcode_enabled?
69
+ args_[:default].prepend("DEBUG_INFORMATION_FORMAT=dwarf-with-dsym") unless disable_dsym?
69
70
  args_[:default].prepend("DEBUG_INFORMATION_FORMAT=dwarf") if disable_dsym?
71
+ args_[:default].prepend("BUILD_LIBRARY_FOR_DISTRIBUTION=YES")
70
72
  args_[:simulator].prepend("ARCHS=x86_64", "ONLY_ACTIVE_ARCH=NO") if simulator == "iphonesimulator"
71
73
  args_[:simulator] += args_[:default]
72
74
  args_[:device].prepend("ONLY_ACTIVE_ARCH=NO")
@@ -9,6 +9,7 @@ module PodPrebuild
9
9
 
10
10
  def initialize(options)
11
11
  super(options)
12
+ @repo_update = options[:repo_update]
12
13
  end
13
14
 
14
15
  def run
@@ -20,7 +21,7 @@ module PodPrebuild
20
21
  lockfile: installer.lockfile,
21
22
  cache_validation: nil
22
23
  )
23
-
24
+ @binary_installer.repo_update = @repo_update
24
25
  Pod::UI.title("Generate Manifest") do
25
26
  @binary_installer.clean_delta_file
26
27
  @binary_installer.install!
data/lib/command/fetch.rb CHANGED
@@ -6,6 +6,12 @@ module Pod
6
6
  class Binary < Command
7
7
  class Fetch < Binary
8
8
  self.arguments = [CLAide::Argument.new("CACHE-BRANCH", false)]
9
+ def self.options
10
+ [
11
+ ["--repo-update", "Update pod repo before installing"]
12
+ ].concat(super)
13
+ end
14
+
9
15
  def initialize(argv)
10
16
  super
11
17
  unless ENV['ARTIFACTORY_LOGIN'].nil? && ENV['ARTIFACTORY_PASSWORD'].nil?
@@ -28,6 +34,7 @@ module Pod
28
34
  )
29
35
  @fetcher = PodPrebuild::CacheFetcher.new(
30
36
  config: prebuild_config,
37
+ repo_update: argv.flag?("repo-update")
31
38
  )
32
39
  end
33
40
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-binary-artifactory-cache
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugene Antropov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-12-17 00:00:00.000000000 Z
11
+ date: 2022-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods