calabash 1.9.9.pre2 → 1.9.9.pre3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +19 -0
- data/lib/calabash.rb +4 -2
- data/lib/calabash/android/build/java_keystore.rb +1 -0
- data/lib/calabash/android/console_helpers.rb +1 -0
- data/lib/calabash/android/defaults.rb +23 -13
- data/lib/calabash/android/device.rb +84 -19
- data/lib/calabash/android/environment.rb +2 -0
- data/lib/calabash/android/gestures.rb +4 -3
- data/lib/calabash/android/interactions.rb +1 -0
- data/lib/calabash/android/lib/.irbrc +61 -48
- data/lib/calabash/android/lib/TestServer.apk +0 -0
- data/lib/calabash/android/life_cycle.rb +3 -2
- data/lib/calabash/android/orientation.rb +1 -0
- data/lib/calabash/android/physical_buttons.rb +3 -1
- data/lib/calabash/android/screenshot.rb +0 -1
- data/lib/calabash/android/text.rb +1 -0
- data/lib/calabash/application.rb +20 -1
- data/lib/calabash/cli/generate.rb +10 -2
- data/lib/calabash/console_helpers.rb +101 -13
- data/lib/calabash/defaults.rb +36 -3
- data/lib/calabash/device.rb +28 -3
- data/lib/calabash/gestures.rb +12 -12
- data/lib/calabash/http/request.rb +1 -0
- data/lib/calabash/http/retriable_client.rb +1 -0
- data/lib/calabash/interactions.rb +2 -1
- data/lib/calabash/ios.rb +2 -0
- data/lib/calabash/ios/conditions.rb +1 -0
- data/lib/calabash/ios/console_helpers.rb +1 -0
- data/lib/calabash/ios/defaults.rb +32 -17
- data/lib/calabash/ios/device/device_implementation.rb +5 -1
- data/lib/calabash/ios/device/gestures_mixin.rb +27 -7
- data/lib/calabash/ios/device/rotation_mixin.rb +2 -2
- data/lib/calabash/ios/device/routes/error.rb +1 -0
- data/lib/calabash/ios/device/routes/playback_route_mixin.rb +1 -1
- data/lib/calabash/ios/device/routes/uia_route_mixin.rb +1 -1
- data/lib/calabash/ios/device/uia_mixin.rb +1 -1
- data/lib/calabash/ios/gestures.rb +107 -0
- data/lib/calabash/ios/interactions.rb +1 -0
- data/lib/calabash/ios/lib/.irbrc +61 -47
- data/lib/calabash/ios/orientation.rb +1 -0
- data/lib/calabash/ios/runtime.rb +1 -0
- data/lib/calabash/ios/scroll.rb +7 -7
- data/lib/calabash/ios/text.rb +3 -0
- data/lib/calabash/ios/uia.rb +1 -0
- data/lib/calabash/lib/skeleton/.gitignore +19 -0
- data/lib/calabash/lib/skeleton/Gemfile +5 -0
- data/lib/calabash/life_cycle.rb +3 -2
- data/lib/calabash/location.rb +5 -6
- data/lib/calabash/logger.rb +1 -0
- data/lib/calabash/orientation.rb +1 -0
- data/lib/calabash/page.rb +1 -0
- data/lib/calabash/screenshot.rb +1 -0
- data/lib/calabash/server.rb +1 -0
- data/lib/calabash/text.rb +3 -2
- data/lib/calabash/utility.rb +2 -1
- data/lib/calabash/version.rb +1 -1
- data/lib/calabash/wait.rb +1 -0
- metadata +114 -114
- data/lib/calabash/android/cucumber.rb +0 -3
- data/lib/calabash/android/scroll.rb +0 -5
- data/lib/calabash/patch/run_loop.rb +0 -90
data/lib/calabash/ios/lib/.irbrc
CHANGED
@@ -1,50 +1,64 @@
|
|
1
|
+
require 'irb/completion'
|
2
|
+
require 'irb/ext/save-history'
|
3
|
+
|
4
|
+
IRB.conf[:SAVE_HISTORY] = 100
|
5
|
+
IRB.conf[:HISTORY_FILE] = '.irb-history'
|
6
|
+
|
7
|
+
ARGV.concat [ '--readline',
|
8
|
+
'--prompt-mode',
|
9
|
+
'simple']
|
10
|
+
|
1
11
|
begin
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
12
|
+
require 'pry'
|
13
|
+
Pry.config.history.file = '.pry-history'
|
14
|
+
require 'pry-nav'
|
15
|
+
rescue LoadError => _
|
16
|
+
|
17
|
+
end
|
18
|
+
|
19
|
+
begin
|
20
|
+
require 'awesome_print'
|
21
|
+
AwesomePrint.irb!
|
22
|
+
rescue LoadError => e
|
23
|
+
msg = ["Caught a LoadError: could not load 'awesome_print'",
|
24
|
+
"#{e}",
|
25
|
+
'',
|
26
|
+
'Use bundler (recommended) or uninstall awesome_print.',
|
27
|
+
'',
|
28
|
+
'# Use bundler (recommended)',
|
29
|
+
'$ bundle update',
|
30
|
+
'$ bundle exec calabash console [path to apk]',
|
31
|
+
'',
|
32
|
+
'# Uninstall',
|
33
|
+
'$ gem update --system',
|
34
|
+
'$ gem uninstall -Vax --force --no-abort-on-dependent awesome_print']
|
35
|
+
puts msg
|
36
|
+
exit(1)
|
37
|
+
end
|
38
|
+
|
39
|
+
begin
|
40
|
+
|
41
|
+
require 'calabash/ios'
|
42
|
+
|
43
|
+
extend Calabash::IOS
|
44
|
+
extend Calabash::ConsoleHelpers
|
45
|
+
|
46
|
+
Calabash::IOS.setup_defaults!
|
47
|
+
|
48
|
+
embed_lambda = lambda do |*_|
|
49
|
+
Calabash::Logger.info 'Embed is not available in the console.'
|
50
|
+
true
|
51
|
+
end
|
52
|
+
|
53
|
+
Calabash.new_embed_method!(embed_lambda)
|
54
|
+
|
55
|
+
Calabash::Screenshot.screenshot_directory_prefix = 'console_'
|
56
|
+
|
57
|
+
puts_console_details
|
58
|
+
message_of_the_day
|
45
59
|
rescue Exception => e
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
60
|
+
puts 'Unable to start console:'
|
61
|
+
puts "#{e.class}: #{e.message}"
|
62
|
+
puts "#{e.backtrace.join("\n")}"
|
63
|
+
exit(1)
|
50
64
|
end
|
@@ -4,6 +4,7 @@ module Calabash
|
|
4
4
|
# On iOS, the presenting view controller must respond to rotation events.
|
5
5
|
# If the presenting view controller does not respond to rotation events,
|
6
6
|
# then no rotation will be performed.
|
7
|
+
# @!visibility private
|
7
8
|
module Orientation
|
8
9
|
|
9
10
|
# Returns the home button position relative to the status bar.
|
data/lib/calabash/ios/runtime.rb
CHANGED
data/lib/calabash/ios/scroll.rb
CHANGED
@@ -447,14 +447,14 @@ module Calabash
|
|
447
447
|
|
448
448
|
private
|
449
449
|
|
450
|
-
#
|
450
|
+
# @!visibility private
|
451
451
|
VALID_TABLE_SCROLL_POSITIONS = [:top, :middle, :bottom]
|
452
452
|
|
453
|
-
#
|
453
|
+
# @!visibility private
|
454
454
|
VALID_COLLECTION_SCROLL_POSITIONS = [:top, :center_vertical, :bottom,
|
455
455
|
:left, :center_horizontal, :right]
|
456
456
|
|
457
|
-
#
|
457
|
+
# @!visibility private
|
458
458
|
def _wait_for_exactly_one_scroll_view(query)
|
459
459
|
|
460
460
|
results = []
|
@@ -476,7 +476,7 @@ module Calabash
|
|
476
476
|
results.first
|
477
477
|
end
|
478
478
|
|
479
|
-
#
|
479
|
+
# @!visibility private
|
480
480
|
def _expect_valid_scroll_positions(valid_positions, position)
|
481
481
|
unless valid_positions.include?(position.to_sym)
|
482
482
|
raise ArgumentError,
|
@@ -484,7 +484,7 @@ module Calabash
|
|
484
484
|
end
|
485
485
|
end
|
486
486
|
|
487
|
-
#
|
487
|
+
# @!visibility private
|
488
488
|
def _expect_valid_scroll_animate(animate)
|
489
489
|
unless [true, false].include?(animate)
|
490
490
|
raise ArgumentError,
|
@@ -492,13 +492,13 @@ module Calabash
|
|
492
492
|
end
|
493
493
|
end
|
494
494
|
|
495
|
-
#
|
495
|
+
# @!visibility private
|
496
496
|
def _expect_valid_scroll_options(valid_positions, options)
|
497
497
|
_expect_valid_scroll_positions(valid_positions, options[:scroll_position])
|
498
498
|
_expect_valid_scroll_animate(options[:animate])
|
499
499
|
end
|
500
500
|
|
501
|
-
#
|
501
|
+
# @!visibility private
|
502
502
|
def _expect_valid_scroll_mark(mark)
|
503
503
|
if mark.nil? || mark == ''
|
504
504
|
raise ArgumentError,
|
data/lib/calabash/ios/text.rb
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
module Calabash
|
2
2
|
module IOS
|
3
|
+
# Methods for entering text and interacting with iOS keyboards.
|
4
|
+
# @!visibility private
|
3
5
|
module Text
|
4
6
|
# @!visibility private
|
5
7
|
def _enter_text(text)
|
@@ -125,6 +127,7 @@ module Calabash
|
|
125
127
|
# @raise [RuntimeError] If the text cannot be typed.
|
126
128
|
# @todo Refactor uia_route to a public API call
|
127
129
|
# @todo Move this documentation to the public method
|
130
|
+
# @!visibility private
|
128
131
|
def _tap_current_keyboard_action_key
|
129
132
|
char_sequence = ESCAPED_KEYBOARD_CHARACTERS[:action]
|
130
133
|
Device.default.uia_route("uia.keyboard().typeString('#{char_sequence}')")
|
data/lib/calabash/ios/uia.rb
CHANGED
@@ -0,0 +1,19 @@
|
|
1
|
+
# Calabash Android test server
|
2
|
+
test_servers
|
3
|
+
|
4
|
+
# Screenshots
|
5
|
+
screenshots
|
6
|
+
|
7
|
+
# Console artifacts.
|
8
|
+
.irb-history
|
9
|
+
.pry-history
|
10
|
+
|
11
|
+
# RubyMine project directory.
|
12
|
+
.idea
|
13
|
+
|
14
|
+
# MacOS
|
15
|
+
.DS_Store
|
16
|
+
__MACOSX
|
17
|
+
|
18
|
+
# Emacs
|
19
|
+
(.*/)?\#[^/]*\#$
|
data/lib/calabash/life_cycle.rb
CHANGED
@@ -1,4 +1,5 @@
|
|
1
1
|
module Calabash
|
2
|
+
# @!visibility private
|
2
3
|
module LifeCycle
|
3
4
|
def start_app(path_or_application = nil, **opt)
|
4
5
|
path_or_application ||= Application.default
|
@@ -103,9 +104,9 @@ module Calabash
|
|
103
104
|
true
|
104
105
|
end
|
105
106
|
|
106
|
-
#
|
107
|
+
# @!visibility private
|
107
108
|
def _send_current_app_to_background(for_seconds)
|
108
109
|
abstract_method!
|
109
110
|
end
|
110
111
|
end
|
111
|
-
end
|
112
|
+
end
|
data/lib/calabash/location.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
require 'geocoder'
|
2
2
|
|
3
3
|
module Calabash
|
4
|
+
# @!visibility private
|
4
5
|
module Location
|
5
6
|
# Simulates gps location of the device/simulator.
|
6
7
|
# @note Seems UIAutomation is broken here on physical devices on iOS 7.1
|
@@ -11,18 +12,16 @@ module Calabash
|
|
11
12
|
# @example
|
12
13
|
# set_location(coordinates_for_place('The little mermaid, Copenhagen'))
|
13
14
|
#
|
14
|
-
# @param
|
15
|
-
# @
|
16
|
-
#
|
17
|
-
# @option options {Numeric} :longitude longitude of a gps coordinate (same
|
18
|
-
# coordinate system as Google maps)
|
15
|
+
# @param [Hash] location The location to simulate.
|
16
|
+
# @raise [ArgumentError] If location is not a hash and does not contain a
|
17
|
+
# latitude and longitude key.
|
19
18
|
def set_location(location)
|
20
19
|
unless location.is_a?(Hash)
|
21
20
|
raise ArgumentError, "Expected location to be a Hash, not '#{location.class}'"
|
22
21
|
end
|
23
22
|
|
24
23
|
unless location[:latitude] || location[:longitude]
|
25
|
-
raise ArgumentError,
|
24
|
+
raise ArgumentError, 'You must supply :latitude and :longitude'
|
26
25
|
end
|
27
26
|
|
28
27
|
Device.default.set_location(location)
|
data/lib/calabash/logger.rb
CHANGED
data/lib/calabash/orientation.rb
CHANGED
data/lib/calabash/page.rb
CHANGED
data/lib/calabash/screenshot.rb
CHANGED
data/lib/calabash/server.rb
CHANGED
data/lib/calabash/text.rb
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
module Calabash
|
2
2
|
|
3
3
|
# A public API for entering text.
|
4
|
+
# @!visibility private
|
4
5
|
module Text
|
5
6
|
# Enter `text` into the currently focused view.
|
6
7
|
#
|
@@ -28,8 +29,8 @@ module Calabash
|
|
28
29
|
# @see Calabash::Text#clear_text
|
29
30
|
#
|
30
31
|
# @param query A query describing the view to clear text in.
|
31
|
-
def clear_text_in(
|
32
|
-
_clear_text_in(
|
32
|
+
def clear_text_in(query)
|
33
|
+
_clear_text_in(query)
|
33
34
|
end
|
34
35
|
|
35
36
|
# @todo add docs
|
data/lib/calabash/utility.rb
CHANGED
@@ -5,6 +5,7 @@ module Calabash
|
|
5
5
|
|
6
6
|
end
|
7
7
|
|
8
|
+
# @!visibility private
|
8
9
|
module Utility
|
9
10
|
|
10
11
|
# @!visibility private
|
@@ -18,7 +19,7 @@ module Calabash
|
|
18
19
|
raise AbstractMethodError.new("Abstract method '#{method_name}'")
|
19
20
|
end
|
20
21
|
|
21
|
-
# @!
|
22
|
+
# @!visibility private
|
22
23
|
class RetryError < RuntimeError; end
|
23
24
|
|
24
25
|
# A convenience method for creating a percentage hash that that can be
|
data/lib/calabash/version.rb
CHANGED
data/lib/calabash/wait.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: calabash
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.9.
|
4
|
+
version: 1.9.9.pre3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jonas Maturana Larsen
|
@@ -11,344 +11,344 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2015-
|
14
|
+
date: 2015-08-04 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: edn
|
18
18
|
requirement: !ruby/object:Gem::Requirement
|
19
19
|
requirements:
|
20
|
-
- -
|
20
|
+
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 1.0.6
|
23
|
-
- - <
|
23
|
+
- - "<"
|
24
24
|
- !ruby/object:Gem::Version
|
25
25
|
version: '2.0'
|
26
26
|
type: :runtime
|
27
27
|
prerelease: false
|
28
28
|
version_requirements: !ruby/object:Gem::Requirement
|
29
29
|
requirements:
|
30
|
-
- -
|
30
|
+
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 1.0.6
|
33
|
-
- - <
|
33
|
+
- - "<"
|
34
34
|
- !ruby/object:Gem::Version
|
35
35
|
version: '2.0'
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: geocoder
|
38
38
|
requirement: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
|
-
- -
|
40
|
+
- - ">="
|
41
41
|
- !ruby/object:Gem::Version
|
42
42
|
version: 1.1.8
|
43
|
-
- - <
|
43
|
+
- - "<"
|
44
44
|
- !ruby/object:Gem::Version
|
45
45
|
version: '2.0'
|
46
46
|
type: :runtime
|
47
47
|
prerelease: false
|
48
48
|
version_requirements: !ruby/object:Gem::Requirement
|
49
49
|
requirements:
|
50
|
-
- -
|
50
|
+
- - ">="
|
51
51
|
- !ruby/object:Gem::Version
|
52
52
|
version: 1.1.8
|
53
|
-
- - <
|
53
|
+
- - "<"
|
54
54
|
- !ruby/object:Gem::Version
|
55
55
|
version: '2.0'
|
56
56
|
- !ruby/object:Gem::Dependency
|
57
57
|
name: httpclient
|
58
58
|
requirement: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
|
-
- - ~>
|
60
|
+
- - "~>"
|
61
61
|
- !ruby/object:Gem::Version
|
62
62
|
version: '2.6'
|
63
63
|
type: :runtime
|
64
64
|
prerelease: false
|
65
65
|
version_requirements: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
|
-
- - ~>
|
67
|
+
- - "~>"
|
68
68
|
- !ruby/object:Gem::Version
|
69
69
|
version: '2.6'
|
70
70
|
- !ruby/object:Gem::Dependency
|
71
71
|
name: escape
|
72
72
|
requirement: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
|
-
- -
|
74
|
+
- - ">="
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: 0.0.4
|
77
|
-
- - <
|
77
|
+
- - "<"
|
78
78
|
- !ruby/object:Gem::Version
|
79
79
|
version: '1.0'
|
80
80
|
type: :runtime
|
81
81
|
prerelease: false
|
82
82
|
version_requirements: !ruby/object:Gem::Requirement
|
83
83
|
requirements:
|
84
|
-
- -
|
84
|
+
- - ">="
|
85
85
|
- !ruby/object:Gem::Version
|
86
86
|
version: 0.0.4
|
87
|
-
- - <
|
87
|
+
- - "<"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: '1.0'
|
90
90
|
- !ruby/object:Gem::Dependency
|
91
91
|
name: run_loop
|
92
92
|
requirement: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- -
|
94
|
+
- - ">="
|
95
95
|
- !ruby/object:Gem::Version
|
96
|
-
version: 1.
|
97
|
-
- - <
|
96
|
+
version: 1.4.1
|
97
|
+
- - "<"
|
98
98
|
- !ruby/object:Gem::Version
|
99
99
|
version: '2.0'
|
100
100
|
type: :runtime
|
101
101
|
prerelease: false
|
102
102
|
version_requirements: !ruby/object:Gem::Requirement
|
103
103
|
requirements:
|
104
|
-
- -
|
104
|
+
- - ">="
|
105
105
|
- !ruby/object:Gem::Version
|
106
|
-
version: 1.
|
107
|
-
- - <
|
106
|
+
version: 1.4.1
|
107
|
+
- - "<"
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '2.0'
|
110
110
|
- !ruby/object:Gem::Dependency
|
111
111
|
name: clipboard
|
112
112
|
requirement: !ruby/object:Gem::Requirement
|
113
113
|
requirements:
|
114
|
-
- -
|
114
|
+
- - ">="
|
115
115
|
- !ruby/object:Gem::Version
|
116
116
|
version: '0'
|
117
117
|
type: :runtime
|
118
118
|
prerelease: false
|
119
119
|
version_requirements: !ruby/object:Gem::Requirement
|
120
120
|
requirements:
|
121
|
-
- -
|
121
|
+
- - ">="
|
122
122
|
- !ruby/object:Gem::Version
|
123
123
|
version: '0'
|
124
124
|
- !ruby/object:Gem::Dependency
|
125
125
|
name: rubyzip
|
126
126
|
requirement: !ruby/object:Gem::Requirement
|
127
127
|
requirements:
|
128
|
-
- - ~>
|
128
|
+
- - "~>"
|
129
129
|
- !ruby/object:Gem::Version
|
130
130
|
version: '1.1'
|
131
131
|
type: :runtime
|
132
132
|
prerelease: false
|
133
133
|
version_requirements: !ruby/object:Gem::Requirement
|
134
134
|
requirements:
|
135
|
-
- - ~>
|
135
|
+
- - "~>"
|
136
136
|
- !ruby/object:Gem::Version
|
137
137
|
version: '1.1'
|
138
138
|
- !ruby/object:Gem::Dependency
|
139
139
|
name: bundler
|
140
140
|
requirement: !ruby/object:Gem::Requirement
|
141
141
|
requirements:
|
142
|
-
- -
|
142
|
+
- - ">="
|
143
143
|
- !ruby/object:Gem::Version
|
144
144
|
version: 1.3.0
|
145
|
-
- - <
|
145
|
+
- - "<"
|
146
146
|
- !ruby/object:Gem::Version
|
147
147
|
version: '2.0'
|
148
148
|
type: :runtime
|
149
149
|
prerelease: false
|
150
150
|
version_requirements: !ruby/object:Gem::Requirement
|
151
151
|
requirements:
|
152
|
-
- -
|
152
|
+
- - ">="
|
153
153
|
- !ruby/object:Gem::Version
|
154
154
|
version: 1.3.0
|
155
|
-
- - <
|
155
|
+
- - "<"
|
156
156
|
- !ruby/object:Gem::Version
|
157
157
|
version: '2.0'
|
158
158
|
- !ruby/object:Gem::Dependency
|
159
159
|
name: awesome_print
|
160
160
|
requirement: !ruby/object:Gem::Requirement
|
161
161
|
requirements:
|
162
|
-
- -
|
162
|
+
- - ">="
|
163
163
|
- !ruby/object:Gem::Version
|
164
164
|
version: '0'
|
165
165
|
type: :runtime
|
166
166
|
prerelease: false
|
167
167
|
version_requirements: !ruby/object:Gem::Requirement
|
168
168
|
requirements:
|
169
|
-
- -
|
169
|
+
- - ">="
|
170
170
|
- !ruby/object:Gem::Version
|
171
171
|
version: '0'
|
172
172
|
- !ruby/object:Gem::Dependency
|
173
173
|
name: json
|
174
174
|
requirement: !ruby/object:Gem::Requirement
|
175
175
|
requirements:
|
176
|
-
- -
|
176
|
+
- - ">="
|
177
177
|
- !ruby/object:Gem::Version
|
178
178
|
version: '0'
|
179
179
|
type: :runtime
|
180
180
|
prerelease: false
|
181
181
|
version_requirements: !ruby/object:Gem::Requirement
|
182
182
|
requirements:
|
183
|
-
- -
|
183
|
+
- - ">="
|
184
184
|
- !ruby/object:Gem::Version
|
185
185
|
version: '0'
|
186
186
|
- !ruby/object:Gem::Dependency
|
187
187
|
name: luffa
|
188
188
|
requirement: !ruby/object:Gem::Requirement
|
189
189
|
requirements:
|
190
|
-
- -
|
190
|
+
- - ">="
|
191
191
|
- !ruby/object:Gem::Version
|
192
192
|
version: '0'
|
193
193
|
type: :runtime
|
194
194
|
prerelease: false
|
195
195
|
version_requirements: !ruby/object:Gem::Requirement
|
196
196
|
requirements:
|
197
|
-
- -
|
197
|
+
- - ">="
|
198
198
|
- !ruby/object:Gem::Version
|
199
199
|
version: '0'
|
200
200
|
- !ruby/object:Gem::Dependency
|
201
201
|
name: yard
|
202
202
|
requirement: !ruby/object:Gem::Requirement
|
203
203
|
requirements:
|
204
|
-
- - ~>
|
204
|
+
- - "~>"
|
205
205
|
- !ruby/object:Gem::Version
|
206
206
|
version: '0.8'
|
207
207
|
type: :development
|
208
208
|
prerelease: false
|
209
209
|
version_requirements: !ruby/object:Gem::Requirement
|
210
210
|
requirements:
|
211
|
-
- - ~>
|
211
|
+
- - "~>"
|
212
212
|
- !ruby/object:Gem::Version
|
213
213
|
version: '0.8'
|
214
214
|
- !ruby/object:Gem::Dependency
|
215
215
|
name: redcarpet
|
216
216
|
requirement: !ruby/object:Gem::Requirement
|
217
217
|
requirements:
|
218
|
-
- - ~>
|
218
|
+
- - "~>"
|
219
219
|
- !ruby/object:Gem::Version
|
220
220
|
version: '3.1'
|
221
221
|
type: :development
|
222
222
|
prerelease: false
|
223
223
|
version_requirements: !ruby/object:Gem::Requirement
|
224
224
|
requirements:
|
225
|
-
- - ~>
|
225
|
+
- - "~>"
|
226
226
|
- !ruby/object:Gem::Version
|
227
227
|
version: '3.1'
|
228
228
|
- !ruby/object:Gem::Dependency
|
229
229
|
name: rake
|
230
230
|
requirement: !ruby/object:Gem::Requirement
|
231
231
|
requirements:
|
232
|
-
- -
|
232
|
+
- - ">="
|
233
233
|
- !ruby/object:Gem::Version
|
234
234
|
version: '0'
|
235
235
|
type: :development
|
236
236
|
prerelease: false
|
237
237
|
version_requirements: !ruby/object:Gem::Requirement
|
238
238
|
requirements:
|
239
|
-
- -
|
239
|
+
- - ">="
|
240
240
|
- !ruby/object:Gem::Version
|
241
241
|
version: '0'
|
242
242
|
- !ruby/object:Gem::Dependency
|
243
243
|
name: travis
|
244
244
|
requirement: !ruby/object:Gem::Requirement
|
245
245
|
requirements:
|
246
|
-
- -
|
246
|
+
- - ">="
|
247
247
|
- !ruby/object:Gem::Version
|
248
248
|
version: '0'
|
249
249
|
type: :development
|
250
250
|
prerelease: false
|
251
251
|
version_requirements: !ruby/object:Gem::Requirement
|
252
252
|
requirements:
|
253
|
-
- -
|
253
|
+
- - ">="
|
254
254
|
- !ruby/object:Gem::Version
|
255
255
|
version: '0'
|
256
256
|
- !ruby/object:Gem::Dependency
|
257
257
|
name: pry
|
258
258
|
requirement: !ruby/object:Gem::Requirement
|
259
259
|
requirements:
|
260
|
-
- -
|
260
|
+
- - ">="
|
261
261
|
- !ruby/object:Gem::Version
|
262
262
|
version: '0'
|
263
263
|
type: :development
|
264
264
|
prerelease: false
|
265
265
|
version_requirements: !ruby/object:Gem::Requirement
|
266
266
|
requirements:
|
267
|
-
- -
|
267
|
+
- - ">="
|
268
268
|
- !ruby/object:Gem::Version
|
269
269
|
version: '0'
|
270
270
|
- !ruby/object:Gem::Dependency
|
271
271
|
name: pry-nav
|
272
272
|
requirement: !ruby/object:Gem::Requirement
|
273
273
|
requirements:
|
274
|
-
- -
|
274
|
+
- - ">="
|
275
275
|
- !ruby/object:Gem::Version
|
276
276
|
version: '0'
|
277
277
|
type: :development
|
278
278
|
prerelease: false
|
279
279
|
version_requirements: !ruby/object:Gem::Requirement
|
280
280
|
requirements:
|
281
|
-
- -
|
281
|
+
- - ">="
|
282
282
|
- !ruby/object:Gem::Version
|
283
283
|
version: '0'
|
284
284
|
- !ruby/object:Gem::Dependency
|
285
285
|
name: rspec
|
286
286
|
requirement: !ruby/object:Gem::Requirement
|
287
287
|
requirements:
|
288
|
-
- - ~>
|
288
|
+
- - "~>"
|
289
289
|
- !ruby/object:Gem::Version
|
290
290
|
version: '3.0'
|
291
291
|
type: :development
|
292
292
|
prerelease: false
|
293
293
|
version_requirements: !ruby/object:Gem::Requirement
|
294
294
|
requirements:
|
295
|
-
- - ~>
|
295
|
+
- - "~>"
|
296
296
|
- !ruby/object:Gem::Version
|
297
297
|
version: '3.0'
|
298
298
|
- !ruby/object:Gem::Dependency
|
299
299
|
name: guard-rspec
|
300
300
|
requirement: !ruby/object:Gem::Requirement
|
301
301
|
requirements:
|
302
|
-
- -
|
302
|
+
- - ">="
|
303
303
|
- !ruby/object:Gem::Version
|
304
304
|
version: '0'
|
305
305
|
type: :development
|
306
306
|
prerelease: false
|
307
307
|
version_requirements: !ruby/object:Gem::Requirement
|
308
308
|
requirements:
|
309
|
-
- -
|
309
|
+
- - ">="
|
310
310
|
- !ruby/object:Gem::Version
|
311
311
|
version: '0'
|
312
312
|
- !ruby/object:Gem::Dependency
|
313
313
|
name: guard-bundler
|
314
314
|
requirement: !ruby/object:Gem::Requirement
|
315
315
|
requirements:
|
316
|
-
- -
|
316
|
+
- - ">="
|
317
317
|
- !ruby/object:Gem::Version
|
318
318
|
version: '0'
|
319
319
|
type: :development
|
320
320
|
prerelease: false
|
321
321
|
version_requirements: !ruby/object:Gem::Requirement
|
322
322
|
requirements:
|
323
|
-
- -
|
323
|
+
- - ">="
|
324
324
|
- !ruby/object:Gem::Version
|
325
325
|
version: '0'
|
326
326
|
- !ruby/object:Gem::Dependency
|
327
327
|
name: growl
|
328
328
|
requirement: !ruby/object:Gem::Requirement
|
329
329
|
requirements:
|
330
|
-
- -
|
330
|
+
- - ">="
|
331
331
|
- !ruby/object:Gem::Version
|
332
332
|
version: '0'
|
333
333
|
type: :development
|
334
334
|
prerelease: false
|
335
335
|
version_requirements: !ruby/object:Gem::Requirement
|
336
336
|
requirements:
|
337
|
-
- -
|
337
|
+
- - ">="
|
338
338
|
- !ruby/object:Gem::Version
|
339
339
|
version: '0'
|
340
340
|
- !ruby/object:Gem::Dependency
|
341
341
|
name: stub_env
|
342
342
|
requirement: !ruby/object:Gem::Requirement
|
343
343
|
requirements:
|
344
|
-
- -
|
344
|
+
- - ">="
|
345
345
|
- !ruby/object:Gem::Version
|
346
346
|
version: '0'
|
347
347
|
type: :development
|
348
348
|
prerelease: false
|
349
349
|
version_requirements: !ruby/object:Gem::Requirement
|
350
350
|
requirements:
|
351
|
-
- -
|
351
|
+
- - ">="
|
352
352
|
- !ruby/object:Gem::Version
|
353
353
|
version: '0'
|
354
354
|
description: |-
|
@@ -367,33 +367,54 @@ executables:
|
|
367
367
|
extensions: []
|
368
368
|
extra_rdoc_files: []
|
369
369
|
files:
|
370
|
-
-
|
371
|
-
-
|
370
|
+
- CONTRIBUTING.md
|
371
|
+
- LICENSE
|
372
|
+
- README.md
|
373
|
+
- VERSIONING.md
|
374
|
+
- bin/calabash
|
375
|
+
- lib/calabash.rb
|
376
|
+
- lib/calabash/android.rb
|
372
377
|
- lib/calabash/android/adb.rb
|
373
378
|
- lib/calabash/android/application.rb
|
379
|
+
- lib/calabash/android/build.rb
|
374
380
|
- lib/calabash/android/build/application.rb
|
375
381
|
- lib/calabash/android/build/build_error.rb
|
376
382
|
- lib/calabash/android/build/builder.rb
|
377
383
|
- lib/calabash/android/build/java_keystore.rb
|
378
384
|
- lib/calabash/android/build/resigner.rb
|
379
385
|
- lib/calabash/android/build/test_server.rb
|
380
|
-
- lib/calabash/android/build.rb
|
381
386
|
- lib/calabash/android/console_helpers.rb
|
382
|
-
- lib/calabash/android/cucumber.rb
|
383
387
|
- lib/calabash/android/defaults.rb
|
384
388
|
- lib/calabash/android/device.rb
|
385
389
|
- lib/calabash/android/environment.rb
|
386
390
|
- lib/calabash/android/gestures.rb
|
387
391
|
- lib/calabash/android/interactions.rb
|
392
|
+
- lib/calabash/android/lib/.irbrc
|
393
|
+
- lib/calabash/android/lib/AndroidManifest.xml
|
394
|
+
- lib/calabash/android/lib/TestServer.apk
|
395
|
+
- lib/calabash/android/lib/calmd5/arm64-v8a/calmd5
|
396
|
+
- lib/calabash/android/lib/calmd5/arm64-v8a/calmd5-pie
|
397
|
+
- lib/calabash/android/lib/calmd5/armeabi-v7a/calmd5
|
398
|
+
- lib/calabash/android/lib/calmd5/armeabi-v7a/calmd5-pie
|
399
|
+
- lib/calabash/android/lib/calmd5/armeabi/calmd5
|
400
|
+
- lib/calabash/android/lib/calmd5/armeabi/calmd5-pie
|
401
|
+
- lib/calabash/android/lib/calmd5/mips/calmd5
|
402
|
+
- lib/calabash/android/lib/calmd5/mips/calmd5-pie
|
403
|
+
- lib/calabash/android/lib/calmd5/mips64/calmd5
|
404
|
+
- lib/calabash/android/lib/calmd5/mips64/calmd5-pie
|
405
|
+
- lib/calabash/android/lib/calmd5/x86/calmd5
|
406
|
+
- lib/calabash/android/lib/calmd5/x86/calmd5-pie
|
407
|
+
- lib/calabash/android/lib/calmd5/x86_64/calmd5
|
408
|
+
- lib/calabash/android/lib/calmd5/x86_64/calmd5-pie
|
409
|
+
- lib/calabash/android/lib/screenshot_taker.jar
|
388
410
|
- lib/calabash/android/life_cycle.rb
|
389
411
|
- lib/calabash/android/orientation.rb
|
390
412
|
- lib/calabash/android/physical_buttons.rb
|
391
413
|
- lib/calabash/android/screenshot.rb
|
392
|
-
- lib/calabash/android/scroll.rb
|
393
414
|
- lib/calabash/android/server.rb
|
394
415
|
- lib/calabash/android/text.rb
|
395
|
-
- lib/calabash/android.rb
|
396
416
|
- lib/calabash/application.rb
|
417
|
+
- lib/calabash/cli.rb
|
397
418
|
- lib/calabash/cli/build.rb
|
398
419
|
- lib/calabash/cli/console.rb
|
399
420
|
- lib/calabash/cli/generate.rb
|
@@ -401,22 +422,23 @@ files:
|
|
401
422
|
- lib/calabash/cli/resign.rb
|
402
423
|
- lib/calabash/cli/run.rb
|
403
424
|
- lib/calabash/cli/setup_keystore.rb
|
404
|
-
- lib/calabash/cli.rb
|
405
425
|
- lib/calabash/color.rb
|
406
426
|
- lib/calabash/console_helpers.rb
|
407
427
|
- lib/calabash/defaults.rb
|
408
428
|
- lib/calabash/device.rb
|
409
429
|
- lib/calabash/environment.rb
|
410
430
|
- lib/calabash/gestures.rb
|
431
|
+
- lib/calabash/http.rb
|
411
432
|
- lib/calabash/http/error.rb
|
412
433
|
- lib/calabash/http/request.rb
|
413
434
|
- lib/calabash/http/retriable_client.rb
|
414
|
-
- lib/calabash/http.rb
|
415
435
|
- lib/calabash/interactions.rb
|
436
|
+
- lib/calabash/ios.rb
|
416
437
|
- lib/calabash/ios/application.rb
|
417
438
|
- lib/calabash/ios/conditions.rb
|
418
439
|
- lib/calabash/ios/console_helpers.rb
|
419
440
|
- lib/calabash/ios/defaults.rb
|
441
|
+
- lib/calabash/ios/device.rb
|
420
442
|
- lib/calabash/ios/device/device_implementation.rb
|
421
443
|
- lib/calabash/ios/device/gestures_mixin.rb
|
422
444
|
- lib/calabash/ios/device/keyboard_mixin.rb
|
@@ -435,16 +457,36 @@ files:
|
|
435
457
|
- lib/calabash/ios/device/text_mixin.rb
|
436
458
|
- lib/calabash/ios/device/uia_keyboard_mixin.rb
|
437
459
|
- lib/calabash/ios/device/uia_mixin.rb
|
438
|
-
- lib/calabash/ios/device.rb
|
439
460
|
- lib/calabash/ios/environment.rb
|
461
|
+
- lib/calabash/ios/gestures.rb
|
440
462
|
- lib/calabash/ios/interactions.rb
|
463
|
+
- lib/calabash/ios/lib/.irbrc
|
464
|
+
- lib/calabash/ios/lib/recordings/rotate_left_home_down_ipad.base64
|
465
|
+
- lib/calabash/ios/lib/recordings/rotate_left_home_down_iphone.base64
|
466
|
+
- lib/calabash/ios/lib/recordings/rotate_left_home_left_ipad.base64
|
467
|
+
- lib/calabash/ios/lib/recordings/rotate_left_home_left_iphone.base64
|
468
|
+
- lib/calabash/ios/lib/recordings/rotate_left_home_right_ipad.base64
|
469
|
+
- lib/calabash/ios/lib/recordings/rotate_left_home_right_iphone.base64
|
470
|
+
- lib/calabash/ios/lib/recordings/rotate_left_home_up_ipad.base64
|
471
|
+
- lib/calabash/ios/lib/recordings/rotate_left_home_up_iphone.base64
|
472
|
+
- lib/calabash/ios/lib/recordings/rotate_right_home_down_ipad.base64
|
473
|
+
- lib/calabash/ios/lib/recordings/rotate_right_home_down_iphone.base64
|
474
|
+
- lib/calabash/ios/lib/recordings/rotate_right_home_left_ipad.base64
|
475
|
+
- lib/calabash/ios/lib/recordings/rotate_right_home_left_iphone.base64
|
476
|
+
- lib/calabash/ios/lib/recordings/rotate_right_home_right_ipad.base64
|
477
|
+
- lib/calabash/ios/lib/recordings/rotate_right_home_right_iphone.base64
|
478
|
+
- lib/calabash/ios/lib/recordings/rotate_right_home_up_ipad.base64
|
479
|
+
- lib/calabash/ios/lib/recordings/rotate_right_home_up_iphone.base64
|
441
480
|
- lib/calabash/ios/orientation.rb
|
442
481
|
- lib/calabash/ios/runtime.rb
|
443
482
|
- lib/calabash/ios/scroll.rb
|
444
483
|
- lib/calabash/ios/server.rb
|
445
484
|
- lib/calabash/ios/text.rb
|
446
485
|
- lib/calabash/ios/uia.rb
|
447
|
-
- lib/calabash/
|
486
|
+
- lib/calabash/lib/skeleton/.gitignore
|
487
|
+
- lib/calabash/lib/skeleton/Gemfile
|
488
|
+
- lib/calabash/lib/skeleton/config/cucumber.yml
|
489
|
+
- lib/calabash/lib/skeleton/features/sample.feature
|
448
490
|
- lib/calabash/lib/skeleton/features/step_definitions/calabash_steps.rb
|
449
491
|
- lib/calabash/lib/skeleton/features/support/env.rb
|
450
492
|
- lib/calabash/lib/skeleton/features/support/hooks.rb
|
@@ -453,9 +495,8 @@ files:
|
|
453
495
|
- lib/calabash/logger.rb
|
454
496
|
- lib/calabash/orientation.rb
|
455
497
|
- lib/calabash/page.rb
|
456
|
-
- lib/calabash/patch/array.rb
|
457
|
-
- lib/calabash/patch/run_loop.rb
|
458
498
|
- lib/calabash/patch.rb
|
499
|
+
- lib/calabash/patch/array.rb
|
459
500
|
- lib/calabash/query.rb
|
460
501
|
- lib/calabash/query_result.rb
|
461
502
|
- lib/calabash/screenshot.rb
|
@@ -464,47 +505,6 @@ files:
|
|
464
505
|
- lib/calabash/utility.rb
|
465
506
|
- lib/calabash/version.rb
|
466
507
|
- lib/calabash/wait.rb
|
467
|
-
- lib/calabash.rb
|
468
|
-
- lib/calabash/lib/skeleton/features/sample.feature
|
469
|
-
- lib/calabash/lib/skeleton/config/cucumber.yml
|
470
|
-
- README.md
|
471
|
-
- LICENSE
|
472
|
-
- CONTRIBUTING.md
|
473
|
-
- VERSIONING.md
|
474
|
-
- lib/calabash/android/lib/screenshot_taker.jar
|
475
|
-
- lib/calabash/android/lib/calmd5/arm64-v8a/calmd5
|
476
|
-
- lib/calabash/android/lib/calmd5/armeabi/calmd5
|
477
|
-
- lib/calabash/android/lib/calmd5/armeabi-v7a/calmd5
|
478
|
-
- lib/calabash/android/lib/calmd5/mips/calmd5
|
479
|
-
- lib/calabash/android/lib/calmd5/mips64/calmd5
|
480
|
-
- lib/calabash/android/lib/calmd5/x86/calmd5
|
481
|
-
- lib/calabash/android/lib/calmd5/x86_64/calmd5
|
482
|
-
- lib/calabash/android/lib/calmd5/arm64-v8a/calmd5-pie
|
483
|
-
- lib/calabash/android/lib/calmd5/armeabi/calmd5-pie
|
484
|
-
- lib/calabash/android/lib/calmd5/armeabi-v7a/calmd5-pie
|
485
|
-
- lib/calabash/android/lib/calmd5/mips/calmd5-pie
|
486
|
-
- lib/calabash/android/lib/calmd5/mips64/calmd5-pie
|
487
|
-
- lib/calabash/android/lib/calmd5/x86/calmd5-pie
|
488
|
-
- lib/calabash/android/lib/calmd5/x86_64/calmd5-pie
|
489
|
-
- lib/calabash/ios/lib/recordings/rotate_left_home_down_ipad.base64
|
490
|
-
- lib/calabash/ios/lib/recordings/rotate_left_home_down_iphone.base64
|
491
|
-
- lib/calabash/ios/lib/recordings/rotate_left_home_left_ipad.base64
|
492
|
-
- lib/calabash/ios/lib/recordings/rotate_left_home_left_iphone.base64
|
493
|
-
- lib/calabash/ios/lib/recordings/rotate_left_home_right_ipad.base64
|
494
|
-
- lib/calabash/ios/lib/recordings/rotate_left_home_right_iphone.base64
|
495
|
-
- lib/calabash/ios/lib/recordings/rotate_left_home_up_ipad.base64
|
496
|
-
- lib/calabash/ios/lib/recordings/rotate_left_home_up_iphone.base64
|
497
|
-
- lib/calabash/ios/lib/recordings/rotate_right_home_down_ipad.base64
|
498
|
-
- lib/calabash/ios/lib/recordings/rotate_right_home_down_iphone.base64
|
499
|
-
- lib/calabash/ios/lib/recordings/rotate_right_home_left_ipad.base64
|
500
|
-
- lib/calabash/ios/lib/recordings/rotate_right_home_left_iphone.base64
|
501
|
-
- lib/calabash/ios/lib/recordings/rotate_right_home_right_ipad.base64
|
502
|
-
- lib/calabash/ios/lib/recordings/rotate_right_home_right_iphone.base64
|
503
|
-
- lib/calabash/ios/lib/recordings/rotate_right_home_up_ipad.base64
|
504
|
-
- lib/calabash/ios/lib/recordings/rotate_right_home_up_iphone.base64
|
505
|
-
- lib/calabash/android/lib/TestServer.apk
|
506
|
-
- lib/calabash/android/lib/AndroidManifest.xml
|
507
|
-
- bin/calabash
|
508
508
|
homepage: https://xamarin.com/test-cloud
|
509
509
|
licenses:
|
510
510
|
- EPL-1.0
|
@@ -515,17 +515,17 @@ require_paths:
|
|
515
515
|
- lib
|
516
516
|
required_ruby_version: !ruby/object:Gem::Requirement
|
517
517
|
requirements:
|
518
|
-
- -
|
518
|
+
- - ">="
|
519
519
|
- !ruby/object:Gem::Version
|
520
520
|
version: '2.0'
|
521
521
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
522
522
|
requirements:
|
523
|
-
- -
|
523
|
+
- - ">"
|
524
524
|
- !ruby/object:Gem::Version
|
525
525
|
version: 1.3.1
|
526
526
|
requirements: []
|
527
527
|
rubyforge_project:
|
528
|
-
rubygems_version: 2.
|
528
|
+
rubygems_version: 2.4.8
|
529
529
|
signing_key:
|
530
530
|
specification_version: 4
|
531
531
|
summary: Automated Acceptance Testing for Mobile Apps
|