rspec_org_formatter 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -30,4 +30,5 @@ The MIT License, see [LICENSE][license].
30
30
  [rspec]: http://rspec.info/
31
31
  [bundler]: http://gembundler.com/
32
32
  [license]: https://github.com/sj26/rspec-junit-formatter/blob/master/LICENSE
33
-
33
+ [orgmode]: http://orgmode.org/
34
+ [emacs]: http://www.gnu.org/software/emacs/
@@ -1,6 +1,12 @@
1
1
  require 'erb'
2
2
  require 'rspec/core/formatters/base_text_formatter'
3
3
 
4
+ class String
5
+ def blank?
6
+ !self.match(/\A\s+\z/).nil?
7
+ end
8
+ end
9
+
4
10
  module RSpec
5
11
  module Core
6
12
  module Formatters
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec_org_formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.2.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-07 00:00:00.000000000Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &85664870 !ruby/object:Gem::Requirement
16
+ requirement: &76365740 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: 2.6.0
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *85664870
24
+ version_requirements: *76365740
25
25
  description: RSpec results meant to be viewed in an emacs org buffer
26
26
  email: laynor@gmail.com
27
27
  executables: []
@@ -57,3 +57,4 @@ signing_key:
57
57
  specification_version: 3
58
58
  summary: RSpec Org Formatter
59
59
  test_files: []
60
+ has_rdoc: