sc-frank-cucumber 1.2.1.00af28c → 1.2.1.bba52d7.debug
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/frank-skeleton/frank_static_resources.bundle/js/ersatz_view.js +3 -3
- data/frank-skeleton/frank_static_resources.bundle/js/frank.js +1 -1
- data/frank-skeleton/frankify.xcconfig.tt +1 -1
- data/frank-skeleton/libCocoaAsyncSocket.a +0 -0
- data/frank-skeleton/libCocoaAsyncSocketMac.a +0 -0
- data/frank-skeleton/libCocoaHTTPServer.a +0 -0
- data/frank-skeleton/libCocoaHTTPServerMac.a +0 -0
- data/frank-skeleton/libCocoaLumberjack.a +0 -0
- data/frank-skeleton/libCocoaLumberjackMac.a +0 -0
- data/frank-skeleton/libFrank.a +0 -0
- data/frank-skeleton/libFrankMac.a +0 -0
- data/frank-skeleton/libShelley.a +0 -0
- data/lib/frank-cucumber/frank_helper.rb +27 -0
- data/lib/frank-cucumber/frankifier.rb +7 -4
- data/lib/frank-cucumber/version.rb +1 -1
- metadata +33 -61
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7469f2b75b2c444290f11631f0da255120e1582a
|
4
|
+
data.tar.gz: a9d4a783b4634fa28890242c467e25a123c7aebb
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 00c6c95c6e3a1befd9dd105da5cff2888b87393eba8a6f6bbb30ec7b94439d69ae57888dc261bcbca23bc0f75216ba861f736cb0bae8839c5566bb633624273f
|
7
|
+
data.tar.gz: fb88bdf6ddf42044ba8cd0a17a85d5f5fd77021f7f47ec80a6897679daaac32e1d9d593fd9f95112af08232f5f30f9a3fb706cd5caf57c2c691f15a284d5b8b6
|
@@ -191,11 +191,11 @@
|
|
191
191
|
fill: "#aaff00",
|
192
192
|
opacity: 0.8,
|
193
193
|
stroke: "black",
|
194
|
-
transform: _this.backdropTransformer.push().translate(origin.x, origin.y).descAndPop(),
|
194
|
+
transform: _this.backdropTransformer.push().translate(origin.x * resolution.scale, origin.y * resolution.scale).descAndPop(),
|
195
195
|
x: 0,
|
196
196
|
y: 0,
|
197
|
-
width: size.width,
|
198
|
-
height: size.height
|
197
|
+
width: size.width *resolution.scale,
|
198
|
+
height: size.height * resolution.scale
|
199
199
|
});
|
200
200
|
});
|
201
201
|
}
|
@@ -114,7 +114,7 @@
|
|
114
114
|
fetchDevice: fetchDevice,
|
115
115
|
requestSnapshotRefresh: requestSnapshotRefresh,
|
116
116
|
baseScreenshotUrl: function() {
|
117
|
-
return cacheBust(baseUrlFor('/screenshot'));
|
117
|
+
return cacheBust(baseUrlFor('/screenshot/allwindows/'));
|
118
118
|
},
|
119
119
|
snapshotUrlForViewWithUid: function(uid) {
|
120
120
|
return cacheBust(baseUrlFor("/screenshot/view-snapshot/" + uid));
|
@@ -3,4 +3,4 @@ INSTALL_PATH = /./
|
|
3
3
|
FRANK_CORE_LDFLAGS = -all_load -ObjC -framework CFNetwork -framework Security <%= @libs.map { |lib| "-l#{lib}" }.join(' ') %>
|
4
4
|
FRANK_CORE_MAC_LDFLAGS = -all_load -ObjC -framework CFNetwork -framework Security <%= @libsMac.map { |lib| "-l#{lib}" }.join(' ') %>
|
5
5
|
|
6
|
-
|
6
|
+
GCC_PREPROCESSOR_DEFINITIONS = $(inherited) FRANKIFIED=1
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/frank-skeleton/libFrank.a
CHANGED
Binary file
|
Binary file
|
data/frank-skeleton/libShelley.a
CHANGED
Binary file
|
@@ -314,6 +314,33 @@ module FrankHelper
|
|
314
314
|
return Gateway.evaluate_frankly_response( res, "frankly_map #{selector} #{method_name}" )
|
315
315
|
end
|
316
316
|
|
317
|
+
# Ask Frank to begin observing notifications of the given name.
|
318
|
+
def frankly_register_notification( notification_name )
|
319
|
+
frankly_notification_operation('register', notification_name)
|
320
|
+
end
|
321
|
+
|
322
|
+
# Ask Frank to stop observing notifications of the given name.
|
323
|
+
def frankly_deregister_notification( notification_name )
|
324
|
+
frankly_notification_operation('deregister', notification_name)
|
325
|
+
end
|
326
|
+
|
327
|
+
# Ask Frank to dump all collected values of notifications of the name given.
|
328
|
+
#
|
329
|
+
# @return [Array] an array with the user infos of notifications registered
|
330
|
+
def frankly_dump_notification( notification_name )
|
331
|
+
frankly_notification_operation('dump', notification_name)
|
332
|
+
end
|
333
|
+
|
334
|
+
def frankly_notification_operation( operation, notification_name )
|
335
|
+
res = frank_server.send_post(
|
336
|
+
'notification',
|
337
|
+
:operation => operation,
|
338
|
+
:name => notification_name
|
339
|
+
)
|
340
|
+
|
341
|
+
return Gateway.evaluate_frankly_response( res, "notification #{operation} #{notification_name}" )
|
342
|
+
end
|
343
|
+
|
317
344
|
# print a JSON-formatted dump of the current view heirarchy to stdout
|
318
345
|
def frankly_dump
|
319
346
|
res = frank_server.send_get( 'dump' )
|
@@ -25,12 +25,14 @@ class Frankifier
|
|
25
25
|
check_target_build_configuration_is_valid!
|
26
26
|
|
27
27
|
say ''
|
28
|
-
add_linker_flag
|
28
|
+
project_changed |= add_linker_flag
|
29
29
|
|
30
30
|
say ''
|
31
|
-
add_library_search_path
|
31
|
+
project_changed |= add_library_search_path
|
32
32
|
|
33
|
-
|
33
|
+
if project_changed
|
34
|
+
save_changes
|
35
|
+
end
|
34
36
|
end
|
35
37
|
|
36
38
|
private
|
@@ -99,7 +101,7 @@ class Frankifier
|
|
99
101
|
|
100
102
|
if setting_array.find{ |flag| flag.start_with? "$(FRANK_" }
|
101
103
|
say "It appears that your '#{@target_build_configuration}' configuration's #{build_setting} build setting already include some FRANK setup. Namely: #{setting_array.inspect}. I won't change anything here."
|
102
|
-
return
|
104
|
+
return false
|
103
105
|
end
|
104
106
|
|
105
107
|
say "Adding $(inherited) and $(#{entry_to_add}) to your '#{@target_build_configuration}' configuration's #{build_setting} build setting ..."
|
@@ -109,6 +111,7 @@ class Frankifier
|
|
109
111
|
say "... #{build_setting} is now: #{setting_array.inspect}"
|
110
112
|
|
111
113
|
build_settings_to_edit[build_setting] = setting_array
|
114
|
+
true
|
112
115
|
end
|
113
116
|
|
114
117
|
def check_target_build_configuration_is_valid!
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sc-frank-cucumber
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.1.
|
5
|
-
prerelease: 8
|
4
|
+
version: 1.2.1.bba52d7.debug
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Pete Hodgson
|
@@ -10,214 +9,188 @@ authors:
|
|
10
9
|
autorequire:
|
11
10
|
bindir: bin
|
12
11
|
cert_chain: []
|
13
|
-
date:
|
12
|
+
date: 2014-05-28 00:00:00.000000000 Z
|
14
13
|
dependencies:
|
15
14
|
- !ruby/object:Gem::Dependency
|
16
15
|
name: cucumber
|
17
16
|
requirement: !ruby/object:Gem::Requirement
|
18
|
-
none: false
|
19
17
|
requirements:
|
20
|
-
- -
|
18
|
+
- - '>='
|
21
19
|
- !ruby/object:Gem::Version
|
22
20
|
version: '0'
|
23
21
|
type: :runtime
|
24
22
|
prerelease: false
|
25
23
|
version_requirements: !ruby/object:Gem::Requirement
|
26
|
-
none: false
|
27
24
|
requirements:
|
28
|
-
- -
|
25
|
+
- - '>='
|
29
26
|
- !ruby/object:Gem::Version
|
30
27
|
version: '0'
|
31
28
|
- !ruby/object:Gem::Dependency
|
32
29
|
name: rspec
|
33
30
|
requirement: !ruby/object:Gem::Requirement
|
34
|
-
none: false
|
35
31
|
requirements:
|
36
|
-
- -
|
32
|
+
- - '>='
|
37
33
|
- !ruby/object:Gem::Version
|
38
34
|
version: '2.0'
|
39
35
|
type: :runtime
|
40
36
|
prerelease: false
|
41
37
|
version_requirements: !ruby/object:Gem::Requirement
|
42
|
-
none: false
|
43
38
|
requirements:
|
44
|
-
- -
|
39
|
+
- - '>='
|
45
40
|
- !ruby/object:Gem::Version
|
46
41
|
version: '2.0'
|
47
42
|
- !ruby/object:Gem::Dependency
|
48
43
|
name: sim_launcher
|
49
44
|
requirement: !ruby/object:Gem::Requirement
|
50
|
-
none: false
|
51
45
|
requirements:
|
52
|
-
- -
|
46
|
+
- - '>='
|
53
47
|
- !ruby/object:Gem::Version
|
54
48
|
version: 0.4.6
|
55
49
|
type: :runtime
|
56
50
|
prerelease: false
|
57
51
|
version_requirements: !ruby/object:Gem::Requirement
|
58
|
-
none: false
|
59
52
|
requirements:
|
60
|
-
- -
|
53
|
+
- - '>='
|
61
54
|
- !ruby/object:Gem::Version
|
62
55
|
version: 0.4.6
|
63
56
|
- !ruby/object:Gem::Dependency
|
64
57
|
name: i18n
|
65
58
|
requirement: !ruby/object:Gem::Requirement
|
66
|
-
none: false
|
67
59
|
requirements:
|
68
|
-
- -
|
60
|
+
- - '>='
|
69
61
|
- !ruby/object:Gem::Version
|
70
62
|
version: '0'
|
71
63
|
type: :runtime
|
72
64
|
prerelease: false
|
73
65
|
version_requirements: !ruby/object:Gem::Requirement
|
74
|
-
none: false
|
75
66
|
requirements:
|
76
|
-
- -
|
67
|
+
- - '>='
|
77
68
|
- !ruby/object:Gem::Version
|
78
69
|
version: '0'
|
79
70
|
- !ruby/object:Gem::Dependency
|
80
71
|
name: plist
|
81
72
|
requirement: !ruby/object:Gem::Requirement
|
82
|
-
none: false
|
83
73
|
requirements:
|
84
|
-
- -
|
74
|
+
- - '>='
|
85
75
|
- !ruby/object:Gem::Version
|
86
76
|
version: '0'
|
87
77
|
type: :runtime
|
88
78
|
prerelease: false
|
89
79
|
version_requirements: !ruby/object:Gem::Requirement
|
90
|
-
none: false
|
91
80
|
requirements:
|
92
|
-
- -
|
81
|
+
- - '>='
|
93
82
|
- !ruby/object:Gem::Version
|
94
83
|
version: '0'
|
95
84
|
- !ruby/object:Gem::Dependency
|
96
85
|
name: json
|
97
86
|
requirement: !ruby/object:Gem::Requirement
|
98
|
-
none: false
|
99
87
|
requirements:
|
100
|
-
- -
|
88
|
+
- - '>='
|
101
89
|
- !ruby/object:Gem::Version
|
102
90
|
version: '0'
|
103
91
|
type: :runtime
|
104
92
|
prerelease: false
|
105
93
|
version_requirements: !ruby/object:Gem::Requirement
|
106
|
-
none: false
|
107
94
|
requirements:
|
108
|
-
- -
|
95
|
+
- - '>='
|
109
96
|
- !ruby/object:Gem::Version
|
110
97
|
version: '0'
|
111
98
|
- !ruby/object:Gem::Dependency
|
112
99
|
name: dnssd
|
113
100
|
requirement: !ruby/object:Gem::Requirement
|
114
|
-
none: false
|
115
101
|
requirements:
|
116
|
-
- -
|
102
|
+
- - '>='
|
117
103
|
- !ruby/object:Gem::Version
|
118
104
|
version: '0'
|
119
105
|
type: :runtime
|
120
106
|
prerelease: false
|
121
107
|
version_requirements: !ruby/object:Gem::Requirement
|
122
|
-
none: false
|
123
108
|
requirements:
|
124
|
-
- -
|
109
|
+
- - '>='
|
125
110
|
- !ruby/object:Gem::Version
|
126
111
|
version: '0'
|
127
112
|
- !ruby/object:Gem::Dependency
|
128
113
|
name: thor
|
129
114
|
requirement: !ruby/object:Gem::Requirement
|
130
|
-
none: false
|
131
115
|
requirements:
|
132
|
-
- -
|
116
|
+
- - '>='
|
133
117
|
- !ruby/object:Gem::Version
|
134
118
|
version: '0'
|
135
119
|
type: :runtime
|
136
120
|
prerelease: false
|
137
121
|
version_requirements: !ruby/object:Gem::Requirement
|
138
|
-
none: false
|
139
122
|
requirements:
|
140
|
-
- -
|
123
|
+
- - '>='
|
141
124
|
- !ruby/object:Gem::Version
|
142
125
|
version: '0'
|
143
126
|
- !ruby/object:Gem::Dependency
|
144
127
|
name: xcodeproj
|
145
128
|
requirement: !ruby/object:Gem::Requirement
|
146
|
-
none: false
|
147
129
|
requirements:
|
148
|
-
- -
|
130
|
+
- - '>='
|
149
131
|
- !ruby/object:Gem::Version
|
150
132
|
version: 0.5.3
|
151
133
|
type: :runtime
|
152
134
|
prerelease: false
|
153
135
|
version_requirements: !ruby/object:Gem::Requirement
|
154
|
-
none: false
|
155
136
|
requirements:
|
156
|
-
- -
|
137
|
+
- - '>='
|
157
138
|
- !ruby/object:Gem::Version
|
158
139
|
version: 0.5.3
|
159
140
|
- !ruby/object:Gem::Dependency
|
160
141
|
name: rr
|
161
142
|
requirement: !ruby/object:Gem::Requirement
|
162
|
-
none: false
|
163
143
|
requirements:
|
164
|
-
- -
|
144
|
+
- - '>='
|
165
145
|
- !ruby/object:Gem::Version
|
166
146
|
version: '0'
|
167
147
|
type: :development
|
168
148
|
prerelease: false
|
169
149
|
version_requirements: !ruby/object:Gem::Requirement
|
170
|
-
none: false
|
171
150
|
requirements:
|
172
|
-
- -
|
151
|
+
- - '>='
|
173
152
|
- !ruby/object:Gem::Version
|
174
153
|
version: '0'
|
175
154
|
- !ruby/object:Gem::Dependency
|
176
155
|
name: yard
|
177
156
|
requirement: !ruby/object:Gem::Requirement
|
178
|
-
none: false
|
179
157
|
requirements:
|
180
|
-
- -
|
158
|
+
- - '>='
|
181
159
|
- !ruby/object:Gem::Version
|
182
160
|
version: '0'
|
183
161
|
type: :development
|
184
162
|
prerelease: false
|
185
163
|
version_requirements: !ruby/object:Gem::Requirement
|
186
|
-
none: false
|
187
164
|
requirements:
|
188
|
-
- -
|
165
|
+
- - '>='
|
189
166
|
- !ruby/object:Gem::Version
|
190
167
|
version: '0'
|
191
168
|
- !ruby/object:Gem::Dependency
|
192
169
|
name: pry
|
193
170
|
requirement: !ruby/object:Gem::Requirement
|
194
|
-
none: false
|
195
171
|
requirements:
|
196
|
-
- -
|
172
|
+
- - '>='
|
197
173
|
- !ruby/object:Gem::Version
|
198
174
|
version: '0'
|
199
175
|
type: :development
|
200
176
|
prerelease: false
|
201
177
|
version_requirements: !ruby/object:Gem::Requirement
|
202
|
-
none: false
|
203
178
|
requirements:
|
204
|
-
- -
|
179
|
+
- - '>='
|
205
180
|
- !ruby/object:Gem::Version
|
206
181
|
version: '0'
|
207
182
|
- !ruby/object:Gem::Dependency
|
208
183
|
name: pry-debugger
|
209
184
|
requirement: !ruby/object:Gem::Requirement
|
210
|
-
none: false
|
211
185
|
requirements:
|
212
|
-
- -
|
186
|
+
- - '>='
|
213
187
|
- !ruby/object:Gem::Version
|
214
188
|
version: '0'
|
215
189
|
type: :development
|
216
190
|
prerelease: false
|
217
191
|
version_requirements: !ruby/object:Gem::Requirement
|
218
|
-
none: false
|
219
192
|
requirements:
|
220
|
-
- -
|
193
|
+
- - '>='
|
221
194
|
- !ruby/object:Gem::Version
|
222
195
|
version: '0'
|
223
196
|
description: Use cucumber to test native iOS apps via Frank
|
@@ -366,27 +339,26 @@ files:
|
|
366
339
|
- frank-skeleton/frank_static_resources.bundle/ViewAttributeMappingMac.plist
|
367
340
|
homepage: http://rubygems.org/gems/frank-cucumber
|
368
341
|
licenses: []
|
342
|
+
metadata: {}
|
369
343
|
post_install_message:
|
370
344
|
rdoc_options: []
|
371
345
|
require_paths:
|
372
346
|
- lib
|
373
347
|
required_ruby_version: !ruby/object:Gem::Requirement
|
374
|
-
none: false
|
375
348
|
requirements:
|
376
|
-
- -
|
349
|
+
- - '>='
|
377
350
|
- !ruby/object:Gem::Version
|
378
351
|
version: '0'
|
379
352
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
380
|
-
none: false
|
381
353
|
requirements:
|
382
|
-
- -
|
354
|
+
- - '>'
|
383
355
|
- !ruby/object:Gem::Version
|
384
356
|
version: 1.3.1
|
385
357
|
requirements: []
|
386
358
|
rubyforge_project:
|
387
|
-
rubygems_version:
|
359
|
+
rubygems_version: 2.0.3
|
388
360
|
signing_key:
|
389
|
-
specification_version:
|
361
|
+
specification_version: 4
|
390
362
|
summary: Use cucumber to test native iOS apps via Frank
|
391
363
|
test_files:
|
392
364
|
- test/keyboard_helper_test.rb
|