cocoapods-fix-react-native 2018.04.18.06 → 2018.04.19.12
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.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 167042f295dfe8b537ca74426acd6a35b2297c6c834143e4babc389eeba16cad
|
4
|
+
data.tar.gz: bc0eadadddc05ab0bbec5954995c464a57a856a614560cb64eac2e3201405bc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e34fcfcfadf3ec3622a09f00a2e6b5448608b555e7976873f0d3099c110b8b61396209cb56901735cff6a346ee905baa7bd30be9605af230acb01dabdd41cf33
|
7
|
+
data.tar.gz: 24640054c123cbb7e9cb0de04727f5a404da12b13a08f891e3d3aed36922df6e87bfc2fdfaf25f3f3b55e4ebe443d80414f38111c03a473e2c5c37d46fc93553
|
@@ -22,7 +22,7 @@ def edit_pod_file(path, old_code, new_code)
|
|
22
22
|
file = File.join($root, path)
|
23
23
|
code = File.read(file)
|
24
24
|
if code.include?(old_code)
|
25
|
-
puts "[CPFRN] Editing #{file}" if Pod::Config.verbose
|
25
|
+
puts "[CPFRN] Editing #{file}" if Pod::Config.instance.verbose
|
26
26
|
FileUtils.chmod('+w', file)
|
27
27
|
File.write(file, code.sub(old_code, new_code))
|
28
28
|
end
|
@@ -27,7 +27,7 @@ def edit_pod_file(path, old_code, new_code)
|
|
27
27
|
file = File.join($root, path)
|
28
28
|
code = File.read(file)
|
29
29
|
if code.include?(old_code)
|
30
|
-
puts "[CPFRN] Editing #{file}" if Pod::Config.verbose
|
30
|
+
puts "[CPFRN] Editing #{file}" if Pod::Config.instance.verbose
|
31
31
|
FileUtils.chmod('+w', file)
|
32
32
|
File.write(file, code.sub(old_code, new_code))
|
33
33
|
end
|
@@ -46,7 +46,7 @@ def fix_cplusplus_header_compiler_error
|
|
46
46
|
file.close
|
47
47
|
|
48
48
|
if contents[32].include? '&'
|
49
|
-
puts "[CPFRN] Editing #{filepath}" if Pod::Config.verbose
|
49
|
+
puts "[CPFRN] Editing #{filepath}" if Pod::Config.instance.verbose
|
50
50
|
contents.insert(26, '#ifdef __cplusplus')
|
51
51
|
contents[36] = '#endif'
|
52
52
|
|
@@ -69,7 +69,7 @@ def fix_unused_yoga_headers
|
|
69
69
|
file.close
|
70
70
|
|
71
71
|
if contents[12].include? 'Utils.h'
|
72
|
-
puts "[CPFRN] Editing #{filepath}" if Pod::Config.verbose
|
72
|
+
puts "[CPFRN] Editing #{filepath}" if Pod::Config.instance.verbose
|
73
73
|
contents.delete_at(15) # #import "YGNode.h"
|
74
74
|
contents.delete_at(15) # #import "YGNodePrint.h"
|
75
75
|
contents.delete_at(15) # #import "Yoga-internal.h"
|
@@ -145,7 +145,7 @@ else
|
|
145
145
|
comment_end = '#endif'
|
146
146
|
|
147
147
|
if contents[22].rstrip != comment_start
|
148
|
-
puts "[CPFRN] Editing #{filepath}" if Pod::Config.verbose
|
148
|
+
puts "[CPFRN] Editing #{filepath}" if Pod::Config.instance.verbose
|
149
149
|
|
150
150
|
contents.insert(22, comment_start)
|
151
151
|
contents.insert(24, comment_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.04.
|
4
|
+
version: 2018.04.19.12
|
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-
|
11
|
+
date: 2018-04-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|