auto_select2 0.2.2 → 0.2.3

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of auto_select2 might be problematic. Click here for more details.

checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d4df7911483fb770cec21609c07b44cf9f3d331b
4
- data.tar.gz: 7b55b2a104e128b848d1cb8fc197869944bac25b
3
+ metadata.gz: 53f2755db92edac496a022224b76ef7a0db5c8f5
4
+ data.tar.gz: 45d16d0c733f7663420b9ccb06084fbbb3896e86
5
5
  SHA512:
6
- metadata.gz: 99b3fc8ecfd9b0590d8d9be30f1e780c41b305b9ca174c3d67bbf71079750cec9c0cbf1ccd27997a5418f066c3caad14837e64ec5fdea224c49f992fe62d988b
7
- data.tar.gz: fdfd7cd1ce1837915d0781dce310bed7647a724198643d57392ccee6e505f50edeb1f87276bb5d67d13618902853ccd0303d6e5769ce03356fd2cdb636584fcf
6
+ metadata.gz: ab591a58a25e6200740060a3c093e9256d00db4a8e2e69bee22a66aab7b59b7d32b2dfdcd523b0243a4823b9a268655b42a672d7ed15bdae9bc238c5fb9a5f67
7
+ data.tar.gz: 1bc67bd67e5daf979db9d3f4ec8e1f88c8897ee0f42f45013736c2206b769380e7bec18c12abb014e950bb5f820951708adc04e8bfd3a7ffe23c8e6d60f81c08
data/README.md CHANGED
@@ -20,7 +20,7 @@ on `select2-rails` page.
20
20
 
21
21
  Add this line to your application's Gemfile:
22
22
 
23
- gem 'auto-select2'
23
+ gem 'auto_select2'
24
24
 
25
25
  And then execute:
26
26
 
@@ -144,7 +144,7 @@ Here in total must be specified amount of all select variants. For example you h
144
144
  element with 42 variants. Function `search_default` return part of it in `items` and in
145
145
  `total` each time you must set 42.
146
146
 
147
- **TIP:** in `search_default` you can use functions from `Select2SearchAdapter::Base`:
147
+ **TIP:** in `search_default` you can use functions from `AutoSelect2::Select2SearchAdapter::Base`:
148
148
 
149
149
  * `default_finder(searched_class, term, options)`
150
150
  * `default_count(searched_class, term, options = {})`
@@ -1,3 +1,3 @@
1
1
  module AutoSelect2
2
- VERSION = '0.2.2'
2
+ VERSION = '0.2.3'
3
3
  end
@@ -65,6 +65,7 @@ jQuery ($) ->
65
65
  $el = $(el)
66
66
  paramsCollection[$el.attr('name')] = $el.val()
67
67
  return
68
+ $.extend(paramsCollection, additionalAjaxData['params'])
68
69
  delete paramsCollection[$this.attr('name')]
69
70
 
70
71
  return $.extend({}, paramsCollection, ajaxData)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: auto_select2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitriy Lisichkin
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-12-08 00:00:00.000000000 Z
12
+ date: 2015-01-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: railties