rails3-jquery-autocomplete 1.0.11 → 1.0.12
Sign up to get free protection for your applications and to get access to all the features.
data/README.md
CHANGED
@@ -1,3 +1,47 @@
|
|
1
|
+
## Status
|
2
|
+
|
3
|
+
As you may have noticed we are working through the backlog of issues and pull requests
|
4
|
+
and trying to get those caught up. Couple of quick notes related to this.
|
5
|
+
|
6
|
+
1. A new gem with Rails 4 will be forthcoming so users on Rails 4 don't need to point to master.
|
7
|
+
2. If there is a specific feature that is in master, but not in the gem I strongly suggest you
|
8
|
+
point to the specific changeset that addresses your issue rather than directly at master. There
|
9
|
+
are going to be a lot of changes going on here and while we will do our best; there will probably
|
10
|
+
be some breakage on master in the short term. Use at your discretion!
|
11
|
+
3. Some pull requests have been submitted to address the same functionality; in those cases we will try
|
12
|
+
to pick the best/optimal solution, accept that and close out the other tickets.
|
13
|
+
4. Backwards compatibility is considered a high priority, so if a pull request is a great idea,
|
14
|
+
but it breaks backwards compatibility, it will be closed and noted that it causes breakage
|
15
|
+
to backwards compatibility. If anyone passionately wants the feature they are welcome to update
|
16
|
+
in a way that maintiains backwards compatibility and issue new pull reqs.
|
17
|
+
5. Performance is critical. If a feature is a nice to have, but has been implemented in such a way that it causes
|
18
|
+
performance degradation to existing searches; it will be rejected.
|
19
|
+
6. Thanks to everyone who is submitting pull requests, issues, comments, etc... I appreciate the help
|
20
|
+
from each one of you. Sometimes it has to get worse before it gets better. But I promise,
|
21
|
+
it will get better!
|
22
|
+
|
23
|
+
-------
|
24
|
+
|
25
|
+
Thanks to David @ crowdint for creating this gem and all of his hard
|
26
|
+
work on it in the past.
|
27
|
+
|
28
|
+
Just posting this update to let everyone know this project is still
|
29
|
+
alive and has a new maintainer. Over the next couple of weeks we will
|
30
|
+
be reviewing existing pull requests and you will see updates shortly.
|
31
|
+
|
32
|
+
Thanks for your patience.
|
33
|
+
|
34
|
+
joiey-seeley@uiowa.edu
|
35
|
+
|
36
|
+
-------
|
37
|
+
|
38
|
+
Unfortunately, I don't have much time to work on this gem, I'm looking for
|
39
|
+
someone to help with its maintenance. Send me an email if you are interested in
|
40
|
+
getting push privileges to this repo.
|
41
|
+
|
42
|
+
david@crowdint.com
|
43
|
+
|
44
|
+
|
1
45
|
# rails3-jquery-autocomplete
|
2
46
|
|
3
47
|
[![Build Status](https://secure.travis-ci.org/crowdint/rails3-jquery-autocomplete.png)](http://travis-ci.org/crowdint/rails3-jquery-autocomplete)
|
@@ -67,7 +111,7 @@ uncompressed version by running:
|
|
67
111
|
|
68
112
|
rails generate autocomplete:uncompressed
|
69
113
|
|
70
|
-
### Rails 3.1.x
|
114
|
+
### Rails 3.1.x and higher
|
71
115
|
|
72
116
|
Just add it to your app/assets/javascripts/application.js file
|
73
117
|
|
@@ -202,7 +246,7 @@ If you are not using a FormBuilder (form_for) or you just want to include an aut
|
|
202
246
|
To generate an autocomplete input field that accepts multiple values separated by a given delimiter, add the `'data-delimiter'` and `:multiple` options:
|
203
247
|
|
204
248
|
form_for @product do |f|
|
205
|
-
f.autocomplete_field :brand_names, autocomplete_brand_name_products_path,
|
249
|
+
f.autocomplete_field :brand_names, autocomplete_brand_name_products_path,
|
206
250
|
'data-delimiter' => ',', :multiple => true
|
207
251
|
end
|
208
252
|
|
@@ -339,7 +383,7 @@ while you're developing, it is recommended that you run
|
|
339
383
|
|
340
384
|
bundle exec guard
|
341
385
|
|
342
|
-
to have the
|
386
|
+
to have the relevant test run every time you save a file.
|
343
387
|
|
344
388
|
## Integration tests
|
345
389
|
|
@@ -357,7 +401,7 @@ integration folder:
|
|
357
401
|
|
358
402
|
## Where to test what
|
359
403
|
|
360
|
-
If you're making or tweaking a plugin (such as the
|
404
|
+
If you're making or tweaking a plugin (such as the formtastic plugin or
|
361
405
|
simple\_form plugin), check out the simple\_form\_plugin\_test for an
|
362
406
|
example of how to test it as part of the main `rake test` run.
|
363
407
|
Historically, plugins like these had been tested (shoddily) as part of
|
@@ -24,7 +24,7 @@
|
|
24
24
|
}
|
25
25
|
};
|
26
26
|
if (jQuery.fn.on !== undefined) {
|
27
|
-
return
|
27
|
+
return jQuery(document).on('focus',this.selector,handler);
|
28
28
|
}
|
29
29
|
else {
|
30
30
|
return this.live('focus',handler);
|
@@ -73,14 +73,17 @@
|
|
73
73
|
return;
|
74
74
|
}
|
75
75
|
jQuery(jQuery(this).attr('data-id-element')).val(ui.item ? ui.item.id : "");
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
76
|
+
|
77
|
+
if (jQuery(this).attr('data-update-elements')) {
|
78
|
+
var update_elements = jQuery.parseJSON(jQuery(this).attr("data-update-elements"));
|
79
|
+
var data = ui.item ? jQuery(this).data(ui.item.id.toString()) : {};
|
80
|
+
if(update_elements && jQuery(update_elements['id']).val() == "") {
|
81
|
+
return;
|
82
|
+
}
|
83
|
+
for (var key in update_elements) {
|
84
|
+
jQuery(update_elements[key]).val(ui.item ? data[key] : "");
|
85
|
+
}
|
80
86
|
}
|
81
|
-
for (var key in update_elements) {
|
82
|
-
jQuery(update_elements[key]).val(ui.item ? data[key] : "");
|
83
|
-
}
|
84
87
|
},
|
85
88
|
search: function() {
|
86
89
|
// custom minLength
|
@@ -118,7 +121,7 @@
|
|
118
121
|
}
|
119
122
|
var remember_string = this.value;
|
120
123
|
jQuery(this).bind('keyup.clearId', function(){
|
121
|
-
if(jQuery(this).val()
|
124
|
+
if(jQuery.trim(jQuery(this).val()) != jQuery.trim(remember_string)){
|
122
125
|
jQuery(jQuery(this).attr('data-id-element')).val("");
|
123
126
|
jQuery(this).unbind('keyup.clearId');
|
124
127
|
}
|
@@ -1,16 +1 @@
|
|
1
|
-
|
2
|
-
* Unobtrusive autocomplete
|
3
|
-
*
|
4
|
-
* To use it, you just have to include the HTML attribute autocomplete
|
5
|
-
* with the autocomplete URL as the value
|
6
|
-
*
|
7
|
-
* Example:
|
8
|
-
* <input type="text" data-autocomplete="/url/to/autocomplete">
|
9
|
-
*
|
10
|
-
* Optionally, you can use a jQuery selector to specify a field that can
|
11
|
-
* be updated with the element id whenever you find a matching value
|
12
|
-
*
|
13
|
-
* Example:
|
14
|
-
* <input type="text" data-autocomplete="/url/to/autocomplete" data-id-element="#id_field">
|
15
|
-
*/
|
16
|
-
(function(e){var t=null;e.fn.railsAutocomplete=function(){var t=function(){this.railsAutoCompleter||(this.railsAutoCompleter=new e.railsAutocomplete(this))};return e.fn.on!==undefined?$(document).on("focus",this.selector,t):this.live("focus",t)},e.railsAutocomplete=function(e){_e=e,this.init(_e)},e.railsAutocomplete.fn=e.railsAutocomplete.prototype={railsAutocomplete:"0.0.1"},e.railsAutocomplete.fn.extend=e.railsAutocomplete.extend=e.extend,e.railsAutocomplete.fn.extend({init:function(t){function n(e){return e.split(t.delimiter)}function r(e){return n(e).pop().replace(/^\s+/,"")}t.delimiter=e(t).attr("data-delimiter")||null,e(t).autocomplete({source:function(n,i){e.getJSON(e(t).attr("data-autocomplete"),{term:r(n.term)},function(){arguments[0].length==0&&(arguments[0]=[],arguments[0][0]={id:"",label:"no existing match"}),e(arguments[0]).each(function(n,r){var i={};i[r.id]=r,e(t).data(i)}),i.apply(null,arguments)})},change:function(t,n){if(e(e(this).attr("data-id-element")).val()=="")return;e(e(this).attr("data-id-element")).val(n.item?n.item.id:"");var r=e.parseJSON(e(this).attr("data-update-elements")),i=n.item?e(this).data(n.item.id.toString()):{};if(r&&e(r["id"]).val()=="")return;for(var s in r)e(r[s]).val(n.item?i[s]:"")},search:function(){var e=r(this.value);if(e.length<2)return!1},focus:function(){return!1},select:function(r,i){var s=n(this.value);s.pop(),s.push(i.item.value);if(t.delimiter!=null)s.push(""),this.value=s.join(t.delimiter);else{this.value=s.join(""),e(this).attr("data-id-element")&&e(e(this).attr("data-id-element")).val(i.item.id);if(e(this).attr("data-update-elements")){var o=e(this).data(i.item.id.toString()),u=e.parseJSON(e(this).attr("data-update-elements"));for(var a in u)e(u[a]).val(o[a])}}var f=this.value;return e(this).bind("keyup.clearId",function(){e(this).val().trim()!=f.trim()&&(e(e(this).attr("data-id-element")).val(""),e(this).unbind("keyup.clearId"))}),e(t).trigger("railsAutocomplete.select",i),!1}})}}),e(document).ready(function(){e("input[data-autocomplete]").railsAutocomplete()})})(jQuery);
|
1
|
+
(function(jQuery){var self=null;jQuery.fn.railsAutocomplete=function(){var handler=function(){if(!this.railsAutoCompleter){this.railsAutoCompleter=new jQuery.railsAutocomplete(this)}};if(jQuery.fn.on!==undefined){return jQuery(document).on("focus",this.selector,handler)}else{return this.live("focus",handler)}};jQuery.railsAutocomplete=function(e){_e=e;this.init(_e)};jQuery.railsAutocomplete.fn=jQuery.railsAutocomplete.prototype={railsAutocomplete:"0.0.1"};jQuery.railsAutocomplete.fn.extend=jQuery.railsAutocomplete.extend=jQuery.extend;jQuery.railsAutocomplete.fn.extend({init:function(e){e.delimiter=jQuery(e).attr("data-delimiter")||null;function split(val){return val.split(e.delimiter)}function extractLast(term){return split(term).pop().replace(/^\s+/,"")}jQuery(e).autocomplete({source:function(request,response){jQuery.getJSON(jQuery(e).attr("data-autocomplete"),{term:extractLast(request.term)},function(){if(arguments[0].length==0){arguments[0]=[];arguments[0][0]={id:"",label:"no existing match"}}jQuery(arguments[0]).each(function(i,el){var obj={};obj[el.id]=el;jQuery(e).data(obj)});response.apply(null,arguments)})},change:function(event,ui){if(jQuery(jQuery(this).attr("data-id-element")).val()==""){return}jQuery(jQuery(this).attr("data-id-element")).val(ui.item?ui.item.id:"");if(jQuery(this).attr("data-update-elements")){var update_elements=jQuery.parseJSON(jQuery(this).attr("data-update-elements"));var data=ui.item?jQuery(this).data(ui.item.id.toString()):{};if(update_elements&&jQuery(update_elements["id"]).val()==""){return}for(var key in update_elements){jQuery(update_elements[key]).val(ui.item?data[key]:"")}}},search:function(){var term=extractLast(this.value);if(term.length<2){return false}},focus:function(){return false},select:function(event,ui){var terms=split(this.value);terms.pop();terms.push(ui.item.value);if(e.delimiter!=null){terms.push("");this.value=terms.join(e.delimiter)}else{this.value=terms.join("");if(jQuery(this).attr("data-id-element")){jQuery(jQuery(this).attr("data-id-element")).val(ui.item.id)}if(jQuery(this).attr("data-update-elements")){var data=jQuery(this).data(ui.item.id.toString());var update_elements=jQuery.parseJSON(jQuery(this).attr("data-update-elements"));for(var key in update_elements){jQuery(update_elements[key]).val(data[key])}}}var remember_string=this.value;jQuery(this).bind("keyup.clearId",function(){if(jQuery.trim(jQuery(this).val())!=jQuery.trim(remember_string)){jQuery(jQuery(this).attr("data-id-element")).val("");jQuery(this).unbind("keyup.clearId")}});jQuery(e).trigger("railsAutocomplete.select",ui);return false}})}});jQuery(document).ready(function(){jQuery("input[data-autocomplete]").railsAutocomplete()})})(jQuery);
|
data/test/test_helper.rb
CHANGED
metadata
CHANGED
@@ -1,230 +1,171 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: rails3-jquery-autocomplete
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.11
|
3
|
+
version: !ruby/object:Gem::Version
|
5
4
|
prerelease:
|
5
|
+
version: 1.0.12
|
6
6
|
platform: ruby
|
7
|
-
authors:
|
7
|
+
authors:
|
8
8
|
- David Padilla
|
9
|
+
- Joiey Seeley
|
10
|
+
- Manu S Ajith
|
9
11
|
autorequire:
|
10
12
|
bindir: bin
|
11
13
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
14
|
+
|
15
|
+
date: 2013-12-13 00:00:00 Z
|
16
|
+
dependencies:
|
17
|
+
- !ruby/object:Gem::Dependency
|
15
18
|
name: rails
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '3.0'
|
22
|
-
type: :runtime
|
23
19
|
prerelease: false
|
24
|
-
|
20
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
21
|
none: false
|
26
|
-
requirements:
|
27
|
-
- -
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version:
|
30
|
-
|
22
|
+
requirements:
|
23
|
+
- - ">="
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: "3.0"
|
26
|
+
type: :runtime
|
27
|
+
version_requirements: *id001
|
28
|
+
- !ruby/object:Gem::Dependency
|
31
29
|
name: sqlite3-ruby
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
|
-
requirements:
|
35
|
-
- - ! '>='
|
36
|
-
- !ruby/object:Gem::Version
|
37
|
-
version: '0'
|
38
|
-
type: :development
|
39
30
|
prerelease: false
|
40
|
-
|
31
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
32
|
none: false
|
42
|
-
requirements:
|
43
|
-
- -
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version:
|
46
|
-
- !ruby/object:Gem::Dependency
|
47
|
-
name: mongoid
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
|
-
requirements:
|
51
|
-
- - ! '>='
|
52
|
-
- !ruby/object:Gem::Version
|
53
|
-
version: 2.0.0
|
33
|
+
requirements:
|
34
|
+
- - ">="
|
35
|
+
- !ruby/object:Gem::Version
|
36
|
+
version: "0"
|
54
37
|
type: :development
|
38
|
+
version_requirements: *id002
|
39
|
+
- !ruby/object:Gem::Dependency
|
40
|
+
name: mongoid
|
55
41
|
prerelease: false
|
56
|
-
|
42
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
57
43
|
none: false
|
58
|
-
requirements:
|
59
|
-
- -
|
60
|
-
- !ruby/object:Gem::Version
|
44
|
+
requirements:
|
45
|
+
- - ">="
|
46
|
+
- !ruby/object:Gem::Version
|
61
47
|
version: 2.0.0
|
62
|
-
- !ruby/object:Gem::Dependency
|
63
|
-
name: mongo_mapper
|
64
|
-
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
|
-
requirements:
|
67
|
-
- - ! '>='
|
68
|
-
- !ruby/object:Gem::Version
|
69
|
-
version: '0.9'
|
70
48
|
type: :development
|
49
|
+
version_requirements: *id003
|
50
|
+
- !ruby/object:Gem::Dependency
|
51
|
+
name: mongo_mapper
|
71
52
|
prerelease: false
|
72
|
-
|
73
|
-
none: false
|
74
|
-
requirements:
|
75
|
-
- - ! '>='
|
76
|
-
- !ruby/object:Gem::Version
|
77
|
-
version: '0.9'
|
78
|
-
- !ruby/object:Gem::Dependency
|
79
|
-
name: mongo
|
80
|
-
requirement: !ruby/object:Gem::Requirement
|
53
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
81
54
|
none: false
|
82
|
-
requirements:
|
83
|
-
- -
|
84
|
-
- !ruby/object:Gem::Version
|
85
|
-
version:
|
55
|
+
requirements:
|
56
|
+
- - ">="
|
57
|
+
- !ruby/object:Gem::Version
|
58
|
+
version: "0.9"
|
86
59
|
type: :development
|
60
|
+
version_requirements: *id004
|
61
|
+
- !ruby/object:Gem::Dependency
|
62
|
+
name: mongo
|
87
63
|
prerelease: false
|
88
|
-
|
64
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
89
65
|
none: false
|
90
|
-
requirements:
|
66
|
+
requirements:
|
91
67
|
- - ~>
|
92
|
-
- !ruby/object:Gem::Version
|
93
|
-
version: 1.6.2
|
94
|
-
- !ruby/object:Gem::Dependency
|
95
|
-
name: bson_ext
|
96
|
-
requirement: !ruby/object:Gem::Requirement
|
97
|
-
none: false
|
98
|
-
requirements:
|
99
|
-
- - ~>
|
100
|
-
- !ruby/object:Gem::Version
|
68
|
+
- !ruby/object:Gem::Version
|
101
69
|
version: 1.6.2
|
102
70
|
type: :development
|
71
|
+
version_requirements: *id005
|
72
|
+
- !ruby/object:Gem::Dependency
|
73
|
+
name: bson_ext
|
103
74
|
prerelease: false
|
104
|
-
|
75
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
105
76
|
none: false
|
106
|
-
requirements:
|
77
|
+
requirements:
|
107
78
|
- - ~>
|
108
|
-
- !ruby/object:Gem::Version
|
79
|
+
- !ruby/object:Gem::Version
|
109
80
|
version: 1.6.2
|
110
|
-
- !ruby/object:Gem::Dependency
|
111
|
-
name: guard
|
112
|
-
requirement: !ruby/object:Gem::Requirement
|
113
|
-
none: false
|
114
|
-
requirements:
|
115
|
-
- - ! '>='
|
116
|
-
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
81
|
type: :development
|
82
|
+
version_requirements: *id006
|
83
|
+
- !ruby/object:Gem::Dependency
|
84
|
+
name: guard
|
119
85
|
prerelease: false
|
120
|
-
|
121
|
-
none: false
|
122
|
-
requirements:
|
123
|
-
- - ! '>='
|
124
|
-
- !ruby/object:Gem::Version
|
125
|
-
version: '0'
|
126
|
-
- !ruby/object:Gem::Dependency
|
127
|
-
name: guard-test
|
128
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
129
87
|
none: false
|
130
|
-
requirements:
|
131
|
-
- -
|
132
|
-
- !ruby/object:Gem::Version
|
133
|
-
version:
|
88
|
+
requirements:
|
89
|
+
- - ">="
|
90
|
+
- !ruby/object:Gem::Version
|
91
|
+
version: "0"
|
134
92
|
type: :development
|
93
|
+
version_requirements: *id007
|
94
|
+
- !ruby/object:Gem::Dependency
|
95
|
+
name: guard-test
|
135
96
|
prerelease: false
|
136
|
-
|
97
|
+
requirement: &id008 !ruby/object:Gem::Requirement
|
137
98
|
none: false
|
138
|
-
requirements:
|
139
|
-
- -
|
140
|
-
- !ruby/object:Gem::Version
|
141
|
-
version:
|
142
|
-
- !ruby/object:Gem::Dependency
|
143
|
-
name: test-unit
|
144
|
-
requirement: !ruby/object:Gem::Requirement
|
145
|
-
none: false
|
146
|
-
requirements:
|
147
|
-
- - ~>
|
148
|
-
- !ruby/object:Gem::Version
|
149
|
-
version: 2.2.0
|
99
|
+
requirements:
|
100
|
+
- - ">="
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: "0"
|
150
103
|
type: :development
|
104
|
+
version_requirements: *id008
|
105
|
+
- !ruby/object:Gem::Dependency
|
106
|
+
name: test-unit
|
151
107
|
prerelease: false
|
152
|
-
|
108
|
+
requirement: &id009 !ruby/object:Gem::Requirement
|
153
109
|
none: false
|
154
|
-
requirements:
|
110
|
+
requirements:
|
155
111
|
- - ~>
|
156
|
-
- !ruby/object:Gem::Version
|
112
|
+
- !ruby/object:Gem::Version
|
157
113
|
version: 2.2.0
|
158
|
-
- !ruby/object:Gem::Dependency
|
159
|
-
name: shoulda
|
160
|
-
requirement: !ruby/object:Gem::Requirement
|
161
|
-
none: false
|
162
|
-
requirements:
|
163
|
-
- - ~>
|
164
|
-
- !ruby/object:Gem::Version
|
165
|
-
version: 3.0.1
|
166
114
|
type: :development
|
115
|
+
version_requirements: *id009
|
116
|
+
- !ruby/object:Gem::Dependency
|
117
|
+
name: shoulda
|
167
118
|
prerelease: false
|
168
|
-
|
119
|
+
requirement: &id010 !ruby/object:Gem::Requirement
|
169
120
|
none: false
|
170
|
-
requirements:
|
121
|
+
requirements:
|
171
122
|
- - ~>
|
172
|
-
- !ruby/object:Gem::Version
|
123
|
+
- !ruby/object:Gem::Version
|
173
124
|
version: 3.0.1
|
174
|
-
- !ruby/object:Gem::Dependency
|
175
|
-
name: uglifier
|
176
|
-
requirement: !ruby/object:Gem::Requirement
|
177
|
-
none: false
|
178
|
-
requirements:
|
179
|
-
- - ! '>='
|
180
|
-
- !ruby/object:Gem::Version
|
181
|
-
version: '0'
|
182
125
|
type: :development
|
126
|
+
version_requirements: *id010
|
127
|
+
- !ruby/object:Gem::Dependency
|
128
|
+
name: uglifier
|
183
129
|
prerelease: false
|
184
|
-
|
185
|
-
none: false
|
186
|
-
requirements:
|
187
|
-
- - ! '>='
|
188
|
-
- !ruby/object:Gem::Version
|
189
|
-
version: '0'
|
190
|
-
- !ruby/object:Gem::Dependency
|
191
|
-
name: rr
|
192
|
-
requirement: !ruby/object:Gem::Requirement
|
130
|
+
requirement: &id011 !ruby/object:Gem::Requirement
|
193
131
|
none: false
|
194
|
-
requirements:
|
195
|
-
- -
|
196
|
-
- !ruby/object:Gem::Version
|
197
|
-
version:
|
132
|
+
requirements:
|
133
|
+
- - ">="
|
134
|
+
- !ruby/object:Gem::Version
|
135
|
+
version: "0"
|
198
136
|
type: :development
|
137
|
+
version_requirements: *id011
|
138
|
+
- !ruby/object:Gem::Dependency
|
139
|
+
name: rr
|
199
140
|
prerelease: false
|
200
|
-
|
201
|
-
none: false
|
202
|
-
requirements:
|
203
|
-
- - ! '>='
|
204
|
-
- !ruby/object:Gem::Version
|
205
|
-
version: '0'
|
206
|
-
- !ruby/object:Gem::Dependency
|
207
|
-
name: simple_form
|
208
|
-
requirement: !ruby/object:Gem::Requirement
|
141
|
+
requirement: &id012 !ruby/object:Gem::Requirement
|
209
142
|
none: false
|
210
|
-
requirements:
|
211
|
-
- -
|
212
|
-
- !ruby/object:Gem::Version
|
213
|
-
version:
|
143
|
+
requirements:
|
144
|
+
- - ">="
|
145
|
+
- !ruby/object:Gem::Version
|
146
|
+
version: "0"
|
214
147
|
type: :development
|
148
|
+
version_requirements: *id012
|
149
|
+
- !ruby/object:Gem::Dependency
|
150
|
+
name: simple_form
|
215
151
|
prerelease: false
|
216
|
-
|
152
|
+
requirement: &id013 !ruby/object:Gem::Requirement
|
217
153
|
none: false
|
218
|
-
requirements:
|
154
|
+
requirements:
|
219
155
|
- - ~>
|
220
|
-
- !ruby/object:Gem::Version
|
221
|
-
version:
|
156
|
+
- !ruby/object:Gem::Version
|
157
|
+
version: "1.5"
|
158
|
+
type: :development
|
159
|
+
version_requirements: *id013
|
222
160
|
description: Use jQuery's autocomplete plugin with Rails 3.
|
223
|
-
email: david.padilla@crowdint.com
|
161
|
+
email: david.padilla@crowdint.com joiey.seeley@gmail.com neo@codingarena.in
|
224
162
|
executables: []
|
163
|
+
|
225
164
|
extensions: []
|
165
|
+
|
226
166
|
extra_rdoc_files: []
|
227
|
-
|
167
|
+
|
168
|
+
files:
|
228
169
|
- lib/assets/javascripts/autocomplete-rails-uncompressed.js
|
229
170
|
- lib/assets/javascripts/autocomplete-rails.js
|
230
171
|
- lib/cucumber/autocomplete.rb
|
@@ -259,36 +200,33 @@ files:
|
|
259
200
|
- test/test_helper.rb
|
260
201
|
- test/view_test_helper.rb
|
261
202
|
homepage: http://github.com/crowdint/rails3-jquery-autocomplete
|
262
|
-
licenses:
|
203
|
+
licenses:
|
204
|
+
- MIT
|
263
205
|
post_install_message:
|
264
206
|
rdoc_options: []
|
265
|
-
|
207
|
+
|
208
|
+
require_paths:
|
266
209
|
- lib
|
267
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
210
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
268
211
|
none: false
|
269
|
-
requirements:
|
270
|
-
- -
|
271
|
-
- !ruby/object:Gem::Version
|
272
|
-
version:
|
273
|
-
|
274
|
-
- 0
|
275
|
-
hash: 3645478103120310427
|
276
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
212
|
+
requirements:
|
213
|
+
- - ">="
|
214
|
+
- !ruby/object:Gem::Version
|
215
|
+
version: "0"
|
216
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
277
217
|
none: false
|
278
|
-
requirements:
|
279
|
-
- -
|
280
|
-
- !ruby/object:Gem::Version
|
281
|
-
version:
|
282
|
-
segments:
|
283
|
-
- 0
|
284
|
-
hash: 3645478103120310427
|
218
|
+
requirements:
|
219
|
+
- - ">="
|
220
|
+
- !ruby/object:Gem::Version
|
221
|
+
version: "0"
|
285
222
|
requirements: []
|
223
|
+
|
286
224
|
rubyforge_project:
|
287
|
-
rubygems_version: 1.8.
|
225
|
+
rubygems_version: 1.8.5
|
288
226
|
signing_key:
|
289
227
|
specification_version: 3
|
290
228
|
summary: Use jQuery's autocomplete plugin with Rails 3.
|
291
|
-
test_files:
|
229
|
+
test_files:
|
292
230
|
- test/form_helper_test.rb
|
293
231
|
- test/generators/autocomplete/install_generator_test.rb
|
294
232
|
- test/generators/autocomplete/uncompressed_generator_test.rb
|
@@ -300,3 +238,4 @@ test_files:
|
|
300
238
|
- test/lib/rails3-jquery-autocomplete_test.rb
|
301
239
|
- test/test_helper.rb
|
302
240
|
- test/view_test_helper.rb
|
241
|
+
has_rdoc:
|