README.md in tdlib-ruby-0.1.0 vs README.md in tdlib-ruby-0.2.0
- old
+ new
@@ -9,10 +9,22 @@
## Requirements
* Ruby 2.3+
* Compiled [tdlib](https://github.com/tdlib/td)
+We have precompiled versions for CentOS 6 & 7 in our repositories:
+
+http://rpms.southbridge.ru/rhel7/stable/x86_64/
+
+http://rpms.southbridge.ru/rhel6/stable/x86_64/
+
+And also SRPMS:
+
+http://rpms.southbridge.ru/rhel7/stable/SRPMS/
+
+http://rpms.southbridge.ru/rhel6/stable/SRPMS/
+
## Install
Add to your gemfile:
```ruby
@@ -90,10 +102,10 @@
## Configuration
```ruby
TD.configure do |config|
- config.lib_path = 'path/to/dir_containing_libtdjson' # libtdson will be searched in this directory (*.so, *.dylib, *.dll are valid extensions). For Rails projects, if not set, will be considered as project_root_path/vendor
+ config.lib_path = 'path/to/dir_containing_libtdjson' # libtdson will be searched in this directory (*.so, *.dylib, *.dll are valid extensions). For Rails projects, if not set, will be considered as project_root_path/vendor. If not set and file doesn't exist in vendor, it will try to find lib by ldconfig (only on Linux).
config.encryption_key = 'your_encryption_key' # it's not required
config.client.api_id = 12345
config.client.api_hash = 'your_api_hash'
config.client.use_test_dc = true # default: false