overlord 0.1.19 → 0.1.20
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.
- data/VERSION +1 -1
- data/app/helpers/overlord_google_helper.rb +4 -2
- data/overlord.gemspec +2 -2
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.20
|
@@ -66,14 +66,16 @@ module OverlordGoogleHelper
|
|
66
66
|
# javascript_callback: Name of a javascript method to call after the feed has finished loading. The
|
67
67
|
# method should accept the feed uri and the content id. ie feed_callback(uri, content_id).
|
68
68
|
def google_feeds(feeds, show_controls = false, number_of_items = 6, number_of_images = 20, number_of_videos = 6,
|
69
|
-
use_uri_for_control = false, run_load_scripts = false, javascript_callback = 'google_load_complete'
|
69
|
+
use_uri_for_control = false, run_load_scripts = false, javascript_callback = 'google_load_complete',
|
70
|
+
content_id = nil)
|
70
71
|
render :partial => 'google/feed', :collection => feeds, :locals => {:number_of_items => number_of_items,
|
71
72
|
:number_of_images => number_of_images,
|
72
73
|
:number_of_videos => number_of_videos,
|
73
74
|
:javascript_callback => javascript_callback,
|
74
75
|
:show_controls => show_controls,
|
75
76
|
:use_uri_for_control => use_uri_for_control,
|
76
|
-
:run_load_scripts => run_load_scripts
|
77
|
+
:run_load_scripts => run_load_scripts,
|
78
|
+
:content_id => content_id}
|
77
79
|
end
|
78
80
|
|
79
81
|
# Render combined feed using Google's api
|
data/overlord.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{overlord}
|
8
|
-
s.version = "0.1.
|
8
|
+
s.version = "0.1.20"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Justin Ball", "Joel Duffin"]
|
12
|
-
s.date = %q{2010-02-
|
12
|
+
s.date = %q{2010-02-10}
|
13
13
|
s.description = %q{Code to interact with the google ajax apis on the server and the client.}
|
14
14
|
s.email = %q{justin@tatemae.com}
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: overlord
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Ball
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2010-02-
|
13
|
+
date: 2010-02-10 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|