telegram-bot-ruby 0.8.0 → 0.8.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
  SHA1:
3
- metadata.gz: 480b4e15b9e410b8d8023d7af355e8f9cbcb5fe5
4
- data.tar.gz: 83501301ed0d36db7c9d40c9450913b5fd0d1e34
3
+ metadata.gz: d4246e152988feebc210c2cefb9bce239371bee3
4
+ data.tar.gz: b2fde4cea5d214b5d99bb2f29c935079d786a070
5
5
  SHA512:
6
- metadata.gz: c93d0d104cb261d85aa74d39e83b9c7a9860005fa4974d096459df83d504e09f9632a10377221c73b29570388636ea8b25573e200f36b8be4a8d45151ee2683a
7
- data.tar.gz: 15d28de13a08b264cfb10af94529a3734f3ace42353ecb3897da3e5b6fe376e0710074794947001da467a2e0366ae8d8efac1a62440f0233b1e383cff768001a
6
+ metadata.gz: 8e2ad1183445a89bb9a84c918ed0f9add51e8be4a37b4311b314774bfb06a5418b2e7f73cc165f2a53a658d7aae283169cb4d7dec28dd284413212d46ca21187
7
+ data.tar.gz: ed829a2cb0e5146e2b73290ae7c6f825bd2408803e5cccb2957434a1f7e62254ea6c34d4324cf0cebe99afba9278700b4d4e467c31fcbba8f0309873ac7d1a9f
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.8.1
4
+
5
+ - Add [missing methods](https://github.com/atipugin/telegram-bot-ruby/pull/127) from earlier versions earlier
6
+
3
7
  ## 0.8.0
4
8
 
5
9
  - Implement [Bot API 3.0](https://core.telegram.org/bots/api#may-18-2017) (thx [@ivanovaleksey](https://github.com/ivanovaleksey))
@@ -61,3 +61,5 @@ require 'telegram/bot/types/force_reply'
61
61
  require 'telegram/bot/types/file'
62
62
  require 'telegram/bot/types/labeled_price'
63
63
  require 'telegram/bot/types/shipping_option'
64
+ require 'telegram/bot/types/chat_member'
65
+ require 'telegram/bot/types/user_profile_photos'
@@ -8,7 +8,7 @@ module Telegram
8
8
  attribute :username, String
9
9
  attribute :first_name, String
10
10
  attribute :last_name, String
11
- attribute :all_members_are_admins, Boolean
11
+ attribute :all_members_are_administrators, Boolean
12
12
  end
13
13
  end
14
14
  end
@@ -0,0 +1,10 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class ChatMember < Base
5
+ attribute :user, User
6
+ attribute :status, String
7
+ end
8
+ end
9
+ end
10
+ end
@@ -0,0 +1,10 @@
1
+ module Telegram
2
+ module Bot
3
+ module Types
4
+ class UserProfilePhotos < Base
5
+ attribute :total_count, Integer
6
+ attribute :photos, Array[Array[PhotoSize]]
7
+ end
8
+ end
9
+ end
10
+ end
@@ -1,5 +1,5 @@
1
1
  module Telegram
2
2
  module Bot
3
- VERSION = '0.8.0'.freeze
3
+ VERSION = '0.8.1'.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.8.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Tipugin
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-05-29 00:00:00.000000000 Z
11
+ date: 2017-05-31 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: faraday
@@ -158,6 +158,7 @@ files:
158
158
  - lib/telegram/bot/types/callback_game.rb
159
159
  - lib/telegram/bot/types/callback_query.rb
160
160
  - lib/telegram/bot/types/chat.rb
161
+ - lib/telegram/bot/types/chat_member.rb
161
162
  - lib/telegram/bot/types/chosen_inline_result.rb
162
163
  - lib/telegram/bot/types/contact.rb
163
164
  - lib/telegram/bot/types/document.rb
@@ -211,6 +212,7 @@ files:
211
212
  - lib/telegram/bot/types/successful_payment.rb
212
213
  - lib/telegram/bot/types/update.rb
213
214
  - lib/telegram/bot/types/user.rb
215
+ - lib/telegram/bot/types/user_profile_photos.rb
214
216
  - lib/telegram/bot/types/venue.rb
215
217
  - lib/telegram/bot/types/video.rb
216
218
  - lib/telegram/bot/types/video_note.rb