jrails_auto_complete 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -1,4 +1,4 @@
1
- HEAD [2010-08-27]
1
+ HEAD [2010-08-28]
2
2
  ====================
3
3
 
4
4
  Features
@@ -9,6 +9,12 @@
9
9
 
10
10
  Bugfixes
11
11
 
12
+ 0.2.2 [2010-08-28]
13
+ ====================
14
+
15
+ Changes
16
+ * no more jRails gem dependancy
17
+
12
18
  0.2.1 [2010-08-27]
13
19
  ====================
14
20
 
@@ -1,6 +1,6 @@
1
- h1. jRails autocomplete
1
+ h1. jQuery autocomplete
2
2
 
3
- Auto Completion plugin using jRails[1] and jQuery-UI[2]; it works similarly to the original rails auto complete, but generating unobtrusive javascript. Additional features:
3
+ Rails Auto Completion plugin using jQuery-UI[1]; it works similarly to the original rails auto complete, but generating unobtrusive javascript. Additional features:
4
4
 
5
5
  * named scope items filtering, based on a customized list of autocomplete options.
6
6
 
@@ -72,9 +72,7 @@ Thanks to Paul Smith for the "original idea":http://github.com/elandesign/formta
72
72
 
73
73
  h2. References
74
74
 
75
- fn1. "JRails @ GitHub":http://github.com/aaronchi/jrails
76
-
77
- fn2. "jQuery-UI":http://jqueryui.com/
75
+ fn1. "jQuery-UI":http://jqueryui.com/
78
76
 
79
77
  h2. Copyright
80
78
 
data/Rakefile CHANGED
@@ -3,22 +3,21 @@ require 'rake'
3
3
 
4
4
  begin
5
5
  require 'jeweler'
6
- Jeweler::Tasks.new do |gem|
7
- gem.name = "jrails_auto_complete"
8
- gem.summary = "jRails autocomplete using jQuery-UI"
9
- gem.description = "Adds autocomplete support to jRails, using jQuery-UI; it " +
6
+ Jeweler::Tasks.new do |gemspec|
7
+ gemspec.name = "jrails_auto_complete"
8
+ gemspec.summary = "jRails autocomplete using jQuery-UI"
9
+ gemspec.description = "Adds autocomplete support to rails inputs, using jQuery-UI; it " +
10
10
  "works similarly to the original rails autocomplete plugin, but " +
11
11
  "generating unobtrusive javascript."
12
- gem.email = "michele.franzin@gmail.com"
12
+ gemspec.email = "michele.franzin@gmail.com"
13
13
  #gem.homepage = "http://github.com/michelefranzin/jrails_auto_complete"
14
- gem.authors = ["Michele Franzin"]
15
-
16
- gem.add_development_dependency "yard", ">= 0.5.4"
17
- gem.add_dependency('rails', '>= 2.1')
18
- gem.add_dependency('jrails', '>= 0.6')
19
- gem.files.exclude '*install.rb'
20
- gem.files.exclude '.gitignore'
21
- gem.files.exclude 'javascripts/*'
14
+ gemspec.authors = ["Michele Franzin"]
15
+
16
+ gemspec.add_development_dependency "yard", ">= 0.5.4"
17
+ gemspec.add_dependency('rails', '>= 2.1')
18
+ gemspec.files.exclude '*install.rb'
19
+ gemspec.files.exclude '.gitignore'
20
+ gemspec.files.exclude 'javascripts/*'
22
21
  end
23
22
  Jeweler::GemcutterTasks.new
24
23
  rescue LoadError
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.1
1
+ 0.2.2
@@ -60,7 +60,7 @@ module JrailsAutoCompleteMacrosHelper
60
60
  js_options[k] = "function(event,ui){#{options[k]}}" if options[k]
61
61
  end
62
62
 
63
- function = "#{ActionView::Helpers::PrototypeHelper::JQUERY_VAR}('##{field_id}').autocomplete("
63
+ function = "$('##{field_id}').autocomplete("
64
64
  function << options_for_javascript(js_options) + ')'
65
65
 
66
66
  javascript_tag(function)
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jrails_auto_complete
3
3
  version: !ruby/object:Gem::Version
4
- hash: 21
4
+ hash: 19
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 2
9
- - 1
10
- version: 0.2.1
9
+ - 2
10
+ version: 0.2.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michele Franzin
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2010-08-27 00:00:00 +02:00
18
+ date: 2010-08-28 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -49,22 +49,7 @@ dependencies:
49
49
  version: "2.1"
50
50
  type: :runtime
51
51
  version_requirements: *id002
52
- - !ruby/object:Gem::Dependency
53
- name: jrails
54
- prerelease: false
55
- requirement: &id003 !ruby/object:Gem::Requirement
56
- none: false
57
- requirements:
58
- - - ">="
59
- - !ruby/object:Gem::Version
60
- hash: 7
61
- segments:
62
- - 0
63
- - 6
64
- version: "0.6"
65
- type: :runtime
66
- version_requirements: *id003
67
- description: Adds autocomplete support to jRails, using jQuery-UI; it works similarly to the original rails autocomplete plugin, but generating unobtrusive javascript.
52
+ description: Adds autocomplete support to rails inputs, using jQuery-UI; it works similarly to the original rails autocomplete plugin, but generating unobtrusive javascript.
68
53
  email: michele.franzin@gmail.com
69
54
  executables: []
70
55