appium_lib 0.3.14 → 0.3.15

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- OTQzMDhiZjA2NDk4YTQ3NjExNzFmODIxYjU2YTZmMjQxYjkwYWE3Mg==
4
+ OThiNjUwNzUyMmUwMzY3M2ZlYjZjMzc3NGExMTA2Yjc1N2ZkMmU3Zg==
5
5
  data.tar.gz: !binary |-
6
- NDc5MjEwY2NiZWM2NDYyZmJiYWEyYTE3ZGNkMWVlMjI2NDVhMTQ1Nw==
6
+ MTM5YWZiZGFkYmFlMTQxYjQxYjJhMDlhMmM3NmQ1YWM4MjQ1YTYyNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- Zjk2NDlmNjVmNzQ2ZmFlOGYyYWFmMGJjYmE2MjZmNzM4YThkYWYzZjk1NjYw
10
- MWMyNWU1M2Q5YzY4N2FmMzg3NTQ4MmRkYjU1NTFmMzE4OGZjNTFiNzQwNTBk
11
- MjAwZTBhMWJmNzM0ZTIzNzMyNTBjZDA1MmE1MmM4ODY4ZDQ5NTI=
9
+ NWYyMDFkNjg1ZDFkMWU5ZTAwNmE3YzFmZGE5MjgwY2E5NzczOGY3ODQzZjBi
10
+ OTJiZjQzZWY1ZDE4ZDUzZGU0ZjBiNTlhYjJhNTFmN2FkZjg4ZjJhZGQ2MTQ0
11
+ YTJhMDhkYmNmMWNlNTRjNmQ0NzZlNzgwYjA5NDc1MzgyMWU5ODE=
12
12
  data.tar.gz: !binary |-
13
- ZTYzODAwYWU1MGMzMjdjM2UxYTdiZTJmZTkyY2Y2OTEyOWU1MmFlYjYxOTIw
14
- YTk4YTYyMjU1OWU3M2RlNGRkNmY2NTZmMWI4ODY1ODdmY2M2NzJmOGIxMzE1
15
- MDE2MjZkZmVjNDczYWQ1ZWM0OTIxODI1ZDQ0ODc2ZTQzODY3ZTg=
13
+ ZDE1Yzg2MDRjYTk2YmNiZTI2NjkwNzA4OTE5ZjIxYzViMWQzODZmOGU5NzZi
14
+ ODE5YjI5ZDQyY2IwZDBkMWNjN2YzZjRmODVmNTkxMGQxZjYwMWFiNmRiMzZh
15
+ MjVjMjZmNzllYWViZmQxZGVhMDAwNjNkZDYwOTFkM2FiYWRmNTA=
@@ -26,9 +26,9 @@ Gem::Specification.new do |s|
26
26
 
27
27
  s.add_runtime_dependency 'selenium-webdriver', '~> 2.32.1'
28
28
  s.add_runtime_dependency 'awesome_print', '~> 1.1.0'
29
- s.add_runtime_dependency 'json', '~> 1.7.7'
29
+ s.add_runtime_dependency 'json', '~> 1.8.0'
30
30
 
31
- s.add_development_dependency 'rake', '~> 10.0.3'
31
+ s.add_development_dependency 'rake', '~> 10.0.4'
32
32
 
33
33
  s.files = `git ls-files`.split "\n"
34
34
  end
@@ -1,6 +1,6 @@
1
1
  # encoding: utf-8
2
2
  module Appium
3
3
  # Version and Date are defined on the 'Appium' module, not 'Appium::Common'
4
- VERSION = '0.3.14' unless defined? ::Appium::VERSION
4
+ VERSION = '0.3.15' unless defined? ::Appium::VERSION
5
5
  DATE = '2013-05-13' unless defined? ::Appium::DATE
6
6
  end
@@ -16,15 +16,16 @@ module Appium::Ios
16
16
  end
17
17
 
18
18
  # returns if the element is visible
19
- # 1 = visible
20
- # 0 = not visible
21
- # null = unknown
19
+ # true: 1 = visible,
20
+ # false: 0 = not visible, null = unknown
21
+ #
22
22
  # http://developer.apple.com/library/ios/#documentation/ToolsLanguages/Reference/UIAElementClassReference/UIAElement/UIAElement.html#//apple_ref/doc/uid/TP40009903
