sc-frank-cucumber 1.2.1.d2d00d2 → 1.2.1.e1e3ccb.debug

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: d59503313830749e83974d7f54569b78694da817
4
+ data.tar.gz: 66000976af4a04a2dd6ad7815b4d80931e0cbbd2
5
+ SHA512:
6
+ metadata.gz: 631078abf36bb3e0e6d9075f18f51af4a5e80e49c5490029cedf612f213b75b13b9c6da6a19eb2705d2f48a5eee02f00c1cb46ca8f710c6fde07e040645b50e0
7
+ data.tar.gz: 62cb636995eee3d626255a33613db388f0da65879d7e46aa5ceb4b98d594facb4afd7d52b1fb41c303b20bcd9bb3cfe6685fa1405dc7bdc77dffadd9bdbd6ef5
@@ -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
- GCC_PREPROCESSOR_DEFINITIONS_NOT_USED_IN_PRECOMPS = FRANKIFIED
6
+ GCC_PREPROCESSOR_DEFINITIONS = $(inherited) FRANKIFIED=1
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
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' )
@@ -1,5 +1,5 @@
1
1
  module Frank
2
2
  module Cucumber
3
- VERSION = "1.2.1.d2d00d2"
3
+ VERSION = "1.2.1.e1e3ccb.debug"
4
4
  end
5
5
  end
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.d2d00d2
5
- prerelease: 6
4
+ version: 1.2.1.e1e3ccb.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: 2013-11-13 00:00:00.000000000 Z
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: 1.8.25
359
+ rubygems_version: 2.0.3
388
360
  signing_key:
389
- specification_version: 3
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