fastlane-plugin-store_sizer 0.1.1 → 0.2.0

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: e05268bfe1747a8ba50a9aacfce2eb0f42d998a4
4
- data.tar.gz: ef3a95f2971679db97810fff08827190bb95e3fb
3
+ metadata.gz: 53cf167ac3b694a9e03e18722a01d34ccb94e9f5
4
+ data.tar.gz: 958b671021eea9f2675fd87b277c622814231149
5
5
  SHA512:
6
- metadata.gz: 6238f76ee664487e50d644d94860023a478cdf3f077dd9d46e53528de9f7ab34321cd15d25a30757c3230777ec0ee7eccec84194382b13f3a1c296d88f524c44
7
- data.tar.gz: 3f74b5425e858ad55053ca4873f7dc0aec824c940f1298e6ad0c21873fe79764de6bbbcaf13461b5c0ac2376f700348c5fa173b1e1116b14f02c653152519687
6
+ metadata.gz: bc7429febc5ec626e7dde26f8138aa1f70ac9a428b44471a650015193bb5fbf0e2b16f2a2c6d24f24c921faff73a5b0015eb6628eac0194ad56591abbdf289c7
7
+ data.tar.gz: 9c6abce18300e7e8f83cac902b25b009f89ba339f59803b1bfc702121148c4fe7ce0cc06f4e1dd5b34372acbd65276ea62f61e5fa76341858f6676287e73e4f2
@@ -36,8 +36,9 @@ module Fastlane
36
36
  Helper::StoreSizerHelper.write_random_file(extra_file_path, EXTRA_FILE_SIZE)
37
37
 
38
38
  export_options = {}
39
- export_options[:method] = 'ad-hoc'
40
- export_options[:thinning] = '<thin-for-all-variants>'
39
+ export_options['method'] = 'ad-hoc'
40
+ export_options.merge!(Plist.parse_xml(params[:export_plist])) if params[:export_plist]
41
+ export_options['thinning'] = params[:thinning] || '<thin-for-all-variants>'
41
42
  export_options_plist_path = File.join(tmp_path, "ExportOptions.plist")
42
43
  File.write(export_options_plist_path, Plist::Emit.dump(export_options, false))
43
44
 
@@ -90,7 +91,20 @@ module Fastlane
90
91
  env_name: 'STORE_SIZE_ARCHIVE_PATH',
91
92
  verify_block: proc do |value|
92
93
  UI.user_error!("Couldn't find xcarchive file at path '#{value}'") if !Helper.test? && !File.exist?(value)
93
- end)
94
+ end),
95
+ FastlaneCore::ConfigItem.new(key: :export_plist,
96
+ description: 'Path to your existing export options plist with the codesigning stuff',
97
+ default_value: nil,
98
+ optional: true,
99
+ env_name: 'STORE_SIZE_EXPORT_OPTIONS_PLIST',
100
+ verify_block: proc do |value|
101
+ UI.user_error!("Couldn't find plist file at path '#{value}'") if !Helper.test? && !File.exist?(value)
102
+ end),
103
+ FastlaneCore::ConfigItem.new(key: :thinning,
104
+ description: 'How should Xcode thin the package? e.g. <none>, <thin-for-all-variants>, or a model identifier for a specific device (e.g. "iPhone7,1")',
105
+ default_value: '<thin-for-all-variants>',
106
+ optional: true,
107
+ env_name: 'STORE_SIZE_THINNING')
94
108
  ]
95
109
  end
96
110
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module StoreSizer
3
- VERSION = "0.1.1"
3
+ VERSION = "0.2.0"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-store_sizer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marcelo Oliveira
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-07-02 00:00:00.000000000 Z
11
+ date: 2017-12-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ruby-macho
@@ -80,6 +80,20 @@ dependencies:
80
80
  - - ">="
81
81
  - !ruby/object:Gem::Version
82
82
  version: '0'
83
+ - !ruby/object:Gem::Dependency
84
+ name: rspec_junit_formatter
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - ">="
88
+ - !ruby/object:Gem::Version
89
+ version: '0'
90
+ type: :development
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ">="
95
+ - !ruby/object:Gem::Version
96
+ version: '0'
83
97
  - !ruby/object:Gem::Dependency
84
98
  name: rake
85
99
  requirement: !ruby/object:Gem::Requirement
@@ -96,6 +110,20 @@ dependencies:
96
110
  version: '0'
97
111
  - !ruby/object:Gem::Dependency
98
112
  name: rubocop
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - '='
116
+ - !ruby/object:Gem::Version
117
+ version: 0.49.1
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - '='
123
+ - !ruby/object:Gem::Version
124
+ version: 0.49.1
125
+ - !ruby/object:Gem::Dependency
126
+ name: simplecov
99
127
  requirement: !ruby/object:Gem::Requirement
100
128
  requirements:
101
129
  - - ">="