jquery_textcomplete 0.1.9 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: cbfd8a164a1bdf2cbe143d4f1009b2025b96a360bf0d8d00545eed84c7dfbe2a
4
- data.tar.gz: f50c64af8b2959bc1bdf096bbc14b6ad869a1415c52bc7539ef8fdd64b6f6ee9
3
+ metadata.gz: 9608a815a01dc42935d2c4dcf5b1dd837ede6de1527b8d8322a4c4061a384bdb
4
+ data.tar.gz: 5ecce119c35a1425d58c05fd915ad937fd5d8dc353286f907dd764e98002b4d5
5
5
  SHA512:
6
- metadata.gz: c3b55d23d6ee124e9439e5dc57be8d166752e2ad11af6a1daa96b8eb54ce371e9c40ffbc23c26b7dc90d4e63b8ee7c8ff40f2bc199b0d72814c425593b2f5427
7
- data.tar.gz: 9d033d3e03d06ac3cc9d4391f7b6947a78a46fe0327bee071be6898317022e7aceb64975c8758fcc463843c58085eda9e91c0028a1ee869e511f0b95dbac4b87
6
+ metadata.gz: 8a08622e5d436c884ff2d0102f3c1e06640a6cd51811bde5cb3cb82af62f16fa60944e5824770aca608a3572e6b7548af60b1f14e52d7bc51da579e62123c859
7
+ data.tar.gz: 04a5285af0f0206ce9b95e7436282bf44f90df9c741b590c8dfb9ab5f9b1031bf614da9f63e02022e49265e6f379319e067f1f009701caad0e0406deb78c326a
@@ -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, tags in textareas, and other textfield inputs!}
14
- spec.description = %q{JqueryTextcomplete can be used for autocompleting search fields, tags in textareas, and other textfield inputs! Compatible with Ruby on Rails applications, can be used in conjunction with searchkick gem for returning autocomplete results and with acts-as-taggable-on gem for autocomplete tagging. Requires Jquery.}
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,3 +1,3 @@
1
1
  module JqueryTextcomplete
2
- VERSION = "0.1.9"
2
+ VERSION = "0.2.0"
3
3
  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.1.9
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-13 00:00:00.000000000 Z
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 can be used for autocompleting search fields, tags
98
- in textareas, and other textfield inputs! Compatible with Ruby on Rails applications,
99
- can be used in conjunction with searchkick gem for returning autocomplete results
100
- and with acts-as-taggable-on gem for autocomplete tagging. Requires Jquery.
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, tags in textareas, and other textfield inputs!
147
+ fields, textareas, and other textfield inputs!
148
148
  test_files: []