fastlane-plugin-ci_changelog 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +54 -0
- data/lib/fastlane/plugin/ci_changelog.rb +16 -0
- data/lib/fastlane/plugin/ci_changelog/actions/ci_changelog_action.rb +224 -0
- data/lib/fastlane/plugin/ci_changelog/helper/ci_changelog_helper.rb +98 -0
- data/lib/fastlane/plugin/ci_changelog/version.rb +5 -0
- metadata +176 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 95272b437c9ae47e6a89df01015e26ec68130ada
|
4
|
+
data.tar.gz: 8ba9ab57641347793a0d4eed606f084bb661c6b8
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: b37c8b5c47b5b37a4d03a23b7946e058fc7e6f88822481f6d5b29590321401b0541a103e254aacfe7b59e89755619ce8978d7848e8acf020e13008e2c2312f02
|
7
|
+
data.tar.gz: 4b4bca65f6b3028e82c1f1567223c826c33f6a7323c20fc9a1a3569f34611b9c6d8ce3a602a06929bb55dc4d943d99cc55056e16c7706b2a9c0bd25d9db2cf46
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 icyleaf <icyleaf.cn@gmail.com>
|
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.
|
data/README.md
ADDED
@@ -0,0 +1,54 @@
|
|
1
|
+
# ci_changelog plugin
|
2
|
+
|
3
|
+
[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-ci_changelog)
|
4
|
+
|
5
|
+
## Getting Started
|
6
|
+
|
7
|
+
This project is a [fastlane](https://github.com/fastlane/fastlane) plugin. To get started with `fastlane-plugin-ci_changelog`, add it to your project by running:
|
8
|
+
|
9
|
+
```bash
|
10
|
+
fastlane add_plugin ci_changelog
|
11
|
+
```
|
12
|
+
|
13
|
+
## About ci_changelog
|
14
|
+
|
15
|
+
Automate generate changelog between previous and the latest commit of scm during the ci system
|
16
|
+
|
17
|
+
### Available CI system:
|
18
|
+
|
19
|
+
- [x] Jenkins
|
20
|
+
- [x] Gitlab CI
|
21
|
+
- [ ] Travis CI
|
22
|
+
|
23
|
+
## Example
|
24
|
+
|
25
|
+
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`.
|
26
|
+
|
27
|
+
## Run tests for this plugin
|
28
|
+
|
29
|
+
To run both the tests, and code style validation, run
|
30
|
+
|
31
|
+
```
|
32
|
+
rake
|
33
|
+
```
|
34
|
+
|
35
|
+
To automatically fix many of the styling issues, use
|
36
|
+
```
|
37
|
+
rubocop -a
|
38
|
+
```
|
39
|
+
|
40
|
+
## Issues and Feedback
|
41
|
+
|
42
|
+
For any other issues and feedback about this plugin, please submit it to this repository.
|
43
|
+
|
44
|
+
## Troubleshooting
|
45
|
+
|
46
|
+
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.
|
47
|
+
|
48
|
+
## Using `fastlane` Plugins
|
49
|
+
|
50
|
+
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).
|
51
|
+
|
52
|
+
## About `fastlane`
|
53
|
+
|
54
|
+
`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).
|
@@ -0,0 +1,16 @@
|
|
1
|
+
require 'fastlane/plugin/ci_changelog/version'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module CiChangelog
|
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::CiChangelog.all_classes.each do |current|
|
15
|
+
require current
|
16
|
+
end
|
@@ -0,0 +1,224 @@
|
|
1
|
+
require 'rest-client'
|
2
|
+
require 'uri'
|
3
|
+
|
4
|
+
module Fastlane
|
5
|
+
module Actions
|
6
|
+
module SharedValues
|
7
|
+
CICL_CI = :CICL_CI
|
8
|
+
CICL_PROJECT_URL = :CICL_PROJECT_URL
|
9
|
+
CICL_BRANCH = :CICL_BRANCH
|
10
|
+
CICL_COMMIT = :CICL_COMMIT
|
11
|
+
CICL_CHANGELOG = :CICL_CHANGELOG
|
12
|
+
end
|
13
|
+
|
14
|
+
module CICLType
|
15
|
+
JENKINS = 'Jenkins'
|
16
|
+
GITLAB_CI = 'Gitlab CI'
|
17
|
+
TRAVIS_CI = 'Travis CI'
|
18
|
+
UNKOWEN = 'unkown'
|
19
|
+
end
|
20
|
+
|
21
|
+
class CiChangelogAction < Action
|
22
|
+
def self.run(params)
|
23
|
+
return UI.message('No detect CI environment') unless FastlaneCore::Helper.is_ci?
|
24
|
+
|
25
|
+
@params = params
|
26
|
+
if Helper::CiChangelogHelper.jenkins?
|
27
|
+
UI.message('detected: jenkins')
|
28
|
+
Helper::CiChangelogHelper.determine_jenkins_options!(params)
|
29
|
+
fetch_jenkins_changelog!
|
30
|
+
fetch_jenkins_env!
|
31
|
+
elsif Helper::CiChangelogHelper.gitlab?
|
32
|
+
UI.message('detected: gitlab ci')
|
33
|
+
Helper::CiChangelogHelper.determine_gitlab_options!(params)
|
34
|
+
fetch_gitlab_changelog!
|
35
|
+
fetch_gitlab_env!
|
36
|
+
else
|
37
|
+
Helper::CiChangelogHelper.store_sharedvalue(SharedValues::CICL_CI, CICLType::UNKOWEN)
|
38
|
+
UI.message('Sorry, No found CI variable, maybe not support yet, available is Jenkins/Gitlab CI')
|
39
|
+
end
|
40
|
+
|
41
|
+
print_table! unless params[:silent]
|
42
|
+
end
|
43
|
+
|
44
|
+
def self.print_table!
|
45
|
+
changelog =
|
46
|
+
if !Actions.lane_context[SharedValues::CICL_CHANGELOG].nil? or !Actions.lane_context[SharedValues::CICL_CHANGELOG].empty?
|
47
|
+
JSON.parse(Actions.lane_context[SharedValues::CICL_CHANGELOG]).each_with_object([]) do |commit, obj|
|
48
|
+
obj << commit.collect { |k, v| "#{k}: #{v}" }.join("\n")
|
49
|
+
end.join("\n\n")
|
50
|
+
else
|
51
|
+
'No found'
|
52
|
+
end
|
53
|
+
|
54
|
+
params = {
|
55
|
+
title: "Summary for ci_changelog #{CiChangelog::VERSION}".green,
|
56
|
+
rows: {
|
57
|
+
ci: Actions.lane_context[SharedValues::CICL_CI],
|
58
|
+
project_url: Actions.lane_context[SharedValues::CICL_PROJECT_URL],
|
59
|
+
branch: Actions.lane_context[SharedValues::CICL_BRANCH],
|
60
|
+
commit: Actions.lane_context[SharedValues::CICL_COMMIT],
|
61
|
+
changelog: changelog
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
puts ""
|
66
|
+
puts Terminal::Table.new(params)
|
67
|
+
puts ""
|
68
|
+
end
|
69
|
+
|
70
|
+
def self.fetch_jenkins_changelog!
|
71
|
+
commits = []
|
72
|
+
loop_count = 1
|
73
|
+
fetch_correct_changelog = false
|
74
|
+
|
75
|
+
build_number = ENV['BUILD_NUMBER'].to_i
|
76
|
+
loop do
|
77
|
+
build_url = "#{ENV['JOB_URL']}/#{build_number}/api/json"
|
78
|
+
res =
|
79
|
+
if Helper::CiChangelogHelper.determine_jenkins_basic_auth?
|
80
|
+
RestClient::Request.execute(
|
81
|
+
method: :get,
|
82
|
+
url: build_url,
|
83
|
+
user: @params.fetch(:jenkins_user),
|
84
|
+
password: @params.fetch(:jenkins_token)
|
85
|
+
)
|
86
|
+
else
|
87
|
+
RestClient.get(build_url)
|
88
|
+
end
|
89
|
+
|
90
|
+
if res.code == 200
|
91
|
+
build_status, data = Helper::CiChangelogHelper.dump_jenkin_commits(res.body)
|
92
|
+
|
93
|
+
if build_status == true
|
94
|
+
commits = data
|
95
|
+
fetch_correct_changelog = true
|
96
|
+
else
|
97
|
+
commits = commits.empty? ? data : commits.concat(data)
|
98
|
+
loop_count += 1
|
99
|
+
end
|
100
|
+
end
|
101
|
+
build_number -= 1
|
102
|
+
|
103
|
+
break if fetch_correct_changelog || build_number <= 0
|
104
|
+
end
|
105
|
+
commits = Helper::CiChangelogHelper.git_commits(ENV['GIT_PREVIOUS_SUCCESSFUL_COMMIT']) if Helper.is_test? && commits.empty?
|
106
|
+
|
107
|
+
Helper::CiChangelogHelper.store_sharedvalue(SharedValues::CICL_CHANGELOG, commits.to_json)
|
108
|
+
end
|
109
|
+
|
110
|
+
def self.fetch_jenkins_env!
|
111
|
+
branch = ENV['GIT_BRANCH'] || ENV['SVN_BRANCH']
|
112
|
+
branch = branch.split('/')[1..-1].join('/') if branch.include?('/') # fix origin/xxxx
|
113
|
+
|
114
|
+
Helper::CiChangelogHelper.store_sharedvalue(SharedValues::CICL_CI, CICLType::JENKINS)
|
115
|
+
Helper::CiChangelogHelper.store_sharedvalue(SharedValues::CICL_BRANCH, branch)
|
116
|
+
Helper::CiChangelogHelper.store_sharedvalue(SharedValues::CICL_COMMIT, ENV['GIT_COMMIT'])
|
117
|
+
Helper::CiChangelogHelper.store_sharedvalue(SharedValues::CICL_PROJECT_URL, ENV['JOB_URL'])
|
118
|
+
end
|
119
|
+
|
120
|
+
def self.fetch_gitlab_changelog!
|
121
|
+
commits = []
|
122
|
+
loop_count = 1
|
123
|
+
fetch_correct_changelog = false
|
124
|
+
|
125
|
+
build_number = ENV['CI_BUILD_ID'].to_i
|
126
|
+
loop do
|
127
|
+
build_url = "#{@params[:gitlab_url]}/api/v3/projects/#{ENV['CI_PROJECT_ID']}/builds/#{build_number}"
|
128
|
+
res = RestClient.get(build_url, { 'PRIVATE-TOKEN' => @params[:gitlab_private_token] })
|
129
|
+
|
130
|
+
if res.code == 200
|
131
|
+
build_status, data = Helper::CiChangelogHelper.dump_gitlab_commits(res.body)
|
132
|
+
|
133
|
+
if build_status == true
|
134
|
+
commits = data if commits.empty?
|
135
|
+
fetch_correct_changelog = true
|
136
|
+
else
|
137
|
+
commits = commits.empty? ? data : commits.concat(data)
|
138
|
+
loop_count += 1
|
139
|
+
end
|
140
|
+
end
|
141
|
+
build_number -= 1
|
142
|
+
|
143
|
+
break if fetch_correct_changelog || build_number <= 0
|
144
|
+
end
|
145
|
+
|
146
|
+
Helper::CiChangelogHelper.store_sharedvalue(SharedValues::CICL_CHANGELOG, commits.to_json)
|
147
|
+
end
|
148
|
+
|
149
|
+
def self.fetch_gitlab_env!
|
150
|
+
build_url =
|
151
|
+
if ENV['CI_PROJECT_URL']
|
152
|
+
"#{ENV['CI_PROJECT_URL']}/builds/#{ENV['CI_BUILD_ID']}"
|
153
|
+
else
|
154
|
+
uri = URI.parse(ENV['CI_BUILD_REPO'])
|
155
|
+
ci_project_namespace = ENV['CI_PROJECT_DIR'].split('/')[-2..-1].join('/')
|
156
|
+
url_port = uri.port == 80 ? '' : ":#{uri.port}"
|
157
|
+
|
158
|
+
"#{uri.scheme}://#{uri.host}#{url_port}/#{ci_project_namespace}/builds/#{ENV['CI_BUILD_ID']}"
|
159
|
+
end
|
160
|
+
|
161
|
+
Helper::CiChangelogHelper.store_sharedvalue(SharedValues::CICL_CI, CICLType::GITLAB_CI)
|
162
|
+
Helper::CiChangelogHelper.store_sharedvalue(SharedValues::CICL_BRANCH, ENV['CI_BUILD_REF_NAME'])
|
163
|
+
Helper::CiChangelogHelper.store_sharedvalue(SharedValues::CICL_COMMIT, ENV['CI_BUILD_REF'])
|
164
|
+
Helper::CiChangelogHelper.store_sharedvalue(SharedValues::CICL_PROJECT_URL, build_url)
|
165
|
+
end
|
166
|
+
|
167
|
+
def self.output
|
168
|
+
[
|
169
|
+
[SharedValues::CICL_CI.to_s, 'the name of CI'],
|
170
|
+
[SharedValues::CICL_BRANCH.to_s, 'the name of CVS branch'],
|
171
|
+
[SharedValues::CICL_COMMIT.to_s, 'the last hash of CVS commit'],
|
172
|
+
[SharedValues::CICL_CHANGELOG.to_s, 'the json formatted changelog of CI (datetime, message, author and email)']
|
173
|
+
]
|
174
|
+
end
|
175
|
+
|
176
|
+
def self.description
|
177
|
+
"Automate generate changelog between previous build failed and the latest commit of scm in CI."
|
178
|
+
end
|
179
|
+
|
180
|
+
def self.details
|
181
|
+
"availabled with jenkins, gitlab ci, more support is comming soon."
|
182
|
+
end
|
183
|
+
|
184
|
+
def self.authors
|
185
|
+
["icyleaf <icyleaf.cn@gmail.com>"]
|
186
|
+
end
|
187
|
+
|
188
|
+
def self.available_options
|
189
|
+
[
|
190
|
+
FastlaneCore::ConfigItem.new(key: :silent,
|
191
|
+
env_name: "CICL_SILENT",
|
192
|
+
description: "Hide all information of print table",
|
193
|
+
optional: true,
|
194
|
+
default_value: false,
|
195
|
+
is_string: false),
|
196
|
+
FastlaneCore::ConfigItem.new(key: :jenkins_user,
|
197
|
+
env_name: "CICL_CHANGELOG_JENKINS_USER",
|
198
|
+
description: "the user of jenkins if enabled security",
|
199
|
+
optional: true,
|
200
|
+
type: String),
|
201
|
+
FastlaneCore::ConfigItem.new(key: :jenkins_token,
|
202
|
+
env_name: "CICL_CHANGELOG_JENKINS_TOKEN",
|
203
|
+
description: "the token or password of jenkins if enabled security",
|
204
|
+
optional: true,
|
205
|
+
type: String),
|
206
|
+
FastlaneCore::ConfigItem.new(key: :gitlab_url,
|
207
|
+
env_name: "CICL_CHANGELOG_GITLAB_URL",
|
208
|
+
description: "the url of gitlab",
|
209
|
+
optional: true,
|
210
|
+
type: String),
|
211
|
+
FastlaneCore::ConfigItem.new(key: :gitlab_private_token,
|
212
|
+
env_name: "CICL_CHANGELOG_GITLAB_PRIVATE_TOKEN",
|
213
|
+
description: "the private token of gitlab",
|
214
|
+
optional: true,
|
215
|
+
type: String)
|
216
|
+
]
|
217
|
+
end
|
218
|
+
|
219
|
+
def self.is_supported?(platform)
|
220
|
+
true
|
221
|
+
end
|
222
|
+
end
|
223
|
+
end
|
224
|
+
end
|
@@ -0,0 +1,98 @@
|
|
1
|
+
require 'json'
|
2
|
+
|
3
|
+
module Fastlane
|
4
|
+
module Helper
|
5
|
+
class CiChangelogHelper
|
6
|
+
def self.show_message
|
7
|
+
UI.message("Hello from the ci_changelog plugin helper!")
|
8
|
+
end
|
9
|
+
|
10
|
+
def self.git_commits(last_success_commit)
|
11
|
+
git_logs = `git log --pretty="format:%s - %cn [%ci]" #{last_success_commit}..HEAD`.strip.gsub(' +0800', '')
|
12
|
+
git_logs.split("\n")
|
13
|
+
end
|
14
|
+
|
15
|
+
def self.dump_jenkin_commits(body)
|
16
|
+
json = JSON.parse(body)
|
17
|
+
commit = json['changeSet']['items'].each_with_object([]) do |item, obj|
|
18
|
+
obj.push({
|
19
|
+
date: item['date'],
|
20
|
+
message: item['msg'],
|
21
|
+
author: item['author']['fullName'].strip,
|
22
|
+
email: item['authorEmail'].strip
|
23
|
+
})
|
24
|
+
end
|
25
|
+
|
26
|
+
if json['result'] == 'SUCCESS'
|
27
|
+
[true, commit]
|
28
|
+
else
|
29
|
+
[false, commit]
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
def self.dump_gitlab_commits(body)
|
34
|
+
json = JSON.parse(body)
|
35
|
+
commit = {
|
36
|
+
date: json['commit']['created_at'],
|
37
|
+
message: json['commit']['message'].strip,
|
38
|
+
author: json['commit']['author_name'].strip,
|
39
|
+
email: json['commit']['author_email'].strip
|
40
|
+
}
|
41
|
+
|
42
|
+
if json['status'] == 'success'
|
43
|
+
[true, [commit]]
|
44
|
+
else
|
45
|
+
[false, [commit]]
|
46
|
+
end
|
47
|
+
end
|
48
|
+
|
49
|
+
def self.determine_gitlab_options!(options)
|
50
|
+
%w(gitlab_url gitlab_private_token).each do |key|
|
51
|
+
UI.user_error!("Missing #{key} param or empty value.") unless options.fetch(key.to_sym) && !options[key.to_sym].empty?
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
def self.determine_jenkins_options!(options)
|
56
|
+
if determine_jenkins_basic_auth?
|
57
|
+
%w(jenkins_user jenkins_token).each do |key|
|
58
|
+
UI.user_error!("Missing #{key} param or empty value.") unless options.fetch(key.to_sym) && !options[key.to_sym].empty?
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
def self.determine_jenkins_basic_auth?
|
64
|
+
res = RestClient.get("#{ENV['JENKINS_URL']}/api/json")
|
65
|
+
if res.code == 200 && res.headers[:content_type].include?('json')
|
66
|
+
return false
|
67
|
+
else
|
68
|
+
return true
|
69
|
+
end
|
70
|
+
rescue RestClient::Forbidden
|
71
|
+
return true
|
72
|
+
end
|
73
|
+
|
74
|
+
def self.store_sharedvalue(key, value)
|
75
|
+
Actions.lane_context[key] = value
|
76
|
+
ENV[key.to_s] = value
|
77
|
+
|
78
|
+
value
|
79
|
+
end
|
80
|
+
|
81
|
+
def self.jenkins?
|
82
|
+
%w(JENKINS_URL JENKINS_HOME).each do |current|
|
83
|
+
return true if ENV.key?(current)
|
84
|
+
end
|
85
|
+
|
86
|
+
return false
|
87
|
+
end
|
88
|
+
|
89
|
+
def self.gitlab?
|
90
|
+
ENV.key?('GITLAB_CI')
|
91
|
+
end
|
92
|
+
|
93
|
+
def self.travis?
|
94
|
+
ENV.key?('TRAVIS')
|
95
|
+
end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
end
|
metadata
ADDED
@@ -0,0 +1,176 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: fastlane-plugin-ci_changelog
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.3.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- icyleaf
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-12-09 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rest-client
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.8.0
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.8.0
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: pry
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bundler
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - ">="
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: rspec
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - ">="
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - ">="
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '0'
|
69
|
+
- !ruby/object:Gem::Dependency
|
70
|
+
name: rake
|
71
|
+
requirement: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
type: :development
|
77
|
+
prerelease: false
|
78
|
+
version_requirements: !ruby/object:Gem::Requirement
|
79
|
+
requirements:
|
80
|
+
- - ">="
|
81
|
+
- !ruby/object:Gem::Version
|
82
|
+
version: '0'
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: webmock
|
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'
|
97
|
+
- !ruby/object:Gem::Dependency
|
98
|
+
name: rubocop
|
99
|
+
requirement: !ruby/object:Gem::Requirement
|
100
|
+
requirements:
|
101
|
+
- - ">="
|
102
|
+
- !ruby/object:Gem::Version
|
103
|
+
version: '0'
|
104
|
+
type: :development
|
105
|
+
prerelease: false
|
106
|
+
version_requirements: !ruby/object:Gem::Requirement
|
107
|
+
requirements:
|
108
|
+
- - ">="
|
109
|
+
- !ruby/object:Gem::Version
|
110
|
+
version: '0'
|
111
|
+
- !ruby/object:Gem::Dependency
|
112
|
+
name: fastlane
|
113
|
+
requirement: !ruby/object:Gem::Requirement
|
114
|
+
requirements:
|
115
|
+
- - ">="
|
116
|
+
- !ruby/object:Gem::Version
|
117
|
+
version: 1.103.0
|
118
|
+
type: :development
|
119
|
+
prerelease: false
|
120
|
+
version_requirements: !ruby/object:Gem::Requirement
|
121
|
+
requirements:
|
122
|
+
- - ">="
|
123
|
+
- !ruby/object:Gem::Version
|
124
|
+
version: 1.103.0
|
125
|
+
- !ruby/object:Gem::Dependency
|
126
|
+
name: awesome_print
|
127
|
+
requirement: !ruby/object:Gem::Requirement
|
128
|
+
requirements:
|
129
|
+
- - ">="
|
130
|
+
- !ruby/object:Gem::Version
|
131
|
+
version: '0'
|
132
|
+
type: :development
|
133
|
+
prerelease: false
|
134
|
+
version_requirements: !ruby/object:Gem::Requirement
|
135
|
+
requirements:
|
136
|
+
- - ">="
|
137
|
+
- !ruby/object:Gem::Version
|
138
|
+
version: '0'
|
139
|
+
description:
|
140
|
+
email: icyleaf.cn@gmail.com
|
141
|
+
executables: []
|
142
|
+
extensions: []
|
143
|
+
extra_rdoc_files: []
|
144
|
+
files:
|
145
|
+
- LICENSE
|
146
|
+
- README.md
|
147
|
+
- lib/fastlane/plugin/ci_changelog.rb
|
148
|
+
- lib/fastlane/plugin/ci_changelog/actions/ci_changelog_action.rb
|
149
|
+
- lib/fastlane/plugin/ci_changelog/helper/ci_changelog_helper.rb
|
150
|
+
- lib/fastlane/plugin/ci_changelog/version.rb
|
151
|
+
homepage: https://github.com/icyleaf/fastlane-plugin-ci_changelog
|
152
|
+
licenses:
|
153
|
+
- MIT
|
154
|
+
metadata: {}
|
155
|
+
post_install_message:
|
156
|
+
rdoc_options: []
|
157
|
+
require_paths:
|
158
|
+
- lib
|
159
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
160
|
+
requirements:
|
161
|
+
- - ">="
|
162
|
+
- !ruby/object:Gem::Version
|
163
|
+
version: '0'
|
164
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
165
|
+
requirements:
|
166
|
+
- - ">="
|
167
|
+
- !ruby/object:Gem::Version
|
168
|
+
version: '0'
|
169
|
+
requirements: []
|
170
|
+
rubyforge_project:
|
171
|
+
rubygems_version: 2.6.8
|
172
|
+
signing_key:
|
173
|
+
specification_version: 4
|
174
|
+
summary: Automate generate changelog between previous build failed and the latest
|
175
|
+
commit of scm in CI
|
176
|
+
test_files: []
|