kanal-interfaces-telegram 0.3.4 → 0.3.5

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: eb17cbf2b3631ab8320f5be818f93e1de7cd197bc6efd446938c885cb3648e26
4
- data.tar.gz: 80993d4ea89a7987751fb60cb60d15362822ce0d047f4536856a929dbbb16d92
3
+ metadata.gz: '029c8c5568eac8c9fa751e940df68bdb272e3eec260dd89cbd02b0c25966ddad'
4
+ data.tar.gz: 187871844ff1d53f769d1e27ee0f77ddb4d0c1b727873b656ee98284a84db544
5
5
  SHA512:
6
- metadata.gz: 5ac899cf16df2d4a47c52f118d0a8975e4a26dae0b669d6d4cfcfddfdf6a9a00a91c19a705c4d6f40a0263f595e0d9f3125d0e5b8972b3e3845fab17efa3d429
7
- data.tar.gz: a14091415a77854056df9dfe31ad313856de79d8b424798eb9b36212e16836414e804df709f3df31e80bf67267c7bcea8ff9a46cdd7ebbbc95f3dade95f35ddf
6
+ metadata.gz: a7a46fc9e829fc35357fd9fa6b309dbd3bde7243ac574eadb87cf24357fa3f50324712d053de1ae03653074ad19a6fb9575d7df27203027d7004d1ebd3b5a099
7
+ data.tar.gz: 1a77784f9dd1573e8c0119a11576588f56264cc61de150db0473e0f43cadc00b6740c20395012cf93d967e248fd4f3238e6575e7cd3b8b4f6413f54e30626374
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kanal-interfaces-telegram (0.3.4)
4
+ kanal-interfaces-telegram (0.3.5)
5
5
  kanal (= 0.4.3)
6
6
  telegram-bot-ruby (= 1.0.0)
7
7
 
@@ -40,7 +40,7 @@ module Kanal
40
40
  def create_input(message)
41
41
  input = @core.create_input
42
42
 
43
- if !message.instance_variable_defined?(:@data)
43
+ if message.attributes.key?(:text)
44
44
  # Regular message received
45
45
  input.tg_text = message.text
46
46
  input.tg_chat_id = message.chat.id
@@ -3,7 +3,7 @@
3
3
  module Kanal
4
4
  module Interfaces
5
5
  module Telegram
6
- VERSION = "0.3.4"
6
+ VERSION = "0.3.5"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kanal-interfaces-telegram
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.4
4
+ version: 0.3.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - idchlife
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-04-03 00:00:00.000000000 Z
11
+ date: 2023-04-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kanal