planga 0.7.0 → 0.8.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +1 -0
  3. data/README.md +2 -0
  4. data/lib/planga.rb +3 -1
  5. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 68843a6c20aaf8415a10390b88987799404e1c0e
4
- data.tar.gz: a964786e73ed3a07c6d967312ab81811725b4a32
3
+ metadata.gz: 1587bd4b879380b973528d203961f34ffc5db05f
4
+ data.tar.gz: 9743afb466c4b59bcade5d4ba3bd1818a33bf660
5
5
  SHA512:
6
- metadata.gz: 67b3eb434542646d4423a9fbd43e977230f2b869be0780796a9147da1b8d749fd5c7ea564959acb980cda1c5a15d1815481a59c4de0ceb9082d1fedb9260296b
7
- data.tar.gz: c4d8a1a428ed6f4de4b18fe6b9ec03a07674d1ec2f2bed7e7fe69cbe18b6cbef438232cf78d54cc918581aa1fea045abd68bc4b6aa5f140dab7503933165aaf5
6
+ metadata.gz: c722d4b2eb76a8bcce5a6e28c5fdfa323e69aef865bd6103caf1bcc04f7ab583bc4c25117a93f70d6323a6d6058127c70f0eb1e4c5d2e8766fa2acdf15149b6e
7
+ data.tar.gz: 44c9540d06ed955b513ba0de5f52c1461a7a2ed5ce3b17943aed5283d055226b6ff69733be1a40951fc9f216ad713ba2705a99cfd08415019a0e347a5c271a49
data/Gemfile CHANGED
@@ -3,6 +3,7 @@ source 'https://rubygems.org'
3
3
  gemspec
4
4
 
5
5
  group :test do
6
+ gem 'rake', '~> 12.3', '>= 12.3.1', require: false
6
7
  gem 'rspec', '~> 3.8', require: false
7
8
  gem 'simplecov', '~> 0.16.1', require: false
8
9
  gem 'html_validation', '~> 1.1.5', require: false
data/README.md CHANGED
@@ -4,6 +4,7 @@ Planga Ruby Wrapper:
4
4
  [![Planga](https://img.shields.io/badge/%F0%9F%98%8E%20planga-chat-ff00ff.svg)](http://www.planga.io/)
5
5
  [![Planga Docs](https://img.shields.io/badge/planga-docs-lightgrey.svg)](http://www.planga.io/docs)
6
6
  [![Gem](https://img.shields.io/gem/v/planga.svg)](https://rubygems.org/gems/planga)
7
+ [![Build Status](https://travis-ci.org/ResiliaDev/planga-ruby.svg?branch=master)](https://travis-ci.org/ResiliaDev/planga-ruby)
7
8
  [RubyDoc](https://www.rubydoc.info/github/ResiliaDev/planga-ruby/master)
8
9
 
9
10
  **Installation**
@@ -50,6 +51,7 @@ For a guide that goes into a little bit more details, see [Building Live Chat Be
50
51
 
51
52
  _(This is only interesting if you want to make a fork of this Gem)_
52
53
 
54
+ **NOTE:** We've set up Travis-CI to build a new version of the official gem whenever a tagged commit is made
53
55
 
54
56
  * run `gem build planga.gemspec`
55
57
  * run `gem push planga-n.n.n.gem`
@@ -38,6 +38,7 @@ class Planga
38
38
  @conversation_id = conf[:conversation_id]
39
39
  @current_user_id = conf[:current_user_id]
40
40
  @current_user_name = conf[:current_user_name]
41
+ @current_user_role = conf[:current_user_role]
41
42
 
42
43
  @remote_host = conf[:remote_host]
43
44
  @remote_host ||= "//chat.planga.io"
@@ -93,7 +94,8 @@ class Planga
93
94
  {
94
95
  "conversation_id": @conversation_id,
95
96
  "current_user_id": @current_user_id,
96
- "current_user_name": @current_user_name
97
+ "current_user_name": @current_user_name,
98
+ "current_user_role": @current_user_role,
97
99
  }.to_json
98
100
  end
99
101
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: planga
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.8.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wiebe Marten Wijnja