cocoapods-bb-PodAssistant 0.3.5.0 → 0.3.5.1

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: 608e72a139590daf2b4bcade1f5c0adb6629b0b11460db92591524ff8ce7c96a
4
- data.tar.gz: 60af78eaba2c05a76e16c0247827a95b42bb69cc6d5182257ff0d988762fad68
3
+ metadata.gz: 59dcc2483cb31282edbc5c6bb398bfb02176a5224b24bee4adbcc9ca13c4666e
4
+ data.tar.gz: '062378b4abbd095939268a5e947d38a57e3fee6a515b14454220071440def7b4'
5
5
  SHA512:
6
- metadata.gz: fe587d944e2623d4256911f662895a883d0597ddb24894fafa465ff510c6b9d06b8a1e60392d813bfb1126e0dd41b5aa0f2134cf593a7e6c88e5c98eaa4919fc
7
- data.tar.gz: 63072e13be7d3a9febca4a01f03022b5d1b26c5cae91dfc6e9d2478d5b26d973160ebca186e25db0b7d593f882da187fc79977dbf0b914d41a0202310d2fa007
6
+ metadata.gz: 6a1f0a8f694db5bc67f8311bac4a7d8aa9dcd9f1d0111952d17db31a80d95abed25d115495d1a12434bd1b9ea88e4f35848e0c2a9eb8c8349047363d78e8ea77
7
+ data.tar.gz: 32c657b29be44d08c6e536b9b9a0e89ea5125d06b141f6830d4846b88269e405309005b8c5d67226c46c4b5746bd683af7e2aa273f65f4b27416e8b702845541
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.1"
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.1
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.