fastlane-plugin-report 0.1.12 → 0.2.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 +26 -6
- data/lib/fastlane/plugin/report/actions/report_action.rb +2 -2
- data/lib/fastlane/plugin/report/version.rb +1 -1
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 127b27e9be3ea12dbce435cf9a686459d5bde5ca
|
4
|
+
data.tar.gz: af6eb611d7fb468a923b3162dfd2d793324f720e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9f8ba86923d78e1ff1f33176b469f0cdfee9b62dcd33807b8af47b0dcd1869f3a96f97e349d8440a57b1b35f96d7848157a4e81285c8bea7ad2572b9c46e8296
|
7
|
+
data.tar.gz: 44bf6c5eecc6ff6d7e9370d254d0a35743b14fcb2936a5761e6e6c9acb8e9400dee91dbb2bbfc4547812e78ec2f5349e4bf335fad4c14cfe6d1dcdd6ffb2410c
|
data/README.md
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
#
|
1
|
+
# Report Plugin
|
2
2
|
|
3
3
|
[![fastlane Plugin Badge](https://rawcdn.githack.com/fastlane/fastlane/master/fastlane/assets/plugin-badge.svg)](https://rubygems.org/gems/fastlane-plugin-report)
|
4
4
|
|
@@ -12,15 +12,33 @@ fastlane add_plugin report
|
|
12
12
|
|
13
13
|
## About report
|
14
14
|
|
15
|
-
|
15
|
+
After an action, like scan for instance, you're able to generate a report file.
|
16
16
|
|
17
|
-
|
17
|
+
This fastlane plugin gives you a way to upload and share your report using Slack.
|
18
18
|
|
19
19
|
## Example
|
20
20
|
|
21
|
-
|
22
|
-
|
23
|
-
|
21
|
+
See this exemple above:
|
22
|
+
|
23
|
+
````ruby
|
24
|
+
report(
|
25
|
+
slack_api_token: 'xxxx-0000000-11111111-222222222-xxxxxxxx333333',
|
26
|
+
path: './some/path/report.html',
|
27
|
+
path_type: 'text/html',
|
28
|
+
file_name: 'report.html'
|
29
|
+
)
|
30
|
+
````
|
31
|
+
|
32
|
+
Parameter | Description | Mandatory | Environment
|
33
|
+
--------- | ----------- | --------- | -----------
|
34
|
+
`slack_api_token` | Token of slack rest api. Need to be generated at https://api.slack.com | true | `REPORT_SLACK_API_TOKEN`
|
35
|
+
`path` | Relative path to report file (ex. ./reports/20170603140211.html) | true | `REPORT_PATH`
|
36
|
+
`path_type` | Multipart type of your report file (ex. text/html) | true | `REPORT_PATH_TYPE`
|
37
|
+
`file_name` | Name of your file (ex. 20170603140211.html) | true | `REPORT_FILE_NAME`
|
38
|
+
`channels` | Selected channels to upload and post your report (default: #channel) | false | `REPORT_SLACK_CHANNELS`
|
39
|
+
`title` | Title that will be shown on Slack | false | `REPORT_TITLE`
|
40
|
+
`message` | Message that will be shown on Slack | false | `REPORT_MESSAGE`
|
41
|
+
`scan_as_pdf` | File that will be sent to Slack (default: `true` if was a HTML file) | false | `REPORT_SCAN_AS_PDF`
|
24
42
|
|
25
43
|
## Run tests for this plugin
|
26
44
|
|
@@ -39,6 +57,8 @@ rubocop -a
|
|
39
57
|
|
40
58
|
For any other issues and feedback about this plugin, please submit it to this repository.
|
41
59
|
|
60
|
+
**NOTE:** Feel free to give feedback or report some bugs or even contribute with some code.
|
61
|
+
|
42
62
|
## Troubleshooting
|
43
63
|
|
44
64
|
If you have trouble using plugins, check out the [Plugins Troubleshooting](https://docs.fastlane.tools/plugins/plugins-troubleshooting/) guide.
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-report
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bruno Miguêns
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-03-
|
11
|
+
date: 2017-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: json
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - ">="
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - ">="
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0'
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: pdfkit
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -162,7 +176,7 @@ files:
|
|
162
176
|
- lib/fastlane/plugin/report/actions/report_action.rb
|
163
177
|
- lib/fastlane/plugin/report/helper/report_helper.rb
|
164
178
|
- lib/fastlane/plugin/report/version.rb
|
165
|
-
homepage: https://github.com/BrunoMiguens/report
|
179
|
+
homepage: https://github.com/BrunoMiguens/fastlane-plugin-report
|
166
180
|
licenses:
|
167
181
|
- MIT
|
168
182
|
metadata: {}
|
@@ -174,7 +188,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
174
188
|
requirements:
|
175
189
|
- - ">="
|
176
190
|
- !ruby/object:Gem::Version
|
177
|
-
version:
|
191
|
+
version: '0'
|
178
192
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
179
193
|
requirements:
|
180
194
|
- - ">="
|
@@ -186,6 +200,6 @@ rubygems_version: 2.6.8
|
|
186
200
|
signing_key:
|
187
201
|
specification_version: 4
|
188
202
|
summary: After an action, like scan for instance, you're able to generate a report
|
189
|
-
file
|
203
|
+
file. This fastlane plugin gives you a way to upload and share your report using
|
190
204
|
Slack.
|
191
205
|
test_files: []
|