telegram-bot-ruby 0.3.1 → 0.3.2

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
  SHA1:
3
- metadata.gz: 52dcc8e74a2b19e6a4e90539f29df3a3c862bc39
4
- data.tar.gz: 179ae66f674e396c7eab36550b3f80704768eeeb
3
+ metadata.gz: 3369a4112bd8f530bb867b571c0b91091e455a84
4
+ data.tar.gz: bc07b294379caeef4d90e64bc2d3a4af5bc51f01
5
5
  SHA512:
6
- metadata.gz: 7649ae7c24552d52d5c4a403c23ae688eb131e13c3184cae32144516137c891facc842b178321c95d8a58cd50300470cf7793d1d8e0e78d542abcfeda523f57b
7
- data.tar.gz: 632ee6c2dc50f7216f3c81cf3a30d9e8a5ccfb72aeec68a646856b43960d4330fbbfe407e1463b141adb5df3518ff5c49770bd4af8cedc531e878c3d29fb6c51
6
+ metadata.gz: 0db02515566c58598d1c4a7a9a333f6372d959070cd5f8b9759a469531d87c6a985e4c31fea6318c9b2062f39f548d549a457c709323f23a673ffa428c54d279
7
+ data.tar.gz: 33a4a466c3ad4edda8bc5b8100424efc1fc54747ebe31b19a2ef2342a5fdc736c480a1e18932c23b1fb2b4725e6bc69137ea53f2db4457b15e27b8b1761c13a3
@@ -31,7 +31,7 @@ module Telegram
31
31
  params = build_params(raw_params)
32
32
  response = self.class.post("/bot#{token}/#{endpoint}", query: params)
33
33
  if response.code == 200
34
- response.to_h
34
+ response.to_hash
35
35
  else
36
36
  fail Exceptions::ResponseError.new(response),
37
37
  'Telegram API has returned the error.'
@@ -1,5 +1,5 @@
1
1
  module Telegram
2
2
  module Bot
3
- VERSION = '0.3.1'
3
+ VERSION = '0.3.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: telegram-bot-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Tipugin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2015-08-25 00:00:00.000000000 Z
11
+ date: 2015-09-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httmultiparty