rails3-jquery-autocomplete 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.markdown CHANGED
@@ -20,7 +20,7 @@ I'd encourage you to understand how to use those 3 amazing tools before attempti
20
20
 
21
21
  Include the gem on your Gemfile
22
22
 
23
- gem 'rails3-jquery-autocomplete', '0.3.0'
23
+ gem 'rails3-jquery-autocomplete', '0.3.1'
24
24
 
25
25
  Install it
26
26
 
data/Rakefile CHANGED
@@ -10,7 +10,7 @@ begin
10
10
  gem.email = "david.padilla@crowdint.com"
11
11
  gem.homepage = "http://github.com/crowdint/rails3-jquery-autocomplete"
12
12
  gem.authors = ["David Padilla"]
13
- gem.add_development_dependency "rails", ">= 3.0.0.rc2"
13
+ gem.add_development_dependency "rails", ">= 3.0.0"
14
14
  gem.files = %w(README.markdown Rakefile) + Dir.glob("{lib,test}/**/*")
15
15
 
16
16
  end
@@ -20,8 +20,10 @@ $(document).ready(function(){
20
20
  source: $(this).attr('data-autocomplete'),
21
21
  select: function(event, ui) {
22
22
  $(this).val(ui.item.value),
23
- if($(this).attr('id_element')) {
24
- $($(this).attr('id_element')).val(ui.item.id);
23
+ function(){
24
+ if ($(this).attr('id_element')) {
25
+ $($(this).attr('id_element')).val(ui.item.id);
26
+ }
25
27
  }
26
28
  return false;
27
29
  }
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails3-jquery-autocomplete
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - David Padilla
@@ -26,13 +26,12 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- hash: 977940607
29
+ hash: 7
30
30
  segments:
31
31
  - 3
32
32
  - 0
33
33
  - 0
34
- - rc2
35
- version: 3.0.0.rc2
34
+ version: 3.0.0
36
35
  type: :development
37
36
  version_requirements: *id001
38
37
  description: Use jQuery's autocomplete plugin with Rails 3.