fastlane 1.92.0.beta2 → 1.92.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -2
- data/lib/fastlane.rb +0 -1
- data/lib/fastlane/action_collector.rb +2 -34
- data/lib/fastlane/actions/actions_helper.rb +0 -4
- data/lib/fastlane/actions/appium.rb +1 -1
- data/lib/fastlane/actions/changelog_from_git_commits.rb +4 -0
- data/lib/fastlane/actions/copy_artifacts.rb +26 -14
- data/lib/fastlane/actions/gradle.rb +1 -1
- data/lib/fastlane/actions/increment_build_number.rb +1 -1
- data/lib/fastlane/actions/increment_version_number.rb +1 -1
- data/lib/fastlane/actions/jira.rb +1 -1
- data/lib/fastlane/actions/onesignal.rb +1 -1
- data/lib/fastlane/actions/pod_lib_lint.rb +22 -1
- data/lib/fastlane/actions/push_to_git_remote.rb +1 -1
- data/lib/fastlane/actions/slather.rb +49 -21
- data/lib/fastlane/actions/upload_symbols_to_sentry.rb +1 -0
- data/lib/fastlane/actions/xcake.rb +35 -0
- data/lib/fastlane/commands_generator.rb +11 -62
- data/lib/fastlane/lane_manager.rb +2 -6
- data/lib/fastlane/one_off.rb +1 -7
- data/lib/fastlane/runner.rb +12 -34
- data/lib/fastlane/version.rb +1 -1
- metadata +32 -83
- data/lib/assets/Plugins.md.erb +0 -8
- data/lib/fastlane/plugins/plugin_fetcher.rb +0 -59
- data/lib/fastlane/plugins/plugin_generator.rb +0 -109
- data/lib/fastlane/plugins/plugin_generator_ui.rb +0 -19
- data/lib/fastlane/plugins/plugin_info.rb +0 -47
- data/lib/fastlane/plugins/plugin_info_collector.rb +0 -120
- data/lib/fastlane/plugins/plugin_manager.rb +0 -333
- data/lib/fastlane/plugins/plugin_search.rb +0 -46
- data/lib/fastlane/plugins/plugins.rb +0 -7
- data/lib/fastlane/plugins/templates/Gemfile.erb +0 -3
- data/lib/fastlane/plugins/templates/LICENSE.erb +0 -21
- data/lib/fastlane/plugins/templates/README.md.erb +0 -31
- data/lib/fastlane/plugins/templates/Rakefile.erb +0 -1
- data/lib/fastlane/plugins/templates/action.rb.erb +0 -35
- data/lib/fastlane/plugins/templates/action_spec.rb.erb +0 -9
- data/lib/fastlane/plugins/templates/assets/fastlane_logo.png +0 -0
- data/lib/fastlane/plugins/templates/assets/plugin-badge.svg +0 -1
- data/lib/fastlane/plugins/templates/dot_gitignore.erb +0 -8
- data/lib/fastlane/plugins/templates/dot_rspec.erb +0 -3
- data/lib/fastlane/plugins/templates/helper.rb.erb +0 -12
- data/lib/fastlane/plugins/templates/plugin.gemspec.erb +0 -26
- data/lib/fastlane/plugins/templates/plugin.rb.erb +0 -16
- data/lib/fastlane/plugins/templates/spec_helper.rb.erb +0 -8
- data/lib/fastlane/plugins/templates/version.rb.erb +0 -5
@@ -1,46 +0,0 @@
|
|
1
|
-
module Fastlane
|
2
|
-
class PluginSearch
|
3
|
-
require 'word_wrap'
|
4
|
-
|
5
|
-
def self.print_plugins(search_query: nil)
|
6
|
-
if search_query
|
7
|
-
UI.message "Looking for fastlane plugins containing '#{search_query}'..."
|
8
|
-
else
|
9
|
-
UI.message "Listing all available fastlane plugins"
|
10
|
-
end
|
11
|
-
|
12
|
-
plugins = Fastlane::PluginFetcher.fetch_gems(search_query: search_query)
|
13
|
-
|
14
|
-
if plugins.empty?
|
15
|
-
UI.user_error!("Couldn't find any available fastlane plugins containing '#{search_query}'")
|
16
|
-
end
|
17
|
-
|
18
|
-
rows = plugins.collect do |current|
|
19
|
-
[
|
20
|
-
current.name.green,
|
21
|
-
WordWrap.ww(current.info, 50),
|
22
|
-
current.downloads
|
23
|
-
]
|
24
|
-
end
|
25
|
-
|
26
|
-
params = {
|
27
|
-
rows: rows,
|
28
|
-
title: (search_query ? "fastlane plugins '#{search_query}'" : "Available fastlane plugins").green,
|
29
|
-
headings: ["Name", "Description", "Downloads"]
|
30
|
-
}
|
31
|
-
params[:rows] = rows
|
32
|
-
|
33
|
-
puts ""
|
34
|
-
puts Terminal::Table.new(params)
|
35
|
-
puts ""
|
36
|
-
|
37
|
-
if plugins.count == 1
|
38
|
-
print_plugin_details(plugins.last)
|
39
|
-
end
|
40
|
-
end
|
41
|
-
|
42
|
-
def self.print_plugin_details(plugin)
|
43
|
-
UI.message("You can find more information for #{plugin.name} on #{plugin.homepage.green}")
|
44
|
-
end
|
45
|
-
end
|
46
|
-
end
|
@@ -1,7 +0,0 @@
|
|
1
|
-
require 'fastlane/plugins/plugin_info'
|
2
|
-
require 'fastlane/plugins/plugin_generator'
|
3
|
-
require 'fastlane/plugins/plugin_generator_ui'
|
4
|
-
require 'fastlane/plugins/plugin_info_collector'
|
5
|
-
require 'fastlane/plugins/plugin_manager'
|
6
|
-
require 'fastlane/plugins/plugin_search'
|
7
|
-
require 'fastlane/plugins/plugin_fetcher'
|
@@ -1,21 +0,0 @@
|
|
1
|
-
The MIT License (MIT)
|
2
|
-
|
3
|
-
Copyright (c) <%= Time.now.year %> <%= author %> <<%= email %>>
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|
@@ -1,31 +0,0 @@
|
|
1
|
-
# <%= gem_name %> `fastlane` Plugin
|
2
|
-
|
3
|
-
[![Gem](assets/plugin-badge.svg)](https://rubygems.org/gems/<%= plugin_name %>)
|
4
|
-
|
5
|
-
## Getting Started
|
6
|
-
|
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
|
-
|
9
|
-
```bash
|
10
|
-
fastlane add_plugin <%= plugin_name %>
|
11
|
-
```
|
12
|
-
|
13
|
-
## About <%= plugin_name %>
|
14
|
-
|
15
|
-
<%= summary %>
|
16
|
-
|
17
|
-
## Issues and Feedback
|
18
|
-
|
19
|
-
For any other issues and feedback about this plugin, please submit it to this repository.
|
20
|
-
|
21
|
-
## Troubleshooting
|
22
|
-
|
23
|
-
For some , check out the [Plugins Troubleshooting](https://github.com/fastlane/fastlane/blob/master/fastlane/docs/PluginsTroubleshooting.md) doc in the main `fastlane` repo.
|
24
|
-
|
25
|
-
## Using `fastlane` Plugins
|
26
|
-
|
27
|
-
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) in the main `fastlane` repo.
|
28
|
-
|
29
|
-
## About `fastlane`
|
30
|
-
|
31
|
-
`fastlane` automates building, testing, and releasing your app for beta and app store distributions. To learn more about `fastlane`, check out [fastlane.tools](https://fastlane.tools).
|
@@ -1 +0,0 @@
|
|
1
|
-
require 'bundler/gem_tasks'
|
@@ -1,35 +0,0 @@
|
|
1
|
-
module Fastlane
|
2
|
-
module Actions
|
3
|
-
class <%= plugin_name.fastlane_class %>Action < Action
|
4
|
-
def self.run(params)
|
5
|
-
UI.message("The <%= plugin_name %> plugin is working!")
|
6
|
-
end
|
7
|
-
|
8
|
-
def self.description
|
9
|
-
%q{<%= summary %>}
|
10
|
-
end
|
11
|
-
|
12
|
-
def self.authors
|
13
|
-
[%q{<%= author %>}]
|
14
|
-
end
|
15
|
-
|
16
|
-
def self.available_options
|
17
|
-
[
|
18
|
-
# FastlaneCore::ConfigItem.new(key: :your_option,
|
19
|
-
# env_name: "<%= plugin_name.upcase %>_YOUR_OPTION",
|
20
|
-
# description: "A description of your option",
|
21
|
-
# optional: false,
|
22
|
-
# type: String)
|
23
|
-
]
|
24
|
-
end
|
25
|
-
|
26
|
-
def self.is_supported?(platform)
|
27
|
-
# Adjust this if your plugin only works for a particular platform (iOS vs. Android, for example)
|
28
|
-
# See: https://github.com/fastlane/fastlane/blob/master/fastlane/docs/Platforms.md
|
29
|
-
#
|
30
|
-
# [:ios, :mac, :android].include?(platform)
|
31
|
-
true
|
32
|
-
end
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
@@ -1,9 +0,0 @@
|
|
1
|
-
describe Fastlane::Actions::<%= plugin_name.fastlane_class %>Action do
|
2
|
-
describe '#run' do
|
3
|
-
it 'prints a message' do
|
4
|
-
expect(Fastlane::UI).to receive(:message).with("The <%= plugin_name %> plugin is working!")
|
5
|
-
|
6
|
-
Fastlane::Actions::<%= plugin_name.fastlane_class %>Action.run(nil)
|
7
|
-
end
|
8
|
-
end
|
9
|
-
end
|
Binary file
|
@@ -1 +0,0 @@
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="140" height="20"><linearGradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><mask id="a"><rect width="140" height="20" rx="3" fill="#fff"/></mask><g mask="url(#a)"><path fill="#555" d="M0 0h70v20H0z"/><path fill="#97CA00" d="M70 0h59v20H70z"/><path fill="url(#b)" d="M0 0h140020H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"><image xlink:href="./fastlane_logo.png" x="5px" y="2.5px" height="15px" width="15px"/><text x="46.5" y="15" fill="#010101" fill-opacity=".3">Plugin</text><text x="46.5" y="14">Plugin</text><text x="101.5" y="15" fill="#010101" fill-opacity=".3">Avaliable</text><text x="101.5" y="14">Avaliable</text></g></svg>
|
@@ -1,12 +0,0 @@
|
|
1
|
-
module Fastlane
|
2
|
-
module Helper
|
3
|
-
class <%= plugin_name.fastlane_class %>Helper
|
4
|
-
# class methods that you define here become available in your action
|
5
|
-
# as `Helper::<%= plugin_name.fastlane_class %>Helper.your_method`
|
6
|
-
#
|
7
|
-
def self.show_message
|
8
|
-
UI.message("Hello from the <%= plugin_name %> plugin helper!")
|
9
|
-
end
|
10
|
-
end
|
11
|
-
end
|
12
|
-
end
|
@@ -1,26 +0,0 @@
|
|
1
|
-
# coding: utf-8
|
2
|
-
lib = File.expand_path("../lib", __FILE__)
|
3
|
-
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
4
|
-
require '<%= require_path %>/version'
|
5
|
-
|
6
|
-
Gem::Specification.new do |spec|
|
7
|
-
spec.name = '<%= gem_name %>'
|
8
|
-
spec.version = Fastlane::<%= plugin_name.fastlane_class %>::VERSION
|
9
|
-
spec.author = %q{<%= author %>}
|
10
|
-
spec.email = %q{<%= email %>}
|
11
|
-
|
12
|
-
spec.summary = %q{<%= summary %>}
|
13
|
-
spec.homepage = "https://github.com/<GITHUB_USERNAME>/<%= gem_name %>"
|
14
|
-
spec.license = "MIT"
|
15
|
-
|
16
|
-
spec.files = Dir["lib/**/*"] + %w(README.md LICENSE)
|
17
|
-
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
18
|
-
spec.require_paths = ['lib']
|
19
|
-
|
20
|
-
# spec.add_dependency 'your-dependency', '~> 1.0.0'
|
21
|
-
|
22
|
-
spec.add_development_dependency 'pry'
|
23
|
-
spec.add_development_dependency 'bundler'
|
24
|
-
spec.add_development_dependency 'rspec'
|
25
|
-
spec.add_development_dependency 'fastlane', '>= <%= Fastlane::VERSION %>'
|
26
|
-
end
|
@@ -1,16 +0,0 @@
|
|
1
|
-
require '<%= require_path %>/version'
|
2
|
-
|
3
|
-
module Fastlane
|
4
|
-
module <%= plugin_name.fastlane_class %>
|
5
|
-
# Return all .rb files inside the "actions" and "helper" directory
|
6
|
-
def self.all_classes
|
7
|
-
Dir[File.expand_path('**/{actions,helper}/*.rb', File.dirname(__FILE__))]
|
8
|
-
end
|
9
|
-
end
|
10
|
-
end
|
11
|
-
|
12
|
-
# By default we want to import all available actions and helpers
|
13
|
-
# A plugin can contain any number of actions and plugins
|
14
|
-
Fastlane::<%= plugin_name.fastlane_class %>.all_classes.each do |current|
|
15
|
-
require current
|
16
|
-
end
|
@@ -1,8 +0,0 @@
|
|
1
|
-
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
|
2
|
-
|
3
|
-
# This module is only used to check the environment is currently a testing env
|
4
|
-
module SpecHelper
|
5
|
-
end
|
6
|
-
|
7
|
-
require 'fastlane' # to import the Action super class
|
8
|
-
require '<%= require_path %>' # import the actual plugin
|