souyuz 0.10.1 → 0.11.1
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cbf213c0087ee4c3e159342eef0ea464a50a52d8d2eef71fa4a8789026977499
|
4
|
+
data.tar.gz: d3428f3b7713b236d882ed6aea6dbf2e471f2e2733265d38f8a14fea61d37f5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 950dfa2dd7f47b289008f3774a750c50650215c7664432f8e67a01bede327877afcc3b546fb403390555c84bae936873c35a0221e38dcd52809a786d2931d1b6
|
7
|
+
data.tar.gz: 00dff3951f55833c9b0e93cac26c5a2e4fb3a6dbeb4b3910dc914b570ad4a5cbff1ad00edd3e54bb3f6362da986d838a77f4e046766656920df8ef1378995cbf
|
@@ -27,10 +27,10 @@ module Souyuz
|
|
27
27
|
|
28
28
|
def options
|
29
29
|
options = []
|
30
|
-
options << "sign"
|
30
|
+
options << "sign"
|
31
31
|
options << "--verbose" if $verbose
|
32
32
|
options << "--ks \"#{Souyuz.config[:keystore_path]}\""
|
33
|
-
options << "--ks-pass \"
|
33
|
+
options << "--ks-pass \"pass:#{Souyuz.config[:keystore_password]}\""
|
34
34
|
options << "--ks-key-alias \"#{Souyuz.config[:keystore_alias]}\""
|
35
35
|
options << "--out \"#{Souyuz.cache[:signed_apk_path]}\""
|
36
36
|
|
@@ -31,7 +31,7 @@ module Souyuz
|
|
31
31
|
options << "-p:BuildIpa=true" if Souyuz.project.ios?
|
32
32
|
if config[:solution_path]
|
33
33
|
solution_dir = File.dirname(config[:solution_path])
|
34
|
-
options << "-p:SolutionDir
|
34
|
+
options << "-p:SolutionDir=\"#{solution_dir}/\""
|
35
35
|
end
|
36
36
|
|
37
37
|
options
|
@@ -52,7 +52,7 @@ module Souyuz
|
|
52
52
|
def project
|
53
53
|
path = []
|
54
54
|
|
55
|
-
path << Souyuz.config[:project_path] # if Souyuz.project.android?
|
55
|
+
path << "\"#{Souyuz.config[:project_path]}\"" # if Souyuz.project.android?
|
56
56
|
# path << Souyuz.config[:solution_path] if Souyuz.project.ios? or Souyuz.project.osx?
|
57
57
|
|
58
58
|
path
|
data/lib/souyuz/runner.rb
CHANGED
@@ -37,9 +37,10 @@ module Souyuz
|
|
37
37
|
build_path = Souyuz.project.options[:output_path]
|
38
38
|
assembly_name = Souyuz.project.options[:assembly_name]
|
39
39
|
|
40
|
-
|
40
|
+
build_apk_path = "#{build_path}/#{assembly_name}.apk"
|
41
|
+
Souyuz.cache[:build_apk_path] = build_apk_path
|
41
42
|
|
42
|
-
|
43
|
+
build_apk_path
|
43
44
|
end
|
44
45
|
|
45
46
|
def apksign_and_zipalign
|
@@ -55,6 +56,12 @@ module Souyuz
|
|
55
56
|
print_all: false,
|
56
57
|
print_command: !Souyuz.config[:silent])
|
57
58
|
|
59
|
+
# move signed apk back to build apk path
|
60
|
+
FileUtils.cp_r(
|
61
|
+
Souyuz.cache[:signed_apk_path],
|
62
|
+
Souyuz.cache[:build_apk_path],
|
63
|
+
:remove_destination => true)
|
64
|
+
|
58
65
|
UI.success "Successfully signed apk #{Souyuz.cache[:build_apk_path]}"
|
59
66
|
end
|
60
67
|
|
data/lib/souyuz/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: souyuz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.11.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Felix Rudat
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: fastlane
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 2.182.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version:
|
26
|
+
version: 2.182.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: highline
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: '
|
33
|
+
version: '2.0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: '
|
40
|
+
version: '2.0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: nokogiri
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|