cocoapods-fix-react-native 2018.07.04.16 → 2018.08.29.00
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 +4 -4
- data/lib/cocoapods-fix-react-native/fix_with_context.rb +6 -2
- 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: 001e0f593cdcd65af4265438c3610adb44086d795742af9d601c916be1c1cde7
|
4
|
+
data.tar.gz: 8eec5ec9d2de9ef0dcf247a16eadcd54248c742c908216b746de34fcf49dff3a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cfb224cb835b28a0c0e232e90f4e2dcb2b1a26fa1629e575da38e9bc79310fce2dab3621a25264ce8446e8532e55161379c2ab7ae62e407fb57ac5e88a32863e
|
7
|
+
data.tar.gz: 1646ba793507e579db35347d95b5d526498546711c6ea34887b2900ba5bb33156607f6a38cd11e20ec24458de74045e944301a064ee163dc0c59bb1bf58049bc
|
@@ -35,8 +35,12 @@ class CocoaPodsFixReactNative
|
|
35
35
|
def pre_fix_with_context(context)
|
36
36
|
# Get the current version of React Native in your app
|
37
37
|
locked_dependencies = Molinillo::DependencyGraph.new
|
38
|
-
context.lockfile
|
39
|
-
|
38
|
+
if context.lockfile
|
39
|
+
context.lockfile.dependencies.each do |dependency|
|
40
|
+
locked_dependencies.add_vertex(dependency.name, dependency, true)
|
41
|
+
end
|
42
|
+
else
|
43
|
+
Pod::UI.warn 'No Podfile.lock present. Continuing without locked dependencies.'
|
40
44
|
end
|
41
45
|
|
42
46
|
sources = context.podfile.sources.map do |source|
|
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.
|
4
|
+
version: 2018.08.29.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-
|
11
|
+
date: 2018-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|