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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f0c24a7e0935483ebcfb923f5c77113726c4911bc194909c1c0bb06e0db44b50
4
- data.tar.gz: 51757c7b80287a270844c41ac7fd58ac68abe2ae6db438a2994346e5b81b836a
3
+ metadata.gz: b357120784ba7a79928e4d0d1588dd36b92f44ba1fbcdc01e85f3da6bd2a51ec
4
+ data.tar.gz: 39f7daa2900eae16665461c4d8b1811138569d152b178575a2f13a6047003574
5
5
  SHA512:
6
- metadata.gz: 71d0bc6687243ed39896e4bda09dcb1aa600bf9b6aa4078bd8925574bdd377aa1b2df21a28edee47b48e23ade184a6b16a71426df5fa1a91f48b8f57d236fffa
7
- data.tar.gz: 2110e976a1e16ad18c73400a1adc327e9c0b6d9520339b10e1e9848429d9324ffaca2c635275ee4d2c6b0c189d79670cdcb6f6907e295c24c4202c25f9bdea55
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
- else
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
- comment_start = '#if ENABLE_PACKAGER_CONNECTION'
108
- comment_end = '#endif'
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
- if contents[22].rstrip != comment_start
111
- contents.insert(22, comment_start)
112
- contents.insert(24, comment_end)
108
+ comment_start = '#if ENABLE_PACKAGER_CONNECTION'
109
+ comment_end = '#endif'
113
110
 
114
- contents.insert(207, comment_start)
115
- contents.insert(231, comment_end)
111
+ if contents[22].rstrip != comment_start
112
+ contents.insert(22, comment_start)
113
+ contents.insert(24, comment_end)
116
114
 
117
- file = File.open(filepath, 'w') do |f|
118
- f.puts(contents)
119
- end
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
- else
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
- comment_start = '#if ENABLE_PACKAGER_CONNECTION'
149
- comment_end = '#endif'
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
- if contents[22].rstrip != comment_start
152
- Pod::UI.message "Patching #{filepath}", '- '
149
+ comment_start = '#if ENABLE_PACKAGER_CONNECTION'
150
+ comment_end = '#endif'
153
151
 
154
- contents.insert(22, comment_start)
155
- contents.insert(24, comment_end)
152
+ if contents[22].rstrip != comment_start
153
+ Pod::UI.message "Patching #{filepath}", '- '
156
154
 
157
- contents.insert(207, comment_start)
158
- contents.insert(231, comment_end)
155
+ contents.insert(22, comment_start)
156
+ contents.insert(24, comment_end)
159
157
 
160
- file = File.open(filepath, 'w') do |f|
161
- f.puts(contents)
162
- end
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
- else
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
- comment_start = '#if ENABLE_PACKAGER_CONNECTION'
151
- comment_end = '#endif'
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
- if contents[20].include? 'RCTPackagerClient.h'
154
- Pod::UI.message "Patching #{filepath}", '- '
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
- contents.insert(205, comment_start)
159
- contents.insert(229, comment_end)
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
- file = File.open(filepath, 'w') do |f|
162
- f.puts(contents)
163
- end
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
- else
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
- comment_start = '#if ENABLE_PACKAGER_CONNECTION'
127
- comment_end = '#endif'
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
- if contents[20].include? 'RCTPackagerClient.h'
130
- Pod::UI.message "Patching #{filepath}", '- '
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
- contents.insert(205, comment_start)
135
- contents.insert(229, comment_end)
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
- file = File.open(filepath, 'w') do |f|
138
- f.puts(contents)
139
- end
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.15.11
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-15 00:00:00.000000000 Z
11
+ date: 2018-05-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler