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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24957899c91ceeca52285d466a8ef11eecce0af0b19b4b5cbb83f256b6288771
4
- data.tar.gz: 1f71b766c80e938aa6de0d3a76958cd34755eb0656faa4ffe3d969aae87c0c4b
3
+ metadata.gz: 7d09e59b04fad63ce0e5bba397d9dfb53d21fff03878eae646ce727d8d78107b
4
+ data.tar.gz: d7ac6670838e197617970ce1f13447a67fe10c864c109e57e0be1674d1251ba1
5
5
  SHA512:
6
- metadata.gz: e425fb141926be4e066edab3ec542aafc87f90aaf4f0ca2d21d939f51b7f4135330b84f44294a92b51c6e19b3b55f79738f75d6d04a064c0eb5802e1d66333c6
7
- data.tar.gz: 860a011cb01bebd6503ff26e86ace669ac7b14dc4656f63253392a29164c5c79a42d2f428e549b3001e9101bc3d05fd213eb5240857e7bfc2727419d259ebc31
6
+ metadata.gz: 63cb67a709ec5c4357a46d2ec2ea86f3bce71bca94a62947da3bd69766e2a655f7c327c4902af88b8f4557c0c29357d5031033002f3a1c7851761d773a2f2df6
7
+ data.tar.gz: 58df4be1668851babf59816df82cb6344b0f8e883193b0c2ef3769afe47d0a16f5a1f1890070c9aeb95f12ccc1727fc2f087eb1ca56cd7c7741bc9963eb8f5aa
@@ -1,3 +1,3 @@
1
1
  module CocoapodsVipers
2
- VERSION = "0.0.5"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -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.exists?(json_path)
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.exists?("vipers_config.yml")
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.exists?(pod_frameworks_all_path)
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.exists?(json_path)
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.5
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: 2022-11-08 00:00:00.000000000 Z
11
+ date: 2023-03-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler