Skip to content

Commit

Permalink
clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
nofxx committed Mar 18, 2010
1 parent 430836d commit bc3d9f3
Show file tree
Hide file tree
Showing 6 changed files with 70 additions and 53 deletions.
4 changes: 0 additions & 4 deletions History.txt

This file was deleted.

21 changes: 0 additions & 21 deletions PostInstall.txt

This file was deleted.

38 changes: 21 additions & 17 deletions README.rdoc
Original file line number Diff line number Diff line change
@@ -1,56 +1,60 @@
= rspec-spinner
= rspec_spinner

* http://github.com/nofxx/rspec-spinner

Adds an extra formatter that looks like this:
Adds extra formatters that looks like this:

Foo::Error ......
SLOW SPEC: 10.0314 Foo should raise Bar
PENDING SPEC: Foo should get Bar
891/1808: 49% |======================= | ETA: 00:00:21


Or this:

46% \ should get Bar ETA: 00:00:23


No dots and Fs, just what you need to know: FAILURES, PENDINGS and SLOW ones.

No dots and Fs, just what you need to know: FAILURES, PENDINGS and SLOW ones.


== INSTALL:
== Install

sudo gem install rspec_spinner
gem install rspec_spinner


== TO USE:
== Use

Require RspecSpinner on spec/spec_helper.rb:

require 'spec'
require 'rspec_spinner'
...


Change your spec.opts --format to:

--format RspecSpinner::Bar

or:

--format RspecSpinner::Spinner


Have fun!


== REQUIREMENTS:

Have fun!


== Requirements

* rtui (http://github.com/nofxx/rtui)

Works with:

* rspec (http://github.com/dchemlinksy/rspec)
* rtui (http://github.com/nofxx/rtui)
* ...Need to work in an agnostic version...


== LICENSE:
== License

(The MIT License)

Expand Down
27 changes: 23 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,30 @@ begin
gem.email = "Cool Extra formatters for Rspec"
gem.homepage = "http://github.com/nofxx/rspec_spinner"
gem.authors = ["Marcos Augusto"]
gem.add_dependency 'rspec' # ,'>=1.1.11'],
gem.add_dependency 'rtui' #,'>= 0.1.8']
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
end
gem.add_dependency 'rtui'
gem.add_development_dependency 'rspec'
gem.post_install_message = <<-POST_INSTALL_MESSAGE
50% |========= RSPEC_SPINNER =========|
Require it on spec/spec_helper.rb:
require 'spec'
require 'rspec_spinner'
...
Change your spec.opts --format to:
--format RspecSpinner::Bar
or:
--format RspecSpinner::Spinner
Have fun!
POST_INSTALL_MESSAGE
end
rescue LoadError
puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
end
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.1.2
1.1.2
31 changes: 25 additions & 6 deletions rspec_spinner.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

Gem::Specification.new do |s|
s.name = %q{rspec_spinner}
s.version = "0.1.2"
s.version = "1.1.2"

s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
s.authors = ["Marcos Augusto"]
Expand All @@ -16,11 +16,10 @@ Gem::Specification.new do |s|
]
s.files = [
".gitignore",
"History.txt",
"MIT-LICENSE",
"PostInstall.txt",
"README.rdoc",
"Rakefile",
"VERSION",
"lib/rspec_spinner.rb",
"lib/rspec_spinner/bar.rb",
"lib/rspec_spinner/base.rb",
Expand All @@ -33,6 +32,26 @@ Gem::Specification.new do |s|
"spec/spec_helper.rb"
]
s.homepage = %q{http://github.com/nofxx/rspec_spinner}
s.post_install_message = %q{
50% |========= RSPEC_SPINNER =========|
Require it on spec/spec_helper.rb:
require 'spec'
require 'rspec_spinner'
...
Change your spec.opts --format to:
--format RspecSpinner::Bar
or:
--format RspecSpinner::Spinner
Have fun!
}
s.rdoc_options = ["--charset=UTF-8"]
s.require_paths = ["lib"]
s.rubygems_version = %q{1.3.6}
Expand All @@ -49,15 +68,15 @@ Gem::Specification.new do |s|
s.specification_version = 3

if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
s.add_runtime_dependency(%q<rspec>, [">= 0"])
s.add_runtime_dependency(%q<rtui>, [">= 0"])
s.add_development_dependency(%q<rspec>, [">= 0"])
else
s.add_dependency(%q<rspec>, [">= 0"])
s.add_dependency(%q<rtui>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 0"])
end
else
s.add_dependency(%q<rspec>, [">= 0"])
s.add_dependency(%q<rtui>, [">= 0"])
s.add_dependency(%q<rspec>, [">= 0"])
end
end

0 comments on commit bc3d9f3

Please sign in to comment.