cheatset 1.1.1 → 1.1.2
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 +6 -0
- 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: 287b19e5092a86f311ac04482869208985284075
|
4
|
+
data.tar.gz: 42bb3abd7ca555231ea61f562e07c306fe8532a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 880142429021cdcb6ba297bd43cb326ccaa7e2a366036e14e56cd1c6b892be2d3acb018e1be8fccbbfbcc3ceed9c581401e66db32f252b29a8c7241821a52b85
|
7
|
+
data.tar.gz: 10f45dbf94feaba424ea11ab49999f46afbdd2532a81e33aa0849930e408ee81c41ec21778da6b91c51b2f3feb65c5cf5fc93b35fd559ad0ac2217b05d877cfe
|
data/lib/cheatset/creator.rb
CHANGED
@@ -72,6 +72,12 @@ class Cheatset::Creator
|
|
72
72
|
db.execute(sql, category.id, 'Category',
|
73
73
|
"index.html\#//dash_ref/Category/#{category_strip}/1")
|
74
74
|
category.entries.each_with_index do |entry, index|
|
75
|
+
if entry.command
|
76
|
+
entry.command.each do |command|
|
77
|
+
db.execute(sql, command.strip, 'Command',
|
78
|
+
"index.html\#//dash_ref_#{category_strip}/Entry/#{entry.tags_stripped_name.strip.gsub(/\//, '%2F')}/0")
|
79
|
+
end
|
80
|
+
end
|
75
81
|
db.execute(sql, entry.tags_stripped_name.strip, 'Entry',
|
76
82
|
"index.html\#//dash_ref_#{category_strip}/Entry/#{entry.tags_stripped_name.strip.gsub(/\//, '%2F')}/0")
|
77
83
|
end
|
data/lib/cheatset/version.rb
CHANGED