cocoapods-bb-PodAssistant 0.3.5.0 → 0.3.5.2

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: 608e72a139590daf2b4bcade1f5c0adb6629b0b11460db92591524ff8ce7c96a
4
- data.tar.gz: 60af78eaba2c05a76e16c0247827a95b42bb69cc6d5182257ff0d988762fad68
3
+ metadata.gz: 349f87356ebb753ccb65aae2953692d1b6aa3d0594fa684f5395719395f470a4
4
+ data.tar.gz: a92df129a8b2f53414537f22991ad624a18bba23edd1293620dda4d935ac907c
5
5
  SHA512:
6
- metadata.gz: fe587d944e2623d4256911f662895a883d0597ddb24894fafa465ff510c6b9d06b8a1e60392d813bfb1126e0dd41b5aa0f2134cf593a7e6c88e5c98eaa4919fc
7
- data.tar.gz: 63072e13be7d3a9febca4a01f03022b5d1b26c5cae91dfc6e9d2478d5b26d973160ebca186e25db0b7d593f882da187fc79977dbf0b914d41a0202310d2fa007
6
+ metadata.gz: b24ca1f142a0fc605c65f0ed6190fe61ce69781e540c0eb12c3494615963a557416746652b11a3027a969729ce846a90cce7fc879f841efe0de7d1b2f0719a53
7
+ data.tar.gz: 0f25ad5d6349bece9907400d7422f440624a28b9e1116414d2ceb21d137696e2e153b5848ef7b1b6660c186189569ec88f5db53ce5f2ac01b873a00a6831c91e
data/bin/match_decrypt CHANGED
@@ -13,6 +13,9 @@ if ARGV.count < 2 || ARGV.count > 3
13
13
  end
14
14
 
15
15
  method_name = 'decrypt'
16
+ unless ['encrypt', 'decrypt'].include?(method_name)
17
+ usage
18
+ end
16
19
  password = ARGV.shift
17
20
  input_file = ARGV.shift
18
21
 
@@ -29,14 +32,9 @@ end
29
32
  exit if password.empty?
30
33
 
31
34
  begin
32
- puts "match Encryption method_name:#{method_name} password:#{password} input_file:#{input_file} output_file:#{output_file}"
35
+ puts "match encryption method_name:#{method_name} password:#{password} input_file:#{input_file} output_file:#{output_file}"
33
36
  Match::Encryption::MatchFileEncryption.new.send(method_name, file_path: input_file, password: password, output_path: output_file)
34
37
  puts "match decrypted mobileprovision finish!"
35
- # if File.exist?(output_file)
36
- # puts("Couldn't decrypted certificates repo")
37
- # else
38
- # puts("🔓 Successfully decrypted certificates repo")
39
- # end
40
38
  rescue => e
41
39
  puts("ERROR #{method_name}ing. [#{e}]. Check your password")
42
40
  usage
data/bin/match_encrypt ADDED
@@ -0,0 +1,41 @@
1
+ #!/usr/bin/env ruby
2
+ require 'fastlane'
3
+ require 'match'
4
+ # CLI to encrypt files using fastlane match decryption layer
5
+
6
+ def usage
7
+ puts("USAGE: ruby math_encrypt.rb [password] [input_path] [output_path]")
8
+ exit(-1)
9
+ end
10
+
11
+ if ARGV.count < 2 || ARGV.count > 3
12
+ usage
13
+ end
14
+
15
+ method_name = 'encrypt'
16
+ unless ['encrypt', 'decrypt'].include?(method_name)
17
+ usage
18
+ end
19
+ password = ARGV.shift
20
+ input_file = ARGV.shift
21
+
22
+ if ARGV.count > 0
23
+ output_file = ARGV.shift
24
+ else
25
+ output_file = input_file
26
+ end
27
+
28
+ unless File.exist?(input_file)
29
+ puts "input_file:#{input_file} doesn't exist".red
30
+ exit
31
+ end
32
+ exit if password.empty?
33
+
34
+ begin
35
+ puts "match decryption method_name:#{method_name} password:#{password} input_file:#{input_file} output_file:#{output_file}"
36
+ Match::Encryption::MatchFileEncryption.new.send(method_name, file_path: input_file, password: password, output_path: output_file)
37
+ puts "match encrypted mobileprovision finish!"
38
+ rescue => e
39
+ puts("ERROR #{method_name}ing. [#{e}]. Check your password")
40
+ usage
41
+ end
@@ -74,7 +74,7 @@ class PodPostInstaller
74
74
 
75
75
  # 配置工程最低部署
76
76
  origin_value = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET']
77
- if origin_value.to_i != ios_deployment_target.to_i then
77
+ if origin_value.to_i != ios_deployment_target.to_i
78
78
  config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = ios_deployment_target.to_s
79
79
  new_value = config.build_settings['IPHONEOS_DEPLOYMENT_TARGET']
80
80
  puts "#{target.name}-#{config.name} Build Setting 'IPHONEOS_DEPLOYMENT_TARGET' deployment target: #{origin_value} => #{new_value}"
@@ -1,3 +1,3 @@
1
1
  module CocoapodsBbPodassistant
2
- VERSION = "0.3.5.0"
2
+ VERSION = "0.3.5.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cocoapods-bb-PodAssistant
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.5.0
4
+ version: 0.3.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - humin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-07-02 00:00:00.000000000 Z
11
+ date: 2024-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cocoapods-core
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: 0.2.7.7
55
+ - !ruby/object:Gem::Dependency
56
+ name: fastlane
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ">="
60
+ - !ruby/object:Gem::Version
61
+ version: 2.174.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ">="
67
+ - !ruby/object:Gem::Version
68
+ version: 2.174.0
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: bundler
57
71
  requirement: !ruby/object:Gem::Requirement
@@ -85,12 +99,14 @@ email:
85
99
  - humin1102@126.com
86
100
  executables:
87
101
  - match_decrypt
102
+ - match_encrypt
88
103
  extensions: []
89
104
  extra_rdoc_files: []
90
105
  files:
91
106
  - LICENSE.txt
92
107
  - README.md
93
108
  - bin/match_decrypt
109
+ - bin/match_encrypt
94
110
  - lib/cocoapods-bb-PodAssistant.rb
95
111
  - lib/cocoapods-bb-PodAssistant/babybus/bbsadvert/podfile_dependency_cache.rb
96
112
  - lib/cocoapods-bb-PodAssistant/babybus/business/babybus_install_environment.rb
@@ -145,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
145
161
  - !ruby/object:Gem::Version
146
162
  version: '0'
147
163
  requirements: []
148
- rubygems_version: 3.5.13
164
+ rubygems_version: 3.5.14
149
165
  signing_key:
150
166
  specification_version: 4
151
167
  summary: A longer description of cocoapods-bb-PodAssistant.