auto_select2 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/auto_select2/version.rb +1 -1
- data/vendor/assets/javascripts/auto_select2/ajax_select2.js.coffee +1 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 53f2755db92edac496a022224b76ef7a0db5c8f5
|
|
4
|
+
data.tar.gz: 45d16d0c733f7663420b9ccb06084fbbb3896e86
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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 '
|
|
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 = {})`
|
data/lib/auto_select2/version.rb
CHANGED
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.
|
|
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:
|
|
12
|
+
date: 2015-01-19 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: railties
|