cocoapods-modularization 0.1.2 → 0.1.5

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: 7c5a500901cd88588b476ec6b16758dea8213c7680630de4326645dd8144b48b
4
- data.tar.gz: d447517bd3fc292ca2f4a1dc6f5199565663acbcec1da3264bec30188d97ebcc
3
+ metadata.gz: 2e40440ac85c3f76d60897b6d8541c0515aef17bb50433f9f0f9aef676c13dd9
4
+ data.tar.gz: 348cbc0824c49d346d089b67309e7ec1857c728d39c59a725703ed2731acbe8b
5
5
  SHA512:
6
- metadata.gz: c9714988fbdc107528beb1968868a8746ade2a781e10193db092f6300176457fbe22c51f6eb2843bcd153be37138c6ca4d34f1bfb1e46b7f11b72437780566e8
7
- data.tar.gz: 641e59518f4e0633bc8b7aab3282f711a3e19e8afc70bd22880c3f08ed669856368736c90fdc7923c873e4bdf7a69f8d464d5e985848b6cc03306049b017f488
6
+ metadata.gz: aef11d2042692d62afc5bf45b38e857d8568c091be639f6c2dd691072453e9218434d95a796b6124abefbbb2134598852a126e0ab5ab92493ae1e3c38e8ad3dd
7
+ data.tar.gz: 14a49245d80bc7996f9ae843353f2c939f855766737236faeed7863136459fb1f1d52cb32a1aa6670b5301818d0efe0cb9820c7e2d746341a7cbd18d73943220
@@ -26,7 +26,7 @@ module Pod
26
26
  end
27
27
 
28
28
  def run
29
- `pod lib create #{@name} --template-url='http://gitlab.appshahe.com/ios-specs/template.git'`
29
+ `pod lib create #{@name} --template-url='https://gitlab.appshahe.com/ios-specs/template.git'`
30
30
  end
31
31
  end
32
32
  end
@@ -52,7 +52,7 @@ module Pod
52
52
  # 遍历文件夹
53
53
  max_version = Dir.glob("#{Private::PrivateCache.root_path}/Repo/#{@name}/*").map { |e| Gem::Version.new(e.match(/\d{1,2}\.\d{1,2}\.\d{1,2}/).to_s) }.max.to_s
54
54
 
55
- puts versions
55
+ puts max_version
56
56
  end
57
57
 
58
58
  private
@@ -24,7 +24,7 @@ module Pod
24
24
  if File.exist?(build_path)
25
25
  FileUtils.rm_rf(build_path)
26
26
  end
27
- `git clone http://gitlab.appshahe.com/ios-specs/template.git .build`
27
+ `git clone https://gitlab.appshahe.com/ios-specs/template.git .build`
28
28
 
29
29
  unless File.exist?("#{Dir.pwd}/.build")
30
30
  puts "./.build not found"
@@ -1,3 +1,3 @@
1
1
  module CocoapodsModularization
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.5"
3
3
  end
@@ -27,7 +27,7 @@ module Pod
27
27
  podfile_local_hash = generate_yml_to_hash(podfile_local_path)
28
28
 
29
29
  # cache branch if local_path is set
30
- unless enable_branch
30
+ if !enable_branch || !podfile_local_hash.empty?
31
31
  branch_caches = Array.new
32
32
  podfile_local_hash.each do |key, value|
33
33
  next unless value.kind_of?(Hash)
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-modularization
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - lazy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-18 00:00:00.000000000 Z
11
+ date: 2023-02-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler