зеркало из
https://github.com/glebtv/telegram-bot.git
synced 2026-09-06 19:15:50 +03:00
v0.8.0
Этот коммит содержится в:
11
CHANGELOG.md
11
CHANGELOG.md
@@ -1,3 +1,14 @@
|
|||||||
|
# 0.8.0
|
||||||
|
|
||||||
|
- Fixed `#reply_with`, now it sets `reply_to_message_id` as it's supposed to.
|
||||||
|
Added `#respond_with` which works the same way, but doesn't set `reply_to_message_id`.
|
||||||
|
Please, replace all occurrences of `reply_with` to `respond_with` to
|
||||||
|
keep it working the old way.
|
||||||
|
- Fixes for Rails 5:
|
||||||
|
- Controller callbacks
|
||||||
|
- Middleware
|
||||||
|
- Setup travis builds
|
||||||
|
|
||||||
# 0.7.4
|
# 0.7.4
|
||||||
|
|
||||||
- Rails 5 support by @dreyks (#4).
|
- Rails 5 support by @dreyks (#4).
|
||||||
|
|||||||
10
README.md
10
README.md
@@ -384,6 +384,16 @@ To release a new version, update the version number in `version.rb`,
|
|||||||
and then run `bundle exec rake release`, which will create a git tag for the version,
|
and then run `bundle exec rake release`, which will create a git tag for the version,
|
||||||
push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
||||||
|
|
||||||
|
### Different Rails versions
|
||||||
|
|
||||||
|
To setup development for specific major Rails version use:
|
||||||
|
|
||||||
|
```
|
||||||
|
RAILS=5 bundle install
|
||||||
|
# or
|
||||||
|
RAILS=5 bundle update
|
||||||
|
```
|
||||||
|
|
||||||
## Contributing
|
## Contributing
|
||||||
|
|
||||||
Bug reports and pull requests are welcome on GitHub at https://github.com/telegram-bot-rb/telegram-bot.
|
Bug reports and pull requests are welcome on GitHub at https://github.com/telegram-bot-rb/telegram-bot.
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
module Telegram
|
module Telegram
|
||||||
module Bot
|
module Bot
|
||||||
VERSION = '0.7.4'.freeze
|
VERSION = '0.8.0'.freeze
|
||||||
|
|
||||||
def self.gem_version
|
def self.gem_version
|
||||||
Gem::Version.new VERSION
|
Gem::Version.new VERSION
|
||||||
|
|||||||
Ссылка в новой задаче
Block a user