fastlane-plugin-xamarin_build 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.asc +7 -7
- data.tar.gz.asc +7 -7
- data/lib/fastlane/plugin/xamarin_build/actions/extract_certificate.rb +2 -14
- data/lib/fastlane/plugin/xamarin_build/actions/xamarin_update_configuration.rb +7 -5
- data/lib/fastlane/plugin/xamarin_build/version.rb +5 -1
- metadata +16 -2
- metadata.gz.asc +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cc9b6461deccec1a91b94edae071551785687afa
|
4
|
+
data.tar.gz: 22a6aecac4ef5c51c7061e6f4a3fa634d984a676
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3abc921e3d5b13a68e0428959795e1d27f5627d10c4ad28af0672d55fd8b9dd9704a72c0a3903017cedcf093c8a9fe3106b637f2eebe6afe56be034073343123
|
7
|
+
data.tar.gz: 8046804e564c24bc413801ec8cf3a4ef96956aa6a073530a1aa3c98fc73f80f8fc29db11010d74ca0d198ebbea4bd0f67a0f7e18f56e661b2b3b2114fa42a635
|
checksums.yaml.gz.asc
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
-----BEGIN PGP SIGNATURE-----
|
2
2
|
Version: GnuPG v1
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
=
|
4
|
+
iQEcBAABAgAGBQJXeircAAoJEAPmZ1UHrajBDpwH/RE8MwohBBox1SBwrU/oJDcR
|
5
|
+
249hTc1JMcG0VnIBMgojiHyFeZHW48kkilHcrM3jDJASjpCRC+GTjrvxMY68hY7n
|
6
|
+
8BllEyOp7+MvMXMx1g22dhH5h4ggUVh8ZO+0syXS7JWStgJHoeotDgyVsrlU7fBB
|
7
|
+
ov6il/VrvlMLH6PxFGtbp8wa9MLZ/1XsWCgZrdIX8HyKzy+qt7B6lQoBGgaQpF+h
|
8
|
+
DoNxpSU+DByVrozCWTTLWSZuXadoSAOdUShrN46WoX628IyR9vCCIuf2yaBC71Za
|
9
|
+
0lXujG5mrrjKdorcUVc6+mq6dp4MzIFAK6LKCk0cN5M19wNs/AozSfhc8qbjc9A=
|
10
|
+
=oYV4
|
11
11
|
-----END PGP SIGNATURE-----
|
data.tar.gz.asc
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
-----BEGIN PGP SIGNATURE-----
|
2
2
|
Version: GnuPG v1
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
=
|
4
|
+
iQEcBAABAgAGBQJXeirbAAoJEAPmZ1UHrajB09UH/jZr+SNlF17hsfNL5ecOFyNv
|
5
|
+
wULRGGYlP+IDRgfyPEW3tCqsRGJFiSpttNX+UqvfLiQWg084yVXZc315pgFQCtoD
|
6
|
+
C7HinctbrVmadX9BsdWIhkrU1kJ6GPpQBuBdszL10MK53q2oRD2Idk/F+Rpq7fV/
|
7
|
+
5pCNfdqePoxgaqN74OcuLpMJ/65bE50snFNgwdbD+U8uXPq+PiOM1AktdEaullz5
|
8
|
+
wvMvHsqrWIFdWWLdyrUOfAnvqdjTJVtwOU2NpMF302612LwyVegdJKYzJD2P/uFz
|
9
|
+
HC/pk6FpI58Mxh9VlV8VGS9PmlRqufM6vaPDGsir6ZlKYJrRxU8YH9FS14darAo=
|
10
|
+
=JGxn
|
11
11
|
-----END PGP SIGNATURE-----
|
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'plist'
|
2
2
|
require 'open3'
|
3
3
|
require 'openssl'
|
4
|
+
require 'provision_util'
|
4
5
|
|
5
6
|
module Fastlane
|
6
7
|
module Actions
|
@@ -11,20 +12,7 @@ module Fastlane
|
|
11
12
|
path = params[:provision_path]
|
12
13
|
path = default_path(params[:uuid]) if path.nil?
|
13
14
|
check_profile(path)
|
14
|
-
|
15
|
-
o, e, s = Open3.capture3("security cms -D -i '#{path}'")
|
16
|
-
if s.exitstatus != 0
|
17
|
-
UI.user_error!("Can't extract plist from provision profile\n" + e)
|
18
|
-
end
|
19
|
-
|
20
|
-
provision_plist_raw = o
|
21
|
-
provision_plist = Plist.parse_xml(provision_plist_raw)
|
22
|
-
|
23
|
-
cert_data = provision_plist['DeveloperCertificates'][0].string
|
24
|
-
cert = OpenSSL::X509::Certificate.new(cert_data)
|
25
|
-
|
26
|
-
print cert.to_text if params[:log_certificate]
|
27
|
-
cert
|
15
|
+
return ProvisionUtil::get_cert_from_provision(path)
|
28
16
|
end
|
29
17
|
|
30
18
|
def self.description
|
@@ -8,11 +8,11 @@ module Fastlane
|
|
8
8
|
class XamarinUpdateConfigurationAction < Action
|
9
9
|
def self.run(params)
|
10
10
|
project_path = params[:xamarin_project_file]
|
11
|
-
doc = nil
|
12
11
|
|
13
|
-
|
14
|
-
|
15
|
-
|
12
|
+
|
13
|
+
file = File.new(project_path)
|
14
|
+
doc = Nokogiri::XML(file.read)
|
15
|
+
file.close
|
16
16
|
|
17
17
|
configuration = "'#{params[:target]}|#{params[:platform]}'"
|
18
18
|
|
@@ -24,7 +24,9 @@ module Fastlane
|
|
24
24
|
end
|
25
25
|
end
|
26
26
|
|
27
|
-
|
27
|
+
xml = doc.to_xml
|
28
|
+
UI.command_output(xml) if $verbose
|
29
|
+
File.write(project_path, xml)
|
28
30
|
end
|
29
31
|
|
30
32
|
#####################################################
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-xamarin_build
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- punksta
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-07-
|
11
|
+
date: 2016-07-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -38,6 +38,20 @@ dependencies:
|
|
38
38
|
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: provision_util
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 0.1.0
|
48
|
+
type: :runtime
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 0.1.0
|
41
55
|
- !ruby/object:Gem::Dependency
|
42
56
|
name: openssl
|
43
57
|
requirement: !ruby/object:Gem::Requirement
|
metadata.gz.asc
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
-----BEGIN PGP SIGNATURE-----
|
2
2
|
Version: GnuPG v1
|
3
3
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
=
|
4
|
+
iQEcBAABAgAGBQJXeirVAAoJEAPmZ1UHrajBkvwH/0nU+vf/tnxLxRdJWLvrYxqp
|
5
|
+
YsP9RZf05ZJUHEjuQZfnNrUC7j/TrBok44DhJFd3EpKmPoZ8qHEuOL/s+Iion5kn
|
6
|
+
s/v8hU+yxRUybO8euKw2Rwj7Ym9iCR141FEBq+2YCJoHpqCb/3xv3RpnH59PFJ8S
|
7
|
+
x7oYacjuOqxUMa5PpX86txfszsJeEYwIh50hTC/WL57QaWF2wBZOCI8yuiEsOjxH
|
8
|
+
6ZJuHa4aOEpR/29mTfSvCHJqeByKE2dHLYYUlRs/tCnt8WCJ0/qMBcyc6DzOZUqw
|
9
|
+
mLZoS7kPFlPwcrBR3/sh3REzFxE8OWT7hAVAnlgNbauNoeGMh6G5Hj2PYVjs8/w=
|
10
|
+
=Q7PC
|
11
11
|
-----END PGP SIGNATURE-----
|