zquickblox 0.1.2 → 0.1.3

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: aba91ba1e9a2dd300abe96e72ba99d02a61d1216
4
- data.tar.gz: 497b98b7aee96cbe65afbac84032163cf2ad5d56
3
+ metadata.gz: e32eabb77c69c0a2975f9bba70a3334f3863dd1e
4
+ data.tar.gz: 4d36f08c338b3efac343ff58c1bc5b9aa3c96f66
5
5
  SHA512:
6
- metadata.gz: eef71c099664732c055a26f101fdd89c273a72cee8f175ce4875434ec27ed7f6dea45059a34a4901cacf47aa134cf3bcb3adf002d5bc37c17b136b24e7fa55b9
7
- data.tar.gz: 0555beae78d43f509b70a55cada32067e18acd321ac8911e1d9187cf0f0f6306c999bad1030b05af9e2e4c3dc372c0673f68b55ca018d586ad487c318710eec8
6
+ metadata.gz: 07ac40644c86a58cb914718b2d9a60c9ce8fbd447453c1e57ca830d916c82213f0fc2abc11563a642f8198ffccaecb4f4bda07e10aa951007093d3432f7a47f9
7
+ data.tar.gz: 5d14ef46076d89b94ffcbfb20f886090e5e10ed1581caaa08fe5da49098ae65686c4db12883aa531a3525ec608f7e65f94b51873ba4aa3efa98c4c006061e209
data/README.md CHANGED
@@ -22,12 +22,26 @@ Or install it yourself as:
22
22
 
23
23
  ## Usage
24
24
 
25
+ ### Rails
26
+
25
27
  You need to generate an initializer for ZQuickblox in order to config your Quickblox app:
26
28
 
27
29
  ```ruby
28
30
  rails generate zquickblox
29
31
  ```
30
32
 
33
+ ### Others
34
+
35
+ You need to config your Quickblox as below:
36
+
37
+ ```ruby
38
+ ZQuickblox.configure do |config|
39
+ config.app_id = ENV['QB_APP_ID'],
40
+ config.auth_key = ENV['QB_AUTH_KEY'],
41
+ config.auth_secret = ENV['QB_AUTH_SECRET']
42
+ end
43
+ ```
44
+
31
45
  To create a new user, just call:
32
46
 
33
47
  ```ruby
@@ -1,5 +1,5 @@
1
1
  ZQuickblox.configure do |config|
2
- config.app_id = ENV['QB_APP_ID'],
3
- config.auth_key = ENV['QB_AUTH_KEY'],
2
+ config.app_id = ENV['QB_APP_ID']
3
+ config.auth_key = ENV['QB_AUTH_KEY']
4
4
  config.auth_secret = ENV['QB_AUTH_SECRET']
5
5
  end
@@ -1,3 +1,3 @@
1
1
  module ZQuickblox
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zquickblox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thuong Nguyen