rwebspec 1.7.0 → 1.7.1

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG CHANGED
@@ -4,6 +4,7 @@ CHANGELOG
4
4
  1.7.1
5
5
  [New] New version scheme, matching Watir versioning, appending minor number
6
6
  [New] background_visit method, visit url in background, useful for function such as reset database
7
+ [Fix] in latest Watir, no all operations return true any more, refactor try{ }
7
8
 
8
9
  1.6.5
9
10
  [Fixes] load Firewatir first, in case new version of ActiveSupport is loaded first
data/Rakefile CHANGED
@@ -70,7 +70,7 @@ end
70
70
  spec = Gem::Specification.new do |s|
71
71
  s.platform= Gem::Platform::RUBY
72
72
  s.name = "rwebspec"
73
- s.version = "1.7.0"
73
+ s.version = "1.7.1"
74
74
  s.summary = "Executable functional specification for web applications in RSpec syntax and Watir"
75
75
  # s.description = ""
76
76
 
@@ -773,8 +773,9 @@ module RWebSpec
773
773
  last_error = nil
774
774
  until (duration = Time.now - start_time) > timeout
775
775
  begin
776
- return if yield
776
+ yield
777
777
  last_error = nil
778
+ return true
778
779
  rescue => e
779
780
  last_error = e
780
781
  end
data/lib/rwebspec.rb CHANGED
@@ -24,7 +24,7 @@ require 'active_support/core_ext'
24
24
  require 'spec'
25
25
 
26
26
  unless defined? RWEBSPEC_VERSION
27
- RWEBSPEC_VERSION = RWEBUNIT_VERSION = "1.6.5"
27
+ RWEBSPEC_VERSION = RWEBUNIT_VERSION = "1.7.1"
28
28
  end
29
29
 
30
30
  # Extra full path to load libraries
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rwebspec
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
5
- prerelease: false
4
+ hash: 9
5
+ prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 7
9
- - 0
10
- version: 1.7.0
9
+ - 1
10
+ version: 1.7.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Zhimin Zhan
@@ -15,7 +15,7 @@ autorequire: rwebspec
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-08 00:00:00 +10:00
18
+ date: 2011-04-19 00:00:00 +10:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  requirements:
115
115
  - none
116
116
  rubyforge_project: rwebspec
117
- rubygems_version: 1.3.7
117
+ rubygems_version: 1.4.2
118
118
  signing_key:
119
119
  specification_version: 3
120
120
  summary: Executable functional specification for web applications in RSpec syntax and Watir