sc-frank-cucumber 1.2.1.902fa34 → 1.2.1.3256dc1.debug
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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/version.rb +1 -1
- metadata +3 -3
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' )
|
metadata
CHANGED
@@ -1,8 +1,8 @@
|
|
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:
|
4
|
+
version: 1.2.1.3256dc1.debug
|
5
|
+
prerelease: 10
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Pete Hodgson
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2014-03-18 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: cucumber
|