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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 24300fb623f3a802d1fefbea312158edaf4497c9
4
- data.tar.gz: fff42402aa8ff34f669cce057d156fad80b6754a
3
+ metadata.gz: 127b27e9be3ea12dbce435cf9a686459d5bde5ca
4
+ data.tar.gz: af6eb611d7fb468a923b3162dfd2d793324f720e
5
5
  SHA512:
6
- metadata.gz: 42a4c2ae6f8eeaeba51b978884aec6a531ca8c9e16dcebd534ce3685b85fc4f6c19fba8bba3d1047d5d1ec467e3c94fea378ab8e020d6e164943aa0bc4df00d6
7
- data.tar.gz: 352f2c88edca3e183aa08b2fa712e190fde45ffd22e608960dc141c4f496ab422888d999e8c6dfc0e97553fa68e9c88271ece5c7a1fe38c1c3c8c979acbebe21
6
+ metadata.gz: 9f8ba86923d78e1ff1f33176b469f0cdfee9b62dcd33807b8af47b0dcd1869f3a96f97e349d8440a57b1b35f96d7848157a4e81285c8bea7ad2572b9c46e8296
7
+ data.tar.gz: 44bf6c5eecc6ff6d7e9370d254d0a35743b14fcb2936a5761e6e6c9acb8e9400dee91dbb2bbfc4547812e78ec2f5349e4bf335fad4c14cfe6d1dcdd6ffb2410c
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # report plugin
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
- This action is responsible to send a report file of what you want to slack (ex. send a scan report to slack).
15
+ After an action, like scan for instance, you're able to generate a report file.
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.
17
+ This fastlane plugin gives you a way to upload and share your report using Slack.
18
18
 
19
19
  ## Example
20
20
 
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`.
22
-
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)
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.
@@ -95,8 +95,8 @@ module Fastlane
95
95
  path: './some/path/report.html',
96
96
  path_type: 'text/html',
97
97
  file_name: 'report.html'
98
- )"
99
- "",
98
+ )",
99
+ ""
100
100
  ].join('\n')
101
101
  end
102
102
 
@@ -1,6 +1,6 @@
1
1
  module Fastlane
2
2
  module Report
3
- VERSION = "0.1.12"
3
+ VERSION = "0.2.0"
4
4
  DESCRIPTION = "Try to fix a bug on installation process."
5
5
  end
6
6
  end
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.1.12
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-29 00:00:00.000000000 Z
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: 2.0.0
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.\nThis fastlane plugin gives you a way to upload and share your report using
203
+ file. This fastlane plugin gives you a way to upload and share your report using
190
204
  Slack.
191
205
  test_files: []