fuubar 1.1.1 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/README.textile +2 -4
  2. data/fuubar.gemspec +2 -2
  3. data/lib/fuubar.rb +9 -1
  4. metadata +13 -6
  5. checksums.yaml +0 -15
data/README.textile CHANGED
@@ -1,8 +1,7 @@
1
- h1. Fuubar !http://travis-ci.org/jeffkreeftmeijer/fuubar.png!
1
+ h1. Fuubar !https://travis-ci.org/jeffkreeftmeijer/fuubar.png!:https://travis-ci.org/jeffkreeftmeijer/fuubar
2
2
 
3
3
  Fuubar is an instafailing "RSpec":http://github.com/rspec formatter that uses a progress bar instead of a string of letters and dots as feedback. Here's "a video of Fuubar in action":http://vimeo.com/16845253.
4
4
 
5
-
6
5
  h2. Installation
7
6
 
8
7
  Installing Fuubar is easy. Just put it in your @Gemfile@ and run your specs like this from now on:
@@ -20,7 +19,6 @@ Use the "fuubar-legacy":https://rubygems.org/gems/fuubar-legacy gem:
20
19
 
21
20
  bc. gem 'fuubar-legacy'
22
21
 
23
-
24
22
  h2. Contributing
25
23
 
26
- Found an issue? Have a great idea? Want to help? Great! Create an issue "issue":http://github.com/jeffkreeftmeijer/fuubar/issues for it, "ask":http://github.com/inbox/new/jeffkreeftmeijer, or even better; fork the project and fix the problem yourself. Pull requests are always welcome. :)
24
+ Found an issue? Have a great idea? Want to help? Great! Create an issue "issue":http://github.com/jeffkreeftmeijer/fuubar/issues for it, or even better; fork the project and fix the problem yourself. Pull requests are always welcome. :)
data/fuubar.gemspec CHANGED
@@ -2,9 +2,9 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "fuubar"
5
- s.version = '1.1.1'
5
+ s.version = '1.2.1'
6
6
  s.platform = Gem::Platform::RUBY
7
- s.authors = ["Nicholas Evans", "Jeff Kreeftmeijer", "Jeff Felchner"]
7
+ s.authors = ["Nicholas Evans", "Jeff Kreeftmeijer"]
8
8
  s.email = ["jeff@kreeftmeijer.nl"]
9
9
  s.homepage = "https://github.com/jeffkreeftmeijer/fuubar"
10
10
  s.summary = %q{the instafailing RSpec progress bar formatter}
data/lib/fuubar.rb CHANGED
@@ -41,6 +41,14 @@ class Fuubar < RSpec::Core::Formatters::BaseTextFormatter
41
41
  # don't!
42
42
  end
43
43
 
44
+ def message(string)
45
+ if @progress_bar.respond_to? :log
46
+ @progress_bar.log(string)
47
+ else
48
+ super
49
+ end
50
+ end
51
+
44
52
  def instafail
45
53
  @instafail ||= RSpec::Instafail.new(output)
46
54
  end
@@ -48,7 +56,7 @@ class Fuubar < RSpec::Core::Formatters::BaseTextFormatter
48
56
  def with_color
49
57
  output.print "\e[#{colors[state]}m" if color_enabled?
50
58
  yield
51
- output.print "\e[0m"
59
+ output.print "\e[0m" if color_enabled?
52
60
  end
53
61
 
54
62
  def state
metadata CHANGED
@@ -1,20 +1,21 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fuubar
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.2.1
5
+ prerelease:
5
6
  platform: ruby
6
7
  authors:
7
8
  - Nicholas Evans
8
9
  - Jeff Kreeftmeijer
9
- - Jeff Felchner
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2013-06-02 00:00:00.000000000 Z
13
+ date: 2013-08-16 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rspec
17
17
  requirement: !ruby/object:Gem::Requirement
18
+ none: false
18
19
  requirements:
19
20
  - - ~>
20
21
  - !ruby/object:Gem::Version
@@ -22,6 +23,7 @@ dependencies:
22
23
  type: :runtime
23
24
  prerelease: false
24
25
  version_requirements: !ruby/object:Gem::Requirement
