cheatset 1.4.1 → 1.4.2

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: d6e82e43c4402b68c129a13be55550581f4633e6a41e2abc969c84437e6936ed
4
- data.tar.gz: 9f073f4fce052749b72935977bac5f6f91f36734466a5fc9908b808132fcc587
3
+ metadata.gz: 81813b0cb0456d0585f35a8c2d122cc990a6549e3ceaa1ce017ef308d61d4899
4
+ data.tar.gz: 65ca0783c3cb8187e3d04000ef52a61827dd8468000ec77d0b758d769dc782ae
5
5
  SHA512:
6
- metadata.gz: 54c3999aae21439650008792948b94a975ca002ff743703e6a8f15fa36ed42f874ba6332e319a1bcbc118de99f90f5ad0659ed2520f28a100eda3c4cdbf25d4a
7
- data.tar.gz: 79ca59e3666d0c1d6ae22bdfdca10ab556c94a92120f3b4846fa20bb2cc15051af77f563123e7635054278247d3f42e9f0e9ace0e4e81693072d09c3205dfccc
6
+ metadata.gz: ce2f280c10e5f1ab13db3230dddc0b23d1867f3bd0f729b5b88ad2ecaecc23dc312f9c97d61e4a3c4171d12c78905fb1def8dfc17e50a7ea2adf3751074c079b
7
+ data.tar.gz: 23aa5393bfa5d5823c4c1679af21da7fe2f6950f65f6fa5d870eb520c1ce1ca3003b237c41c94a3eb88ec50e729d614fdeeba38c2db3c7838064908865cd43b8
data/README.md CHANGED
@@ -13,7 +13,7 @@ language (Ruby DSL).
13
13
  Note: this requires the Xcode Command Line Tools to be installed. Install them using this:
14
14
 
15
15
  $ xcode-select --install
16
-
16
+
17
17
  ## Contributions
18
18
 
19
19
  If you make a useful cheat sheet, please [contribute it](https://github.com/Kapeli/cheatsheets#readme) to Dash.
@@ -28,7 +28,7 @@ cheatsheet do
28
28
  docset_file_name 'Sample' # Used for the filename of the docset
29
29
  keyword 'sample' # Used as the initial search keyword (listed in Preferences > Docsets)
30
30
  # resources 'resources_dir' # An optional resources folder which can contain images or anything else
31
-
31
+
32
32
  introduction 'My *awesome* cheat sheet' # Optional, can contain Markdown or HTML
33
33
 
34
34
  # A cheat sheet must consist of categories
@@ -78,6 +78,15 @@ Syntax highlighting is supported (see Ruby code in the sample). For a list of su
78
78
  For more complete examples look at some of
79
79
  [the actual cheat sheets](https://github.com/Kapeli/cheatsheets/tree/master/cheatsheets).
80
80
 
81
+ If you do not use Ruby or lack a working Ruby toolchain and still want to generate cheatsheets.
82
+
83
+ You can use the `cheatset` Docker image.
84
+
85
+ $ docker pull jonasbn/cheatset:lastest
86
+ $ docker run --rm -it --volume $PWD:/tmp --name cheatset jonasbn/cheatset:latest generate samble.rb
87
+
88
+ For more details on the Docker image please visit the repositories on [DockerHub](https://hub.docker.com/repository/docker/jonasbn/cheatset) or [GitHub](https://github.com/jonasbn/docker-cheatset)
89
+
81
90
  ## Advanced Usage
82
91
 
83
92
  Apart from the attributes listed in the sample cheat sheet above, you can also use these:
@@ -0,0 +1,6 @@
1
+ #!/usr/bin/env ruby
2
+
3
+ $LOAD_PATH << File.expand_path('../../lib', __FILE__)
4
+ require 'cheatset'
5
+ require 'cheatset/cli'
6
+ Cheatset::CLI.start
@@ -1,3 +1,3 @@
1
1
  module Cheatset
2
- VERSION = '1.4.1'
2
+ VERSION = '1.4.2'
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.1
4
+ version: 1.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bogdan Popescu
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-29 00:00:00.000000000 Z
11
+ date: 2020-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -152,7 +152,8 @@ dependencies:
152
152
  version: '0'
153
153
  description: Generate cheat sheets for Dash
154
154
  email:
155
- executables: []
155
+ executables:
156
+ - cheatset
156
157
  extensions: []
157
158
  extra_rdoc_files: []
158
159
  files:
@@ -161,6 +162,7 @@ files:
161
162
  - LICENSE.txt
162
163
  - README.md
163
164
  - Rakefile
165
+ - bin/cheatset
164
166
  - cheatset.gemspec
165
167
  - lib/cheatset.rb
166
168
  - lib/cheatset/cli.rb