rubium-ios 1.0.0.pre

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,30 @@
1
+ module UIAutomation
2
+ # A RemoteProxy to UIAWindow objects in the Javascript API.
3
+ #
4
+ # @see https://developer.apple.com/library/ios/documentation/ToolsLanguages/Reference/UIAWindowClassReference/
5
+ #
6
+ class Window < Element
7
+ ### @!group Elements
8
+
9
+ # The first UITableView in the view hierarchy
10
+ # @return [UIAutomation::TableView]
11
+ #
12
+ def main_table_view
13
+ table_views[0]
14
+ end
15
+
16
+ # The first UIWebView in the view hierarchy
17
+ # @return [UIAutomation::Element]
18
+ #
19
+ def main_web_view
20
+ scroll_views[0].web_views[0]
21
+ end
22
+
23
+ # @return [self]
24
+ def window
25
+ self
26
+ end
27
+
28
+ ### @!endgroup
29
+ end
30
+ end
metadata ADDED
@@ -0,0 +1,128 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: rubium-ios
3
+ version: !ruby/object:Gem::Version
4
+ version: 1.0.0.pre
5
+ platform: ruby
6
+ authors:
7
+ - Luke Redpath
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-07-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rspec
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ~>
18
+ - !ruby/object:Gem::Version
19
+ version: '3.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '3.0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ~>
32
+ - !ruby/object:Gem::Version
33
+ version: '10.0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ~>
39
+ - !ruby/object:Gem::Version
40
+ version: '10.0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: selenium-webdriver
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ~>
46
+ - !ruby/object:Gem::Version
47
+ version: 2.42.0
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: 2.42.0
55
+ - !ruby/object:Gem::Dependency
56
+ name: activesupport
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - ~>
60
+ - !ruby/object:Gem::Version
61
+ version: '4.0'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: '4.0'
69
+ description:
70
+ email:
71
+ - luke@lukeredpath.co.uk
72
+ executables: []
73
+ extensions: []
74
+ extra_rdoc_files: []
75
+ files:
76
+ - lib/rubium.rb
77
+ - lib/rubium/capabilities.rb
78
+ - lib/rubium/driver.rb
79
+ - lib/rubium/session.rb
80
+ - lib/rubium/version.rb
81
+ - lib/ui_automation.rb
82
+ - lib/ui_automation/action_sheet.rb
83
+ - lib/ui_automation/activity_view.rb
84
+ - lib/ui_automation/alert.rb
85
+ - lib/ui_automation/application.rb
86
+ - lib/ui_automation/element.rb
87
+ - lib/ui_automation/element_array.rb
88
+ - lib/ui_automation/element_definitions.rb
89
+ - lib/ui_automation/element_proxy_methods.rb
90
+ - lib/ui_automation/keyboard.rb
91
+ - lib/ui_automation/logger.rb
92
+ - lib/ui_automation/navigation_bar.rb
93
+ - lib/ui_automation/picker.rb
94
+ - lib/ui_automation/popover.rb
95
+ - lib/ui_automation/tab_bar.rb
96
+ - lib/ui_automation/table_view.rb
97
+ - lib/ui_automation/target.rb
98
+ - lib/ui_automation/text_field.rb
99
+ - lib/ui_automation/text_view.rb
100
+ - lib/ui_automation/traits/cancellable.rb
101
+ - lib/ui_automation/traits/text_input.rb
102
+ - lib/ui_automation/window.rb
103
+ homepage: https://github.com/songkick/rubium-ios
104
+ licenses:
105
+ - MIT
106
+ metadata: {}
107
+ post_install_message:
108
+ rdoc_options: []
109
+ require_paths:
110
+ - lib
111
+ required_ruby_version: !ruby/object:Gem::Requirement
112
+ requirements:
113
+ - - '>='
114
+ - !ruby/object:Gem::Version
115
+ version: '0'
116
+ required_rubygems_version: !ruby/object:Gem::Requirement
117
+ requirements:
118
+ - - '>'
119
+ - !ruby/object:Gem::Version
120
+ version: 1.3.1
121
+ requirements: []
122
+ rubyforge_project:
123
+ rubygems_version: 2.0.14
124
+ signing_key:
125
+ specification_version: 4
126
+ summary: A Ruby library for driving your iOS automated tests using Appium
127
+ test_files: []
128
+ has_rdoc: