fastlane 2.115.0.beta.20190122200028 → 2.115.0.beta.20190123200015
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/fastlane/lib/fastlane/actions/get_version_number.rb +8 -4
- data/fastlane/lib/fastlane/actions/pod_lib_lint.rb +6 -0
- data/fastlane/lib/fastlane/version.rb +1 -1
- data/frameit/lib/frameit/editor.rb +11 -10
- data/frameit/lib/frameit/mac_editor.rb +1 -1
- data/frameit/lib/frameit/runner.rb +11 -3
- data/frameit/lib/frameit/screenshot.rb +0 -9
- data/snapshot/lib/snapshot/reports_generator.rb +1 -1
- data/spaceship/lib/spaceship/tunes/member.rb +3 -2
- metadata +13 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b06c7d529f1dc8ce6f27f2a42c3b445b7093699
|
4
|
+
data.tar.gz: '0609a51d0ddf48e924d17435417977c3c7c411fe'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a692370d2bea19d670ec29f1bef085339fbf04f3b92da7dff212d179f1beaef85c34b6aac25888af4ff5943e805cd9cb1ac71acce68642c7788cab99dfbda72c
|
7
|
+
data.tar.gz: 88a74034e9493413e66e3ca96e2fc25f1f2d5caeab88afefbd642edfa8d5773e0ddb981994e3f3cea1108c25b7633ebc9f22a0c86ebb2045a4d61cf61cf1f26a
|
@@ -113,7 +113,7 @@ module Fastlane
|
|
113
113
|
[
|
114
114
|
FastlaneCore::ConfigItem.new(key: :xcodeproj,
|
115
115
|
env_name: "FL_VERSION_NUMBER_PROJECT",
|
116
|
-
description: "
|
116
|
+
description: "Path to the main Xcode project to read version number from, optional. By default will use the first Xcode project found within the project root directory",
|
117
117
|
optional: true,
|
118
118
|
verify_block: proc do |value|
|
119
119
|
UI.user_error!("Please pass the path to the project, not the workspace") if value.end_with?(".xcworkspace")
|
@@ -121,11 +121,11 @@ module Fastlane
|
|
121
121
|
end),
|
122
122
|
FastlaneCore::ConfigItem.new(key: :target,
|
123
123
|
env_name: "FL_VERSION_NUMBER_TARGET",
|
124
|
-
description: "
|
124
|
+
description: "Target name, optional. Will be needed if you have more than one non-test target to avoid being prompted to select one",
|
125
125
|
optional: true),
|
126
126
|
FastlaneCore::ConfigItem.new(key: :configuration,
|
127
127
|
env_name: "FL_VERSION_NUMBER_CONFIGURATION",
|
128
|
-
description: "
|
128
|
+
description: "Configuration name, optional. Will be needed if you have altered the configurations from the default or your version number depends on the configuration selected",
|
129
129
|
optional: true)
|
130
130
|
]
|
131
131
|
end
|
@@ -146,7 +146,11 @@ module Fastlane
|
|
146
146
|
|
147
147
|
def self.example_code
|
148
148
|
[
|
149
|
-
'version = get_version_number(xcodeproj: "Project.xcodeproj")'
|
149
|
+
'version = get_version_number(xcodeproj: "Project.xcodeproj")',
|
150
|
+
'version = get_version_number(
|
151
|
+
xcodeproj: "Project.xcodeproj",
|
152
|
+
target: "App"
|
153
|
+
)'
|
150
154
|
]
|
151
155
|
end
|
152
156
|
|
@@ -12,6 +12,8 @@ module Fastlane
|
|
12
12
|
command << "--verbose"
|
13
13
|
end
|
14
14
|
|
15
|
+
command << params[:podspec] if params[:podspec]
|
16
|
+
|
15
17
|
if params[:sources]
|
16
18
|
sources = params[:sources].join(",")
|
17
19
|
command << "--sources='#{sources}'"
|
@@ -54,6 +56,10 @@ module Fastlane
|
|
54
56
|
description: "Use bundle exec when there is a Gemfile presented",
|
55
57
|
is_string: false,
|
56
58
|
default_value: true),
|
59
|
+
FastlaneCore::ConfigItem.new(key: :podspec,
|
60
|
+
description: "Path of spec to lint",
|
61
|
+
optional: true,
|
62
|
+
is_string: true),
|
57
63
|
FastlaneCore::ConfigItem.new(key: :verbose,
|
58
64
|
description: "Allow output detail in console",
|
59
65
|
optional: true,
|
@@ -1,5 +1,5 @@
|
|
1
1
|
module Fastlane
|
2
|
-
VERSION = '2.115.0.beta.
|
2
|
+
VERSION = '2.115.0.beta.20190123200015'.freeze
|
3
3
|
DESCRIPTION = "The easiest way to automate beta deployments and releases for your iOS and Android apps".freeze
|
4
4
|
MINIMUM_XCODE_RELEASE = "7.0".freeze
|
5
5
|
RUBOCOP_REQUIREMENT = '0.49.1'.freeze
|
@@ -16,8 +16,11 @@ module Frameit
|
|
16
16
|
attr_accessor :image # the current image used for editing
|
17
17
|
attr_accessor :space_to_device
|
18
18
|
|
19
|
-
def
|
20
|
-
|
19
|
+
def initialize(screenshot)
|
20
|
+
@screenshot = screenshot
|
21
|
+
end
|
22
|
+
|
23
|
+
def frame!
|
21
24
|
prepare_image
|
22
25
|
|
23
26
|
frame = load_frame
|
@@ -31,7 +34,7 @@ module Frameit
|
|
31
34
|
return
|
32
35
|
end
|
33
36
|
|
34
|
-
if
|
37
|
+
if is_complex_framing_mode?
|
35
38
|
@image = complex_framing
|
36
39
|
else
|
37
40
|
# easy mode from 1.0 - no title or background
|
@@ -59,6 +62,10 @@ module Frameit
|
|
59
62
|
return 0
|
60
63
|
end
|
61
64
|
|
65
|
+
def should_skip?
|
66
|
+
return is_complex_framing_mode? && !fetch_text(:title)
|
67
|
+
end
|
68
|
+
|
62
69
|
private
|
63
70
|
|
64
71
|
def store_result
|
@@ -117,7 +124,7 @@ module Frameit
|
|
117
124
|
end
|
118
125
|
|
119
126
|
# Do we add a background and title as well?
|
120
|
-
def
|
127
|
+
def is_complex_framing_mode?
|
121
128
|
return (fetch_config['background'] and (fetch_config['title'] or fetch_config['keyword']))
|
122
129
|
end
|
123
130
|
|
@@ -484,12 +491,6 @@ module Frameit
|
|
484
491
|
|
485
492
|
# No string files, fallback to Framefile config
|
486
493
|
text = fetch_config[type.to_s]['text'] if fetch_config[type.to_s] && fetch_config[type.to_s]['text'] && fetch_config[type.to_s]['text'].length > 0 # Ignore empty string
|
487
|
-
|
488
|
-
if type == :title && !text
|
489
|
-
# title is mandatory
|
490
|
-
UI.user_error!("Could not get title for screenshot #{screenshot.path}. Please provide one in your Framefile.json or title.strings")
|
491
|
-
end
|
492
|
-
|
493
494
|
return text
|
494
495
|
end
|
495
496
|
|
@@ -35,11 +35,19 @@ module Frameit
|
|
35
35
|
next # we don't care about watches right now
|
36
36
|
end
|
37
37
|
|
38
|
-
Helper.show_loading_indicator("Framing screenshot '#{full_path}'")
|
39
|
-
|
40
38
|
begin
|
41
39
|
screenshot = Screenshot.new(full_path, color)
|
42
|
-
screenshot.
|
40
|
+
if screenshot.mac?
|
41
|
+
editor = MacEditor.new(screenshot)
|
42
|
+
else
|
43
|
+
editor = Editor.new(screenshot)
|
44
|
+
end
|
45
|
+
if editor.should_skip?
|
46
|
+
UI.message("Skipping framing of screenshot #{screenshot.path}. No title provided in your Framefile.json or title.strings.")
|
47
|
+
else
|
48
|
+
Helper.show_loading_indicator("Framing screenshot '#{full_path}'")
|
49
|
+
editor.frame!
|
50
|
+
end
|
43
51
|
rescue => ex
|
44
52
|
UI.error(ex.to_s)
|
45
53
|
UI.error("Backtrace:\n\t#{ex.backtrace.join("\n\t")}") if FastlaneCore::Globals.verbose?
|
@@ -122,14 +122,5 @@ module Frameit
|
|
122
122
|
def to_s
|
123
123
|
self.path
|
124
124
|
end
|
125
|
-
|
126
|
-
# Add the device frame, this will also call the method that adds the background + title
|
127
|
-
def frame!
|
128
|
-
if self.mac?
|
129
|
-
MacEditor.new.frame!(self)
|
130
|
-
else
|
131
|
-
Editor.new.frame!(self)
|
132
|
-
end
|
133
|
-
end
|
134
125
|
end
|
135
126
|
end
|
@@ -17,7 +17,6 @@ module Snapshot
|
|
17
17
|
language = File.basename(language_folder)
|
18
18
|
Dir[File.join(language_folder, '*.png')].sort.each do |screenshot|
|
19
19
|
file_name = File.basename(screenshot)
|
20
|
-
screen_name = file_name[/#{Regexp.escape("-")}(.*?)#{Regexp.escape(".png")}/m, 1]
|
21
20
|
available_devices.each do |key_name, output_name|
|
22
21
|
next unless file_name.include?(key_name)
|
23
22
|
# This screenshot is from this device
|
@@ -25,6 +24,7 @@ module Snapshot
|
|
25
24
|
@data_by_language[language] ||= {}
|
26
25
|
@data_by_language[language][output_name] ||= []
|
27
26
|
|
27
|
+
screen_name = file_name.sub(key_name + '-', '').sub('.png', '')
|
28
28
|
@data_by_screen[screen_name] ||= {}
|
29
29
|
@data_by_screen[screen_name][output_name] ||= {}
|
30
30
|
|
@@ -56,10 +56,11 @@ module Spaceship
|
|
56
56
|
|
57
57
|
def selected_apps
|
58
58
|
parsed_apps = []
|
59
|
+
all_apps = Application.all
|
59
60
|
raw_data["userSoftwares"]["value"]["grantedSoftwareAdamIds"].each do |app_id|
|
60
|
-
parsed_apps <<
|
61
|
+
parsed_apps << all_apps.select { |app| app.apple_id == app_id }
|
61
62
|
end
|
62
|
-
return parsed_apps
|
63
|
+
return parsed_apps.flatten
|
63
64
|
end
|
64
65
|
|
65
66
|
def not_accepted_invitation
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.115.0.beta.
|
4
|
+
version: 2.115.0.beta.20190123200015
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Danielle Tomlinson
|
@@ -27,7 +27,7 @@ authors:
|
|
27
27
|
autorequire:
|
28
28
|
bindir: bin
|
29
29
|
cert_chain: []
|
30
|
-
date: 2019-01-
|
30
|
+
date: 2019-01-23 00:00:00.000000000 Z
|
31
31
|
dependencies:
|
32
32
|
- !ruby/object:Gem::Dependency
|
33
33
|
name: slack-notifier
|
@@ -1687,24 +1687,24 @@ metadata:
|
|
1687
1687
|
post_install_message:
|
1688
1688
|
rdoc_options: []
|
1689
1689
|
require_paths:
|
1690
|
+
- fastlane_core/lib
|
1691
|
+
- pilot/lib
|
1690
1692
|
- fastlane/lib
|
1693
|
+
- precheck/lib
|
1691
1694
|
- deliver/lib
|
1692
|
-
- fastlane_core/lib
|
1693
1695
|
- frameit/lib
|
1694
|
-
-
|
1695
|
-
- pem/lib
|
1696
|
-
- precheck/lib
|
1697
|
-
- match/lib
|
1698
|
-
- gym/lib
|
1696
|
+
- credentials_manager/lib
|
1699
1697
|
- screengrab/lib
|
1700
|
-
-
|
1701
|
-
- sigh/lib
|
1698
|
+
- match/lib
|
1702
1699
|
- scan/lib
|
1703
|
-
- credentials_manager/lib
|
1704
|
-
- cert/lib
|
1705
1700
|
- supply/lib
|
1706
|
-
-
|
1701
|
+
- gym/lib
|
1702
|
+
- cert/lib
|
1703
|
+
- sigh/lib
|
1704
|
+
- spaceship/lib
|
1705
|
+
- pem/lib
|
1707
1706
|
- produce/lib
|
1707
|
+
- snapshot/lib
|
1708
1708
|
required_ruby_version: !ruby/object:Gem::Requirement
|
1709
1709
|
requirements:
|
1710
1710
|
- - ">="
|