jive-tile 0.0.8 → 0.0.9
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/Gemfile +1 -3
- data/README.md +8 -8
- data/jive-tile.gemspec +1 -1
- data/lib/jive/tile/instance_methods.rb +2 -1
- data/lib/jive/tile/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a3f6ba6cb7882f610c529aba5097f9123d6e9bd6
|
|
4
|
+
data.tar.gz: 1e6800dc4b5284d4d5e893516df9997cb6dc3c78
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 7e60e9ebe85ea6536d0c96081a6223bfda95a16308160c49a46c62eb43360e4ee44070434d8a3f3b14a15a2022648fb7495d92bad619acf50bdf0d0f03c190f5
|
|
7
|
+
data.tar.gz: 0a6053695fe77be7d1d20a9bba88cb3237f9be42c3c8896c49fa5b7a64e8fbb5aebddec4706e0bb840eb0497cf6c287f68012b96c77aedc8f14a758376bae15b
|
data/Gemfile
CHANGED
data/README.md
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
[](http://badge.fury.io/rb/jive-webhook)
|
|
2
|
+
[](https://travis-ci.org/butchmarshall/ruby-jive-webhook)
|
|
3
3
|
|
|
4
|
-
# Jive::
|
|
4
|
+
# Jive::Webhook
|
|
5
5
|
|
|
6
|
-
An implemention of Jives
|
|
6
|
+
An implemention of Jives Webhook functionality using ActiveRecord.
|
|
7
7
|
|
|
8
8
|
## Installation
|
|
9
9
|
|
|
10
10
|
Add this line to your application's Gemfile:
|
|
11
11
|
|
|
12
12
|
```ruby
|
|
13
|
-
gem 'jive-
|
|
13
|
+
gem 'jive-webhook'
|
|
14
14
|
```
|
|
15
15
|
|
|
16
16
|
And then execute:
|
|
@@ -19,7 +19,7 @@ And then execute:
|
|
|
19
19
|
|
|
20
20
|
Or install it yourself as:
|
|
21
21
|
|
|
22
|
-
$ gem install jive-
|
|
22
|
+
$ gem install jive-webhook
|
|
23
23
|
|
|
24
24
|
then run
|
|
25
25
|
|
|
@@ -33,12 +33,12 @@ rails generate jive:tile:active_record
|
|
|
33
33
|
To the ActiveRecord model:
|
|
34
34
|
|
|
35
35
|
```ruby
|
|
36
|
-
Jive::
|
|
36
|
+
Jive::Webhook.new(...)
|
|
37
37
|
```
|
|
38
38
|
|
|
39
39
|
## Contributing
|
|
40
40
|
|
|
41
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/butchmarshall/ruby-jive-
|
|
41
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/butchmarshall/ruby-jive-webhook.
|
|
42
42
|
|
|
43
43
|
|
|
44
44
|
## License
|
data/jive-tile.gemspec
CHANGED
|
@@ -22,7 +22,7 @@ Gem::Specification.new do |spec|
|
|
|
22
22
|
|
|
23
23
|
# Tiles require association with an AddOn
|
|
24
24
|
spec.add_dependency "jive-add_on", ">= 0.0.2"
|
|
25
|
-
spec.add_dependency "jive-oauth_token", ">= 0.0.
|
|
25
|
+
spec.add_dependency "jive-oauth_token", ">= 0.0.4"
|
|
26
26
|
|
|
27
27
|
if RUBY_PLATFORM == 'java'
|
|
28
28
|
spec.add_development_dependency "jdbc-sqlite3", "> 0"
|
|
@@ -34,8 +34,9 @@ module Jive
|
|
|
34
34
|
json_body = JSON.parse(response.body)
|
|
35
35
|
|
|
36
36
|
# Create
|
|
37
|
-
Jive::OauthToken.create(
|
|
37
|
+
oauth_token = Jive::OauthToken.create(
|
|
38
38
|
:owner => self,
|
|
39
|
+
:add_on => self.add_on,
|
|
39
40
|
:scope => json_body["scope"],
|
|
40
41
|
:token_type => json_body["token_type"],
|
|
41
42
|
:expires_in => json_body["expires_in"],
|
data/lib/jive/tile/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jive-tile
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.9
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Butch Marshall
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: exe
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-02-
|
|
11
|
+
date: 2016-02-26 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: activerecord
|
|
@@ -50,14 +50,14 @@ dependencies:
|
|
|
50
50
|
requirements:
|
|
51
51
|
- - ">="
|
|
52
52
|
- !ruby/object:Gem::Version
|
|
53
|
-
version: 0.0.
|
|
53
|
+
version: 0.0.4
|
|
54
54
|
type: :runtime
|
|
55
55
|
prerelease: false
|
|
56
56
|
version_requirements: !ruby/object:Gem::Requirement
|
|
57
57
|
requirements:
|
|
58
58
|
- - ">="
|
|
59
59
|
- !ruby/object:Gem::Version
|
|
60
|
-
version: 0.0.
|
|
60
|
+
version: 0.0.4
|
|
61
61
|
- !ruby/object:Gem::Dependency
|
|
62
62
|
name: sqlite3
|
|
63
63
|
requirement: !ruby/object:Gem::Requirement
|