1
0
зеркало из https://github.com/glebtv/telegram-bot.git synced 2026-09-03 09:46:17 +03:00

Updated readme, prepare to 0.7.0

Этот коммит содержится в:
Max Melentiev
2016-05-12 14:35:36 +03:00
родитель 23fb9a28d1
Коммит a52e7ff31b
4 изменённых файлов: 18 добавлений и 5 удалений

Просмотреть файл

@@ -15,7 +15,8 @@ module Telegram
end
class << self
# Makes all
# Any call to Client.new will return ClientStub instance when `enabled` is true.
# Can be used with a block.
def stub_all!(enabled = true)
Client.extend(StubbedConstructor) unless Client < StubbedConstructor
return @_stub_all = enabled unless block_given?

Просмотреть файл

@@ -1,6 +1,6 @@
module Telegram
module Bot
VERSION = '0.6.0'.freeze
VERSION = '0.7.0'.freeze
def self.gem_version
Gem::Version.new VERSION