cocoapods-vipers 0.0.4 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 955f762815a084b35b851037fc3b3a82be44f13ce49cef0f496cf70f32bde70d
4
- data.tar.gz: 208b7100f16ac29a91797b282d7344c89931e60acd6202f0a17184b37818a7e2
3
+ metadata.gz: 7d09e59b04fad63ce0e5bba397d9dfb53d21fff03878eae646ce727d8d78107b
4
+ data.tar.gz: d7ac6670838e197617970ce1f13447a67fe10c864c109e57e0be1674d1251ba1
5
5
  SHA512:
6
- metadata.gz: 64e2b36364468a508cd87c9f7c9b711c66aa661acd7f9f6b509d92aeaa9a8d0f3d08a348621f518393d077143d3927a5020a9b682af2697c8cae22f87e558d3c
7
- data.tar.gz: 904ca06ed03e28b425574535cccc87660fe05526505c8bf07996e4e75cb46adbe088ccdc2ac02b2dd152f9ea083426a81f30b1df2010ff6fc714bdf60b6b1c74
6
+ metadata.gz: 63cb67a709ec5c4357a46d2ec2ea86f3bce71bca94a62947da3bd69766e2a655f7c327c4902af88b8f4557c0c29357d5031033002f3a1c7851761d773a2f2df6
7
+ data.tar.gz: 58df4be1668851babf59816df82cb6344b0f8e883193b0c2ef3769afe47d0a16f5a1f1890070c9aeb95f12ccc1727fc2f087eb1ca56cd7c7741bc9963eb8f5aa
@@ -1,3 +1,3 @@
1
1
  module CocoapodsVipers
2
- VERSION = "0.0.4"
2
+ VERSION = "0.0.6"
3
3
  end
@@ -47,7 +47,7 @@ def handleClsAndMethod(viper, vipers_params_class, vipers_ext_func)
47
47
  #{assign_lines_text}
48
48
  }
49
49
  required public init() {
50
- print("default init")
50
+ fatalError("init() has not been implemented")
51
51
  }
52
52
  }
53
53
  RUBY
@@ -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.4
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