calabash-android 0.0.18 → 0.0.19

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGES.txt CHANGED
@@ -1,4 +1,7 @@
1
- 0.0.17:
1
+ 0.0.19:
2
+ take_screenshot now works with Ruby 1.8.7
3
+
4
+ 0.0.18:
2
5
  Fixed bug. HTML text fields are now cleared when using set_text.
3
6
 
4
7
  0.0.17:
@@ -9,7 +9,7 @@ def install_app(app_path)
9
9
  log "#Failure"
10
10
  log "'#{cmd}' said:"
11
11
  log result.strip
12
- raise "Could not install app #{app_path}"
12
+ raise "Could not install app #{app_path}: #{result.strip}"
13
13
  end
14
14
  end
15
15
 
@@ -16,7 +16,7 @@ module Operations
16
16
 
17
17
  def take_screenshot
18
18
  path = ENV["SCREENSHOT_PATH_PREFIX"] || "results"
19
- FileUtils.mkdir_p path unless Dir.exists? path
19
+ FileUtils.mkdir_p path unless File.exist? path
20
20
  filename_prefix = FeatureNameMemory.feature_name.gsub(/\s+/, '_').downcase
21
21
  begin
22
22
  Timeout.timeout(30) do
@@ -1,6 +1,6 @@
1
1
  module Calabash
2
2
  module Android
3
- VERSION = "0.0.18"
4
- FRAMEWORK_VERSION = "0.0.18"
3
+ VERSION = "0.0.19"
4
+ FRAMEWORK_VERSION = "0.0.19"
5
5
  end
6
6
  end
@@ -5,6 +5,6 @@
5
5
  <classpathentry kind="src" path="assets"/>
6
6
  <classpathentry kind="con" path="com.android.ide.eclipse.adt.ANDROID_FRAMEWORK"/>
7
7
  <classpathentry kind="con" path="com.android.ide.eclipse.adt.LIBRARIES"/>
8
- <classpathentry kind="lib" path="libs/robotium-solo-3.3.jar"/>
8
+ <classpathentry kind="lib" path="libs/robotium-solo-3.2.1.jar"/>
9
9
  <classpathentry kind="output" path="bin/classes"/>
10
10
  </classpath>
metadata CHANGED
@@ -1,72 +1,75 @@
1
- --- !ruby/object:Gem::Specification
1
+ --- !ruby/object:Gem::Specification
2
2
  name: calabash-android
3
- version: !ruby/object:Gem::Version
4
- version: 0.0.18
3
+ version: !ruby/object:Gem::Version
4
+ hash: 57
5
5
  prerelease:
6
+ segments:
7
+ - 0
8
+ - 0
9
+ - 19
10
+ version: 0.0.19
6
11
  platform: ruby
7
- authors:
12
+ authors:
8
13
  - Jonas Maturana Larsen
9
14
  autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
- date: 2012-06-18 00:00:00.000000000 Z
13
- dependencies:
14
- - !ruby/object:Gem::Dependency
17
+
18
+ date: 2012-06-19 00:00:00 -03:00
19
+ default_executable:
20
+ dependencies:
21
+ - !ruby/object:Gem::Dependency
15
22
  name: cucumber
16
- requirement: !ruby/object:Gem::Requirement
17
- none: false
18
- requirements:
19
- - - ! '>='
20
- - !ruby/object:Gem::Version
21
- version: '0'
22
- type: :runtime
23
23
  prerelease: false
24
- version_requirements: !ruby/object:Gem::Requirement
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
25
  none: false
26
- requirements:
27
- - - ! '>='
28
- - !ruby/object:Gem::Version
29
- version: '0'
30
- - !ruby/object:Gem::Dependency
31
- name: json
32
- requirement: !ruby/object:Gem::Requirement
33
- none: false
34
- requirements:
35
- - - ! '>='
36
- - !ruby/object:Gem::Version
37
- version: '0'
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
32
+ version: "0"
38
33
  type: :runtime
34
+ version_requirements: *id001
35
+ - !ruby/object:Gem::Dependency
36
+ name: json
39
37
  prerelease: false
40
- version_requirements: !ruby/object:Gem::Requirement
38
+ requirement: &id002 !ruby/object:Gem::Requirement
41
39
  none: false
