cocoapods-fix-react-native 2018.04.01.15 → 2018.04.01.16

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: 695171e7ad8392be93ccb237f511d29769a84641ae3443aa16bb7e813e357fab
4
- data.tar.gz: 71088edb5f3f05760e231320c14e34c85720a3c8608df4aa03e56e0f799265b2
3
+ metadata.gz: a1f43a7f65ef774c954ccd90a5b7ab1d3449e4684003df50b4b59daddeb88241
4
+ data.tar.gz: 539c82b1163f6f822031585b4c54a1fe97c566466ef3210ef35d1d291fff5dfd
5
5
  SHA512:
6
- metadata.gz: 9f674db113e121544f6538038f3278945359d030ee6736da4ed70482dad48f2f973b360a0d4b5650188fe72f5c9476ccb48ee6fd034fbc491445d4dd2d8d2313
7
- data.tar.gz: 9fd292000ed547340b4006cbaea4f901c9c47cd8de876ab640407e1a52fe383d98fea0e885ec4c4a93e979bf3e9adcbf75924fd6850729b77aefa61821e6fbf0
6
+ metadata.gz: e754efc68132ba0123c2fdb82541c9a6d3be05f82b70bc4b007b96016bd790ee66f404e7163d168bf27e7001f14d716c0555d61d9557e242928997d373bb9046
7
+ data.tar.gz: 39a36d5382250facb29740cf8d631d26b29910375f343f7da9f3cb4b9d74e5537352169cbde954a4782f69f90652debba5f58203e66e9f68b8481e3fde7878a6
@@ -45,10 +45,11 @@ def fix_cplusplus_header_compiler_error
45
45
  end
46
46
 
47
47
  def fix_unused_yoga_headers
48
- filepath = './Pods/Target Support Files/yoga/yoga-umbrella.h'
48
+ filepath = 'Pods/Target Support Files/yoga/yoga-umbrella.h'
49
+ # This only exists when using CocoaPods + Frameworks
50
+ return unless File.exists?(filepath)
49
51
 
50
52
  contents = []
51
-
52
53
  file = File.open(filepath, 'r')
53
54
  file.each_line do |line|
54
55
  contents << line
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-fix-react-native
3
3
  version: !ruby/object:Gem::Version
4
- version: 2018.04.01.15
4
+ version: 2018.04.01.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orta Therox