watirsplash 1.2.0 → 1.2.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/History.rdoc +4 -0
  2. data/VERSION +1 -1
  3. data/lib/watirsplash/util.rb +2 -2
  4. metadata +5 -5
data/History.rdoc CHANGED
@@ -1,3 +1,7 @@
1
+ === Version 1.2.1 / 2011-04-17
2
+
3
+ * use RSpec's multiple formatters support functionality directly
4
+
1
5
  === Version 1.2.0 / 2011-04-16
2
6
 
3
7
  * fixed Watir::Browser#attach for Watir::IE
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.2.0
1
+ 1.2.1
@@ -25,10 +25,10 @@ module WatirSplash
25
25
  def configure_rspec_formatters
26
26
  config = RSpec.configuration
27
27
  config.color_enabled = true
28
- documentation_formatter = config.send(:built_in_formatter, :documentation).new(config.output)
29
28
  results_path = ENV["WATIRSPLASH_RESULTS_PATH"] || "results/index.html"
30
29
  @@html_formatter = WatirSplash::HtmlFormatter.new(results_path)
31
- config.instance_variable_set(:@reporter, RSpec::Core::Reporter.new(@@html_formatter, documentation_formatter))
30
+ config.formatters.unshift(@@html_formatter)
31
+ config.add_formatter(:documentation)
32
32
  end
33
33
 
34
34
  def formatter
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watirsplash
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 2
9
- - 0
10
- version: 1.2.0
9
+ - 1
10
+ version: 1.2.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jarmo Pertman
@@ -134,7 +134,7 @@ licenses: []
134
134
  post_install_message: |-
135
135
  *************************
136
136
 
137
- Thank you for installing WatirSplash 1.2.0! Don't forget to take a look at the README and History files!
137
+ Thank you for installing WatirSplash 1.2.1! Don't forget to take a look at the README and History files!
138
138
 
139
139
  Execute `watirsplash new` under your project's directory to generate a default project structure.
140
140
 
@@ -173,7 +173,7 @@ rubyforge_project:
173
173
  rubygems_version: 1.3.7
174
174
  signing_key:
175
175
  specification_version: 3
176
- summary: watirsplash 1.2.0
176
+ summary: watirsplash 1.2.1
177
177
  test_files:
178
178
  - spec/file_helper_spec.rb
179
179
  - spec/rspec_patches_spec.rb