fastlane-plugin-act 1.1.0 → 1.1.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
  SHA1:
3
- metadata.gz: c3c85f25174252ee8a3222d7d89316d10a6e74bb
4
- data.tar.gz: 5a0f10f3ffc1488ba580f79ebb95557c0f026869
3
+ metadata.gz: 29ef7cfae7bbce4afce0a6f6191c4cb30b8a8ea5
4
+ data.tar.gz: 77f11ca5c9f414fc6638d6d1126f33ac2d71d4e1
5
5
  SHA512:
6
- metadata.gz: a6e008201ba9a2b4308aaadd89df3bb69bd23754b60c9b77f527109e09b4490c7be9810e045646eb1eaa9bf3523fa433869718457cd82634ed8c6f2f45126dde
7
- data.tar.gz: 138f0a0797933188e07d97d7c6c4e9eaf5fc82c68f27583cdeb0df2a6f8a67b31a28abaa6f8788d9524c676f360756e338b17ca74f9ad8bf23636429b289e450
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[:arhive_path]} does not exist" unless File.exist? params[:archive_path]
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
@@ -38,7 +38,7 @@ module Fastlane
38
38
  end
39
39
 
40
40
  def clean
41
- `rm -rf #{temp_dir}/*`
41
+ `rm -rf #{temp_dir.shellescape}/*`
42
42
  end
43
43
 
44
44
  def self.extract_app_path(archive_path)
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Act
3
- VERSION = "1.1.0"
3
+ VERSION = "1.1.1"
4
4
  end
5
5
  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.0
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-05-15 00:00:00.000000000 Z
11
+ date: 2017-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry