overlord 0.1.14 → 0.1.15

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.14
1
+ 0.1.15
@@ -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(version = '1.4.0')
316
+ def google_load_jquery(http_protocol = 'http', version = '1.4.0')
317
317
  return '' if defined?(@google_load_jquery_included)
318
318
  @google_load_jquery_included = true
319
- %Q{<script src="http://ajax.googleapis.com/ajax/libs/jquery/#{version}/jquery.min.js" type="text/javascript"></script>}
319
+ %Q{<script src="#{http_protocol}ajax.googleapis.com/ajax/libs/jquery/#{version}/jquery.min.js" type="text/javascript"></script>}
320
320
  end
321
321
 
322
322
  # Output include script to load jquery ui from google
323
- def google_load_jquery_ui(version = '1.7.2')
323
+ def google_load_jquery_ui(http_protocol = 'http', version = '1.7.2')
324
324
  return '' if defined?(@google_load_jquery_ui_included)
325
325
  @google_load_jquery_ui_included = true
326
- %Q{<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/#{version}/jquery-ui.min.js" type="text/javascript"></script>}
326
+ %Q{<script src="#{http_protocol}ajax.googleapis.com/ajax/libs/jqueryui/#{version}/jquery-ui.min.js" type="text/javascript"></script>}
327
327
  end
328
328
 
329
329
  def change_chars(term)
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.14"
8
+ s.version = "0.1.15"
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-01-20}
12
+ s.date = %q{2010-01-25}
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.14
4
+ version: 0.1.15
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-01-20 00:00:00 -07:00
13
+ date: 2010-01-25 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency