cheatset 1.3.8 → 1.3.9

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: c17d60608527a7bfaf467040fc3f3ff24feeb33e
4
- data.tar.gz: 3ec579d38fff206c660ad8de50e318ec5189fd72
3
+ metadata.gz: 47270fcb17e94eb10343c003a67ed12398efda59
4
+ data.tar.gz: 47c4c10eb6d0ff5ad02ab568c22a00bc392b176c
5
5
  SHA512:
6
- metadata.gz: 4403ac5eec70a0d560c5db741ce605e13fa7ac2ef16790e79d78693854edbebb51e669bbf7e141a1e8cb4705ce44f9899b1b1dbbd7b07de8675913b1285dd266
7
- data.tar.gz: 23a3021db0729fe6feec2f7e9292b86c9f0f4727e8776604c609365e7b6521733a4213e778ef9c1bd20292d526aba236d509e4a557bfe04afe7fd7bd3ae30763
6
+ metadata.gz: e819e22063022babf6b413505d8bfb555376363a00fb958fa818c6e9301814694700d5c7b932b38fa791b13c18adfcbbf334aef4dd42adad58a3e362d1396962
7
+ data.tar.gz: b167345ee4afaf10d3e6e985d25b39afbb3d50b9aaae479f21fa649e43b9abb4996588bd5f6f8e5d213ebf36bcaabba2e24e1c1ca4a97ef316c500fbb7d0ccad
@@ -112,7 +112,8 @@ class Cheatset::Creator
112
112
  end
113
113
  end
114
114
  if entry.name || entry.index_name
115
- db.execute(sql, (entry.index_name) ? entry.index_name.strip : entry.tags_stripped_name.strip, 'Entry', href)
115
+ if(!entry.not_in_main_index)
116
+ db.execute(sql, (entry.index_name) ? entry.index_name.strip : entry.tags_stripped_name.strip, 'Entry', href)
116
117
  end
117
118
  if entry.extra_index_name
118
119
  entry.extra_index_name.each do |extra_index_name|
@@ -2,7 +2,7 @@ module Cheatset
2
2
  module DSL
3
3
  class Entry < Base
4
4
  define_list_attrs :command, :td_command, :extra_index_name
5
- define_attrs :index_name
5
+ define_attrs :index_name, :not_in_main_index
6
6
  define_markdown_attrs :name, :notes
7
7
  define_markdown_list_attrs :td_notes
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module Cheatset
2
- VERSION = '1.3.8'
2
+ VERSION = '1.3.9'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cheatset
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.8
4
+ version: 1.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bogdan Popescu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-07-11 00:00:00.000000000 Z
11
+ date: 2018-09-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler