fastlane-plugin-report 0.1.11 → 0.1.12

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: 896cf084181be35806b78335d40a199c7d9b3f4e
4
- data.tar.gz: eec12e317feae7cef2cd990ed0a3aabf1bc76aed
3
+ metadata.gz: 24300fb623f3a802d1fefbea312158edaf4497c9
4
+ data.tar.gz: fff42402aa8ff34f669cce057d156fad80b6754a
5
5
  SHA512:
6
- metadata.gz: f28c14c139547ad81dc14ad7e4590325f572f7d2b8fbfffbb65ada426bc041bcd9716fd03e13bd5fd6f82b22fc86879c59a76e7c9a5b9a1ff4291b4fafd956cc
7
- data.tar.gz: d4eeb1cc363a25f264f9a260948ac81fbf43f82d43e27a0c0be5e6e6046c0789e2af9c506643bf6a12c858920f6bf93528a252d4d3671a0735981871b5054f23
6
+ metadata.gz: 42a4c2ae6f8eeaeba51b978884aec6a531ca8c9e16dcebd534ce3685b85fc4f6c19fba8bba3d1047d5d1ec467e3c94fea378ab8e020d6e164943aa0bc4df00d6
7
+ data.tar.gz: 352f2c88edca3e183aa08b2fa712e190fde45ffd22e608960dc141c4f496ab422888d999e8c6dfc0e97553fa68e9c88271ece5c7a1fe38c1c3c8c979acbebe21
@@ -2,6 +2,8 @@ module Fastlane
2
2
  module Actions
3
3
  class ReportAction < Action
4
4
  def self.run(options)
5
+ Actions.verify_gem!('slack-ruby-client')
6
+
5
7
  require 'slack-ruby-client'
6
8
 
7
9
  if options.nil?
@@ -45,6 +47,9 @@ module Fastlane
45
47
  end
46
48
 
47
49
  def self.pdf(options)
50
+ Actions.verify_gem!('pdfkit')
51
+ Actions.verify_gem!('nokogiri')
52
+
48
53
  require 'pdfkit'
49
54
  require 'nokogiri'
50
55
 
@@ -83,7 +88,15 @@ module Fastlane
83
88
  def self.description
84
89
  [
85
90
  "After an action, like scan for instance, you're able to generate a report file.",
86
- "This fastlane plugin gives you a way to upload and share your report using Slack."
91
+ "This fastlane plugin gives you a way to upload and share your report using Slack.",
92
+ "",
93
+ "report(
94
+ slack_api_token: 'xxxx-0000000000-11111111111-222222222222-xxxxxxxxx33333333xxxxxxxx3333333',
95
+ path: './some/path/report.html',
96
+ path_type: 'text/html',
97
+ file_name: 'report.html'
98
+ )"
99
+ "",
87
100
  ].join('\n')
88
101
  end
89
102
 
@@ -1,6 +1,6 @@
1
1
  module Fastlane
2
2
  module Report
3
- VERSION = "0.1.11"
3
+ VERSION = "0.1.12"
4
4
  DESCRIPTION = "Try to fix a bug on installation process."
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,71 +1,71 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fastlane-plugin-report
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
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-13 00:00:00.000000000 Z
11
+ date: 2017-03-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pdfkit
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: 0.8.2
19
+ version: '0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - "~>"
24
+ - - ">="
25
25
  - !ruby/object:Gem::Version
26
- version: 0.8.2
26
+ version: '0'
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: nokogiri
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: 1.7.0.1
33
+ version: '0'
34
34
  type: :runtime
35
35
  prerelease: false
36
36
  version_requirements: !ruby/object:Gem::Requirement
37
37
  requirements:
38
- - - "~>"
38
+ - - ">="
39
39
  - !ruby/object:Gem::Version
40
- version: 1.7.0.1
40
+ version: '0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  name: slack-ruby-client
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - "~>"
45
+ - - ">="
46
46
  - !ruby/object:Gem::Version
47
- version: 0.7.9
47
+ version: '0'
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - "~>"
52
+ - - ">="
53
53
  - !ruby/object:Gem::Version
54
- version: 0.7.9
54
+ version: '0'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: wkhtmltopdf-binary
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
- - - "~>"
59
+ - - ">="
60
60
  - !ruby/object:Gem::Version
61
- version: 0.12.3.1
61
+ version: '0'
62
62
  type: :runtime
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
- - - "~>"
66
+ - - ">="
67
67
  - !ruby/object:Gem::Version
68
- version: 0.12.3.1
68
+ version: '0'
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: pry
71
71
  requirement: !ruby/object:Gem::Requirement
@@ -174,7 +174,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
174
174
  requirements:
175
175
  - - ">="
176
176
  - !ruby/object:Gem::Version
177
- version: 2.2.0
177
+ version: 2.0.0
178
178
  required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  requirements:
180
180
  - - ">="