42
- requirements:
43
- - - ! '>='
44
- - !ruby/object:Gem::Version
45
- version: '0'
46
- - !ruby/object:Gem::Dependency
47
- name: slowhandcuke
48
- requirement: !ruby/object:Gem::Requirement
49
- none: false
50
- requirements:
51
- - - ! '>='
52
- - !ruby/object:Gem::Version
53
- version: '0'
40
+ requirements:
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ hash: 3
44
+ segments:
45
+ - 0
46
+ version: "0"
54
47
  type: :runtime
48
+ version_requirements: *id002
49
+ - !ruby/object:Gem::Dependency
50
+ name: slowhandcuke
55
51
  prerelease: false
56
- version_requirements: !ruby/object:Gem::Requirement
52
+ requirement: &id003 !ruby/object:Gem::Requirement
57
53
  none: false
58
- requirements:
59
- - - ! '>='
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- description: ! 'calabash-android drives tests for native and hybrid Android apps. '
63
- email:
54
+ requirements:
55
+ - - ">="
56
+ - !ruby/object:Gem::Version
57
+ hash: 3
58
+ segments:
59
+ - 0
60
+ version: "0"
61
+ type: :runtime
62
+ version_requirements: *id003
63
+ description: "calabash-android drives tests for native and hybrid Android apps. "
64
+ email:
64
65
  - jonas@lesspainful.com
65
- executables:
66
+ executables:
66
67
  - calabash-android
67
68
  extensions: []
69
+
68
70
  extra_rdoc_files: []
69
- files:
71
+
72
+ files:
70
73
  - .calabash_settings
71
74
  - CHANGES.txt
72
75
  - Gemfile
@@ -181,7 +184,6 @@ files:
181
184
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/wait/WaitForScreen.java
182
185
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/wait/WaitForText.java
183
186
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/CalabashChromeClient.java
184
- - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/CalabashResultJavaScriptInterface.java
185
187
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/DumpBodyHtml.java
186
188
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/DumpHtml.java
187
189
  - test-server/instrumentation-backend/src/sh/calaba/instrumentationbackend/actions/webview/EnterTextByCssSelector.java
@@ -600,28 +602,39 @@ files:
600
602
  - test-server/instrumentation-backend/src/sh/calaba/org/codehaus/jackson/util/package-info.java
601
603
  - test-server/calabash-js/src/calabash.js
602
604
  - test-server/calabash-js/src/set_text.js
605
+ has_rdoc: true
603
606
  homepage: http://github.com/calabash
604
607
  licenses: []
608
+
605
609
  post_install_message:
606
610
  rdoc_options: []
607
- require_paths:
611
+
612
+ require_paths:
608
613
  - lib
609
- required_ruby_version: !ruby/object:Gem::Requirement
614
+ required_ruby_version: !ruby/object:Gem::Requirement
610
615
  none: false
611
- requirements:
612
- - - ! '>='
613
- - !ruby/object:Gem::Version
614
- version: '0'
615
- required_rubygems_version: !ruby/object:Gem::Requirement
616
+ requirements:
617
+ - - ">="
618
+ - !ruby/object:Gem::Version
619
+ hash: 3
620
+ segments:
621
+ - 0
622
+ version: "0"
623
+ required_rubygems_version: !ruby/object:Gem::Requirement
616
624
  none: false
617
- requirements:
618
- - - ! '>='
619
- - !ruby/object:Gem::Version
620
- version: '0'
625
+ requirements:
626
+ - - ">="
627
+ - !ruby/object:Gem::Version
628
+ hash: 3
629
+ segments:
630
+ - 0
631
+ version: "0"
621
632
  requirements: []
633
+
622
634
  rubyforge_project:
623
- rubygems_version: 1.8.23
635
+ rubygems_version: 1.6.2
624
636
  signing_key:
625
637
  specification_version: 3
626
638
  summary: Client for calabash-android for automated functional testing on Android
627
639
  test_files: []
640
+
@@ -1,9 +0,0 @@
1
- package sh.calaba.instrumentationbackend.actions.webview;
2
-
3
- public class CalabashResultJavaScriptInterface {
4
-
5
- public void result(String result) {
6
- System.out.println("CalabashResultJavaScriptInterface.result");
7
- System.out.println(result);
8
- }
9
- }