overlord 0.1.8 → 0.1.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.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.8
1
+ 0.1.9
@@ -313,17 +313,17 @@ module OverlordGoogleHelper
313
313
  end
314
314
 
315
315
  # Output include script to load jquery from google
316
- def google_load_jquery
316
+ def google_load_jquery(version = '1.4.0')
317
317
  return '' if defined?(@google_load_jquery_included)
318
318
  @google_load_jquery_included = true
319
- google_ajax_api_scripts + '<script type="text/javascript">google.load("jquery", "1");</script>'
319
+ %Q{#{google_ajax_api_scripts}<script type="text/javascript">google.load("jquery", "#{version}");</script>}
320
320
  end
321
321
 
322
322
  # Output include script to load jquery ui from google
323
- def google_load_jquery_ui
323
+ def google_load_jquery_ui(version = '1.7.2')
324
324
  return '' if defined?(@google_load_jquery_ui_included)
325
325
  @google_load_jquery_ui_included = true
326
- google_ajax_api_scripts + '<script type="text/javascript">google.load("jqueryui", "1");</script>'
326
+ %Q{#{google_ajax_api_scripts}<script type="text/javascript">google.load("jqueryui", "#{version}");</script>}
327
327
  end
328
328
 
329
329
  def change_chars(term)
data/overlord.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{overlord}
8
- s.version = "0.1.8"
8
+ s.version = "0.1.9"
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"]
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.8
4
+ version: 0.1.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Ball