fastlane 1.93.1 → 1.94.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/.DS_Store +0 -0
- data/lib/fastlane/.DS_Store +0 -0
- data/lib/fastlane/actions/.DS_Store +0 -0
- data/lib/fastlane/actions/changelog_from_git_commits.rb +2 -2
- data/lib/fastlane/actions/cocoapods.rb +2 -2
- data/lib/fastlane/actions/hockey.rb +5 -5
- data/lib/fastlane/actions/install_xcode_plugin.rb +33 -0
- data/lib/fastlane/actions/oclint.rb +11 -1
- data/lib/fastlane/actions/update_info_plist.rb +23 -5
- data/lib/fastlane/plugins/template/%gem_name%.gemspec.erb +2 -0
- data/lib/fastlane/plugins/template/.gitignore +10 -0
- data/lib/fastlane/plugins/template/.rspec +3 -0
- data/lib/fastlane/plugins/template/.rubocop.yml +299 -0
- data/lib/fastlane/plugins/template/README.md.erb +20 -5
- data/lib/fastlane/plugins/template/Rakefile +8 -0
- data/lib/fastlane/plugins/template/fastlane/Fastfile.erb +1 -1
- data/lib/fastlane/plugins/template/lib/fastlane/plugin/%plugin_name%/actions/%plugin_name%_action.rb.erb +2 -2
- data/lib/fastlane/version.rb +1 -1
- metadata +16 -10
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b666c5de112ff0eb020554cec5b465d312aa11ec
|
4
|
+
data.tar.gz: df881adda5b993c2b61910f5f6e0451469c86111
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 84235012f6d9d178339535ae532b2a20559bc3433b944e4375d77caeb264904ec40729d853b1ba66516e071a21e3f3e9e52e737e6f9b8496e7d2598ca15af32c
|
7
|
+
data.tar.gz: 50209b78b5e49d93b7337aa08459c542e7f2c47e90f12ec6dbe0c964cefe44a5ac04fddec0bcde9938fc679b86ba6af5c0a578c58823aa6835db39fba27870de
|
data/lib/.DS_Store
ADDED
Binary file
|
Binary file
|
Binary file
|
@@ -79,9 +79,9 @@ module Fastlane
|
|
79
79
|
optional: true,
|
80
80
|
is_string: false,
|
81
81
|
conflicting_options: [:between],
|
82
|
+
type: Integer,
|
82
83
|
verify_block: proc do |value|
|
83
|
-
UI.user_error!(":commits_count must be
|
84
|
-
UI.user_error!(":commits_count must be >= 1") unless value >= 1
|
84
|
+
UI.user_error!(":commits_count must be >= 1") unless value.to_i >= 1
|
85
85
|
end),
|
86
86
|
FastlaneCore::ConfigItem.new(key: :pretty,
|
87
87
|
env_name: 'FL_CHANGELOG_FROM_GIT_COMMITS_PRETTY',
|
@@ -19,7 +19,7 @@ module Fastlane
|
|
19
19
|
|
20
20
|
cmd << '--no-clean' unless params[:clean]
|
21
21
|
cmd << '--no-integrate' unless params[:integrate]
|
22
|
-
cmd << '--
|
22
|
+
cmd << '--repo-update' if params[:repo_update]
|
23
23
|
cmd << '--silent' if params[:silent]
|
24
24
|
cmd << '--verbose' if params[:verbose]
|
25
25
|
cmd << '--no-ansi' unless params[:ansi]
|
@@ -47,7 +47,7 @@ module Fastlane
|
|
47
47
|
env_name: "FL_COCOAPODS_REPO_UPDATE",
|
48
48
|
description: "Run `pod repo update` before install",
|
49
49
|
is_string: false,
|
50
|
-
default_value:
|
50
|
+
default_value: false),
|
51
51
|
FastlaneCore::ConfigItem.new(key: :silent,
|
52
52
|
env_name: "FL_COCOAPODS_SILENT",
|
53
53
|
description: "Show nothing",
|
@@ -124,23 +124,23 @@ module Fastlane
|
|
124
124
|
default_value: Actions.lane_context[SharedValues::FL_CHANGELOG] || "No changelog given"),
|
125
125
|
FastlaneCore::ConfigItem.new(key: :notify,
|
126
126
|
env_name: "FL_HOCKEY_NOTIFY",
|
127
|
-
description: "Notify testers? 1 for yes",
|
127
|
+
description: "Notify testers? \"1\" for yes",
|
128
128
|
default_value: "1"),
|
129
129
|
FastlaneCore::ConfigItem.new(key: :status,
|
130
130
|
env_name: "FL_HOCKEY_STATUS",
|
131
|
-
description: "Download status: 1 = No user can download; 2 = Available for download",
|
131
|
+
description: "Download status: \"1\" = No user can download; \"2\" = Available for download",
|
132
132
|
default_value: "2"),
|
133
133
|
FastlaneCore::ConfigItem.new(key: :notes_type,
|
134
134
|
env_name: "FL_HOCKEY_NOTES_TYPE",
|
135
|
-
description: "Notes type for your :notes, 0 = Textile, 1 = Markdown (default)",
|
135
|
+
description: "Notes type for your :notes, \"0\" = Textile, \"1\" = Markdown (default)",
|
136
136
|
default_value: "1"),
|
137
137
|
FastlaneCore::ConfigItem.new(key: :release_type,
|
138
138
|
env_name: "FL_HOCKEY_RELEASE_TYPE",
|
139
|
-
description: "Release type of the app: 0 = Beta (default), 1 = Store, 2 = Alpha, 3 = Enterprise",
|
139
|
+
description: "Release type of the app: \"0\" = Beta (default), \"1\" = Store, \"2\" = Alpha, \"3\" = Enterprise",
|
140
140
|
default_value: "0"),
|
141
141
|
FastlaneCore::ConfigItem.new(key: :mandatory,
|
142
142
|
env_name: "FL_HOCKEY_MANDATORY",
|
143
|
-
description: "Set to 1 to make this update mandatory",
|
143
|
+
description: "Set to \"1\" to make this update mandatory",
|
144
144
|
default_value: "0"),
|
145
145
|
FastlaneCore::ConfigItem.new(key: :teams,
|
146
146
|
env_name: "FL_HOCKEY_TEAMS",
|
@@ -4,6 +4,13 @@ module Fastlane
|
|
4
4
|
def self.run(params)
|
5
5
|
require 'fileutils'
|
6
6
|
|
7
|
+
unless params[:github].nil?
|
8
|
+
github_api_url = params[:github].sub('https://github.com', 'https://api.github.com/repos')
|
9
|
+
release = self.fetch_json(github_api_url + '/releases/latest')
|
10
|
+
return if release.nil?
|
11
|
+
params[:url] = release['assets'][0]['browser_download_url']
|
12
|
+
end
|
13
|
+
|
7
14
|
zip_path = File.join(Dir.tmpdir, 'plugin.zip')
|
8
15
|
sh "curl -Lso #{zip_path} #{params[:url]}"
|
9
16
|
plugins_path = "#{ENV['HOME']}/Library/Application Support/Developer/Shared/Xcode/Plug-ins"
|
@@ -14,6 +21,24 @@ module Fastlane
|
|
14
21
|
UI.message("Please restart Xcode to use the newly installed plugin")
|
15
22
|
end
|
16
23
|
|
24
|
+
def self.fetch_json(url)
|
25
|
+
require 'excon'
|
26
|
+
require 'json'
|
27
|
+
|
28
|
+
response = Excon.get(url)
|
29
|
+
|
30
|
+
if response[:status] != 200
|
31
|
+
if response[:status] == 404
|
32
|
+
UI.error("No latest release found for the specified GitHub repository")
|
33
|
+
else
|
34
|
+
UI.error("GitHub responded with #{response[:status]}:#{response[:body]}")
|
35
|
+
end
|
36
|
+
return nil
|
37
|
+
end
|
38
|
+
|
39
|
+
JSON.parse(response.body)
|
40
|
+
end
|
41
|
+
|
17
42
|
#####################################################
|
18
43
|
# @!group Documentation
|
19
44
|
#####################################################
|
@@ -30,6 +55,14 @@ module Fastlane
|
|
30
55
|
verify_block: proc do |value|
|
31
56
|
UI.user_error!("No URL for InstallXcodePluginAction given, pass using `url: 'url'`") if value.to_s.length == 0
|
32
57
|
UI.user_error!("URL doesn't use HTTPS") unless value.start_with?("https://")
|
58
|
+
end),
|
59
|
+
FastlaneCore::ConfigItem.new(key: :github,
|
60
|
+
env_name: "FL_XCODE_PLUGIN_GITHUB",
|
61
|
+
description: "GitHub repository URL for Xcode plugin",
|
62
|
+
optional: true,
|
63
|
+
verify_block: proc do |value|
|
64
|
+
UI.user_error!("No GitHub URL for InstallXcodePluginAction given, pass using `github: 'url'`") if value.to_s.length == 0
|
65
|
+
UI.user_error!("URL doesn't use HTTPS") unless value.start_with?("https://")
|
33
66
|
end)
|
34
67
|
]
|
35
68
|
end
|
@@ -13,8 +13,18 @@ module Fastlane
|
|
13
13
|
end
|
14
14
|
|
15
15
|
compile_commands = params[:compile_commands]
|
16
|
+
compile_commands_dir = params[:compile_commands]
|
16
17
|
UI.user_error!("Could not find json compilation database at path '#{compile_commands}'") unless File.exist?(compile_commands)
|
17
18
|
|
19
|
+
# We'll attempt to sort things out so that we support receiving either a path to a
|
20
|
+
# 'compile_commands.json' file (as our option asks for), or a path to a directory
|
21
|
+
# *containing* a 'compile_commands.json' file (as oclint actually wants)
|
22
|
+
if File.file?(compile_commands_dir)
|
23
|
+
compile_commands_dir = File.dirname(compile_commands_dir)
|
24
|
+
else
|
25
|
+
compile_commands = File.join(compile_commands_dir, 'compile_commands.json')
|
26
|
+
end
|
27
|
+
|
18
28
|
if params[:select_reqex]
|
19
29
|
UI.important("'select_reqex' paramter is deprecated. Please use 'select_regex' instead.")
|
20
30
|
select_regex = params[:select_reqex]
|
@@ -66,7 +76,7 @@ module Fastlane
|
|
66
76
|
oclint_args << "-enable-clang-static-analyzer" if params[:enable_clang_static_analyzer]
|
67
77
|
oclint_args << "-enable-global-analysis" if params[:enable_global_analysis]
|
68
78
|
oclint_args << "-allow-duplicated-violations" if params[:allow_duplicated_violations]
|
69
|
-
oclint_args << "-p #{
|
79
|
+
oclint_args << "-p #{compile_commands_dir.shellescape}"
|
70
80
|
|
71
81
|
command = [
|
72
82
|
command_prefix,
|
@@ -5,7 +5,7 @@ module Fastlane
|
|
5
5
|
|
6
6
|
class UpdateInfoPlistAction < Action
|
7
7
|
def self.run(params)
|
8
|
-
require '
|
8
|
+
require 'xcodeproj'
|
9
9
|
|
10
10
|
# Check if parameters are set
|
11
11
|
if params[:app_identifier] or params[:display_name] or params[:block]
|
@@ -17,10 +17,24 @@ module Fastlane
|
|
17
17
|
# Assign folder from parameter or search for xcodeproj file
|
18
18
|
folder = params[:xcodeproj] || Dir["*.xcodeproj"].first
|
19
19
|
|
20
|
+
if params[:scheme]
|
21
|
+
project = Xcodeproj::Project.open(folder)
|
22
|
+
scheme = project.native_targets.detect { |target| target.name == params[:scheme] }
|
23
|
+
UI.user_error!("Couldn't find scheme named '#{params[:scheme]}'") unless scheme
|
24
|
+
|
25
|
+
params[:plist_path] = scheme.build_configurations.first.build_settings["INFOPLIST_FILE"]
|
26
|
+
UI.user_error!("Scheme named '#{params[:scheme]}' doesn't have a plist file") unless params[:plist_path]
|
27
|
+
params[:plist_path] = params[:plist_path].gsub("$(SRCROOT)", ".")
|
28
|
+
end
|
29
|
+
|
30
|
+
if params[:plist_path].nil?
|
31
|
+
UI.user_error!("You must specify either a plist path or a scheme")
|
32
|
+
end
|
33
|
+
|
20
34
|
# Read existing plist file
|
21
35
|
info_plist_path = File.join(folder, "..", params[:plist_path])
|
22
36
|
UI.user_error!("Couldn't find info plist file at path '#{params[:plist_path]}'") unless File.exist?(info_plist_path)
|
23
|
-
plist = Plist.
|
37
|
+
plist = Xcodeproj::Plist.read_from_path(info_plist_path)
|
24
38
|
|
25
39
|
# Update plist values
|
26
40
|
plist['CFBundleIdentifier'] = params[:app_identifier] if params[:app_identifier]
|
@@ -28,11 +42,10 @@ module Fastlane
|
|
28
42
|
params[:block].call(plist) if params[:block]
|
29
43
|
|
30
44
|
# Write changes to file
|
31
|
-
|
32
|
-
File.write(info_plist_path, plist_string)
|
45
|
+
Xcodeproj::Plist.write_to_path(plist, info_plist_path)
|
33
46
|
|
34
47
|
UI.success("Updated #{params[:plist_path]} 💾.")
|
35
|
-
|
48
|
+
File.read(info_plist_path)
|
36
49
|
else
|
37
50
|
UI.important("You haven't specified any parameters to update your plist.")
|
38
51
|
false
|
@@ -65,9 +78,14 @@ module Fastlane
|
|
65
78
|
FastlaneCore::ConfigItem.new(key: :plist_path,
|
66
79
|
env_name: "FL_UPDATE_PLIST_PATH",
|
67
80
|
description: "Path to info plist",
|
81
|
+
optional: true,
|
68
82
|
verify_block: proc do |value|
|
69
83
|
UI.user_error!("Invalid plist file") unless value[-6..-1].casecmp(".plist").zero?
|
70
84
|
end),
|
85
|
+
FastlaneCore::ConfigItem.new(key: :scheme,
|
86
|
+
env_name: "FL_UPDATE_PLIST_APP_SCHEME",
|
87
|
+
description: "Scheme of info plist",
|
88
|
+
optional: true),
|
71
89
|
FastlaneCore::ConfigItem.new(key: :app_identifier,
|
72
90
|
env_name: 'FL_UPDATE_PLIST_APP_IDENTIFIER',
|
73
91
|
description: 'The App Identifier of your app',
|
@@ -22,5 +22,7 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.add_development_dependency 'pry'
|
23
23
|
spec.add_development_dependency 'bundler'
|
24
24
|
spec.add_development_dependency 'rspec'
|
25
|
+
spec.add_development_dependency 'rake'
|
26
|
+
spec.add_development_dependency 'rubocop'
|
25
27
|
spec.add_development_dependency 'fastlane', '>= <%= Fastlane::VERSION %>'
|
26
28
|
end
|
@@ -0,0 +1,299 @@
|
|
1
|
+
|
2
|
+
Style/ClassCheck:
|
3
|
+
EnforcedStyle: kind_of?
|
4
|
+
|
5
|
+
# Cop supports --auto-correct.
|
6
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
7
|
+
Style/BracesAroundHashParameters:
|
8
|
+
Enabled: false
|
9
|
+
|
10
|
+
Lint/UselessAssignment:
|
11
|
+
Exclude:
|
12
|
+
- '**/spec/**/*'
|
13
|
+
|
14
|
+
# Cop supports --auto-correct.
|
15
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
16
|
+
Style/IndentHash:
|
17
|
+
Enabled: false
|
18
|
+
|
19
|
+
Style/RaiseArgs:
|
20
|
+
EnforcedStyle: exploded
|
21
|
+
|
22
|
+
Style/DoubleNegation:
|
23
|
+
Enabled: false
|
24
|
+
|
25
|
+
Lint/HandleExceptions:
|
26
|
+
Enabled: false
|
27
|
+
|
28
|
+
# Cop supports --auto-correct.
|
29
|
+
Lint/UnusedBlockArgument:
|
30
|
+
Enabled: false
|
31
|
+
|
32
|
+
# Needed for $verbose
|
33
|
+
Style/GlobalVars:
|
34
|
+
Enabled: false
|
35
|
+
|
36
|
+
Style/FileName:
|
37
|
+
Enabled: false
|
38
|
+
|
39
|
+
# $? Exit
|
40
|
+
Style/SpecialGlobalVars:
|
41
|
+
Enabled: false
|
42
|
+
|
43
|
+
Style/RaiseArgs:
|
44
|
+
Enabled: false
|
45
|
+
|
46
|
+
Metrics/AbcSize:
|
47
|
+
Max: 63
|
48
|
+
Exclude:
|
49
|
+
- '**/lib/*/options.rb'
|
50
|
+
|
51
|
+
# Both string notations are okay
|
52
|
+
Style/StringLiterals:
|
53
|
+
Enabled: false
|
54
|
+
|
55
|
+
# The %w might be confusing for new users
|
56
|
+
Style/WordArray:
|
57
|
+
MinSize: 19
|
58
|
+
|
59
|
+
# Not a good thing
|
60
|
+
Style/RedundantSelf:
|
61
|
+
Enabled: false
|
62
|
+
|
63
|
+
# raise and fail are both okay
|
64
|
+
Style/SignalException:
|
65
|
+
Enabled: false
|
66
|
+
|
67
|
+
# Better too much 'return' than one missing
|
68
|
+
Style/RedundantReturn:
|
69
|
+
Enabled: false
|
70
|
+
|
71
|
+
# Having if in the same line might not always be good
|
72
|
+
Style/IfUnlessModifier:
|
73
|
+
Enabled: false
|
74
|
+
|
75
|
+
# That looks wrong
|
76
|
+
Style/AlignHash:
|
77
|
+
Enabled: false
|
78
|
+
|
79
|
+
# and and or is okay
|
80
|
+
Style/AndOr:
|
81
|
+
Enabled: false
|
82
|
+
|
83
|
+
# Configuration parameters: CountComments.
|
84
|
+
Metrics/ClassLength:
|
85
|
+
Max: 320
|
86
|
+
|
87
|
+
Metrics/CyclomaticComplexity:
|
88
|
+
Max: 17
|
89
|
+
|
90
|
+
# Configuration parameters: AllowURI, URISchemes.
|
91
|
+
Metrics/LineLength:
|
92
|
+
Max: 370
|
93
|
+
|
94
|
+
# Configuration parameters: CountKeywordArgs.
|
95
|
+
Metrics/ParameterLists:
|
96
|
+
Max: 17
|
97
|
+
|
98
|
+
Metrics/PerceivedComplexity:
|
99
|
+
Max: 18
|
100
|
+
|
101
|
+
Style/DotPosition:
|
102
|
+
Enabled: false
|
103
|
+
|
104
|
+
Style/GuardClause:
|
105
|
+
Enabled: false
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
# Split
|
110
|
+
|
111
|
+
|
112
|
+
# e.g.
|
113
|
+
# def self.is_supported?(platform)
|
114
|
+
# we may never use `platform`
|
115
|
+
Lint/UnusedMethodArgument:
|
116
|
+
Enabled: false
|
117
|
+
|
118
|
+
# the let(:key) { ... }
|
119
|
+
Lint/ParenthesesAsGroupedExpression:
|
120
|
+
Exclude:
|
121
|
+
- '**/spec/**/*'
|
122
|
+
|
123
|
+
# We use `is_supported?` everywhere already
|
124
|
+
Style/PredicateName:
|
125
|
+
Enabled: false
|
126
|
+
|
127
|
+
# Disable '+ should be surrounded with a single space' for xcodebuild_spec.rb
|
128
|
+
Style/SpaceAroundOperators:
|
129
|
+
Exclude:
|
130
|
+
- '**/spec/actions_specs/xcodebuild_spec.rb'
|
131
|
+
|
132
|
+
Metrics/MethodLength:
|
133
|
+
Exclude:
|
134
|
+
- '**/lib/fastlane/actions/*.rb'
|
135
|
+
- '**/bin/fastlane'
|
136
|
+
- '**/lib/*/options.rb'
|
137
|
+
- '**/bin/sigh'
|
138
|
+
Max: 60
|
139
|
+
|
140
|
+
AllCops:
|
141
|
+
Include:
|
142
|
+
- '**/fastlane/Fastfile'
|
143
|
+
Exclude:
|
144
|
+
- '**/lib/assets/custom_action_template.rb'
|
145
|
+
|
146
|
+
##################
|
147
|
+
# TODO
|
148
|
+
##################
|
149
|
+
|
150
|
+
# Offense count: 7
|
151
|
+
# Configuration parameters: CountComments.
|
152
|
+
Metrics/ClassLength:
|
153
|
+
Max: 320
|
154
|
+
|
155
|
+
# Offense count: 4
|
156
|
+
Metrics/CyclomaticComplexity:
|
157
|
+
Max: 17
|
158
|
+
|
159
|
+
# Offense count: 489
|
160
|
+
# Configuration parameters: AllowURI, URISchemes.
|
161
|
+
Metrics/LineLength:
|
162
|
+
Max: 372
|
163
|
+
|
164
|
+
# Offense count: 5
|
165
|
+
# Configuration parameters: CountKeywordArgs.
|
166
|
+
Metrics/ParameterLists:
|
167
|
+
Max: 17
|
168
|
+
|
169
|
+
# Offense count: 3
|
170
|
+
Metrics/PerceivedComplexity:
|
171
|
+
Max: 18
|
172
|
+
|
173
|
+
# Offense count: 1
|
174
|
+
# Cop supports --auto-correct.
|
175
|
+
Style/Alias:
|
176
|
+
Enabled: false
|
177
|
+
|
178
|
+
# Offense count: 14
|
179
|
+
# Cop supports --auto-correct.
|
180
|
+
# Configuration parameters: EnforcedHashRocketStyle, EnforcedColonStyle, EnforcedLastArgumentHashStyle, SupportedLastArgumentHashStyles.
|
181
|
+
Style/AlignHash:
|
182
|
+
Enabled: false
|
183
|
+
|
184
|
+
# Offense count: 22
|
185
|
+
# Cop supports --auto-correct.
|
186
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
187
|
+
Style/AndOr:
|
188
|
+
Enabled: false
|
189
|
+
|
190
|
+
# Offense count: 1
|
191
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
192
|
+
Style/ClassAndModuleChildren:
|
193
|
+
Enabled: false
|
194
|
+
|
195
|
+
# Offense count: 19
|
196
|
+
Style/Documentation:
|
197
|
+
Enabled: false
|
198
|
+
|
199
|
+
# Offense count: 112
|
200
|
+
# Cop supports --auto-correct.
|
201
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
202
|
+
Style/DotPosition:
|
203
|
+
Enabled: false
|
204
|
+
|
205
|
+
# Offense count: 12
|
206
|
+
# Cop supports --auto-correct.
|
207
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
208
|
+
Style/EmptyLinesAroundClassBody:
|
209
|
+
Enabled: false
|
210
|
+
|
211
|
+
# Configuration parameters: MinBodyLength.
|
212
|
+
Style/GuardClause:
|
213
|
+
Enabled: false
|
214
|
+
|
215
|
+
# Offense count: 4
|
216
|
+
# Cop supports --auto-correct.
|
217
|
+
# Configuration parameters: MaxLineLength.
|
218
|
+
Style/IfUnlessModifier:
|
219
|
+
Enabled: false
|
220
|
+
|
221
|
+
# Offense count: 74
|
222
|
+
# Cop supports --auto-correct.
|
223
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
224
|
+
Style/MultilineOperationIndentation:
|
225
|
+
Enabled: false
|
226
|
+
|
227
|
+
# Offense count: 10
|
228
|
+
# Cop supports --auto-correct.
|
229
|
+
Style/NumericLiterals:
|
230
|
+
MinDigits: 14
|
231
|
+
|
232
|
+
# Offense count: 2
|
233
|
+
# Cop supports --auto-correct.
|
234
|
+
Style/PerlBackrefs:
|
235
|
+
Enabled: false
|
236
|
+
|
237
|
+
# Offense count: 19
|
238
|
+
# Cop supports --auto-correct.
|
239
|
+
# Configuration parameters: AllowMultipleReturnValues.
|
240
|
+
Style/RedundantReturn:
|
241
|
+
Enabled: false
|
242
|
+
|
243
|
+
# Offense count: 77
|
244
|
+
# Cop supports --auto-correct.
|
245
|
+
Style/RedundantSelf:
|
246
|
+
Enabled: false
|
247
|
+
|
248
|
+
# Offense count: 38
|
249
|
+
# Cop supports --auto-correct.
|
250
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
251
|
+
Style/SignalException:
|
252
|
+
Enabled: false
|
253
|
+
|
254
|
+
# Offense count: 5
|
255
|
+
# Cop supports --auto-correct.
|
256
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles, EnforcedStyleForEmptyBraces, SpaceBeforeBlockParameters.
|
257
|
+
Style/SpaceInsideBlockBraces:
|
258
|
+
Enabled: false
|
259
|
+
|
260
|
+
# Offense count: 291
|
261
|
+
# Cop supports --auto-correct.
|
262
|
+
# Configuration parameters: EnforcedStyle, EnforcedStyleForEmptyBraces, SupportedStyles.
|
263
|
+
Style/SpaceInsideHashLiteralBraces:
|
264
|
+
Enabled: false
|
265
|
+
|
266
|
+
# Offense count: 8
|
267
|
+
# Cop supports --auto-correct.
|
268
|
+
Style/SpaceInsideParens:
|
269
|
+
Enabled: false
|
270
|
+
|
271
|
+
# Offense count: 881
|
272
|
+
# Cop supports --auto-correct.
|
273
|
+
# Configuration parameters: EnforcedStyle, SupportedStyles.
|
274
|
+
Style/StringLiterals:
|
275
|
+
Enabled: false
|
276
|
+
|
277
|
+
# Offense count: 9
|
278
|
+
# Cop supports --auto-correct.
|
279
|
+
# Configuration parameters: WordRegex.
|
280
|
+
Style/WordArray:
|
281
|
+
MinSize: 19
|
282
|
+
|
283
|
+
# Added after upgrade to 0.38.0
|
284
|
+
|
285
|
+
Style/MutableConstant:
|
286
|
+
Enabled: false
|
287
|
+
|
288
|
+
# length > 0 is good
|
289
|
+
Style/ZeroLengthPredicate:
|
290
|
+
Enabled: false
|
291
|
+
|
292
|
+
Style/ConditionalAssignment:
|
293
|
+
Enabled: false
|
294
|
+
|
295
|
+
Style/SpaceAroundKeyword:
|
296
|
+
Enabled: false
|
297
|
+
|
298
|
+
Style/IfInsideElse:
|
299
|
+
Enabled: false
|
@@ -1,10 +1,10 @@
|
|
1
|
-
# <%=
|
1
|
+
# <%= plugin_name %> plugin
|
2
2
|
|
3
3
|
[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/<%= gem_name %>)
|
4
4
|
|
5
5
|
## Getting Started
|
6
6
|
|
7
|
-
This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To get started with
|
7
|
+
This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To get started with `<%= gem_name %>`, add it to your project by running:
|
8
8
|
|
9
9
|
```bash
|
10
10
|
fastlane add_plugin <%= plugin_name %>
|
@@ -14,24 +14,39 @@ fastlane add_plugin <%= plugin_name %>
|
|
14
14
|
|
15
15
|
<%= summary %>
|
16
16
|
|
17
|
+
**Note to author:** Add a more detailed description about this plugin here. If your plugin contains multiple actions, make sure to mention them here.
|
18
|
+
|
17
19
|
## Example
|
18
20
|
|
19
21
|
Check out the [example `Fastfile`](fastlane/Fastfile) to see how to use this plugin. Try it by cloning the repo, running `fastlane install_plugins` and `bundle exec fastlane test`.
|
20
22
|
|
21
23
|
**Note to author:** Please set up a sample project to make it easy for users to explore what your plugin does. Provide everything that is necessary to try out the plugin in this project (including a sample Xcode/Android project if necessary)
|
22
24
|
|
25
|
+
## Run tests for this plugin
|
26
|
+
|
27
|
+
To run both the tests, and code style validation, run
|
28
|
+
|
29
|
+
````
|
30
|
+
rake
|
31
|
+
```
|
32
|
+
|
33
|
+
To automatically fix many of the styling issues, use
|
34
|
+
```
|
35
|
+
rubocop -a
|
36
|
+
```
|
37
|
+
|
23
38
|
## Issues and Feedback
|
24
39
|
|
25
40
|
For any other issues and feedback about this plugin, please submit it to this repository.
|
26
41
|
|
27
42
|
## Troubleshooting
|
28
43
|
|
29
|
-
|
44
|
+
If you have trouble using plugins, check out the [Plugins Troubleshooting](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/PluginsTroubleshooting.md) doc in the main `fastlane` repo.
|
30
45
|
|
31
46
|
## Using `fastlane` Plugins
|
32
47
|
|
33
|
-
For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Plugins.md)
|
48
|
+
For more information about how the `fastlane` plugin system works, check out the [Plugins documentation](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Plugins.md).
|
34
49
|
|
35
50
|
## About `fastlane`
|
36
51
|
|
37
|
-
`fastlane`
|
52
|
+
`fastlane` is the easiest way to automate building and releasing your iOS and Android apps. To learn more, check out [fastlane.tools](https://fastlane.tools).
|
data/lib/fastlane/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.94.0
|
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-06-
|
11
|
+
date: 2016-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: krausefx-shenzhen
|
@@ -176,7 +176,7 @@ dependencies:
|
|
176
176
|
requirements:
|
177
177
|
- - ">="
|
178
178
|
- !ruby/object:Gem::Version
|
179
|
-
version: 0.46.
|
179
|
+
version: 0.46.2
|
180
180
|
- - "<"
|
181
181
|
- !ruby/object:Gem::Version
|
182
182
|
version: 1.0.0
|
@@ -186,7 +186,7 @@ dependencies:
|
|
186
186
|
requirements:
|
187
187
|
- - ">="
|
188
188
|
- !ruby/object:Gem::Version
|
189
|
-
version: 0.46.
|
189
|
+
version: 0.46.2
|
190
190
|
- - "<"
|
191
191
|
- !ruby/object:Gem::Version
|
192
192
|
version: 1.0.0
|
@@ -250,7 +250,7 @@ dependencies:
|
|
250
250
|
requirements:
|
251
251
|
- - ">="
|
252
252
|
- !ruby/object:Gem::Version
|
253
|
-
version: 1.
|
253
|
+
version: 1.13.1
|
254
254
|
- - "<"
|
255
255
|
- !ruby/object:Gem::Version
|
256
256
|
version: 2.0.0
|
@@ -260,7 +260,7 @@ dependencies:
|
|
260
260
|
requirements:
|
261
261
|
- - ">="
|
262
262
|
- !ruby/object:Gem::Version
|
263
|
-
version: 1.
|
263
|
+
version: 1.13.1
|
264
264
|
- - "<"
|
265
265
|
- !ruby/object:Gem::Version
|
266
266
|
version: 2.0.0
|
@@ -410,7 +410,7 @@ dependencies:
|
|
410
410
|
requirements:
|
411
411
|
- - ">="
|
412
412
|
- !ruby/object:Gem::Version
|
413
|
-
version: 1.
|
413
|
+
version: 1.9.1
|
414
414
|
- - "<"
|
415
415
|
- !ruby/object:Gem::Version
|
416
416
|
version: 2.0.0
|
@@ -420,7 +420,7 @@ dependencies:
|
|
420
420
|
requirements:
|
421
421
|
- - ">="
|
422
422
|
- !ruby/object:Gem::Version
|
423
|
-
version: 1.
|
423
|
+
version: 1.9.1
|
424
424
|
- - "<"
|
425
425
|
- !ruby/object:Gem::Version
|
426
426
|
version: 2.0.0
|
@@ -450,7 +450,7 @@ dependencies:
|
|
450
450
|
requirements:
|
451
451
|
- - ">="
|
452
452
|
- !ruby/object:Gem::Version
|
453
|
-
version: 0.
|
453
|
+
version: 0.8.0
|
454
454
|
- - "<"
|
455
455
|
- !ruby/object:Gem::Version
|
456
456
|
version: 1.0.0
|
@@ -460,7 +460,7 @@ dependencies:
|
|
460
460
|
requirements:
|
461
461
|
- - ">="
|
462
462
|
- !ruby/object:Gem::Version
|
463
|
-
version: 0.
|
463
|
+
version: 0.8.0
|
464
464
|
- - "<"
|
465
465
|
- !ruby/object:Gem::Version
|
466
466
|
version: 1.0.0
|
@@ -672,6 +672,7 @@ files:
|
|
672
672
|
- README.md
|
673
673
|
- bin/fastlane
|
674
674
|
- "bin/\U0001F680"
|
675
|
+
- lib/.DS_Store
|
675
676
|
- lib/assets/AppfileTemplate
|
676
677
|
- lib/assets/AppfileTemplateAndroid
|
677
678
|
- lib/assets/AvailablePlugins.md.erb
|
@@ -687,8 +688,10 @@ files:
|
|
687
688
|
- lib/assets/s3_plist_template.erb
|
688
689
|
- lib/assets/s3_version_template.erb
|
689
690
|
- lib/fastlane.rb
|
691
|
+
- lib/fastlane/.DS_Store
|
690
692
|
- lib/fastlane/action.rb
|
691
693
|
- lib/fastlane/action_collector.rb
|
694
|
+
- lib/fastlane/actions/.DS_Store
|
692
695
|
- lib/fastlane/actions/README.md
|
693
696
|
- lib/fastlane/actions/actions_helper.rb
|
694
697
|
- lib/fastlane/actions/adb.rb
|
@@ -906,6 +909,9 @@ files:
|
|
906
909
|
- lib/fastlane/plugins/plugin_search.rb
|
907
910
|
- lib/fastlane/plugins/plugins.rb
|
908
911
|
- lib/fastlane/plugins/template/%gem_name%.gemspec.erb
|
912
|
+
- lib/fastlane/plugins/template/.gitignore
|
913
|
+
- lib/fastlane/plugins/template/.rspec
|
914
|
+
- lib/fastlane/plugins/template/.rubocop.yml
|
909
915
|
- lib/fastlane/plugins/template/Gemfile
|
910
916
|
- lib/fastlane/plugins/template/LICENSE.erb
|
911
917
|
- lib/fastlane/plugins/template/README.md.erb
|