26
+ none: false
25
27
  requirements:
26
28
  - - ~>
27
29
  - !ruby/object:Gem::Version
@@ -29,6 +31,7 @@ dependencies:
29
31
  - !ruby/object:Gem::Dependency
30
32
  name: ruby-progressbar
31
33
  requirement: !ruby/object:Gem::Requirement
34
+ none: false
32
35
  requirements:
33
36
  - - ~>
34
37
  - !ruby/object:Gem::Version
@@ -36,6 +39,7 @@ dependencies:
36
39
  type: :runtime
37
40
  prerelease: false
38
41
  version_requirements: !ruby/object:Gem::Requirement
42
+ none: false
39
43
  requirements:
40
44
  - - ~>
41
45
  - !ruby/object:Gem::Version
@@ -43,6 +47,7 @@ dependencies:
43
47
  - !ruby/object:Gem::Dependency
44
48
  name: rspec-instafail
45
49
  requirement: !ruby/object:Gem::Requirement
50
+ none: false
46
51
  requirements:
47
52
  - - ~>
48
53
  - !ruby/object:Gem::Version
@@ -50,6 +55,7 @@ dependencies:
50
55
  type: :runtime
51
56
  prerelease: false
52
57
  version_requirements: !ruby/object:Gem::Requirement
58
+ none: false
53
59
  requirements:
54
60
  - - ~>
55
61
  - !ruby/object:Gem::Version
@@ -73,26 +79,27 @@ files:
73
79
  - spec/spec_helper.rb
74
80
  homepage: https://github.com/jeffkreeftmeijer/fuubar
75
81
  licenses: []
76
- metadata: {}
77
82
  post_install_message:
78
83
  rdoc_options: []
79
84
  require_paths:
80
85
  - lib
81
86
  required_ruby_version: !ruby/object:Gem::Requirement
87
+ none: false
82
88
  requirements:
83
89
  - - ! '>='
84
90
  - !ruby/object:Gem::Version
85
91
  version: '0'
86
92
  required_rubygems_version: !ruby/object:Gem::Requirement
93
+ none: false
87
94
  requirements:
88
95
  - - ! '>='
89
96
  - !ruby/object:Gem::Version
90
97
  version: '0'
91
98
  requirements: []
92
99
  rubyforge_project: fuubar
93
- rubygems_version: 2.0.3
100
+ rubygems_version: 1.8.23
94
101
  signing_key:
95
- specification_version: 4
102
+ specification_version: 3
96
103
  summary: the instafailing RSpec progress bar formatter
97
104
  test_files:
98
105
  - spec/fuubar_spec.rb
checksums.yaml DELETED
@@ -1,15 +0,0 @@
1
- ---
2
- !binary "U0hBMQ==":
3
- metadata.gz: !binary |-
4
- NjYzODU0OWEzYjQxNTZlOGYyNzhhYTVjNGMzMWQzYTM5NDcyYjZiYw==
5
- data.tar.gz: !binary |-
6
- OGU0YjIwNDA4NmJmNGRkNzAzODBjMGM0YzJlZTRhYzZkOGZlNDU5Ng==
7
- !binary "U0hBNTEy":
8
- metadata.gz: !binary |-
9
- YWJlM2I0YzVhODJkNWJlNWI5MDc5OWUxMzYxM2M4NWY1MmRiMDUwZmY3ZGQ3
10
- ZjI2ODRkZjczOTE0NDljOTc1ZjNhNGFkZGMyOTE2Y2Y0MGI5M2YwODU1NzVl
11
- MzFhMzNlOTI2YmI3Zjg3NWIxODQ5Nzg0MTI4NGRmNWU5OWYzMTI=
12
- data.tar.gz: !binary |-
13
- Y2NmZjA3NmZhMzk5OTg3MmNhODUzZjViNjczZjJiYzY3NGY5MmJjOGVhNjU5
14
- ODJiZjVhZTViZWRlODE5YzJkMzg3YTk1YWI3MzI2NWJkOWQ3NmUzOWM0ZDc3
15
- Mzc3MWM2YzBlYzE3ZGViZWNjNDhhZjkzZTZjMDg2ZTliMjBjMzU=