23
23
  def visible
24
24
  js = <<-JS
25
25
  au.getElement('#{self.ref}').isVisible();
26
26
  JS
27
- @driver.execute_script js
27
+ result = @driver.execute_script js
28
+ result == 1 ? true : false
28
29
  end
29
30
  end
30
31
  end
@@ -69,6 +69,10 @@
69
69
 
70
70
  #### v0.3.2 2013-04-26
71
71
 
72
+ - [12aa291](https://github.com/appium/ruby_lib/commit/12aa29132a9a88076fbf8c76fbb65b1aa5e1fc96) Release 0.3.14
73
+ - [a61b297](https://github.com/appium/ruby_lib/commit/a61b297d387b0c28865b050eaa3d7d59efae2a34) Add .visible for iOS
74
+ - [6f6dda5](https://github.com/appium/ruby_lib/commit/6f6dda53fb12a483a524370c3d3c729fa1b87be4) Update gemspec
75
+ - [baee435](https://github.com/appium/ruby_lib/commit/baee435d81a94f0bac51a15507e6eb8204c8885e) Update release notes
72
76
  - [7badb99](https://github.com/appium/ruby_lib/commit/7badb998734ee4c4ae0781c5e8f3cfc4b862eeb3) Release 0.3.13
73
77
  - [efaa0ea](https://github.com/appium/ruby_lib/commit/efaa0eaebe5a045dba8370ec98aea8bdf31637ba) Fix #52
74
78
  - [fd0941c](https://github.com/appium/ruby_lib/commit/fd0941cd02dbfeff32e506dcff8192480e13fb38) Update release notes
@@ -126,6 +130,14 @@
126
130
  - [7df8ddc](https://github.com/appium/ruby_lib/commit/7df8ddcd0edb294abaddd2424f0f6b45f086fb53) Update release notes
127
131
 
128
132
 
133
+ #### v0.3.14 2013-05-13
134
+
135
+ - [12aa291](https://github.com/appium/ruby_lib/commit/12aa29132a9a88076fbf8c76fbb65b1aa5e1fc96) Release 0.3.14
136
+ - [a61b297](https://github.com/appium/ruby_lib/commit/a61b297d387b0c28865b050eaa3d7d59efae2a34) Add .visible for iOS
137
+ - [6f6dda5](https://github.com/appium/ruby_lib/commit/6f6dda53fb12a483a524370c3d3c729fa1b87be4) Update gemspec
138
+ - [baee435](https://github.com/appium/ruby_lib/commit/baee435d81a94f0bac51a15507e6eb8204c8885e) Update release notes
139
+
140
+
129
141
  #### v0.3.13 2013-05-10
130
142
 
131
143
  - [7badb99](https://github.com/appium/ruby_lib/commit/7badb998734ee4c4ae0781c5e8f3cfc4b862eeb3) Release 0.3.13
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: appium_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.14
4
+ version: 0.3.15
5
5
  platform: ruby
6
6
  authors:
7
7
  - code@bootstraponline.com
@@ -44,28 +44,28 @@ dependencies:
44
44
  requirements:
45
45
  - - ~>
46
46
  - !ruby/object:Gem::Version
47
- version: 1.7.7
47
+ version: 1.8.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - ~>
53
53
  - !ruby/object:Gem::Version
54
- version: 1.7.7
54
+ version: 1.8.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rake
57
57
  requirement: !ruby/object:Gem::Requirement
58
58
  requirements:
59
59
  - - ~>
60
60
  - !ruby/object:Gem::Version
61
- version: 10.0.3
61
+ version: 10.0.4
62
62
  type: :development
63
63
  prerelease: false
64
64
  version_requirements: !ruby/object:Gem::Requirement
65
65
  requirements:
66
66
  - - ~>
67
67
  - !ruby/object:Gem::Version
68
- version: 10.0.3
68
+ version: 10.0.4
69
69
  description: Ruby lib for use with Appium.
70
70
  email:
71
71
  - code@bootstraponline.com