cocoapods-lazy 0.3.1 → 0.4.0
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 +5 -5
- data/lib/cocoapods-lazy/repository.rb +13 -2
- data/lib/cocoapods-lazy/version.rb +1 -1
- metadata +3 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 314356a73a54b659060bacb62b7757ef91cdb990a7cab5ee829d6ea7bf30f93c
|
4
|
+
data.tar.gz: 80f5f4b201a06404fddfe2ec05855969b4fd99e442f05ce6cb0dbefc946f7087
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f651bb5fb512aa931f68cdb4b09b35e8f074464d8361112a8673dc95d69346142b1b236848ba6d6197b6c766ce2b2ee989b85254f262ba304f632492ae54d60a
|
7
|
+
data.tar.gz: 6edadf6c31878afc7af5ffb1a24ee17855db5a39b85b82f546d52c5054f28ef1ac862f250d85e6428342b16a11d5b460b6c34afa028efff0bfa7803bcc835ae9
|
@@ -18,7 +18,8 @@ module Pod
|
|
18
18
|
Logger.info 'Checksum IS NOT EQUAL'
|
19
19
|
Logger.info 'Drop Pods directory'
|
20
20
|
`rm -rf Pods`
|
21
|
-
|
21
|
+
file_name = add_xcode_version @fetched_checksum
|
22
|
+
@repository.fetch(name: file_name)
|
22
23
|
@is_generated_pods = !Dir.exist?('Pods')
|
23
24
|
else
|
24
25
|
Logger.info 'Checksum IS EQUAL'
|
@@ -32,7 +33,8 @@ module Pod
|
|
32
33
|
|
33
34
|
def store
|
34
35
|
Logger.info "Reason for store: #{store_reason || 'Not reason for store'}"
|
35
|
-
@
|
36
|
+
file_name = add_xcode_version @fetched_checksum
|
37
|
+
@repository.store(name: file_name)
|
36
38
|
end
|
37
39
|
|
38
40
|
private
|
@@ -65,6 +67,15 @@ module Pod
|
|
65
67
|
lockfile = Lockfile.from_file(path.realpath)
|
66
68
|
lockfile.internal_data['PODFILE CHECKSUM']
|
67
69
|
end
|
70
|
+
|
71
|
+
def add_xcode_version(name)
|
72
|
+
name + "_" + xcode_version
|
73
|
+
end
|
74
|
+
|
75
|
+
def xcode_version
|
76
|
+
info = `xcodebuild -version`
|
77
|
+
info.lines.first.sub!(" ", "_").chomp
|
78
|
+
end
|
68
79
|
end
|
69
80
|
end
|
70
81
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-lazy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Artem Mylnikov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cocoapods
|
@@ -85,8 +85,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: '0'
|
87
87
|
requirements: []
|
88
|
-
|
89
|
-
rubygems_version: 2.5.2.3
|
88
|
+
rubygems_version: 3.0.6
|
90
89
|
signing_key:
|
91
90
|
specification_version: 4
|
92
91
|
summary: Gem for store and share pods
|