planga 0.0.2 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +23 -10
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a609e6f707bf33cdbff461bd1762ee3f4378d7c1
|
|
4
|
+
data.tar.gz: 77a8e01e75dd4b704fd9472779f6ca743c45df76
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 186a579a23157e19bb5a68b5c03594f0cf4fb27068405fda4140cea4b677b3ff36cbcd27ddc8439f7b9ca5ceb2ccac63e02d291e45a16c08ef22e47c0e483cb3
|
|
7
|
+
data.tar.gz: b937d960bb425f386492138f1602d8f17a3081491dcca6bb3270ea21acef51ac4a7de73bdd58d0953cbc7c97839d779440eb68acdfa48ee218920f3f3debfd99
|
data/README.md
CHANGED
|
@@ -1,7 +1,29 @@
|
|
|
1
1
|
Planga Ruby Wrapper:
|
|
2
2
|
====================
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
[](http://www.planga.io/)
|
|
5
|
+
[](http://www.planga.io/docs)
|
|
6
|
+
[](https://rubygems.org/gems/planga)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
**Example usage**
|
|
10
|
+
|
|
11
|
+
```ruby
|
|
12
|
+
require 'planga'
|
|
13
|
+
|
|
14
|
+
conf = PlangaConfiguration.new(
|
|
15
|
+
:public_api_id => "foobar",
|
|
16
|
+
:private_api_key => "ePxoM3OTkW1z6j84JDurqw",
|
|
17
|
+
:conversation_id => "general",
|
|
18
|
+
:current_user_id => "1234",
|
|
19
|
+
:current_user_name => "Bob",
|
|
20
|
+
:container_id => "my_container_div"
|
|
21
|
+
)
|
|
22
|
+
|
|
23
|
+
snippet = Planga.get_planga_snippet(conf)
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
**Requirements:**
|
|
5
27
|
|
|
6
28
|
* Ruby >= 2.4.1
|
|
7
29
|
* gem
|
|
@@ -15,12 +37,3 @@ Planga Ruby Wrapper:
|
|
|
15
37
|
|
|
16
38
|
* run `gem install planga`
|
|
17
39
|
|
|
18
|
-
**Example usage**
|
|
19
|
-
|
|
20
|
-
```ruby
|
|
21
|
-
require 'planga'
|
|
22
|
-
|
|
23
|
-
conf = PlangaConfiguration.new("foobar", "kl9psH9VrLZ1hfsPY0b3-W", "general", "1234", "Bob", "my_container_div")
|
|
24
|
-
|
|
25
|
-
snippet = Planga.get_planga_snippet(conf)
|
|
26
|
-
```
|
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.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Wiebe Marten Wijnja
|
|
@@ -17,14 +17,14 @@ dependencies:
|
|
|
17
17
|
requirements:
|
|
18
18
|
- - "~>"
|
|
19
19
|
- !ruby/object:Gem::Version
|
|
20
|
-
version: '
|
|
20
|
+
version: '1.1'
|
|
21
21
|
type: :runtime
|
|
22
22
|
prerelease: false
|
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
|
24
24
|
requirements:
|
|
25
25
|
- - "~>"
|
|
26
26
|
- !ruby/object:Gem::Version
|
|
27
|
-
version: '
|
|
27
|
+
version: '1.1'
|
|
28
28
|
description: Wrapper for interacting with the Planga chat server.
|
|
29
29
|
email:
|
|
30
30
|
executables: []
|