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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3e26b5e25c7e68c5b8f9f78dcd1b4ac02a9ad77
4
- data.tar.gz: c50279a651f22742dfa825d15e518050779ab48b
3
+ metadata.gz: bbb3cc7109685cbf875d735cb4486d4b6ca54cfa
4
+ data.tar.gz: 063faab9ed129e74515608099e21735195befaa5
5
5
  SHA512:
6
- metadata.gz: e58c7ef787dc55f7ad6dfd834580fd261d99d6b104fc33623dcfd28f52a33651d6561035ac9311ae9212adfa25891eea923220f43b175db3a6994311569288b5
7
- data.tar.gz: 3e9718b98ed884c9903372d90f4155a332b0ee2a6d939f7a023a150fc7dfd18b2935ae4bc8ede08a10ebb25fb9d1a19f043c368cbc587eca9b6be489d253d013
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 # get help
68
- $ cheatorious help [TASK] # get help for a specific task
69
- $ cheatorious import FILE # import a cheatsheet description FILE (example above)
70
- $ cheatorious list # lists the available cheatsheets
71
- $ cheatorious view CHEATSHEET [OPTIONS] # view a CHEATSHEET
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
 
@@ -1,4 +1,4 @@
1
1
  # encoding: UTF-8
2
2
  module Cheatorious
3
- VERSION = "0.4.0"
3
+ VERSION = "0.4.1"
4
4
  end
@@ -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
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cheatorious
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Luis Cipriani