Permalink
Browse files

improved output slightly

  • Loading branch information...
1 parent f303aa4 commit d7732ca6a7b63ea99bc58720e2121fbc281b4f46 @banister committed Dec 1, 2012
Showing with 4 additions and 4 deletions.
  1. +2 −2 lib/pry-note/commands.rb
  2. +1 −1 lib/pry-note/version.rb
  3. +1 −1 pry-note.gemspec
View
4 lib/pry-note/commands.rb
@@ -204,10 +204,10 @@ def create_note_output(name, verbose=false)
def list_all
if notes.any?
out = ""
- out << text.bold("Showing all available notes:\n\n")
+ out << text.bold("Showing all available notes:\n")
notes.each do |key, content|
begin
- out << create_note_output(key, true) << "\n"
+ out << "\n" << create_note_output(key, true) << "\n"
rescue
end
end
View
2 lib/pry-note/version.rb
@@ -1,3 +1,3 @@
module PryNote
- VERSION = "0.2.3"
+ VERSION = "0.2.4"
end
View
2 pry-note.gemspec
@@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.date = "2012-12-01"
s.description = "Ease refactoring and exploration by attaching notes to methods and classes in Pry"
s.email = "jrmair@gmail.com"
- s.files = ["Rakefile", "lib/pry-note.rb", "lib/pry-note/commands.rb", "lib/pry-note/hooks.rb", "lib/pry-note/version.rb", "pry-note.gemspec", "test/helper.rb", "test/test_pry_note.rb"]
+ s.files = ["README.md", "Rakefile", "lib/pry-note.rb", "lib/pry-note/commands.rb", "lib/pry-note/hooks.rb", "lib/pry-note/version.rb", "pry-note.gemspec", "test/helper.rb", "test/test_pry_note.rb"]
s.homepage = "https://github.com/banister"
s.require_paths = ["lib"]
s.rubygems_version = "1.8.23"

0 comments on commit d7732ca

Please sign in to comment.