cocoapods-fix-react-native 2018.05.15.11 → 2018.05.17.19
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cocoapods-fix-react-native/versions/0_54_2-post.rb +20 -20
- data/lib/cocoapods-fix-react-native/versions/0_54_4-post.rb +21 -21
- data/lib/cocoapods-fix-react-native/versions/0_55_3-post.rb +21 -21
- data/lib/cocoapods-fix-react-native/versions/0_55_4-post.rb +21 -21
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b357120784ba7a79928e4d0d1588dd36b92f44ba1fbcdc01e85f3da6bd2a51ec
|
4
|
+
data.tar.gz: 39f7daa2900eae16665461c4d8b1811138569d152b178575a2f13a6047003574
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 04e360e6cf563ee39aabb5619befff8fbc0366230c66fb031b5d15bb253824c3b8e8ae658ee0cae9a254d011b89a453dd4217234ce0cb8a85feb02ddca47e065
|
7
|
+
data.tar.gz: 2ed6827ddc2978b571019f372683658ed627c09a07506910466802d6aa001d9dc096350724e3193b2965cfd1adbb2e7da18cfc8328a5d1dbc6bdede405ce952a
|
@@ -93,29 +93,29 @@ if has_dev_support
|
|
93
93
|
websocket_old_code = 'import <fishhook/fishhook.h>'
|
94
94
|
websocket_new_code = 'import <React/fishhook.h>'
|
95
95
|
edit_pod_file websocket, websocket_old_code, websocket_new_code
|
96
|
-
|
97
|
-
# There's a link in the DevSettings to dev-only import
|
98
|
-
filepath = "#{$root}/React/Modules/RCTDevSettings.mm"
|
99
|
-
contents = []
|
100
|
-
file = File.open(filepath, 'r')
|
101
|
-
found = false
|
102
|
-
file.each_line do |line|
|
103
|
-
contents << line
|
104
|
-
end
|
105
|
-
file.close
|
96
|
+
end
|
106
97
|
|
107
|
-
|
108
|
-
|
98
|
+
# There's a link in the DevSettings to dev-only import
|
99
|
+
filepath = "#{$root}/React/Modules/RCTDevSettings.mm"
|
100
|
+
contents = []
|
101
|
+
file = File.open(filepath, 'r')
|
102
|
+
found = false
|
103
|
+
file.each_line do |line|
|
104
|
+
contents << line
|
105
|
+
end
|
106
|
+
file.close
|
109
107
|
|
110
|
-
|
111
|
-
|
112
|
-
contents.insert(24, comment_end)
|
108
|
+
comment_start = '#if ENABLE_PACKAGER_CONNECTION'
|
109
|
+
comment_end = '#endif'
|
113
110
|
|
114
|
-
|
115
|
-
|
111
|
+
if contents[22].rstrip != comment_start
|
112
|
+
contents.insert(22, comment_start)
|
113
|
+
contents.insert(24, comment_end)
|
116
114
|
|
117
|
-
|
118
|
-
|
119
|
-
|
115
|
+
contents.insert(207, comment_start)
|
116
|
+
contents.insert(231, comment_end)
|
117
|
+
|
118
|
+
file = File.open(filepath, 'w') do |f|
|
119
|
+
f.puts(contents)
|
120
120
|
end
|
121
121
|
end
|
@@ -134,31 +134,31 @@ if has_dev_support
|
|
134
134
|
websocket_old_code = 'import <fishhook/fishhook.h>'
|
135
135
|
websocket_new_code = 'import <React/fishhook.h>'
|
136
136
|
patch_pod_file websocket, websocket_old_code, websocket_new_code
|
137
|
-
|
138
|
-
# There's a link in the DevSettings to dev-only import
|
139
|
-
filepath = "#{$root}/React/Modules/RCTDevSettings.mm"
|
140
|
-
contents = []
|
141
|
-
file = File.open(filepath, 'r')
|
142
|
-
found = false
|
143
|
-
file.each_line do |line|
|
144
|
-
contents << line
|
145
|
-
end
|
146
|
-
file.close
|
137
|
+
end
|
147
138
|
|
148
|
-
|
149
|
-
|
139
|
+
# There's a link in the DevSettings to dev-only import
|
140
|
+
filepath = "#{$root}/React/Modules/RCTDevSettings.mm"
|
141
|
+
contents = []
|
142
|
+
file = File.open(filepath, 'r')
|
143
|
+
found = false
|
144
|
+
file.each_line do |line|
|
145
|
+
contents << line
|
146
|
+
end
|
147
|
+
file.close
|
150
148
|
|
151
|
-
|
152
|
-
|
149
|
+
comment_start = '#if ENABLE_PACKAGER_CONNECTION'
|
150
|
+
comment_end = '#endif'
|
153
151
|
|
154
|
-
|
155
|
-
|
152
|
+
if contents[22].rstrip != comment_start
|
153
|
+
Pod::UI.message "Patching #{filepath}", '- '
|
156
154
|
|
157
|
-
|
158
|
-
|
155
|
+
contents.insert(22, comment_start)
|
156
|
+
contents.insert(24, comment_end)
|
159
157
|
|
160
|
-
|
161
|
-
|
162
|
-
|
158
|
+
contents.insert(207, comment_start)
|
159
|
+
contents.insert(231, comment_end)
|
160
|
+
|
161
|
+
file = File.open(filepath, 'w') do |f|
|
162
|
+
f.puts(contents)
|
163
163
|
end
|
164
164
|
end
|
@@ -136,30 +136,30 @@ if has_dev_support
|
|
136
136
|
websocket_old_code = 'import <fishhook/fishhook.h>'
|
137
137
|
websocket_new_code = 'import <React/fishhook.h>'
|
138
138
|
patch_pod_file websocket, websocket_old_code, websocket_new_code
|
139
|
-
|
140
|
-
# There's a link in the DevSettings to dev-only import
|
141
|
-
filepath = "#{$root}/React/Modules/RCTDevSettings.mm"
|
142
|
-
contents = []
|
143
|
-
file = File.open(filepath, 'r')
|
144
|
-
found = false
|
145
|
-
file.each_line do |line|
|
146
|
-
contents << line
|
147
|
-
end
|
148
|
-
file.close
|
139
|
+
end
|
149
140
|
|
150
|
-
|
151
|
-
|
141
|
+
# There's a link in the DevSettings to dev-only import
|
142
|
+
filepath = "#{$root}/React/Modules/RCTDevSettings.mm"
|
143
|
+
contents = []
|
144
|
+
file = File.open(filepath, 'r')
|
145
|
+
found = false
|
146
|
+
file.each_line do |line|
|
147
|
+
contents << line
|
148
|
+
end
|
149
|
+
file.close
|
152
150
|
|
153
|
-
|
154
|
-
|
155
|
-
contents.insert(20, comment_start)
|
156
|
-
contents.insert(22, comment_end)
|
151
|
+
comment_start = '#if ENABLE_PACKAGER_CONNECTION'
|
152
|
+
comment_end = '#endif'
|
157
153
|
|
158
|
-
|
159
|
-
|
154
|
+
if contents[20].include? 'RCTPackagerClient.h'
|
155
|
+
Pod::UI.message "Patching #{filepath}", '- '
|
156
|
+
contents.insert(20, comment_start)
|
157
|
+
contents.insert(22, comment_end)
|
160
158
|
|
161
|
-
|
162
|
-
|
163
|
-
|
159
|
+
contents.insert(205, comment_start)
|
160
|
+
contents.insert(229, comment_end)
|
161
|
+
|
162
|
+
file = File.open(filepath, 'w') do |f|
|
163
|
+
f.puts(contents)
|
164
164
|
end
|
165
165
|
end
|
@@ -112,30 +112,30 @@ if has_dev_support
|
|
112
112
|
websocket_old_code = 'import <fishhook/fishhook.h>'
|
113
113
|
websocket_new_code = 'import <React/fishhook.h>'
|
114
114
|
patch_pod_file websocket, websocket_old_code, websocket_new_code
|
115
|
-
|
116
|
-
# There's a link in the DevSettings to dev-only import
|
117
|
-
filepath = "#{$root}/React/Modules/RCTDevSettings.mm"
|
118
|
-
contents = []
|
119
|
-
file = File.open(filepath, 'r')
|
120
|
-
found = false
|
121
|
-
file.each_line do |line|
|
122
|
-
contents << line
|
123
|
-
end
|
124
|
-
file.close
|
115
|
+
end
|
125
116
|
|
126
|
-
|
127
|
-
|
117
|
+
# There's a link in the DevSettings to dev-only import
|
118
|
+
filepath = "#{$root}/React/Modules/RCTDevSettings.mm"
|
119
|
+
contents = []
|
120
|
+
file = File.open(filepath, 'r')
|
121
|
+
found = false
|
122
|
+
file.each_line do |line|
|
123
|
+
contents << line
|
124
|
+
end
|
125
|
+
file.close
|
128
126
|
|
129
|
-
|
130
|
-
|
131
|
-
contents.insert(20, comment_start)
|
132
|
-
contents.insert(22, comment_end)
|
127
|
+
comment_start = '#if ENABLE_PACKAGER_CONNECTION'
|
128
|
+
comment_end = '#endif'
|
133
129
|
|
134
|
-
|
135
|
-
|
130
|
+
if contents[20].include? 'RCTPackagerClient.h'
|
131
|
+
Pod::UI.message "Patching #{filepath}", '- '
|
132
|
+
contents.insert(20, comment_start)
|
133
|
+
contents.insert(22, comment_end)
|
136
134
|
|
137
|
-
|
138
|
-
|
139
|
-
|
135
|
+
contents.insert(205, comment_start)
|
136
|
+
contents.insert(229, comment_end)
|
137
|
+
|
138
|
+
file = File.open(filepath, 'w') do |f|
|
139
|
+
f.puts(contents)
|
140
140
|
end
|
141
141
|
end
|
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.05.
|
4
|
+
version: 2018.05.17.19
|
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-05-
|
11
|
+
date: 2018-05-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|