cheatset 1.1.1 → 1.1.2

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
  SHA1:
3
- metadata.gz: 983d9961e7454c4cd8e4fa2960e46b360cd12886
4
- data.tar.gz: 1ee2429f4e3e4966db68c990d3e775a5aa5b76eb
3
+ metadata.gz: 287b19e5092a86f311ac04482869208985284075
4
+ data.tar.gz: 42bb3abd7ca555231ea61f562e07c306fe8532a0
5
5
  SHA512:
6
- metadata.gz: 27e93414bd7e52f7a82a288e137b343aa9f26b912befe3cfd5fd7be92ba1a1ae67a8b32371105a861986424bcf10856c3f417fe8a4696e1716fa54748c5dbc15
7
- data.tar.gz: 904112a223458b56bacd760e14dd91da2743c2e73c3d856492aa69ad88db684d9ee38522f39bc1d32c56288cf3c936020d4212780b9e771fb68047bc2a4b7d32
6
+ metadata.gz: 880142429021cdcb6ba297bd43cb326ccaa7e2a366036e14e56cd1c6b892be2d3acb018e1be8fccbbfbcc3ceed9c581401e66db32f252b29a8c7241821a52b85
7
+ data.tar.gz: 10f45dbf94feaba424ea11ab49999f46afbdd2532a81e33aa0849930e408ee81c41ec21778da6b91c51b2f3feb65c5cf5fc93b35fd559ad0ac2217b05d877cfe
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Cheatset
2
- VERSION = '1.1.1'
2
+ VERSION = '1.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cheatset
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bogdan Popescu