deliver 1.14.3 → 1.14.4

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: 8ab820883858e98db0c5b3492577f45824500e28
4
- data.tar.gz: 798accf21c392e07647c28b498aa5defef38e561
3
+ metadata.gz: 6875471e42eabce409ace3ead241af6321f5c45b
4
+ data.tar.gz: 2e9402799102c9938927d1d83c3b3e3fd642545a
5
5
  SHA512:
6
- metadata.gz: 13e9729ff8ff486d787876aaa59970bd7f5eb577ff0df42b6a1fb39c97baeba29603025423386c148e1e0d46462b4106ce183a59c37aecb2a8fc6d681a4a0b6c
7
- data.tar.gz: 0e83639b1e86bb42541fee51f68b62a34a3ea4b9f5e41c20722d718fc9fe3eb412fbb24ace5e22f6dc23885f7e642531a2bdd572b5fbbb10cdf61b4836cd166a
6
+ metadata.gz: c314016353237540b11c15dc52c98ff4a64f5e212b89b88d79999c4c93f041b85104286e7370b52d03146700b2e08d55630ff7a80f499a4f02ffd0416d741e3d
7
+ data.tar.gz: c15095eea0645da5dc88bb96a5a98d088f9337b41131ac266d19878b7d0b5f9fc160f809429610d7eb765e9e23aac332c08f864e964372b40ae2b01a30ed4db8
data/README.md CHANGED
@@ -32,7 +32,6 @@ deliver
32
32
  [![Twitter: @FastlaneTools](https://img.shields.io/badge/contact-@FastlaneTools-blue.svg?style=flat)](https://twitter.com/FastlaneTools)
33
33
  [![License](https://img.shields.io/badge/license-MIT-green.svg?style=flat)](https://github.com/fastlane/fastlane/blob/master/deliver/LICENSE)
34
34
  [![Gem](https://img.shields.io/gem/v/deliver.svg?style=flat)](http://rubygems.org/gems/deliver)
35
- [![Build Status](https://img.shields.io/circleci/project/fastlane/fastlane/master.svg?style=flat)](https://circleci.com/gh/fastlane/fastlane)
36
35
 
37
36
  ###### Upload screenshots, metadata and your app to the App Store using a single command
38
37
 
@@ -31,7 +31,7 @@ module Deliver
31
31
  description: "Path to your ipa file",
32
32
  default_value: Dir["*.ipa"].first,
33
33
  verify_block: proc do |value|
34
- UI.user_error!("Could not find ipa file at path '#{value}'") unless File.exist?(value)
34
+ UI.user_error!("Could not find ipa file at path '#{File.expand_path(value)}'") unless File.exist?(value)
35
35
  UI.user_error!("'#{value}' doesn't seem to be an ipa file") unless value.end_with?(".ipa")
36
36
  end,
37
37
  conflicting_options: [:pkg],
@@ -45,7 +45,7 @@ module Deliver
45
45
  description: "Path to your pkg file",
46
46
  default_value: Dir["*.pkg"].first,
47
47
  verify_block: proc do |value|
48
- UI.user_error!("Could not find pkg file at path '#{value}'") unless File.exist?(value)
48
+ UI.user_error!("Could not find pkg file at path '#{File.expand_path(value)}'") unless File.exist?(value)
49
49
  UI.user_error!("'#{value}' doesn't seem to be a pkg file") unless value.end_with?(".pkg")
50
50
  end,
51
51
  conflicting_options: [:ipa],
@@ -109,7 +109,7 @@ module Deliver
109
109
  is_string: true,
110
110
  optional: true,
111
111
  verify_block: proc do |value|
112
- UI.user_error!("Could not find config file at path '#{value}'") unless File.exist?(value)
112
+ UI.user_error!("Could not find config file at path '#{File.expand_path(value)}'") unless File.exist?(value)
113
113
  UI.user_error!("'#{value}' doesn't seem to be a JSON file") unless value.end_with?(".json")
114
114
  end),
115
115
  FastlaneCore::ConfigItem.new(key: :submission_information,
@@ -167,7 +167,7 @@ module Deliver
167
167
  optional: true,
168
168
  short_option: "-l",
169
169
  verify_block: proc do |value|
170
- UI.user_error!("Could not find png file at path '#{value}'") unless File.exist?(value)
170
+ UI.user_error!("Could not find png file at path '#{File.expand_path(value)}'") unless File.exist?(value)
171
171
  UI.user_error!("'#{value}' doesn't seem to be a png file") unless value.end_with?(".png")
172
172
  end),
173
173
  FastlaneCore::ConfigItem.new(key: :apple_watch_app_icon,
@@ -175,7 +175,7 @@ module Deliver
175
175
  optional: true,
176
176
  short_option: "-q",
177
177
  verify_block: proc do |value|
178
- UI.user_error!("Could not find png file at path '#{value}'") unless File.exist?(value)
178
+ UI.user_error!("Could not find png file at path '#{File.expand_path(value)}'") unless File.exist?(value)
179
179
  UI.user_error!("'#{value}' doesn't seem to be a png file") unless value.end_with?(".png")
180
180
  end),
181
181
  FastlaneCore::ConfigItem.new(key: :copyright,
data/lib/deliver/setup.rb CHANGED
@@ -45,7 +45,7 @@ module Deliver
45
45
  else
46
46
  content = app_details.send(key)[language]
47
47
  end
48
-
48
+ content << "\n"
49
49
  resulting_path = File.join(path, language, "#{key}.txt")
50
50
  FileUtils.mkdir_p(File.expand_path('..', resulting_path))
51
51
  File.write(resulting_path, content)
@@ -60,7 +60,7 @@ module Deliver
60
60
  else
61
61
  content = app_details.send(key)
62
62
  end
63
-
63
+ content << "\n"
64
64
  resulting_path = File.join(path, "#{key}.txt")
65
65
  File.write(resulting_path, content)
66
66
  UI.message("Writing to '#{resulting_path}'")
@@ -1,4 +1,4 @@
1
1
  module Deliver
2
- VERSION = "1.14.3"
2
+ VERSION = "1.14.4"
3
3
  DESCRIPTION = 'Upload screenshots, metadata and your app to the App Store using a single command'
4
4
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: deliver
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.3
4
+ version: 1.14.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Felix Krause
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-10-21 00:00:00.000000000 Z
11
+ date: 2016-10-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: fastlane_core
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.52.3
19
+ version: 0.53.0
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 1.0.0
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: 0.52.3
29
+ version: 0.53.0
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 1.0.0
@@ -56,7 +56,7 @@ dependencies:
56
56
  requirements:
57
57
  - - ">="
58
58
  - !ruby/object:Gem::Version
59
- version: 0.36.1
59
+ version: 0.36.2
60
60
  - - "<"
61
61
  - !ruby/object:Gem::Version
62
62
  version: 1.0.0
@@ -66,7 +66,7 @@ dependencies:
66
66
  requirements:
67
67
  - - ">="
68
68
  - !ruby/object:Gem::Version
69
- version: 0.36.1
69
+ version: 0.36.2
70
70
  - - "<"
71
71
  - !ruby/object:Gem::Version
72
72
  version: 1.0.0
@@ -310,7 +310,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
310
310
  version: '0'
311
311
  requirements: []
312
312
  rubyforge_project:
313
- rubygems_version: 2.2.2
313
+ rubygems_version: 2.6.7
314
314
  signing_key:
315
315
  specification_version: 4
316
316
  summary: Upload screenshots, metadata and your app to the App Store using a single