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 +4 -4
- data/lib/cheatset/dsl/entry.rb +1 -1
- data/lib/cheatset/templates/template.haml +2 -1
- data/lib/cheatset/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7cdad91d3249670d887fc8d31610c34332eec34e4b3cc7b238caf17ad6a8c71a
|
4
|
+
data.tar.gz: f950f00db4a6205d1be2eceaac6cda4e70620bc69ac4d7ba5e6d0de4b4b78a20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4685f391d19394979b8fe9bd321b02f524e935d654c6898940a0771ee56876407bce6d89aac7de2ca87feac477a47fafa04cda7b3e7f925a8c10405917d96996
|
7
|
+
data.tar.gz: c4f2979652d942646e2abc52a4431479e8dbe8489aa5d238979db25ef7301908ac6103db53e6388cece733cd2e47c9f09b83db2aaab178a8dfb0a774dbe83b9a
|
data/lib/cheatset/dsl/entry.rb
CHANGED
@@ -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
|
data/lib/cheatset/version.rb
CHANGED
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.
|
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-
|
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
|