jquery_textcomplete 0.1.9 → 0.2.0
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
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9608a815a01dc42935d2c4dcf5b1dd837ede6de1527b8d8322a4c4061a384bdb
|
4
|
+
data.tar.gz: 5ecce119c35a1425d58c05fd915ad937fd5d8dc353286f907dd764e98002b4d5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8a08622e5d436c884ff2d0102f3c1e06640a6cd51811bde5cb3cb82af62f16fa60944e5824770aca608a3572e6b7548af60b1f14e52d7bc51da579e62123c859
|
7
|
+
data.tar.gz: 04a5285af0f0206ce9b95e7436282bf44f90df9c741b590c8dfb9ab5f9b1031bf614da9f63e02022e49265e6f379319e067f1f009701caad0e0406deb78c326a
|
data/jquery_textcomplete.gemspec
CHANGED
@@ -10,8 +10,8 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.authors = ["Sebastian Peterlin"]
|
11
11
|
spec.email = ["speterlin@gmail.com"]
|
12
12
|
|
13
|
-
spec.summary = %q{JqueryTextcomplete is a Ruby on Rails gem enabling text autocomplete in search fields,
|
14
|
-
spec.description = %q{JqueryTextcomplete
|
13
|
+
spec.summary = %q{JqueryTextcomplete is a Ruby on Rails gem enabling text autocomplete in search fields, textareas, and other textfield inputs!}
|
14
|
+
spec.description = %q{JqueryTextcomplete is a Ruby on Rails gem enabling text autocomplete in search fields, textareas, and other textfield inputs! Can be used in conjunction with searchkick gem for suggesting autocomplete results and with acts-as-taggable-on gem for autocomplete tagging. Requires Jquery.}
|
15
15
|
spec.homepage = "http://github.com/speterlin/jquery_textcomplete"
|
16
16
|
spec.license = "MIT"
|
17
17
|
|
@@ -37,5 +37,5 @@ Gem::Specification.new do |spec|
|
|
37
37
|
spec.add_dependency "sass", "~> 3.0"
|
38
38
|
spec.add_dependency "sass-rails", "~> 5.0"
|
39
39
|
# maybe add spec.add_dependency 'jquery-rails' and spec.add_dependency 'jquery-ui-rails'
|
40
|
-
|
40
|
+
|
41
41
|
end
|
@@ -1,6 +1,7 @@
|
|
1
1
|
// Sample
|
2
2
|
|
3
3
|
.dropdown-menu {
|
4
|
+
// maybe refactor and get rid of border here and in li
|
4
5
|
border: 1px solid #ddd;
|
5
6
|
background-color: #fff;
|
6
7
|
|
@@ -24,12 +25,26 @@
|
|
24
25
|
border-top: none;
|
25
26
|
}
|
26
27
|
|
28
|
+
// refactor, for when cursor is over li element or li element is active, would like to get rid of gap between li and a and not have 3 repeats of same background-color
|
27
29
|
&:hover, &.active {
|
28
30
|
background-color: #6eb7db;
|
31
|
+
|
32
|
+
// for when cursor is not over a element but li element has cursor over it or is active and still want a element highlighted, only need this (and li.textcomplete-item a:hover) since there is a gap between li and a elements
|
33
|
+
a {
|
34
|
+
background-color: #6eb7db;
|
35
|
+
}
|
36
|
+
|
29
37
|
}
|
38
|
+
|
39
|
+
}
|
40
|
+
|
41
|
+
// maybe refactor, for when cursor is over a element, only way to get it to work without using !important
|
42
|
+
li.textcomplete-item a:hover {
|
43
|
+
background-color: #6eb7db;
|
30
44
|
}
|
31
45
|
|
32
46
|
a:hover {
|
33
47
|
cursor: pointer; // SHOULD not modify
|
34
48
|
}
|
49
|
+
|
35
50
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jquery_textcomplete
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Sebastian Peterlin
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-05-
|
11
|
+
date: 2018-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -94,10 +94,10 @@ dependencies:
|
|
94
94
|
- - "~>"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: '5.0'
|
97
|
-
description: JqueryTextcomplete
|
98
|
-
in textareas, and other textfield inputs!
|
99
|
-
|
100
|
-
|
97
|
+
description: JqueryTextcomplete is a Ruby on Rails gem enabling text autocomplete
|
98
|
+
in search fields, textareas, and other textfield inputs! Can be used in conjunction
|
99
|
+
with searchkick gem for suggesting autocomplete results and with acts-as-taggable-on
|
100
|
+
gem for autocomplete tagging. Requires Jquery.
|
101
101
|
email:
|
102
102
|
- speterlin@gmail.com
|
103
103
|
executables: []
|
@@ -144,5 +144,5 @@ rubygems_version: 2.7.6
|
|
144
144
|
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: JqueryTextcomplete is a Ruby on Rails gem enabling text autocomplete in search
|
147
|
-
fields,
|
147
|
+
fields, textareas, and other textfield inputs!
|
148
148
|
test_files: []
|