cocoapods-bazel 0.1.4 → 0.1.5

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: 3286b561998f4b34e299da4b3d8214ff2fe4d81446c1fc7ec71752a2c992052d
4
- data.tar.gz: 969cb842bba28405f2d0c9450eaccf6e7914925754ccb6e5b40e55ee890f28a8
3
+ metadata.gz: 227c49f87ef761cc28ebd9f7ee7f19c8d08d11a4eb84b704a2b573877cc4b7e8
4
+ data.tar.gz: 2f9bf5de1ef7d8ccf396c66e845c545c0ab83338792db652fa939bb34f0c6a1c
5
5
  SHA512:
6
- metadata.gz: 4b004b7b58351034111a546e53f0884257511de7ba3506c7e711000ea860e0e16d95bfd85b5091fc369eed434c7d32e102e4216b65fdaca6c17bae54da226795
7
- data.tar.gz: 90bc0315f257f0157c17c0f1da74edea822e8593a81f4ef786adef96c2059f78f5e2e91525a79a488029791d614838a83062f4eb083509e5e784108b44074eb0
6
+ metadata.gz: 383edd52129414597ecf6b61b68eeba8db9faaf80ea9d179e29ff549d4d12769c23386dedc03a1b6e97bd47939b380ef37b7bf1f1e25653ab6f367825a6be575
7
+ data.tar.gz: 90af5c81f401b049efa87bd945116fb9e00ca63b112fff200ff4ca7233265e38ee0491cb1829129260ae392443cabc9c3e855b92435e931606bc141783f9e41a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,6 @@
1
+ 0.1.5
2
+ * Add `testonly` to targets that link with XCTest to account for requirements in https://github.com/bazelbuild/rules_swift/pull/868 (#82)
3
+
1
4
  0.1.4
2
5
 
3
6
  * Fix issues with glob evaluation (#64, #65)
@@ -374,8 +374,10 @@ module Pod
374
374
  kwargs[:runtime_deps] = []
375
375
  kwargs[:sdk_dylibs] = file_accessors.flat_map { |fa| fa.spec_consumer.libraries }.sort.uniq
376
376
  kwargs[:sdk_frameworks] = file_accessors.flat_map { |fa| fa.spec_consumer.frameworks }.sort.uniq
377
+ kwargs[:testonly] = true if kwargs[:sdk_frameworks].include? 'XCTest'
377
378
  kwargs[:sdk_includes] = []
378
379
  kwargs[:weak_sdk_frameworks] = file_accessors.flat_map { |fa| fa.spec_consumer.weak_frameworks }.sort.uniq
380
+ kwargs[:testonly] = true if kwargs[:weak_sdk_frameworks].include? 'XCTest'
379
381
 
380
382
  kwargs[:vendored_static_frameworks] = glob(attr: :vendored_static_frameworks, return_files: true)
381
383
  kwargs[:vendored_dynamic_frameworks] = glob(attr: :vendored_dynamic_frameworks, return_files: true)
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Pod
4
4
  module Bazel
5
- VERSION = '0.1.4'
5
+ VERSION = '0.1.5'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-bazel
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shawn Chen
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: exe
11
11
  cert_chain: []
12
- date: 2022-11-01 00:00:00.000000000 Z
12
+ date: 2022-11-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: bundler