cocoapods-hmap-simple 1.0.3 → 1.0.4

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.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hmap_optimize.rb +3 -2
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 25a712f2bbda85f5c9c28c4d34c1d48666d9f6485fe688533d6ba028b6d78b1a
4
- data.tar.gz: 1d2086d27a19d1d8872924be8161dafd8e7da37b01cc1caba337ed5fae9dde29
3
+ metadata.gz: 2a3b893c05e8ef2c396266909325327cbe743f58aaef2273ae2c68c73908b98a
4
+ data.tar.gz: 858a3e1164807760c20e02315a4da1808cdbf80e1266e2409dddfa0ed1bd3aa2
5
5
  SHA512:
6
- metadata.gz: 0ee2903119b65f1c552671e9d19b40e8fdbb477e8bc065a48fbe2aa64c6f19f78e44b206c5cb9f4f8e6035d8358ebf48188d3913df827ce79b6b580fe97b8eee
7
- data.tar.gz: 956a599aec20ec0af62992b9127a794fe3b4d8253d645d83c0800ca36de889f1b0420be7f8dcbe57eb9a8e48ab0d438e054830cf754d6db894019de6c4939257
6
+ metadata.gz: a21d12e5951be1ad6b712df56278ddbbddaafa80b57826f036fe720ac388f50b9a8c8b3eab7d6ce2e9a96457fb28bf6096455738c459912809c5c54e1cd08bed
7
+ data.tar.gz: dd2187bdd5c9a93ea2a0d7ab485759e47c4203b2f214d10a9badf66d4979e304a497633ca7445678e4d7bf1b0e86c46e599f46c83061ae026169eacb44cf8ef4
data/lib/hmap_optimize.rb CHANGED
@@ -6,7 +6,7 @@ combining "${PODS_ROOT}/Headers/Public/*" to a single hmap. (not including ${POD
6
6
  module Pod
7
7
  class HmapHelper
8
8
  def self.post_install(installer)
9
- to_remove = -> path { path.include?("${PODS_ROOT}/Headers/Public/") }
9
+ to_remove = -> path { path.include?("${PODS_ROOT}/Headers/Public/") || path.include?("${PODS_ROOT}/Headers/hmap/") }
10
10
 
11
11
  headers_for_path = -> path do
12
12
  @cached_headers ||= {}
@@ -72,7 +72,8 @@ module Pod
72
72
  return if hmap_md5.blank?
73
73
 
74
74
  xcconfig_path = target.xcconfig_path(config)
75
- xcconfig = File.exist?(xcconfig_path) ? Xcodeproj::Config.new(xcconfig_path) : target.xcconfigs[config]
75
+ return unless File.exist?(xcconfig_path)
76
+ xcconfig = Xcodeproj::Config.new(xcconfig_path)
76
77
 
77
78
  hmap_path = File.expand_path("Headers/hmap/#{hmap_md5}.hmap", installer.sandbox.root.to_s)
78
79
  return unless File.exist?(hmap_path)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-hmap-simple
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - shyang