cocoapods-tdf-bin 0.0.35 → 0.0.37

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: 28d0c54e10d391f424b48c9f30f3d9bf8960c1f4a5f2193a57905301aa6dc989
4
- data.tar.gz: 6c76d9a8a1cf6d23431b8dbccf5463e0b6a876e6eda361a80d765540f010c5c1
3
+ metadata.gz: faced035585d03bace6efe36e6fd93021d3895f836c1261b9d313ebb2e8c5c35
4
+ data.tar.gz: e09f93829baadbd590ab7f0d3850bc00f4fdd6152a836845e7ef3e127357c3aa
5
5
  SHA512:
6
- metadata.gz: e3e08c06c9837147e4fb830da0efae44eecf29d5d6f0dbc79a307bfc51600e740313305ba84a4670485b3908d15356f80dc2f082f8d16781fe6cc302856e14a9
7
- data.tar.gz: b6c4f6e961b767fe8699bc7988e106d478855af8d1a51d62a8bf04d8af27d5fa03585f9c336148a1ad62e7bfe5daf5cb3a4a6bbfedbd6d4756eb3cb6d8790415
6
+ metadata.gz: 8f41494fec776bf644404fe3a8fd9763f797bee22d79885b8208e68f9e41d9b6f55f3013d59071ff1527a62261d0b2ba0f4b84bf36d0b618669f03156c8bb5a5
7
+ data.tar.gz: ff6677e692a3cb0c419b1550b345248c6406d11c8dd614290cf971268d4a1dd1e7a3a2a06590b69e8a570800980f34003b2c49d5ef7a2ecb781aa4bd2db876e6
@@ -154,7 +154,7 @@ module Pod
154
154
  end
155
155
 
156
156
  def binary_podsepc_json
157
- "#{@specification.name}.binary.podspec.json"
157
+ "#{@specification.name}.podspec.json"
158
158
  end
159
159
 
160
160
  def binary_template_podsepc
@@ -58,6 +58,7 @@ module Pod
58
58
  end
59
59
  end
60
60
 
61
+ # 对应的flutter命令的deps
61
62
  def clone_all(podfile_instance)
62
63
  local_pods = podfile_instance.get_batch_local_pods
63
64
  local_pods.each_key do |name|
@@ -70,7 +71,7 @@ module Pod
70
71
  puts res
71
72
  if res != 0
72
73
  `git -C #{path} checkout -b #{branch}`
73
- end
74
+ end
74
75
  end
75
76
  end
76
77
 
@@ -126,7 +126,7 @@ module CBin
126
126
 
127
127
  def binary_json_dir
128
128
  @binary_json_dir ||= begin
129
- dir = File.join(root_dir,binary_json_dir_name)
129
+ dir = File.join(root_dir, binary_json_dir_name)
130
130
  Dir.mkdir(dir) unless File.exist?dir
131
131
  Pathname.new(dir)
132
132
  end
@@ -1,6 +1,6 @@
1
1
 
2
2
  module CBin
3
- VERSION = "0.0.35"
3
+ VERSION = "0.0.37"
4
4
  end
5
5
 
6
6
  module Pod
@@ -48,7 +48,7 @@ module CBin
48
48
  end
49
49
 
50
50
  def filename
51
- @filename ||= "#{spec.name}.binary.podspec.json"
51
+ @filename ||= "#{spec.name}.podspec.json"
52
52
  end
53
53
 
54
54
  private
@@ -48,7 +48,7 @@ module CBin
48
48
  end
49
49
 
50
50
  def filename
51
- @filename ||= "#{CBin::Config::Builder.instance.binary_json_dir_name}/#{spec.name}.binary.podspec.json"
51
+ @filename ||= "#{CBin::Config::Builder.instance.binary_json_dir_name}/#{spec.name}.podspec.json"
52
52
  end
53
53
 
54
54
  private
@@ -13,6 +13,16 @@ module Pod
13
13
  set_internal_hash_value(ALLOW_PRERELEASE, true)
14
14
  end
15
15
 
16
+ # 统一使用这种引用方式,跟flutter本地开发方式统一
17
+ def pods(pod_list, branch)
18
+ # 固定路径
19
+ local_path = "./.tdf_ios/"
20
+ if not Dir.exist? local_path
21
+ Dir.mkdir local_path
22
+ end
23
+ batch_pod_local(pod_list, local_path, branch)
24
+ end
25
+
16
26
  def batch_pod(pods, path = "../../", *requirements)
17
27
  isLocal = requirements[0][:isLocal]
18
28
  branch = requirements[0][:branch]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-tdf-bin
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.35
4
+ version: 0.0.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - gaijiaofan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-12-16 00:00:00.000000000 Z
11
+ date: 2023-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: parallel