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: 8182d1d45cfe1912e724c4e7b57bbf5dc6619a77eea97cbe1a2e0e6586b6991a
4
- data.tar.gz: da6ac32d2b8a6b53995af55e624b303ab739ff6790fa9dcc8591b040a7a5cae3
3
+ metadata.gz: cbf213c0087ee4c3e159342eef0ea464a50a52d8d2eef71fa4a8789026977499
4
+ data.tar.gz: d3428f3b7713b236d882ed6aea6dbf2e471f2e2733265d38f8a14fea61d37f5b
5
5
  SHA512:
6
- metadata.gz: d6f3a8b49153b55ca2cc1a89ba0a21ae3e69b23dabcca15d7e14c79adc7563cd712b8806b998d24896ab03f324b0180e18b4cc10ec05c7f194a0fa0e442a9102
7
- data.tar.gz: ea0fdc1fba410eb7bae843fd57e141780976e0b4b923b0afed5feb00b03778003c9520c10ace969dbb27e7f8ebd41c7bb4af00b7e5a85ef408055eb511f6b808
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" if $verbose
30
+ options << "sign"
31
31
  options << "--verbose" if $verbose
32
32
  options << "--ks \"#{Souyuz.config[:keystore_path]}\""
33
- options << "--ks-pass \"#{Souyuz.config[:keystore_password]}\""
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=#{solution_dir}/"
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
- Souyuz.cache[:build_apk_path] = "#{build_path}/#{assembly_name}.apk"
40
+ build_apk_path = "#{build_path}/#{assembly_name}.apk"
41
+ Souyuz.cache[:build_apk_path] = build_apk_path
41
42
 
42
- "#{build_path}/#{assembly_name}.apk"
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
 
@@ -1,5 +1,5 @@
1
1
 
2
2
  module Souyuz
3
- VERSION = "0.10.1"
3
+ VERSION = "0.11.1"
4
4
  DESCRIPTION = "A fastlane component to make Xamarin builds a breeze"
5
5
  end
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.10.1
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: 2021-12-16 00:00:00.000000000 Z
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: 1.103.0
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: 1.103.0
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: '1.7'
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: '1.7'
40
+ version: '2.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: nokogiri
43
43
  requirement: !ruby/object:Gem::Requirement