fastlane-plugin-synx 0.1.1 → 0.1.2

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: 03ece97d360dae02b2ac2d05b8900a8246123f99
4
- data.tar.gz: 8b095c94bf5c93b38afde3f2e259b5bc8bd07fba
3
+ metadata.gz: 1c9b69c857fbf02ee7ae54717d5a2d4d61124dbf
4
+ data.tar.gz: fce17a87e65f123c0b526b4297fdd47142f60f9e
5
5
  SHA512:
6
- metadata.gz: 4fd8f7b59741772453ee73689f42f9c5bf2824c4f3a2ec8b3f45ab86852d08c06e74089a99d5a9fb2e6d194c767a365b3251331f926495c266d328363f5db721
7
- data.tar.gz: fcf955e7917850c1516e714b8e62dd0b5261717e0ff1e666518cbc538b9c00654dfa1366a83a7da7ce78f6ceb86264e3da59a78594eeafa9ddfa73e81896cb93
6
+ metadata.gz: 7b4ad3733c6c45f956ef5769cee97c61fb86a6857ea2b3addb9896fe244c9f70a8ef7f8ac00ad1881271f9afec020e37c13abd613584aec7e856fa6993063611
7
+ data.tar.gz: 0d44089561e3603643aed74ef3b457fcde396c6cd3e27d71d57f41ffdf2e5175c6752acc3ec1154b59fe5214dd6c8a30d03cf88cab1a87f784e701920bf2c0c5
@@ -2,6 +2,8 @@ module Fastlane
2
2
  module Actions
3
3
  class SynxAction < Action
4
4
  def self.run(params)
5
+ require 'shellwords'
6
+
5
7
  Actions.verify_gem!("synx")
6
8
 
7
9
  project_name = Dir["*.xcodeproj"].first
@@ -12,9 +14,13 @@ module Fastlane
12
14
  cmd << ["--no-default-exclusions"] if params[:no_default_exclusions]
13
15
  cmd << ["--no-sort-by-name"] if params[:no_sort_by_name]
14
16
  cmd << ["--quiet"] if params[:quiet]
15
- cmd << ["--exclusion #{params[:exclusion]}"] if params[:exclusion]
17
+ if params[:exclusion]
18
+ Array(params[:exclusion]).each do |exclusion|
19
+ cmd.concat ["--exclusion", exclusion]
20
+ end
21
+ end
16
22
  cmd << [project_name]
17
- Actions.sh(cmd.join(" "))
23
+ Actions.sh(Shellwords.join(cmd))
18
24
  end
19
25
 
20
26
  def self.description
@@ -65,7 +71,7 @@ module Fastlane
65
71
  env_name: "FL_SYNX_EXCLUSION",
66
72
  description: "Ignore an Xcode group while syncing",
67
73
  optional: true,
68
- is_string: true,
74
+ is_string: false,
69
75
  default_value: nil)
70
76
  ]
71
77
  end
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module Synx
3
- VERSION = "0.1.1"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-synx
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
  - Afonso Graça
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-09 00:00:00.000000000 Z
11
+ date: 2016-11-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: synx