jquery_tag 0.1.2 → 0.1.3

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.
@@ -1,3 +1,3 @@
1
1
  module JqueryTag
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
@@ -13,7 +13,7 @@ module JqueryTag
13
13
  private
14
14
  def jquery_file(path, version)
15
15
  path ||= 'jquery.js'
16
- version ||= '1.4.4'
16
+ version ||= '1.5.0'
17
17
  Rails.env.production? ? "//ajax.googleapis.com/ajax/libs/jquery/#{version}/jquery.min.js" : path
18
18
  end
19
19
 
@@ -36,7 +36,7 @@ describe JqueryTag::ViewHelpers do
36
36
  before { production! }
37
37
 
38
38
  it "uses the google CDN path" do
39
- expects_include_with ['//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js']
39
+ expects_include_with ['//ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js']
40
40
  jquery_tag
41
41
  end
42
42
 
@@ -46,7 +46,7 @@ describe JqueryTag::ViewHelpers do
46
46
  end
47
47
 
48
48
  it "uses the google CDN path for the jquery ui script" do
49
- expects_include_with ['//ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js']
49
+ expects_include_with ['//ajax.googleapis.com/ajax/libs/jquery/1.5.0/jquery.min.js', '//ajax.googleapis.com/ajax/libs/jqueryui/1.8.9/jquery-ui.min.js']
50
50
  jquery_tag :ui => true
51
51
  end
52
52
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jquery_tag
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Lucas Mazza
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-24 00:00:00 -02:00
18
+ date: 2011-02-03 00:00:00 -02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency