cheatset 1.3.10 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cheatset/creator.rb +2 -2
- data/lib/cheatset/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0963874193dcbdf97faaea916dc29529861c7bfb
|
4
|
+
data.tar.gz: 7c3481e0821db0a00c13c67f8c83636bb999db12
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 899d97cc1734b4a08a906e66e91caee81bad26eeb5e279d9097ba064fb1edc5e57f88ea5756e4322f73934025e17e321970fa8e2616ae4990e5850f64a1bc316
|
7
|
+
data.tar.gz: 836b7f0bc93683e1e875447047ab5813c1663a4d35e59087398191c8f8753108b04f9d1b31f8271e3d905c2f98dd3500fc3584bb46e426542f1ec73227163612
|
data/lib/cheatset/creator.rb
CHANGED
@@ -99,14 +99,14 @@ class Cheatset::Creator
|
|
99
99
|
href = (entry.name || entry.index_name) ? "index.html\#//dash_ref_#{category_strip}/Entry/#{URI.escape((entry.index_name) ? entry.index_name.strip : entry.tags_stripped_name.strip).gsub(/\//, '%252F')}/0" : (first_command) ? "index.html\#//dash_ref_#{category_strip}/Command/#{URI.escape(first_command).gsub(/\//, '%252F')}/0" : ""
|
100
100
|
if entry.command
|
101
101
|
entry.command.each do |command|
|
102
|
-
if(!command.strip.empty?)
|
102
|
+
if(!command.strip.empty? && !entry.not_in_main_index)
|
103
103
|
db.execute(sql, command.strip, 'Command', href)
|
104
104
|
end
|
105
105
|
end
|
106
106
|
end
|
107
107
|
if entry.td_command
|
108
108
|
entry.td_command.each do |command|
|
109
|
-
if(!command.strip.empty?)
|
109
|
+
if(!command.strip.empty? && !entry.not_in_main_index)
|
110
110
|
db.execute(sql, command.strip, 'Command', href)
|
111
111
|
end
|
112
112
|
end
|
data/lib/cheatset/version.rb
CHANGED