cheatset 1.4.3 → 1.4.4

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
  SHA256:
3
- metadata.gz: 9c3dedf5b4f74b0a764532e30fe35be41d0899a605361d9f42aa8ad1a007cf10
4
- data.tar.gz: 4b8fc199fcaf458d3168cecf74421a30023b09569788291a135df57d94631911
3
+ metadata.gz: 7cdad91d3249670d887fc8d31610c34332eec34e4b3cc7b238caf17ad6a8c71a
4
+ data.tar.gz: f950f00db4a6205d1be2eceaac6cda4e70620bc69ac4d7ba5e6d0de4b4b78a20
5
5
  SHA512:
6
- metadata.gz: 37bc4d9e3422a91adcf92ba90fcedd17baa1e9147b9ddb33557bdf147b291703145b3c3032d72ac5277d0b36010438448b3ca768ed930169687bc70aa8ca82d0
7
- data.tar.gz: eef8ce413f0854ed65f8484d181c8d72ed3cf426fea1899dcb281b3d12676609fcef658afd217f21b60c94a14eb6dd987246761b52bdffb06868a805138c3c90
6
+ metadata.gz: 4685f391d19394979b8fe9bd321b02f524e935d654c6898940a0771ee56876407bce6d89aac7de2ca87feac477a47fafa04cda7b3e7f925a8c10405917d96996
7
+ data.tar.gz: c4f2979652d942646e2abc52a4431479e8dbe8489aa5d238979db25ef7301908ac6103db53e6388cece733cd2e47c9f09b83db2aaab178a8dfb0a774dbe83b9a
@@ -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, :not_in_main_index
5
+ define_attrs :index_name, :not_in_main_index, :html_notes
6
6
  define_markdown_attrs :name, :notes
7
7
  define_markdown_list_attrs :td_notes
8
8
  end
@@ -53,10 +53,11 @@
53
53
  %td.td_command
54
54
  - if !command.empty?
55
55
  %code= CGI.escapeHTML(command)
56
- - if entry.name || entry.notes
56
+ - if entry.name || entry.notes || entry.html_notes
57
57
  %td.description{:colspan => ("2" unless entry.command || entry.td_command || entry.td_notes)}
58
58
  .name~ entry.name
59
59
  .notes~ entry.notes
60
+ .notes~ entry.html_notes
60
61
  - if entry.td_notes
61
62
  - entry.td_notes.each do |notes|
62
63
  %td.td_notes
@@ -1,3 +1,3 @@
1
1
  module Cheatset
2
- VERSION = '1.4.3'
2
+ VERSION = '1.4.4'
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.4.3
4
+ version: 1.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bogdan Popescu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-09-22 00:00:00.000000000 Z
11
+ date: 2021-11-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -204,7 +204,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
204
204
  - !ruby/object:Gem::Version
205
205
  version: '0'
206
206
  requirements: []
207
- rubygems_version: 3.0.3
207
+ rubygems_version: 3.0.3.1
208
208
  signing_key:
209
209
  specification_version: 4
210
210
  summary: Generate cheat sheets for Dash