fastlane-plugin-slack_bot 1.1.0 → 1.3.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: 23f7c678dadb5c7f4ee697d2a7ee6309b7bfeea427fbb6d389a498c17be2d0ae
4
- data.tar.gz: adb67a930ef5e457327d3addeceef06448036eb4b841c5d3a8fe0e0ffffebc66
3
+ metadata.gz: a46dbadbfa598f1c758348e0154ebdaf8dcdffcf4fba9d3f0e9605f517ef55a2
4
+ data.tar.gz: 8a0fac48642f5583f420742bed53ec23061c5771c274c7ceff9376b9e0640f5d
5
5
  SHA512:
6
- metadata.gz: 76bfcc18a3bc3f0825ee3568a0ee139c144e07ffd79408588cefd3122a9b4fca2b15ea29ea485fcef7c8dc591d7a9517b35f8e83a5af8583d01105ac75d3ffde
7
- data.tar.gz: 48de6c619932671c5e85871e2153020132db31c68d40a4ae684f8efc769ce35ae071a186d46e7a78b524d1beeeeec896f140c65c01d1b60589ac56c5e4975bc8
6
+ metadata.gz: fd12b23c8e91eab7dc0b826c55de32e7f54bd7cfe364a1bace438cf46e88db1fc4569ac5f4e234fbfd0e43b81593f6a606e73032ccc50ca8b876a39aae01f801
7
+ data.tar.gz: 6c7a885efba03ef05109c60e771acab3d5c05c08bf5d9285abe09e12498139c2c414ffb1f38fd338fee4c402ac1fa563af64e3436797e940c383056bd9903d54
data/LICENSE CHANGED
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2021 Manish Rathi
3
+ Copyright (c) 2022 Manish Rathi
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -24,7 +24,7 @@ i.e Listing couple of slack **webhook url** limitations:
24
24
  - can’t post a message inside a slack thread.
25
25
  - can’t update a posted slack message.
26
26
  - can’t list and upload a file inside a slack channel.
27
- - much more, compare to a **Slack Bot** 🤖 using the [Slack APIs](https://api.slack.com/)
27
+ - many more, compare to a **Slack Bot** 🤖 using the [Slack APIs](https://api.slack.com/)
28
28
 
29
29
  ## Getting Started
30
30
 
@@ -39,10 +39,11 @@ module Fastlane
39
39
  attachments: [slack_attachment]
40
40
  }
41
41
  payload[:as_user] = options[:as_user] if options[:as_user] # default is false
42
+ payload[:reply_broadcast] = options[:reply_broadcast] if options[:reply_broadcast] # default is false
42
43
  payload[:thread_ts] = options[:thread_ts] unless options[:thread_ts].nil?
43
44
  payload = payload.to_json
44
45
 
45
- response = Excon.post(api_url, headers: headers, body: payload)
46
+ response = Excon.post(api_url, headers: headers, body: payload, omit_default_port: true)
46
47
  result = self.formatted_result(response)
47
48
  rescue => exception
48
49
  UI.error("Exception: #{exception}")
@@ -144,7 +145,13 @@ module Fastlane
144
145
  FastlaneCore::ConfigItem.new(key: :thread_ts,
145
146
  env_name: "FL_POST_TO_SLACK_THREAD_TS",
146
147
  description: "Provide another message's ts value to make this message a reply",
147
- optional: true)
148
+ optional: true),
149
+ FastlaneCore::ConfigItem.new(key: :reply_broadcast,
150
+ env_name: "FL_POST_TO_SLACK_REPLY_BROADCAST",
151
+ description: "Used in conjunction with thread_ts and indicates whether reply should be made visible to everyone in the channel or conversation. Defaults to false",
152
+ optional: true,
153
+ default_value: false,
154
+ is_string: false)
148
155
  ]
149
156
  end
150
157
 
@@ -1,5 +1,5 @@
1
1
  module Fastlane
2
2
  module SlackBot
3
- VERSION = "1.1.0"
3
+ VERSION = "1.3.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.1.0
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Manish Rathi
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-29 00:00:00.000000000 Z
11
+ date: 2022-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: pry
@@ -136,7 +136,7 @@ dependencies:
136
136
  - - ">="
137
137
  - !ruby/object:Gem::Version
138
138
  version: 2.148.1
139
- description:
139
+ description:
140
140
  email: manishrathi19902013@gmail.com
141
141
  executables: []
142
142
  extensions: []
@@ -157,7 +157,7 @@ homepage: https://github.com/crazymanish/fastlane-plugin-slack_bot
157
157
  licenses:
158
158
  - MIT
159
159
  metadata: {}
160
- post_install_message:
160
+ post_install_message:
161
161
  rdoc_options: []
162
162
  require_paths:
163
163
  - lib
@@ -172,8 +172,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
172
172
  - !ruby/object:Gem::Version
173
173
  version: '0'
174
174
  requirements: []
175
- rubygems_version: 3.1.4
176
- signing_key:
175
+ rubygems_version: 3.3.7
176
+ signing_key:
177
177
  specification_version: 4
178
178
  summary: "A fastlane plugin to post slack message using bot api token. \U0001F680"
179
179
  test_files: []