cheatorious 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +16 -0
- data/README.md +12 -6
- data/lib/cheatorious/version.rb +1 -1
- data/lib/cheatorious/writer/alfred.rb +2 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bbb3cc7109685cbf875d735cb4486d4b6ca54cfa
|
4
|
+
data.tar.gz: 063faab9ed129e74515608099e21735195befaa5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee0b28533a9293433af607c49b294ea3b59e5554b98f0af4088a1b7322fb7746acc8a898a6fd659e4c64e7139351d86ae1bde6e7501ba0ed2d9f7697bd6877f4
|
7
|
+
data.tar.gz: 2df80d3f2d117336ef913b08446dd20a9dfbf82746f398eb22044a1c0f119ab712ed0442d1d090d5337799958476a4b663f5ef093e4b6ebda15e18ac519b86d5
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,19 @@
|
|
1
|
+
#v0.4.1 (Jul/12 2013 19:17 -0300 by Luis Cipriani)
|
2
|
+
|
3
|
+
Bugfixes:
|
4
|
+
|
5
|
+
- Tiny fix on the output argument for Alfred Writer
|
6
|
+
|
7
|
+
#v0.4.0 (Jul/12 2013 18:52 -0300 by Luis Cipriani)
|
8
|
+
|
9
|
+
Changes:
|
10
|
+
|
11
|
+
- Now footer appears while viewing or searching cheatsheets
|
12
|
+
|
13
|
+
Features:
|
14
|
+
|
15
|
+
- New Writer for Alfred 2 allow you to create Cheatorious workflows
|
16
|
+
|
1
17
|
#v0.3.0 (Jan/18 2012 22:28 -0200 by Luis Cipriani)
|
2
18
|
|
3
19
|
Changes:
|
data/README.md
CHANGED
@@ -13,7 +13,7 @@ Cheatsheets are very good to start learning or keep knowledge of some language o
|
|
13
13
|
|
14
14
|
gem install cheatorious
|
15
15
|
|
16
|
-
Cheatorious is compatible with ruby 1.8.x, 1.9.x, rubinius, jruby, ree and more.
|
16
|
+
Cheatorious is compatible with ruby 1.8.x, 1.9.x, 2.0.x, rubinius, jruby, ree and more.
|
17
17
|
|
18
18
|
## Creating your Cheatsheet ##
|
19
19
|
|
@@ -64,11 +64,17 @@ Create a file and use the following syntax, shown in the example below:
|
|
64
64
|
|
65
65
|
The basic CLI usage goes as follows:
|
66
66
|
|
67
|
-
$ cheatorious
|
68
|
-
$ cheatorious
|
69
|
-
$ cheatorious
|
70
|
-
$ cheatorious
|
71
|
-
$ cheatorious
|
67
|
+
$ cheatorious # get help
|
68
|
+
$ cheatorious view CHEATSHEET [OPTIONS] # view a CHEATSHEET. The CHEATSHEET variable could be a name (for imported cheatsheets) or a file that describes a cheatsheet.
|
69
|
+
$ cheatorious search CHEATSHEET [KEYWORD] [OPTIONS] # search for KEYWORD in CHEATSHEET entries only. The CHEATSHEET variable could be a name (for imported cheatsheets) or a file that describes a che...
|
70
|
+
$ cheatorious alias NAME CHEATSHEET # return a shell alias command with NAME for easy access to searching a CHEATSHEET. The CHEATSHEET variable must be an imported cheatsheet. Exampl...
|
71
|
+
$ cheatorious edit CHEATSHEET # edit an existent CHEATSHEET. Will open it in the default terminal editor, use CHEATORIOUS_EDITOR environment variable to use another.
|
72
|
+
$ cheatorious import FILE # import a cheatsheet description FILE. Check https://github.com/lfcipriani/cheatorious to learn how to create your own cheatsheets. Check https:/...
|
73
|
+
$ cheatorious list # lists the available cheatsheets. See 'import' command.
|
74
|
+
$ cheatorious reload CHEATSHEET # reload a CHEATSHEET after editing it with 'edit' command
|
75
|
+
$ cheatorious remove CHEATSHEET # remove a CHEATSHEET. The original file is kept for later recovering
|
76
|
+
$ cheatorious writers [OPTIONS] # lists the available writers or set a default
|
77
|
+
$ cheatorious help [COMMAND] # Describe available commands or one specific command
|
72
78
|
|
73
79
|
### Searching ###
|
74
80
|
|
data/lib/cheatorious/version.rb
CHANGED
@@ -35,12 +35,13 @@ module Cheatorious
|
|
35
35
|
end
|
36
36
|
|
37
37
|
def entry(name, *values)
|
38
|
-
line " <item arg=\"#{name}\">"
|
39
38
|
value_text = values.join(", ")
|
40
39
|
if @options['reverse']
|
40
|
+
line " <item arg=\"#{name}\">"
|
41
41
|
line " <subtitle>#{value_text}</subtitle>"
|
42
42
|
line " <title>#{@section_stack.join(" > ")} > #{name}</title>"
|
43
43
|
else
|
44
|
+
line " <item arg=\"#{value_text}\">"
|
44
45
|
line " <title>#{value_text}</title>"
|
45
46
|
line " <subtitle>#{@section_stack.join(" > ")} > #{name}</subtitle>"
|
46
47
|
end
|