awesomplete 0.0.1 → 0.0.2

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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +21 -3
  3. data/lib/awesomplete/version.rb +1 -1
  4. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8bc888afcc2ca4a3fb55078e2a8d1b7cbc881d00
4
- data.tar.gz: cf91eb1821b5042bb612a0cbcd519881044c8c64
3
+ metadata.gz: 056e066ad559a26d9c4231f54ec230571fcda963
4
+ data.tar.gz: 7906188c75c9d1d85d8519460b5805123e52af52
5
5
  SHA512:
6
- metadata.gz: 2f084423cc21279899d57af715b5d37b868d67d7a58ea232d5fe4b4ebefe635506d9aa88a4bd4f701074c6686c64d7b5607d1ebeb0e6ee1f876d5cab60f4094a
7
- data.tar.gz: d4fd43cccab1963e5d6413df6d46f3e86abcd53bed39928de1ac883367a0bc7029408eb386a0168381f5b5666f72a766727875cd5cd03b3c5c744f20b7d32c2f
6
+ metadata.gz: 2193191d255dd11d7da434e31c7eaf4d62d78996306ae27666fc07cf5fd505984f8ee6039463c409f24d56c2ab4eec1ee2011811b3bbcd29ed29ef4944831ba5
7
+ data.tar.gz: 4b8f5201ac94b4558f7bdbe137a9ec5e811978f4b8a24c2fb66011238ecb871cbcd5c8ba0636541791e793c91f57eef670ce613f532bcc03aed28c96aa44b8e1
data/README.md CHANGED
@@ -29,12 +29,23 @@ Rails ~> 4.0.0
29
29
 
30
30
  Restart server. That's it.
31
31
 
32
- ## Helpers
33
- Now you can write small and awesomplete inputs.
34
- I find it is very cool for small collections, check it out:
32
+ ## Usage
33
+ Now you can write inputs with awesomplete autocomplete!
34
+
35
+ Check it out.
36
+
37
+ in controller:
35
38
 
36
39
  ```erb
40
+ def index
41
+ @collection = ['One', 'Two', 'Three', 'Four'].join(',')
42
+ end
43
+ ```
37
44
 
45
+ in views:
46
+
47
+ ```erb
48
+ <%= text_field_tag :something, nil, class: 'awesomplete', data: { list: @collection } %>
38
49
  ```
39
50
 
40
51
  ## Configure module
@@ -53,6 +64,13 @@ You can configurate this autocomplete by two ways:
53
64
  ```
54
65
  * * *
55
66
 
67
+
68
+ ## TODO
69
+
70
+ 1. Write update version task.
71
+
72
+ 2. Write full helper method like `link_to` or `assets_path` soemthing like `awesomplete`.
73
+
56
74
  Kiselenko Roman
57
75
 
58
76
  This project rocks and uses MIT-LICENSE.
@@ -1,3 +1,3 @@
1
1
  module Awesomplete
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: awesomplete
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - fishbullet
@@ -24,7 +24,7 @@ dependencies:
24
24
  - - ~>
25
25
  - !ruby/object:Gem::Version
26
26
  version: 4.0.0
27
- description: Add assets to your Rails app assets path. Based on http://leaverou.github.io/awesomplete
27
+ description: Add awesomplete assets to your Rails app assets path. Based on http://leaverou.github.io/awesomplete
28
28
  email:
29
29
  - shindu666@gmail.com
30
30
  executables: []