ajax-chosen-rails 0.2.1 → 0.2.2

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -8,9 +8,10 @@ The `ajax-chosen-rails` gem integrates `Chosen` and `Ajax-Chosen` with the Rails
8
8
 
9
9
  ### Install ajax-chosen-rails gem
10
10
 
11
- Include `ajax-chosen-rails` in Gemfile
11
+ Include `ajax-chosen-rails` *and* `chosen-rails` in Gemfile
12
12
 
13
13
  gem 'ajax-chosen-rails'
14
+ gem 'chosen-rails'
14
15
 
15
16
  Then run `bundle install`
16
17
 
@@ -18,7 +19,7 @@ Then run `bundle install`
18
19
 
19
20
  #### NOTE: Ajax-Chosen automatically loads Chosen as a dependency
20
21
 
21
- Add to your `app/assets/stylesheets/application.js` if use with jQuery
22
+ Add to your `app/assets/javascripts/application.js` if use with jQuery
22
23
 
23
24
  //= require ajax-chosen-jquery
24
25
 
@@ -1,6 +1,6 @@
1
1
  module AjaxChosen
2
2
  module Rails
3
- VERSION = "0.2.1"
3
+ VERSION = "0.2.2"
4
4
  EDITOR_VERSION = "0.1.5"
5
5
  end
6
6
  end
@@ -38,6 +38,7 @@
38
38
 
39
39
  # If the user provided an ajax success callback, store it so we can
40
40
  # call it after our bootstrapping is finished.
41
+ success = undefined
41
42
  success ?= options.success
42
43
 
43
44
  # Create our own callback that will be executed when the ajax call is
@@ -77,4 +78,4 @@
77
78
 
78
79
  # Execute the ajax call to search for autocomplete data
79
80
  $.ajax(options)
80
- )(jQuery)
81
+ )(jQuery)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ajax-chosen-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.1
4
+ version: 0.2.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-09-13 00:00:00.000000000 Z
12
+ date: 2013-07-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties
@@ -146,7 +146,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
146
146
  version: '0'
147
147
  segments:
148
148
  - 0
149
- hash: 1305380490222377641
149
+ hash: 1940518984742730932
150
150
  required_rubygems_version: !ruby/object:Gem::Requirement
151
151
  none: false
152
152
  requirements:
@@ -155,10 +155,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
155
155
  version: '0'
156
156
  segments:
157
157
  - 0
158
- hash: 1305380490222377641
158
+ hash: 1940518984742730932
159
159
  requirements: []
160
160
  rubyforge_project:
161
- rubygems_version: 1.8.21
161
+ rubygems_version: 1.8.24
162
162
  signing_key:
163
163
  specification_version: 3
164
164
  summary: Integrate Ajax-Chosen javascript library with Rails asset pipeline