fastlane-plugin-slack_bot 1.0.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23f7c678dadb5c7f4ee697d2a7ee6309b7bfeea427fbb6d389a498c17be2d0ae
|
4
|
+
data.tar.gz: adb67a930ef5e457327d3addeceef06448036eb4b841c5d3a8fe0e0ffffebc66
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76bfcc18a3bc3f0825ee3568a0ee139c144e07ffd79408588cefd3122a9b4fca2b15ea29ea485fcef7c8dc591d7a9517b35f8e83a5af8583d01105ac75d3ffde
|
7
|
+
data.tar.gz: 48de6c619932671c5e85871e2153020132db31c68d40a4ae684f8efc769ce35ae071a186d46e7a78b524d1beeeeec896f140c65c01d1b60589ac56c5e4975bc8
|
data/README.md
CHANGED
@@ -29,9 +29,7 @@ i.e Listing couple of slack **webhook url** limitations:
|
|
29
29
|
## Getting Started
|
30
30
|
|
31
31
|
1. [Generate `Slack token` for `Fastlane` bot](https://slack.com/intl/en-nl/help/articles/115005265703-Create-a-bot-for-your-workspace)
|
32
|
-
-
|
33
|
-
- Open `Bots`
|
34
|
-
- Add Configuration
|
32
|
+
- Add a slack `Bot` user
|
35
33
|
- Choose a name for your bot, e.g. `"fastlane"`
|
36
34
|
- Save `API Token`
|
37
35
|
|
@@ -32,14 +32,14 @@ module Fastlane
|
|
32
32
|
|
33
33
|
class << self
|
34
34
|
def format string, opts={}
|
35
|
-
SlackBotLinkFormatterHelper.new(string, opts).formatted
|
35
|
+
SlackBotLinkFormatterHelper.new(string, **opts).formatted
|
36
36
|
end
|
37
37
|
end
|
38
38
|
|
39
39
|
attr_reader :formats
|
40
40
|
|
41
|
-
def initialize string,
|
42
|
-
@formats = formats
|
41
|
+
def initialize string, opts = {}
|
42
|
+
@formats = opts[:formats] || %i[html markdown]
|
43
43
|
@orig = string.respond_to?(:scrub) ? string.scrub : string
|
44
44
|
end
|
45
45
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fastlane-plugin-slack_bot
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Manish Rathi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: pry
|