sake 1.0.5 → 1.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/help.rb +2 -0
  2. data/lib/sake.rb +5 -5
  3. metadata +1 -1
data/lib/help.rb CHANGED
@@ -18,8 +18,10 @@ Usage: sake [options]
18
18
 
19
19
  -u tasks Uninstall one or more tasks.
20
20
 
21
+ -e task Show the source for task.
21
22
  -e file Show the source for all tasks from <file>.
22
23
  -e file tasks Show the source for <task> as defined in <file>.
24
+ -P [file/tasks] Send the source for tasks to Pastie (see -e for options).
23
25
 
24
26
  -S Start a Mongrel handler and serve your installed Sake tasks
25
27
  over port 4567.
data/lib/sake.rb CHANGED
@@ -41,7 +41,7 @@ require File.dirname(__FILE__) + '/pastie'
41
41
  #
42
42
  # Stores the source of a task into a pastie (http://pastie.caboo.se).
43
43
  # Returns the url of the pastie to stdout.
44
- # $ sake -p routes
44
+ # $ sake -P routes
45
45
  #
46
46
  # Can be passed one or more tasks.
47
47
  #
@@ -73,7 +73,7 @@ class Sake
73
73
  module Version
74
74
  Major = '1'
75
75
  Minor = '0'
76
- Tweak = '5'
76
+ Tweak = '6'
77
77
  String = [ Major, Minor, Tweak ].join('.')
78
78
  end
79
79
 
@@ -133,9 +133,9 @@ class Sake
133
133
  ##
134
134
  # Save one or more tasks to Pastie (http://pastie.caboos.se)
135
135
  # then return the new Pastie's url
136
- # $ sake -p routes
137
- # $ sake -p Rakefile db:remigrate
138
- elsif index = @args.index('-p')
136
+ # $ sake -P routes
137
+ # $ sake -P Rakefile db:remigrate
138
+ elsif index = @args.index('-P')
139
139
  die Pastie.paste(examine(index))
140
140
 
141
141
  ##
metadata CHANGED
@@ -3,7 +3,7 @@ rubygems_version: 0.9.0
3
3
  specification_version: 1
4
4
  name: sake
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.5
6
+ version: 1.0.6
7
7
  date: 2007-06-26 00:00:00 -07:00
8
8
  summary: Sake tastes great and helps maintain system-level Rake files.
9
9
  require_paths: