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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 36be5b114d7146f20730e58980b3c95f626964d3
4
- data.tar.gz: c668b8aefb3d14855367dcc4f7ee2a9631b4d7af
3
+ metadata.gz: 0963874193dcbdf97faaea916dc29529861c7bfb
4
+ data.tar.gz: 7c3481e0821db0a00c13c67f8c83636bb999db12
5
5
  SHA512:
6
- metadata.gz: e286c9885dd022f7b154d10ca4ff6f3ea9008807b376897100cd8681516bb3517f5dbc7f7335ed5f953b8cbbeb4830a33501a7c5729b0bdcda1b19d3508a32c0
7
- data.tar.gz: 0f751d56af8812577f92b36c69914a8db794f04880adbe0019d23438bf9f85e251faaf954f63e1fb78e3bedea4b5b61d8a84320e03f72b2072e2636a9de9f8e1
6
+ metadata.gz: 899d97cc1734b4a08a906e66e91caee81bad26eeb5e279d9097ba064fb1edc5e57f88ea5756e4322f73934025e17e321970fa8e2616ae4990e5850f64a1bc316
7
+ data.tar.gz: 836b7f0bc93683e1e875447047ab5813c1663a4d35e59087398191c8f8753108b04f9d1b31f8271e3d905c2f98dd3500fc3584bb46e426542f1ec73227163612
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Cheatset
2
- VERSION = '1.3.10'
2
+ VERSION = '1.4.0'
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.3.10
4
+ version: 1.4.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bogdan Popescu