fastlane-plugin-slack_bot 1.0.0 → 1.1.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
  SHA256:
3
- metadata.gz: 289a56616a3791c91d4aa9033fe725da23f086ba112f63f383617de611824aa9
4
- data.tar.gz: 406ed9f6c5809ed39b6ea2024f9c998409bcb11711616006714fdfef28063441
3
+ metadata.gz: 23f7c678dadb5c7f4ee697d2a7ee6309b7bfeea427fbb6d389a498c17be2d0ae
4
+ data.tar.gz: adb67a930ef5e457327d3addeceef06448036eb4b841c5d3a8fe0e0ffffebc66
5
5
  SHA512:
6
- metadata.gz: 821fbff8025635a8c8728e40ceccc52f54db653fc2aaa4ddeed6d7bb5aaec10d78798b19a88282c44ba8168fb0342da8804030bbbf715299827e0b38aca60f9e
7
- data.tar.gz: d9bd6cc8c9aa8d0dd1704ddd583735f3400a38d2ac440b0a61ff63aa586b079d3b93b75d5f5770f28e523ef097abeaf4142b56ceaefaf77e1f08d0e99e959b2c
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
- - From your Slack organization page, go to `Manage` -> `Custom Integrations`
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, formats: %i[html markdown]
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
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module SlackBot
3
- VERSION = "1.0.0"
3
+ VERSION = "1.1.0"
4
4
  end
5
5
  end
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.0.0
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-04-18 00:00:00.000000000 Z
11
+ date: 2021-07-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry