zquickblox 0.1.0 → 0.1.2

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: dcaf9cf04e084b207a4263b090224e1a11d7f709
4
- data.tar.gz: 4c9ed23995354ae230db4328229dfc1b08542560
3
+ metadata.gz: aba91ba1e9a2dd300abe96e72ba99d02a61d1216
4
+ data.tar.gz: 497b98b7aee96cbe65afbac84032163cf2ad5d56
5
5
  SHA512:
6
- metadata.gz: f128d1c6cae4757bc255c5cd1a8c89c380ddae31f0529f1c6170f019c644c363f8e5ae0ed4ae69e2ddb1288b4e8a0aa273e8650deca5124f2dd43ba7098897d7
7
- data.tar.gz: 9e49cb0b7ed112e5acde9b389f4bc405afb75af2ce04caab0b446cad26c27394d6458e35559347d39f744b46aa3401c8467e88bbb7b638c4082f6a3513bfc6eb
6
+ metadata.gz: eef71c099664732c055a26f101fdd89c273a72cee8f175ce4875434ec27ed7f6dea45059a34a4901cacf47aa134cf3bcb3adf002d5bc37c17b136b24e7fa55b9
7
+ data.tar.gz: 0555beae78d43f509b70a55cada32067e18acd321ac8911e1d9187cf0f0f6306c999bad1030b05af9e2e4c3dc372c0673f68b55ca018d586ad487c318710eec8
data/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # Zquickblox
1
+ # ZQuickblox
2
2
 
3
3
  This gem is a Quickblox API client in Ruby. Normally, we will use Javascript or mobile SDK, but in some cases where server needs to control things, this gem will play its role.
4
4
 
@@ -25,7 +25,7 @@ Or install it yourself as:
25
25
  You need to generate an initializer for ZQuickblox in order to config your Quickblox app:
26
26
 
27
27
  ```ruby
28
- rails generate zquickblox:config
28
+ rails generate zquickblox
29
29
  ```
30
30
 
31
31
  To create a new user, just call:
@@ -0,0 +1,7 @@
1
+ class ZquickbloxGenerator < Rails::Generators::Base
2
+ source_root File.expand_path("../templates", __FILE__)
3
+
4
+ def create_config
5
+ template "zquickblox.rb", "config/initializers/zquickblox.rb"
6
+ end
7
+ end
@@ -1,3 +1,3 @@
1
1
  module ZQuickblox
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.2"
3
3
  end
data/zquickblox.gemspec CHANGED
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
22
22
  raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
23
23
  end
24
24
 
25
- spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features|generators)/}) }
25
+ spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
26
26
  spec.bindir = "exe"
27
27
  spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
28
28
  spec.require_paths = ["lib"]
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.0
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thuong Nguyen
@@ -96,8 +96,8 @@ files:
96
96
  - Rakefile
97
97
  - bin/console
98
98
  - bin/setup
99
- - lib/generators/initializer_generator.rb
100
99
  - lib/generators/templates/zquickblox.rb
100
+ - lib/generators/zquickblox_generator.rb
101
101
  - lib/zquickblox.rb
102
102
  - lib/zquickblox/error.rb
103
103
  - lib/zquickblox/request.rb
@@ -1,5 +0,0 @@
1
- class InitializerGenerator < Rails::Generators::Base
2
- def create_config
3
- template "zquickblox", "config/initializers/zquickblox.rb"
4
- end
5
- end