kanal-interfaces-telegram 0.3.3 → 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: 4c80f33424c5dc1ebffe6209227d5e6226f7a85f60139b17ebb99327168918d9
4
- data.tar.gz: d847be1d03f79b704d7dfc2defc59af8d78f4d02c886fec9e706cd8cf2b061e3
3
+ metadata.gz: '029c8c5568eac8c9fa751e940df68bdb272e3eec260dd89cbd02b0c25966ddad'
4
+ data.tar.gz: 187871844ff1d53f769d1e27ee0f77ddb4d0c1b727873b656ee98284a84db544
5
5
  SHA512:
6
- metadata.gz: 0ac1cbf74631b3093bf628cbd675cf84967649f42c04892814c1c618c8e54aa82178b4cf25fe45c3c5a5a72d0f358b306070a7b8955b0f90bbadd4ae97cd5360
7
- data.tar.gz: 81cf157a22b37f8ef42489aa000a01a3204eedb53389a32dbd2e9b08a2a5129fc28ac3a9192bc1d3ab146d957289fc166a4b88a1c1f8058dde6b8b0e69e43802
6
+ metadata.gz: a7a46fc9e829fc35357fd9fa6b309dbd3bde7243ac574eadb87cf24357fa3f50324712d053de1ae03653074ad19a6fb9575d7df27203027d7004d1ebd3b5a099
7
+ data.tar.gz: 1a77784f9dd1573e8c0119a11576588f56264cc61de150db0473e0f43cadc00b6740c20395012cf93d967e248fd4f3238e6575e7cd3b8b4f6413f54e30626374
data/Gemfile CHANGED
@@ -9,9 +9,7 @@ gem "rake", "~> 13.0"
9
9
 
10
10
  gem "rspec", "~> 3.0"
11
11
 
12
- gem "kanal", "0.4.3"
13
12
 
14
- gem "telegram-bot-ruby", "1.0.0"
15
13
 
16
14
  group :development do
17
15
  gem "rubocop", "~> 1.21"
data/Gemfile.lock CHANGED
@@ -1,7 +1,9 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kanal-interfaces-telegram (0.3.3)
4
+ kanal-interfaces-telegram (0.3.5)
5
+ kanal (= 0.4.3)
6
+ telegram-bot-ruby (= 1.0.0)
5
7
 
6
8
  GEM
7
9
  remote: https://rubygems.org/
@@ -129,7 +131,6 @@ PLATFORMS
129
131
  x86_64-linux
130
132
 
131
133
  DEPENDENCIES
132
- kanal (= 0.4.3)
133
134
  kanal-interfaces-telegram!
134
135
  rake (~> 13.0)
135
136
  rspec (~> 3.0)
@@ -137,7 +138,6 @@ DEPENDENCIES
137
138
  ruby-debug-ide
138
139
  simplecov
139
140
  solargraph
140
- telegram-bot-ruby (= 1.0.0)
141
141
  yard
142
142
 
143
143
  BUNDLED WITH
@@ -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.3"
6
+ VERSION = "0.3.5"
7
7
  end
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,15 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kanal-interfaces-telegram
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.3
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
12
- dependencies: []
11
+ date: 2023-04-04 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: kanal
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - '='
18
+ - !ruby/object:Gem::Version
19
+ version: 0.4.3
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - '='
25
+ - !ruby/object:Gem::Version
26
+ version: 0.4.3
27
+ - !ruby/object:Gem::Dependency
28
+ name: telegram-bot-ruby
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - '='
32
+ - !ruby/object:Gem::Version
33
+ version: 1.0.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - '='
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.0
13
41
  description: Library provides Telegram interface for Kanal. With this you can connect
14
42
  to telegram bot and control it
15
43
  email: