pry-note 0.2.4 → 0.2.5

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -3,6 +3,8 @@ Pry-note
3
3
 
4
4
  __Ease refactoring and exploration by attaching notes to methods and classes in Pry__
5
5
 
6
+ **NOTE: This only works on Pry HEAD currently (v0.9.11+)**
7
+
6
8
  ```
7
9
  [1] pry(main)> note -h
8
10
  add
@@ -24,11 +26,11 @@ __Ease refactoring and exploration by attaching notes to methods and classes in
24
26
  Usage: note [OPTIONS]
25
27
  Add notes to classes and methods.
26
28
 
27
- e.g note -a Pry#repl "this is my note" #=> add a note without opening editor
28
- e.g note -a Pry#repl #=> add a note (with editor) to Pry#repl method
29
- e.g note -d Pry#repl:1 #=> delete the 1st note from Pry#repl
30
- e.g note -d Pry#repl #=> delete all notes from Pry#repl
31
- e.g note -l #=> list all notes
29
+ e.g note add Pry#repl -m "this is my note" #=> add a note without opening editor
30
+ e.g note add Pry#repl #=> add a note (with editor) to Pry#repl method
31
+ e.g note delete Pry#repl:1 #=> delete the 1st note from Pry#repl
32
+ e.g note delete Pry#repl #=> delete all notes from Pry#repl
33
+ e.g note list #=> list all notes
32
34
 
33
35
  -h, --help Show this message.
34
36
  ```
@@ -5,11 +5,11 @@ Pry::Commands.create_command "note" do
5
5
  Usage: note [OPTIONS]
6
6
  Add notes to classes and methods.
7
7
 
8
- e.g note -a Pry#repl "this is my note" #=> add a note without opening editor
9
- e.g note -a Pry#repl #=> add a note (with editor) to Pry#repl method
10
- e.g note -d Pry#repl:1 #=> delete the 1st note from Pry#repl
11
- e.g note -d Pry#repl #=> delete all notes from Pry#repl
12
- e.g note -l #=> list all notes
8
+ e.g note add Pry#repl -m "this is my note" #=> add a note without opening editor
9
+ e.g note add Pry#repl #=> add a note (with editor) to Pry#repl method
10
+ e.g note delete Pry#repl:1 #=> delete the 1st note from Pry#repl
11
+ e.g note delete Pry#repl #=> delete all notes from Pry#repl
12
+ e.g note list #=> list all notes
13
13
  USAGE
14
14
 
15
15
  def subcommands(cmd)
@@ -1,3 +1,3 @@
1
1
  module PryNote
2
- VERSION = "0.2.4"
2
+ VERSION = "0.2.5"
3
3
  end
data/pry-note.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "pry-note"
5
- s.version = "0.2.4"
5
+ s.version = "0.2.5"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["John Mair (banisterfiend)"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pry-note
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.4
4
+ version: 0.2.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: