cocoapods-vipers 0.0.5 → 0.0.6
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-vipers/gem_version.rb +1 -1
- data/lib/cocoapods-vipers/vipers-sync.rb +4 -4
- 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: 7d09e59b04fad63ce0e5bba397d9dfb53d21fff03878eae646ce727d8d78107b
|
4
|
+
data.tar.gz: d7ac6670838e197617970ce1f13447a67fe10c864c109e57e0be1674d1251ba1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 63cb67a709ec5c4357a46d2ec2ea86f3bce71bca94a62947da3bd69766e2a655f7c327c4902af88b8f4557c0c29357d5031033002f3a1c7851761d773a2f2df6
|
7
|
+
data.tar.gz: 58df4be1668851babf59816df82cb6344b0f8e883193b0c2ef3769afe47d0a16f5a1f1890070c9aeb95f12ccc1727fc2f087eb1ca56cd7c7741bc9963eb8f5aa
|
@@ -104,7 +104,7 @@ def check_duplicate_viper(paths, main_path, vipers_json_path)
|
|
104
104
|
json_path = spec['spec_path'] + "/" + spec_json_path
|
105
105
|
end
|
106
106
|
|
107
|
-
if File.
|
107
|
+
if File.exist?(json_path)
|
108
108
|
file = File.read(json_path)
|
109
109
|
data_hash = JSON.parse(file)
|
110
110
|
vipers = data_hash["vipers"]
|
@@ -131,7 +131,7 @@ module CocoapodsVipers
|
|
131
131
|
def sync(paths, pods)
|
132
132
|
Pod::UI.puts "Synchronizing Vipers yml"
|
133
133
|
|
134
|
-
if !File.
|
134
|
+
if !File.exist?("vipers_config.yml")
|
135
135
|
Pod::UI.puts "vipers_config.yml not found"
|
136
136
|
return
|
137
137
|
end
|
@@ -160,7 +160,7 @@ module CocoapodsVipers
|
|
160
160
|
framework_array = pods
|
161
161
|
|
162
162
|
if pod_frameworks_all_path
|
163
|
-
if File.
|
163
|
+
if File.exist?(pod_frameworks_all_path)
|
164
164
|
fileData = File.read(pod_frameworks_all_path)
|
165
165
|
all_framework = JSON.parse(fileData)
|
166
166
|
framework_array = all_framework
|
@@ -203,7 +203,7 @@ module CocoapodsVipers
|
|
203
203
|
json_path = spec_path + "/" + spec_json_path
|
204
204
|
end
|
205
205
|
|
206
|
-
if !File.
|
206
|
+
if !File.exist?(json_path)
|
207
207
|
Pod::UI.puts "没有找到对应#{json_path}下的路由json"
|
208
208
|
else
|
209
209
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods-vipers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- fengjx
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-03-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|