cocoapods-spm2 0.1.11 → 0.1.13

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
  SHA256:
3
- metadata.gz: 6045b4927e675d6b5f7b6a99fa3fa58382a18ee8e23cea42631d5982111b97f9
4
- data.tar.gz: b7162f82d34831908c7dfa787393e64a5afc5305ba5b99f75db8846c64ced6e8
3
+ metadata.gz: f318adc3311f35f2c5db4949996038e10a51f538418cc58de463fb5676c80bec
4
+ data.tar.gz: 61d1c50e51bc64bf4298444886ffc584effcb1357914a4dc4770af794491e511
5
5
  SHA512:
6
- metadata.gz: c0aee5a019b807998c6eebdd037bbc4ba5a9dbf9edb624350f73714a00e60ca169c9553099a0fa11c9ed5fc1bd0a75a846522996f9bd7f7297d666ad7fcb7e51
7
- data.tar.gz: 0537c13c4abb6bc1da0cadd0bd21e8a6779a663a86907d337186d6c584d58af08fa0c970224eb602b19c7db231d643d92355337af15c9fe85e31a85b6aba6afb
6
+ metadata.gz: 87eaae5c2fdf1e6c64cb179f46c8bcee74d5e99b48af6d3a2c7353d372fcfa539aefc839559cecf613345925097baad098c0ec436bd3b30a3b0fa72bca705a17
7
+ data.tar.gz: a86bf9d7554eae162086fd2a3894992465d28fcc9229134eebee784704a0d6ccaf3675257b52f358b989c72a35322d6cd607c2e13c64e3d1515c7642294439f6
@@ -7,7 +7,7 @@ module Pod
7
7
  end
8
8
 
9
9
  def macro_pods
10
- pod_config.podfile.macro_pods
10
+ pod_config.podfile&.macro_pods
11
11
  end
12
12
 
13
13
  def local_macro_pod?(name)
@@ -53,7 +53,7 @@ module Pod
53
53
  end
54
54
 
55
55
  def all_macros
56
- @all_macros ||= Pod::Config.instance.podfile.macro_pods.keys
56
+ @all_macros ||= Pod::Config.instance.podfile&.macro_pods.keys
57
57
  end
58
58
 
59
59
  def macros
@@ -25,7 +25,8 @@ module Pod
25
25
  messages = ["The following packages were not declared in Podfile:"]
26
26
  messages += missing_pkgs.map { |pkg| " • #{pkg}: used by #{dependents_of_pkg(pkg).join(', ')}" }
27
27
  messages << "Use the `spm_pkg` method to declare those packages in Podfile."
28
- raise Informative, messages.join("\n")
28
+ #raise Informative, messages.join("\n")
29
+ warn messages.join("\n")
29
30
  end
30
31
  end
31
32
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-spm2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Ledger