watir 1.7.0 → 1.7.1

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.
Files changed (4) hide show
  1. data/CHANGES +12 -0
  2. data/VERSION +1 -1
  3. data/lib/watir/ie-process.rb +7 -2
  4. metadata +10 -10
data/CHANGES CHANGED
@@ -1,3 +1,15 @@
1
+ == Version 1.7.1 - 2011/01/10
2
+
3
+ === IE improvements
4
+
5
+ * Fixed Watir::IE.start_process/new_process. Doesn't completely close http://jira.openqa.org/browse/WTR-472 (Jarmo Pertman)
6
+
7
+ === Firefox improvements
8
+
9
+ - Nothing
10
+
11
+ Whole Changelog is available at http://github.com/bret/watir/compare/v1.7.1...v1.7.0
12
+
1
13
  == Version 1.7.0 - 2011/01/06
2
14
 
3
15
  === IE improvements
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.7.0
1
+ 1.7.1
@@ -18,12 +18,17 @@ module Watir
18
18
 
19
19
  def window
20
20
  Wait.until do
21
+ found_window = nil
21
22
  IE.each do | ie |
22
23
  window = ie.ie
23
24
  hwnd = ie.hwnd
24
25
  process_id = Process.process_id_from_hwnd hwnd
25
- return window if process_id == @process_id
26
+ if process_id == @process_id
27
+ found_window = window
28
+ break
29
+ end
26
30
  end
31
+ found_window
27
32
  end
28
33
  end
29
34
 
@@ -37,4 +42,4 @@ module Watir
37
42
 
38
43
  end
39
44
  end
40
- end
45
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: watir
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
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
  - Bret Pettichord
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-01-06 00:00:00 +02:00
18
+ date: 2011-01-10 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -58,12 +58,12 @@ dependencies:
58
58
  requirements:
59
59
  - - "="
60
60
  - !ruby/object:Gem::Version
61
- hash: 11
61
+ hash: 9
62
62
  segments:
63
63
  - 1
64
64
  - 7
65
- - 0
66
- version: 1.7.0
65
+ - 1
66
+ version: 1.7.1
67
67
  type: :runtime
68
68
  version_requirements: *id003
69
69
  - !ruby/object:Gem::Dependency
@@ -74,12 +74,12 @@ dependencies:
74
74
  requirements:
75
75
  - - "="
76
76
  - !ruby/object:Gem::Version
77
- hash: 11
77
+ hash: 9
78
78
  segments:
79
79
  - 1
80
80
  - 7
81
- - 0
82
- version: 1.7.0
81
+ - 1
82
+ version: 1.7.1
83
83
  type: :runtime
84
84
  version_requirements: *id004
85
85
  - !ruby/object:Gem::Dependency