telegram-bot-ruby 0.5.0.beta3 → 0.5.0.beta4

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
  SHA1:
3
- metadata.gz: 7298e9dd9e093d7de1356822438209c04d1bfdff
4
- data.tar.gz: 753d71fec2e945d3b3d7b415770f27e512940aae
3
+ metadata.gz: 0c4f4c88a1b8c5eed420ba6746fc9c9672077ca7
4
+ data.tar.gz: 97dd5bfbc8901477e923464e1f93577c0bca8057
5
5
  SHA512:
6
- metadata.gz: 447fa08cffcd7a987afaf9a5bc92c1449fbddbaa63ad5a5726d4157ccf243309d713cb95a67f2defee5792b5e190a27b665e081c3db27d7e58727dce1ad825e2
7
- data.tar.gz: 61787d09c34c01c47e152891e9af89163f3694287f95334c8567d25d9ea18b4577ae76637f16adde4aff18b2562c773ee12ba1c5198a1c816e6449f6d2ea7d26
6
+ metadata.gz: 454eb4b301af5ff63e5ad79535dfb791c9d878c3b399e77ce0a33980e83172d91bd333f7683ea0b23155cf59bcb6e35dc765cc038b446a3dd3a0765b928029c7
7
+ data.tar.gz: a4f3641922226abb4a454b88a5f98d80911e723f334541b3584f5a699218e1a7fa354e5c14854a862412284848bd3d10d4f89f3f541244199ff4c817af454673
data/README.md CHANGED
@@ -11,7 +11,7 @@ Ruby wrapper for [Telegram's Bot API](https://core.telegram.org/bots/api).
11
11
  Add following line to your Gemfile:
12
12
 
13
13
  ```ruby
14
- gem 'telegram-bot-ruby', '~> 0.5.0.beta3'
14
+ gem 'telegram-bot-ruby', '~> 0.5.0.beta4'
15
15
  ```
16
16
 
17
17
  And then execute:
@@ -23,7 +23,7 @@ module Telegram
23
23
  @data ||= begin
24
24
  JSON.parse(response.body)
25
25
  rescue JSON::ParserError
26
- { error_code: response.status, uri: response.request.last_uri.to_s }
26
+ { error_code: response.status, uri: response.env.url.to_s }
27
27
  end
28
28
  end
29
29
  end
@@ -1,5 +1,5 @@
1
1
  module Telegram
2
2
  module Bot
3
- VERSION = '0.5.0.beta3'.freeze
3
+ VERSION = '0.5.0.beta4'.freeze
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.5.0.beta3
4
+ version: 0.5.0.beta4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Tipugin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-04-13 00:00:00.000000000 Z
11
+ date: 2016-04-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday