reddit-to-telegram 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: def346e1939d931f21e0f24d1630cb4bd9a6d08d0ef7ebd5abbe825c1550a938
4
- data.tar.gz: 2f82277c614573fe1fd857a6fb6ea61f9c9e05c0f988469ad058dc2e69b1c98d
3
+ metadata.gz: a9c3ba44a492a2303944ed479ebc4f298123cda19be8e743de74c6d95749554f
4
+ data.tar.gz: 18a449672d997581888344def9fc23dc9f43ceef6e8fd818bfe0868fa22cb1d8
5
5
  SHA512:
6
- metadata.gz: f11773282239a115f8e1609f7cd96af138057b8ca14aaaad938da783888efa50c25ead86cbc7a04af2095b642c481f297d07b2ae972e34dc6f2c4f2a80cb1dce
7
- data.tar.gz: 107f58634675023a1c0ac98a6be862dd5101169f76296bedc09c280bd21e8cb737ef6610557d5932f3034dc25f1aa4e66ef43af6b1d115a614405b1fdf6512f3
6
+ metadata.gz: 4fb6aab0a80c918760853feb9045b59a11d978129c5ae7c1a77ba7f266a019b5b3353bed17f4173afaf6a1947e6dae252b1c166bbfbad9d46eb800e4cf342533
7
+ data.tar.gz: 797a680487b6791e76239cd66ad4a893d37432457e9e6c3ae21051a749add53d55add7115fc548750ed0e6aad5859126485a18fb8802b8f269828a4b6ce6f4bb
data/README.md CHANGED
@@ -1,5 +1,6 @@
1
1
  reddit-to-telegram
2
2
  =======================
3
+ [![Gem Version](https://badge.fury.io/rb/reddit-to-telegram.svg)](https://badge.fury.io/rb/reddit-to-telegram)
3
4
 
4
5
  #### Fetches hot posts from chosen subreddits and pushes them to Telegram channels.
5
6
 
@@ -26,7 +26,7 @@ module RedditToTelegram
26
26
  **params(post, channel)
27
27
  )
28
28
 
29
- push({ type: :text, text: body[:caption] }, channel) if post[:type] == :gallery
29
+ push({ type: :text, text: post[:text] }, channel) if post[:type] == :gallery
30
30
  Video.delete_file if post[:type] == :video
31
31
  end
32
32
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RedditToTelegram
4
- VERSION = "0.1.0"
4
+ VERSION = "0.1.1"
5
5
  end
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: reddit-to-telegram
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mark Tityuk
@@ -77,6 +77,7 @@ files:
77
77
  - lib/reddit_to_telegram/telegram/video.rb
78
78
  - lib/reddit_to_telegram/vars.rb
79
79
  - lib/reddit_to_telegram/version.rb
80
+ - reddit-to-telegram-0.1.0.gem
80
81
  - reddit-to-telegram.gemspec
81
82
  - tmp/.keep
82
83
  homepage: https://github.com/dersnek/reddit-to-telegram