fastlane-plugin-act 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/fastlane/plugin/act/actions/act_action.rb +1 -1
- data/lib/fastlane/plugin/act/helper/icon_patcher.rb +1 -1
- data/lib/fastlane/plugin/act/helper/ipa_archive.rb +7 -7
- data/lib/fastlane/plugin/act/helper/xc_archive.rb +1 -1
- data/lib/fastlane/plugin/act/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29ef7cfae7bbce4afce0a6f6191c4cb30b8a8ea5
|
4
|
+
data.tar.gz: 77f11ca5c9f414fc6638d6d1126f33ac2d71d4e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f14a47ebab8020cd48d083afe4c890386c4d838378c04950fcf0a901bc57ffffd874dbd1877dc62e701e043448d1062d86efca161b21eb20f9051c8b8bff2c28
|
7
|
+
data.tar.gz: acfdbbc0c8ac6a3bdfbe7f3770396fffd0a90dafcef663ea71e1ea8523e10d1c3ad486fb5948c372fe9d2cfa5d6145fe0db2250957323773bbec5ba9f66f605c
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# act plugin
|
2
2
|
|
3
|
-
[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-act)
|
3
|
+
[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-act) [![Build Status](https://travis-ci.org/richardszalay/fastlane-plugin-act.svg?branch=master)](https://travis-ci.org/richardszalay/fastlane-plugin-act)
|
4
4
|
|
5
5
|
## Getting Started
|
6
6
|
|
@@ -10,7 +10,7 @@ module Fastlane
|
|
10
10
|
end
|
11
11
|
|
12
12
|
params[:archive_path] = File.expand_path params[:archive_path]
|
13
|
-
raise "Archive path #{params[:
|
13
|
+
raise "Archive path #{params[:archive_path]} does not exist" unless File.exist? params[:archive_path]
|
14
14
|
|
15
15
|
if File.directory? params[:archive_path] then
|
16
16
|
archive = ActHelper::XCArchive.new params[:archive_path], params[:app_name]
|
@@ -21,7 +21,7 @@ module Fastlane
|
|
21
21
|
icons.each do |i|
|
22
22
|
relative_path = archive.app_path( (i[:target]).to_s )
|
23
23
|
local_path = archive.local_path(relative_path)
|
24
|
-
`cp #{i[:source]} #{local_path}`
|
24
|
+
`cp #{i[:source].shellescape} #{local_path.shellescape}`
|
25
25
|
archive.replace(relative_path)
|
26
26
|
end
|
27
27
|
|
@@ -29,7 +29,7 @@ module Fastlane
|
|
29
29
|
UI.verbose("Extracting #{path}")
|
30
30
|
|
31
31
|
Dir.chdir(@temp_dir) do
|
32
|
-
result = `unzip -o -q #{@ipa_file} #{path}`
|
32
|
+
result = `unzip -o -q #{@ipa_file.shellescape} #{path.shellescape}`
|
33
33
|
|
34
34
|
if $?.exitstatus.nonzero?
|
35
35
|
UI.important result
|
@@ -42,7 +42,7 @@ module Fastlane
|
|
42
42
|
def replace(path)
|
43
43
|
UI.verbose("Replacing #{path}")
|
44
44
|
Dir.chdir(@temp_dir) do
|
45
|
-
`zip -q #{@ipa_file} #{path}`
|
45
|
+
`zip -q #{@ipa_file.shellescape} #{path.shellescape}`
|
46
46
|
end
|
47
47
|
end
|
48
48
|
|
@@ -50,22 +50,22 @@ module Fastlane
|
|
50
50
|
def delete(path)
|
51
51
|
UI.verbose("Deleting #{path}")
|
52
52
|
Dir.chdir(@temp_dir) do
|
53
|
-
`zip -dq #{@ipa_file} #{path}`
|
53
|
+
`zip -dq #{@ipa_file.shellescape} #{path.shellescape}`
|
54
54
|
end
|
55
55
|
end
|
56
56
|
|
57
57
|
def contains(path = nil)
|
58
|
-
`zipinfo -1 #{@ipa_file} #{path}`
|
58
|
+
`zipinfo -1 #{@ipa_file.shellescape} #{path.shellescape}`
|
59
59
|
$?.exitstatus.zero?
|
60
60
|
end
|
61
61
|
|
62
62
|
def clean
|
63
|
-
`rm -rf #{temp_dir}` if @create_temp_dir
|
64
|
-
`rm -rf #{temp_dir}/*` unless @create_temp_dir
|
63
|
+
`rm -rf #{temp_dir.shellescape}` if @create_temp_dir
|
64
|
+
`rm -rf #{temp_dir.shellescape}/*` unless @create_temp_dir
|
65
65
|
end
|
66
66
|
|
67
67
|
def self.extract_app_path(archive_path)
|
68
|
-
`zipinfo -1 #{archive_path} "Payload/*.app/" | sed -n '1 p'`.strip().chomp('/')
|
68
|
+
`zipinfo -1 #{archive_path.shellescape} "Payload/*.app/" | sed -n '1 p'`.strip().chomp('/')
|
69
69
|
end
|
70
70
|
end
|
71
71
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-act
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Richard Szalay
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|