telegramAPI 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/telegramAPI.rb +2 -2
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b102d5658c4170c081ee6d6b3c5d48aca179380a
4
- data.tar.gz: 1423a9128e7920982c35e98edb67576b1493abf0
3
+ metadata.gz: 315b79da88eff7a39d09bc3efef121430db328c1
4
+ data.tar.gz: 928efa6a8623ab9f85f0853e7ec63d1b63738c70
5
5
  SHA512:
6
- metadata.gz: 5bb2142889f6796ad5e7ddab01aa443943e350692b1ede4bc506214656edf6861c0cffb70192895a4f546c3d17e83276f5956f80f831cc5a5beeffc839bbace4
7
- data.tar.gz: cc06c838e26b7149109f6c6da09adb3b327f04ac2780099a4ee9dc3fb9c6dd33e5d41842f8c3b0fc4f61dcf4ba41c5fe018d6b5f6653fe89ca440fcc4185d210
6
+ metadata.gz: 34ff22e8934364ae7e50ed1e76a8730d4e34bdb36f4d1189acc83af4fc77048d76d40fa857811ab53b466eedb61bd7f2def264341b1e8a544c5ea44512af882d
7
+ data.tar.gz: bc85a71233e74f0aec8695f9e3f5d80ee8115fcdcdc514e38d5f139e42008be8ebc677e3ccb434fb81d9098882580c15f5c276103d72240f15bf65d8b8f50a72
data/README.md CHANGED
@@ -4,7 +4,7 @@ This is a simple and lightweight Ruby API for Telegram Bots.
4
4
 
5
5
  With this tiny library you can create awesome Telegram Bot!
6
6
 
7
- Version: 1.0.7
7
+ Version: 1.0.8
8
8
 
9
9
  ## Installation
10
10
 
@@ -4,7 +4,7 @@ require 'net/http'
4
4
  require 'net/https'
5
5
  require 'uri'
6
6
  require 'rest_client'
7
- require 'telegramObjects'
7
+ require_relative './telegramObjects'
8
8
 
9
9
  # This library provides an easy way to access to the Telegram Bot API
10
10
  # Author:: Benedetto Nespoli
@@ -24,7 +24,7 @@ class TelegramAPI
24
24
  def parse_hash hash
25
25
  ret = {}
26
26
  hash.each do |h|
27
- ret[h[0]]=URI::encode(h[1])
27
+ ret[h[0]]=URI::encode(h[1].to_s)
28
28
  end
29
29
  return ret
30
30
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telegramAPI
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.7
4
+ version: 1.0.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Benedetto Nespoli