sc-frank-cucumber 1.2.1.902fa34 → 1.2.1.3256dc1.debug

Sign up to get free protection for your applications and to get access to all the features.
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.902fa34"
3
+ VERSION = "1.2.1.3256dc1.debug"
4
4
  end
5
5
  end
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.902fa34
5
- prerelease: 9
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: 2013-11-13 00:00:00.000000000 Z
13
+ date: 2014-03-18 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: cucumber