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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c8f053253143f3a4c0958cdfa54449c9bb04f695
4
- data.tar.gz: dccf4a45ae20096ef75a779667b355d96465df59
3
+ metadata.gz: cc9b6461deccec1a91b94edae071551785687afa
4
+ data.tar.gz: 22a6aecac4ef5c51c7061e6f4a3fa634d984a676
5
5
  SHA512:
6
- metadata.gz: ffd21d6dede637c2bff528e8b954b34e01e98ff9843151cda34013de20e92b78edf55fdb825b878c0a26dd63f99110cdef4e15b0321a310c04a27e7fbb79f1f1
7
- data.tar.gz: 6ab45af62ff88aa2a2b9e926daac3d37d183236872b5727806e2feede0c66ee38f501d71a982f03ef7fdabfddfa87123e44c392af78b8d4cb96a97fa447f6a3a
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
- iQEcBAABAgAGBQJXeDG3AAoJEAPmZ1UHrajBRLoIALwhSUkUai7rvor5tcObPsPs
5
- CU3lb0taYYCFxbgAHn0P3eP8p9oXro8rqDnrzfKFk9yfe0Wd5QJZJSWGB9oQ1iwI
6
- tGy2PQamo6wG89ASXJWaBBzTPTfy9IR+KhHR8DdpMPs+FudhdffIRHhFxCc4+tFx
7
- Pt2ueogto5si5tObqSkUjnhTHLpRjqW5II+EQyRQ7RojQZAkoL2t5Y5I7myA1x4/
8
- fQvjV6He6wyoDGs3nvurTNU5ZhQjDjNIJxIHjDgU61xxyItG1N1dbcQtGGmL4n/R
9
- CfTgFND0aURco1Iaikr5uKRvgcN7+HZ+0eabLIfV0vVebsjgo1QF7/07wmyQByY=
10
- =WvlC
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
- iQEcBAABAgAGBQJXeDG2AAoJEAPmZ1UHrajBmhIH/0ER5AnbROG84YKBVu//jm5O
5
- Mg4Qsp1Mz130Q62o6LNtkL+aVHPsbfLen/CJT3eLhSYwpjbuGIuM5SnMYsig2o4U
6
- u/M0qytGIX7wID2xdwAUu/CdypvtlBFwIO7Zpx2ni7BHOEUjEHR0a/jXMmpFPStv
7
- BpeM5hVQuTJJjer+5KVE36vJImRehc1p8Hh/ENp8yVT+bMVa2M9kuPrWv0Uuya0C
8
- 0VmkOhIfFprPVssCqdrZpZEKEYQF1ADWyEkcEdIw6QAUI3+IIB5v3IGvzFyJpjpd
9
- q3ZSpObF19Lx9RvP3CG+aNKbZvlffACClF92sxhp2btTE7gp+TD6NSBvTOlc9Ag=
10
- =Efi7
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
- File.new(project_path) do |file|
14
- doc = Nokogiri::XML(file)
15
- end
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
- File.write(project_path, doc.to_xml)
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
  #####################################################
@@ -1,5 +1,9 @@
1
1
  module Fastlane
2
2
  module XamarinBuild
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
6
+
7
+
8
+
9
+
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.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-02 00:00:00.000000000 Z
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
- iQEcBAABAgAGBQJXeDGuAAoJEAPmZ1UHrajBnfYH/isH8CNfpE8ipvFMlXSEai65
5
- Ub0j/gHRjGyQUFIFjoPzM1KKwm6xS/TqD1Zp/HP6vPksL8og6hNI55s8UfDEbQKC
6
- Jm4lLKNYz7sI3y0erzFwIns0e9ExRysJQ1+Mh20PNJDf8qfNbmLUT3toJw3EPNWn
7
- nPung/xr+TQ+mCLEBpygi5j93EDPGoAN4Qrxa2x8zyQ8prKmRe3Srmik3VJNQ0Vw
8
- cAuH0BrluxjKwmMvrbg6zmqdNOXWDygSKG5FbSqUlfuJbGt6PciIlFkBOo47oFEy
9
- 0VXiY4UPeso6Q+69NWuYq2NWDai/0+mIcyjC7lnF+Wui0UhhujfOgwHPd4U1IWA=
10
- =A7eE
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-----