lolita-menu 0.3.2 → 0.3.4
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.
- data/VERSION +1 -1
- data/lib/lolita-menu/autocomplete/collector.rb +2 -1
- data/lolita-menu.gemspec +2 -2
- metadata +3 -3
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.3.
|
|
1
|
+
0.3.4
|
|
@@ -15,7 +15,8 @@ module Lolita
|
|
|
15
15
|
item = line.to_s.split(/\s/)
|
|
16
16
|
first_item = item.shift
|
|
17
17
|
item = [first_item, item.join(" ")]
|
|
18
|
-
|
|
18
|
+
term_regexp = Regexp.new(@term.to_s.gsub("\\",""))
|
|
19
|
+
if item.first.match(term_regexp) || item.last.match(term_regexp)
|
|
19
20
|
@links << item
|
|
20
21
|
end
|
|
21
22
|
}
|
data/lolita-menu.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "lolita-menu"
|
|
8
|
-
s.version = "0.3.
|
|
8
|
+
s.version = "0.3.4"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["ITHouse", "Arturs Meisters"]
|
|
12
|
-
s.date = "2012-
|
|
12
|
+
s.date = "2012-10-05"
|
|
13
13
|
s.description = "Manage public menus for each project inside Lolita."
|
|
14
14
|
s.email = "support@ithouse.lv"
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: lolita-menu
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.4
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -10,7 +10,7 @@ authors:
|
|
|
10
10
|
autorequire:
|
|
11
11
|
bindir: bin
|
|
12
12
|
cert_chain: []
|
|
13
|
-
date: 2012-
|
|
13
|
+
date: 2012-10-05 00:00:00.000000000 Z
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
16
16
|
name: lolita
|
|
@@ -233,7 +233,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
233
233
|
version: '0'
|
|
234
234
|
segments:
|
|
235
235
|
- 0
|
|
236
|
-
hash:
|
|
236
|
+
hash: 961739489982077529
|
|
237
237
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
238
238
|
none: false
|
|
239
239
|
requirements:
|