osaka 0.4.7 → 0.4.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -77,7 +77,7 @@ module Osaka
77
77
  action.() unless action.nil?
78
78
  end
79
79
  }
80
- rescue Exception => e
80
+ rescue Exception
81
81
  raise Osaka::TimeoutError, "Timed out while waiting for: #{locations.to_s}"
82
82
  end
83
83
  end
@@ -194,7 +194,7 @@ module Osaka
194
194
  def attributes(location = "")
195
195
  attributelist = get!("attributes", location)
196
196
  attributelist.split("of application process #{name}").collect { |attribute|
197
- attribute_match = attribute.match("attribute (.+?) .*")[1]
197
+ attribute.match("attribute (.+?) .*")[1]
198
198
  }
199
199
  end
200
200
 
@@ -1,3 +1,4 @@
1
+ # encoding: utf-8
1
2
 
2
3
  module Osaka
3
4
 
@@ -98,7 +98,7 @@ module Osaka
98
98
  unless duplicate_available?
99
99
  raise(Osaka::VersioningError, "MacOS Versioning Error: Duplicate is not available on this Mac version")
100
100
  end
101
- new_window = do_and_wait_for_new_window {
101
+ do_and_wait_for_new_window {
102
102
  control.click_menu_bar(at.menu_item("Duplicate"), "File")
103
103
  }
104
104
  new_instance = clone
data/lib/osaka/version.rb CHANGED
@@ -1,4 +1,4 @@
1
1
 
2
2
  module Osaka
3
- VERSION = "0.4.7"
3
+ VERSION = "0.4.8"
4
4
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: osaka
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.4.7
5
+ version: 0.4.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Bas Vodde
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2012-12-11 00:00:00 +08:00
14
- default_executable:
13
+ date: 2013-06-15 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: rake
@@ -91,7 +90,6 @@ files:
91
90
  - spec/typicalopendialog_spec.rb
92
91
  - spec/typicalprintdialog_spec.rb
93
92
  - spec/typicalsavedialog_spec.rb
94
- has_rdoc: true
95
93
  homepage: https://github.com/basvodde/osaka
96
94
  licenses: []
97
95
 
@@ -115,9 +113,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
113
  requirements: []
116
114
 
117
115
  rubyforge_project:
118
- rubygems_version: 1.6.2
116
+ rubygems_version: 1.8.24
119
117
  signing_key:
120
118
  specification_version: 3
121
119
  summary: Osaka is an Mac GUI automation library
122
120
  test_files: []
123
121
 
122
+ has_rdoc: