lhj-tools 0.2.29 → 0.2.30
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lhj/helper/dingtalk_helper.rb +8 -2
- data/lib/lhj/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ae6bcde0c99a1c742822422b22d335bb35e625ca22c130e723b629d8f6c12f69
|
4
|
+
data.tar.gz: 220c7ccb8444a7abe26d2b21932ac693a8bda79878a1f93372329affc3deb388
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd3bddad4d8039ad9b23ed3f93e231b475b73e7b989782a92235f069861d889214b458fb232a5915feef3984b0ed219217b0f7857be0d3cee89d16a19e1e6bad
|
7
|
+
data.tar.gz: 9ff1a4b6b2d89c31b14d5a1a7ff99d1c7f1c97085f7374eb169da3953a791053cb7af962efa90594d2ed138f6c03b6b0237bcc94bf8583a6e19ce5a28134889a
|
@@ -241,7 +241,13 @@ module Lhj
|
|
241
241
|
send_group_message(token, msg_body) if msg_body
|
242
242
|
end
|
243
243
|
|
244
|
-
def self.
|
244
|
+
def self.update_file_with_api(conversation_id, upload_file, user_ids)
|
245
|
+
key = Lhj::IOSRobotConfig.app_key
|
246
|
+
secret = Lhj::IOSRobotConfig.app_secret
|
247
|
+
upload_file_and_notify(key, secret, upload_file, conversation_id, user_ids)
|
248
|
+
end
|
249
|
+
|
250
|
+
def self.send_markdown_message_with_api(conversation_id, title, markdown, user_ids)
|
245
251
|
key = Lhj::IOSRobotConfig.app_key
|
246
252
|
secret = Lhj::IOSRobotConfig.app_secret
|
247
253
|
token = get_token(key, secret)
|
@@ -251,7 +257,7 @@ module Lhj
|
|
251
257
|
send_group_message(token, msg_body)
|
252
258
|
end
|
253
259
|
|
254
|
-
def self.
|
260
|
+
def self.send_text_message_with_api(conversation_id, content, user_ids)
|
255
261
|
key = Lhj::IOSRobotConfig.app_key
|
256
262
|
secret = Lhj::IOSRobotConfig.app_secret
|
257
263
|
token = get_token(key, secret)
|
data/lib/lhj/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: lhj-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.30
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lihaijian
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-03-
|
11
|
+
date: 2023-03-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: xcodeproj
|