calabash-android 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -75,14 +75,14 @@ module Operations
75
75
  end
76
76
 
77
77
  def query(uiquery, *args)
78
- raise "Currently only queries are only supported for webviews" unless q.start_with? "webView"
78
+ raise "Currently only queries are only supported for webviews" unless uiquery.start_with? "webView"
79
79
 
80
- q.slice!(0, "webView".length)
81
- if q =~ /(css|xpath):\s*(.*)/
80
+ uiquery.slice!(0, "webView".length)
81
+ if uiquery =~ /(css|xpath):\s*(.*)/
82
82
  r = performAction("query", $1, $2)
83
83
  JSON.parse(r["message"])
84
84
  else
85
- raise "Invalid query #{q}"
85
+ raise "Invalid query #{uiquery}"
86
86
  end
87
87
  end
88
88
 
@@ -1,6 +1,6 @@
1
1
  module Calabash
2
2
  module Android
3
- VERSION = "0.0.4"
4
- FRAMEWORK_VERSION = "0.0.4"
3
+ VERSION = "0.0.5"
4
+ FRAMEWORK_VERSION = "0.0.5"
5
5
  end
6
6
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: calabash-android
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jonas Maturana Larsen