kanal-interfaces-telegram 0.3.6 → 0.4.1

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: f19e50bebf40730909f021233864991167a27bb84a996dd482a926df91d80967
4
- data.tar.gz: c35d87cbaadf9c94f5e86dd38dcd4c10a282d3401b8329269a5d1d1454291dc6
3
+ metadata.gz: 525e0ccae7746f32983e2ab01f1b45d1f298c5c90af7146b5a9740dd07b6d0b8
4
+ data.tar.gz: 42b77ee53cbac1eb929da9919761a96fbc2d9192fc07f87e66df204ccbf640f5
5
5
  SHA512:
6
- metadata.gz: b28bcfb7a561f59c187fe00ccffccff1ad5221fbd333c02ef3708bbde7acff911050194657c11eb6226dd6c73f923cb632856ffd6103785dcd3bff50a41d3093
7
- data.tar.gz: 6366da43dff1958556fdcc52fe832eb8f0b8c942569f00720c4c0aca4e03d8eaed840e45133c2d6295efc8f25d1dcd616d04087f7f7cae29bf6c0c316b7277f8
6
+ metadata.gz: dc6774d76dfb66c9b5263cb5852d837dfb8ca371d38cd31bb9a1bb76ddd45e109e1b64e51a376501294ec8244e3c8dceaceab431d4567d241a5809b498f8d6d1
7
+ data.tar.gz: b8626bb832d2132e088ba3005de06c0c53a85f021029204f508681c989dfefbdfc3603d5051cfd93be4d25cae3b8972e3a8f2fd7d08d3563ea299c872c4314cb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  ## [Unreleased]
2
2
 
3
+ ## [0.4.0] - 2023-04-13
4
+ - If output.tg_chat_id provided - interface does not replace it with input.tg_chat_id (useful when creating additional responses with different chat_ids)
5
+
3
6
  ## [0.3.1] - 2023-03-31
4
7
  - Fixed parsing link for file attachments. Now file attachments parsing works
5
8
 
data/Gemfile CHANGED
@@ -9,8 +9,6 @@ gem "rake", "~> 13.0"
9
9
 
10
10
  gem "rspec", "~> 3.0"
11
11
 
12
-
13
-
14
12
  group :development do
15
13
  gem "rubocop", "~> 1.21"
16
14
  gem "ruby-debug-ide"
data/Gemfile.lock CHANGED
@@ -1,8 +1,8 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kanal-interfaces-telegram (0.3.6)
5
- kanal (= 0.4.3)
4
+ kanal-interfaces-telegram (0.4.1)
5
+ kanal (= 0.5.1)
6
6
  telegram-bot-ruby (= 1.0.0)
7
7
 
8
8
  GEM
@@ -43,7 +43,7 @@ GEM
43
43
  ice_nine (0.11.2)
44
44
  jaro_winkler (1.5.4)
45
45
  json (2.6.3)
46
- kanal (0.4.3)
46
+ kanal (0.5.1)
47
47
  kramdown (2.4.0)
48
48
  rexml
49
49
  kramdown-parser-gfm (1.1.0)
@@ -40,7 +40,7 @@ module Kanal
40
40
  end
41
41
 
42
42
  core.hooks.attach :output_before_returned do |input, output|
43
- output.tg_chat_id = input.tg_chat_id
43
+ output.tg_chat_id = input.tg_chat_id if output.tg_chat_id.nil?
44
44
  end
45
45
  end
46
46
  end
@@ -3,7 +3,7 @@
3
3
  module Kanal
4
4
  module Interfaces
5
5
  module Telegram
6
- VERSION = "0.3.6"
6
+ VERSION = "0.4.1"
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.6
4
+ version: 0.4.1
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-05 00:00:00.000000000 Z
11
+ date: 2023-04-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: kanal
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 0.4.3
19
+ version: 0.5.1
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 0.4.3
26
+ version: 0.5.1
27
27
  - !ruby/object:Gem::Dependency
28
28
  name: telegram-bot-ruby
29
29
  requirement: !ruby/object:Gem::Requirement