google-instant-hangouts 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +5 -13
- data/.travis.yml +3 -0
- data/Changelog.md +4 -0
- data/Gemfile.lock +1 -1
- data/Readme.md +11 -1
- data/google-instant-hangouts.gemspec +2 -2
- data/lib/google-instant-hangouts/helper.rb +10 -9
- data/lib/google-instant-hangouts/version.rb +1 -1
- metadata +13 -15
- data/app/.DS_Store +0 -0
- data/app/assets/.DS_Store +0 -0
- data/app/assets/javascripts/.DS_Store +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/google-instant-hangouts/.DS_Store +0 -0
checksums.yaml
CHANGED
@@ -1,15 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
|
5
|
-
data.tar.gz: !binary |-
|
6
|
-
NmI4Nzc4N2JlNjAwZWFhMjIwYzM1Y2I3ODRlM2E4YTk0Yzk1YTNjMg==
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 8406ac0d7b3891345e0eabbecabd663bd3a73a73
|
4
|
+
data.tar.gz: 405ea6e8baadfffb01b09fd7db8363a081609a39
|
7
5
|
SHA512:
|
8
|
-
metadata.gz:
|
9
|
-
|
10
|
-
YzcxYjYyZDA3YmEyMGEzOTVlMjM3MjRjMGM5MzI3ODNlOTlkNGJmYmM0NGU3
|
11
|
-
MDRiYjU0MjE1ZGIzNjg2ZmM1NTkxMGJkMzcyNjI1OGY4ZTVjODM=
|
12
|
-
data.tar.gz: !binary |-
|
13
|
-
NDA2OTM3MDMzZjMwMDc3NThhOTE4ZWQxNmU0MDM5MGRjOTJlOTEyYWRmNTAz
|
14
|
-
YWZlNGZlNGM4MDM0MDJlOGUxMzFjOGM0NjQwMWUzNDg1MGZjZmRkZGNjN2I5
|
15
|
-
YTg2MWE1YTk0MjJjMDRiOGEyYzkyM2U1YWEyOGQ2ZDBhOWFjODU=
|
6
|
+
metadata.gz: b6691b22688691adbf0de02019ea9758b13743e01afc07d3bf34709aa7e5d1150d444faebab1bd43b8d598dc8e1df702c3314075787a07290b9ef487db676a3e
|
7
|
+
data.tar.gz: d90a8ee7b40c39fa7696eb027df69e90f134bc13691928145103ee8c672660e5fb89e123742b6e885847a0b75562c06e11550e12aec9558640da533fe0396b1f
|
data/.travis.yml
ADDED
data/Changelog.md
CHANGED
data/Gemfile.lock
CHANGED
data/Readme.md
CHANGED
@@ -2,6 +2,8 @@
|
|
2
2
|
|
3
3
|
A Ruby wrapper to integrate Google's [Instant Hangout](https://github.com/google/instant-hangouts) - Instant Hangouts lets you easily add Google+ Hangouts to any web page:
|
4
4
|
|
5
|
+
A [Sample Application with usage can be found here](http://serene-plateau-8981.herokuapp.com) .
|
6
|
+
|
5
7
|
## Installation
|
6
8
|
|
7
9
|
Add the gem to the Gemfile:
|
@@ -17,6 +19,14 @@ In your JavaScript manifest (e.g. `application.js`):
|
|
17
19
|
|
18
20
|
In your `*.html.erb` or `*.html.haml` you can use this helper
|
19
21
|
|
20
|
-
instant_hangout
|
22
|
+
<%= instant_hangout %>
|
23
|
+
|
24
|
+
### Options :
|
25
|
+
|
26
|
+
1) Hangouts-on-Air (HOA)
|
27
|
+
|
28
|
+
Add `hangout_type: 'onair'` as a option to the helper method
|
29
|
+
|
30
|
+
<%= instant_hangout hangout_type: 'onair' %>
|
21
31
|
|
22
32
|
**Note:** Work In Progress
|
@@ -5,9 +5,9 @@ require "google-instant-hangouts/version"
|
|
5
5
|
Gem::Specification.new do |s|
|
6
6
|
s.name = "google-instant-hangouts"
|
7
7
|
s.version = GoogleInstantHangouts::VERSION
|
8
|
-
s.authors = ["Ankit Gupta"]
|
8
|
+
s.authors = ["Ankit Gupta","Ashish Upadhyay"]
|
9
9
|
s.date = '2014-01-27'
|
10
|
-
s.email = ["ankit.gupta8898@gmail.com"]
|
10
|
+
s.email = ["ankit.gupta8898@gmail.com","ashish.upadhyaye@gmail.com"]
|
11
11
|
s.summary = %q{Gem to Easily add Google+ Hangouts to any web page and Rails asset pipeline}
|
12
12
|
s.description = %q{Gem to Easily add Google+ Hangouts to any web page and Rails asset pipeline}
|
13
13
|
|
@@ -2,16 +2,17 @@ module GoogleInstantHangouts
|
|
2
2
|
module Helper
|
3
3
|
|
4
4
|
def instant_hangout(opts={})
|
5
|
-
defaults = {render: 'createhangout',lang: 'en',room_id: 'my_room',topic: 'my topic',width:
|
5
|
+
defaults = {render: 'createhangout',lang: 'en',room_id: 'my_room',topic: 'my topic',widget_size: 136,width: 300, hangout_type: nil}
|
6
6
|
defaults.merge!(opts)
|
7
|
-
content_tag(:div,
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
7
|
+
content_tag(:div,nil,
|
8
|
+
class: "instanthangouts",
|
9
|
+
render: defaults[:render],
|
10
|
+
lang: defaults[:lang],
|
11
|
+
room_id: defaults[:room_id],
|
12
|
+
topic: defaults[:topic],
|
13
|
+
widget_size: defaults[:widget_size],
|
14
|
+
width: defaults[:width],
|
15
|
+
hangout_type: defaults[:hangout_type])
|
15
16
|
end
|
16
17
|
end
|
17
18
|
end
|
metadata
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-instant-hangouts
|
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
|
- Ankit Gupta
|
8
|
+
- Ashish Upadhyay
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
@@ -14,14 +15,14 @@ dependencies:
|
|
14
15
|
name: railties
|
15
16
|
requirement: !ruby/object:Gem::Requirement
|
16
17
|
requirements:
|
17
|
-
- -
|
18
|
+
- - '>='
|
18
19
|
- !ruby/object:Gem::Version
|
19
20
|
version: '3.1'
|
20
21
|
type: :runtime
|
21
22
|
prerelease: false
|
22
23
|
version_requirements: !ruby/object:Gem::Requirement
|
23
24
|
requirements:
|
24
|
-
- -
|
25
|
+
- - '>='
|
25
26
|
- !ruby/object:Gem::Version
|
26
27
|
version: '3.1'
|
27
28
|
- !ruby/object:Gem::Dependency
|
@@ -42,50 +43,47 @@ dependencies:
|
|
42
43
|
name: rails
|
43
44
|
requirement: !ruby/object:Gem::Requirement
|
44
45
|
requirements:
|
45
|
-
- -
|
46
|
+
- - '>='
|
46
47
|
- !ruby/object:Gem::Version
|
47
48
|
version: '3.1'
|
48
49
|
type: :development
|
49
50
|
prerelease: false
|
50
51
|
version_requirements: !ruby/object:Gem::Requirement
|
51
52
|
requirements:
|
52
|
-
- -
|
53
|
+
- - '>='
|
53
54
|
- !ruby/object:Gem::Version
|
54
55
|
version: '3.1'
|
55
56
|
- !ruby/object:Gem::Dependency
|
56
57
|
name: rake
|
57
58
|
requirement: !ruby/object:Gem::Requirement
|
58
59
|
requirements:
|
59
|
-
- -
|
60
|
+
- - '>='
|
60
61
|
- !ruby/object:Gem::Version
|
61
62
|
version: '0'
|
62
63
|
type: :development
|
63
64
|
prerelease: false
|
64
65
|
version_requirements: !ruby/object:Gem::Requirement
|
65
66
|
requirements:
|
66
|
-
- -
|
67
|
+
- - '>='
|
67
68
|
- !ruby/object:Gem::Version
|
68
69
|
version: '0'
|
69
70
|
description: Gem to Easily add Google+ Hangouts to any web page and Rails asset pipeline
|
70
71
|
email:
|
71
72
|
- ankit.gupta8898@gmail.com
|
73
|
+
- ashish.upadhyaye@gmail.com
|
72
74
|
executables: []
|
73
75
|
extensions: []
|
74
76
|
extra_rdoc_files: []
|
75
77
|
files:
|
78
|
+
- .travis.yml
|
76
79
|
- Changelog.md
|
77
80
|
- Gemfile
|
78
81
|
- Gemfile.lock
|
79
82
|
- Rakefile
|
80
83
|
- Readme.md
|
81
|
-
- app/.DS_Store
|
82
|
-
- app/assets/.DS_Store
|
83
|
-
- app/assets/javascripts/.DS_Store
|
84
84
|
- app/assets/javascripts/google-instant-hangouts.js
|
85
85
|
- google-instant-hangouts.gemspec
|
86
|
-
- lib/.DS_Store
|
87
86
|
- lib/google-instant-hangouts.rb
|
88
|
-
- lib/google-instant-hangouts/.DS_Store
|
89
87
|
- lib/google-instant-hangouts/helper.rb
|
90
88
|
- lib/google-instant-hangouts/rails.rb
|
91
89
|
- lib/google-instant-hangouts/version.rb
|
@@ -99,17 +97,17 @@ require_paths:
|
|
99
97
|
- lib
|
100
98
|
required_ruby_version: !ruby/object:Gem::Requirement
|
101
99
|
requirements:
|
102
|
-
- -
|
100
|
+
- - '>='
|
103
101
|
- !ruby/object:Gem::Version
|
104
102
|
version: '0'
|
105
103
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
104
|
requirements:
|
107
|
-
- -
|
105
|
+
- - '>='
|
108
106
|
- !ruby/object:Gem::Version
|
109
107
|
version: '0'
|
110
108
|
requirements: []
|
111
109
|
rubyforge_project:
|
112
|
-
rubygems_version: 2.
|
110
|
+
rubygems_version: 2.0.6
|
113
111
|
signing_key:
|
114
112
|
specification_version: 4
|
115
113
|
summary: Gem to Easily add Google+ Hangouts to any web page and Rails asset pipeline
|
data/app/.DS_Store
DELETED
Binary file
|
data/app/assets/.DS_Store
DELETED
Binary file
|
Binary file
|
data/lib/.DS_Store
DELETED
Binary file
|
Binary file
|