cocoapods-fix-react-native 2018.04.01.19 → 2018.04.02.00

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: 909cc9e8295d7fa0da87935d9fe3972916e14542c42631505505d85af7cadb17
4
- data.tar.gz: b7f55a3992638707eb71d786e1d1092df0698c7f26e4d3dfef7dd718c54b0588
3
+ metadata.gz: ea47eb9928efdf48b870f9844fecafe36c6689a95fc8397d0aedd17d87c079a1
4
+ data.tar.gz: c76e25b867f0e5be2acfddd4a4a47fbb4543d3d3073f8ae6456af6a812091dc9
5
5
  SHA512:
6
- metadata.gz: 0478326384b5b8c10ef60ed230bfc1d3d17e1a31e90ec64d117c74e0beae97ed66cb4ec6b004e3dfb7f4d6c64ebd6ba0571f4e23cafece8d1e1fcd460fc07ddd
7
- data.tar.gz: 49b762c238078aa6ec608d3a4f1e502cb63de81c9fa7bfedb748ef502edd2b3ea7bc839b132368004440382aa120f2d8e838d193f5807fb777f7b005b53284e0
6
+ metadata.gz: e071b8ea11c49245cb3be0e31b2e3016def3df400acefb1784c2cf8de55ca7ef8de57bf284c1bf2b3978e73e04e21cb00dac76eba4efd348f96830f6491d2833
7
+ data.tar.gz: 8e9c4689d29b6cbbcd791d01073932c14be40cad6a391d5cb9ad2742f3d2ac20464e9a3ffbe6da4b9840c2d1dc06af767ad70618ceef559ad44c862669fccd31
@@ -84,11 +84,20 @@ edit_pod_file animation_view_file, animation_view_old_code, animation_view_new_c
84
84
 
85
85
  # https://github.com/facebook/react-native/issues/13198
86
86
  # Only needed when you have the DevSupport subspec
87
- if File.exist?(File.join($root, 'Libraries/WebSocket/RCTReconnectingWebSocket.m'))
87
+ has_dev_support = File.exist?(File.join($root, 'Libraries/WebSocket/RCTReconnectingWebSocket.m'))
88
+
89
+ if has_dev_support
90
+ # Move Fishhook to be based on RN's imports
88
91
  websocket = 'Libraries/WebSocket/RCTReconnectingWebSocket.m'
89
92
  websocket_old_code = 'import <fishhook/fishhook.h>'
90
93
  websocket_new_code = 'import <React/fishhook.h>'
91
94
  edit_pod_file websocket, websocket_old_code, websocket_new_code
95
+ else
96
+ # There's a link in the DevSettings to dev-only import
97
+ dev_settings = 'React/Modules/RCTDevSettings.mm'
98
+ dev_settings_old_code = '#import "RCTPackagerClient.h"'
99
+ dev_settings_new_code = '//#import //"RCTPackagerClient.h"'
100
+ edit_pod_file dev_settings, dev_settings_old_code, dev_settings_new_code
92
101
  end
93
102
 
94
103
  # Newer build of Xcode don't allow you to set a non-obj to be strong,
metadata CHANGED
@@ -1,14 +1,14 @@
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.19
4
+ version: 2018.04.02.00
5
5
  platform: ruby
6
6
  authors:
7
7
  - Orta Therox
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-04-01 00:00:00.000000000 Z
11
+ date: 2018-04-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler