rspec-smart-formatter 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
 
3
3
  ## 0.0.4 (unreleased)
4
4
 
5
- * ...
5
+ * Speed improvement
6
6
 
7
7
  ## 0.0.3 (2012-01-07)
8
8
 
@@ -17,7 +17,7 @@ module RSpec
17
17
  end
18
18
 
19
19
  def __getobj__
20
- choose_formatter
20
+ @chosen_formatter ||= choose_formatter
21
21
  end
22
22
 
23
23
  def __setobj__(obj)
@@ -50,11 +50,7 @@ module RSpec
50
50
  end
51
51
 
52
52
  def formatter(formatter)
53
- formatters[formatter] ||= formatter.new(*@initialize_args)
54
- end
55
-
56
- def formatters
57
- @formatters ||= {}
53
+ formatter.new(*@initialize_args)
58
54
  end
59
55
 
60
56
  end
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = "rspec-smart-formatter"
5
- s.version = '0.0.3'
5
+ s.version = '0.0.4'
6
6
  s.authors = ["iain"]
7
7
  s.email = ["iain@iain.nl"]
8
8
  s.homepage = "https://github.com/iain/rspec-smart-formatter"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rspec-smart-formatter
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-07 00:00:00.000000000 Z
12
+ date: 2012-01-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: turnip
16
- requirement: &2170952360 !ruby/object:Gem::Requirement
16
+ requirement: &2160289380 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *2170952360
24
+ version_requirements: *2160289380
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: fuubar
27
- requirement: &2170951920 !ruby/object:Gem::Requirement
27
+ requirement: &2160288940 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: '0'
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *2170951920
35
+ version_requirements: *2160288940
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: rake
38
- requirement: &2170951500 !ruby/object:Gem::Requirement
38
+ requirement: &2160288520 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *2170951500
46
+ version_requirements: *2160288520
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: rspec-core
49
- requirement: &2170951000 !ruby/object:Gem::Requirement
49
+ requirement: &2160288020 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ~>
@@ -54,7 +54,7 @@ dependencies:
54
54
  version: '2.0'
55
55
  type: :runtime
56
56
  prerelease: false
57
- version_requirements: *2170951000
57
+ version_requirements: *2160288020
58
58
  description: When you run individual specs, I want to see documentation output, because
59
59
  it shows better which specs fails. But when I run all my specs I want something
60
60
  like progress or Fuubar.