rubydium 0.3.7 → 0.3.8

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: b4a39256284aa19750a1171ca95cc4d7973fc853a776f4bcc649fab7bde4d22c
4
- data.tar.gz: fa38698c36816a8b1015c303c1c37d08b7d40b0a304df78840007aeae8505ffa
3
+ metadata.gz: 5d4702884e4978975d1cb43d55b5d4dd71f575a25424747d98921bb49d8ec126
4
+ data.tar.gz: c4ac1f41fa0e9355b079d362aec2551da5149f5d681205f15d187546217343f8
5
5
  SHA512:
6
- metadata.gz: 3ff895ae15e3e9d05f1fda6609cd319ea8527f1928dd1fbd8b43615fb446ce9c812686bd9747a205ab7431a2f120d384bff89085d6b918fd27ee444e9fcbf4e4
7
- data.tar.gz: cf7484996d2ae6c167750b70d40585085ddb97ba2c163e8dc619d4c5fcbeaa007ed15803b0c8d94143b5e31b4d84a0e58cf8b2f4c6431eb59092be1443ca69da
6
+ metadata.gz: b833da95c7c478177ab7d5155ef08624e6392bb8163b1b0ed0acda7ce57f96e46708af29b72bc80b0501553d6b6033d29bcad039e57b431e835d665062927334
7
+ data.tar.gz: dcbbbe31bd4f6174cb3395836eda880efb381e0bc5312865e35b0cf8cc064b178336577b3a23c2dff997b296506c108c49c2c8923aae46c7492e873e07d2d47c
@@ -87,11 +87,11 @@ module Rubydium
87
87
  )
88
88
  end
89
89
 
90
- def reply(text, **args)
90
+ def reply(text, **kwargs)
91
91
  send_message(
92
92
  text,
93
93
  reply_to_message_id: @message_id,
94
- **args
94
+ **kwargs
95
95
  )
96
96
  end
97
97
 
@@ -99,10 +99,11 @@ module Rubydium
99
99
  reply("```\n#{text}```", parse_mode: "Markdown")
100
100
  end
101
101
 
102
- def reply_to_target(text)
102
+ def reply_to_target(text, **kwargs)
103
103
  send_message(
104
+ text,
104
105
  reply_to_message_id: @replies_to.message_id,
105
- text: text
106
+ **kwargs
106
107
  )
107
108
  end
108
109
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Rubydium
4
- VERSION = "0.3.7"
4
+ VERSION = "0.3.8"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubydium
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - bulgakke
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-09-24 00:00:00.000000000 Z
11
+ date: 2023-09-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: telegram-bot-ruby