motion-firebase 2.0.1 → 2.0.7

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: e4b1705ba3ddc16f856765c43b1bc78d9001adaf
4
+ data.tar.gz: 8cf26a889416b0056ab2ade995f51d762964f901
5
+ SHA512:
6
+ metadata.gz: 080d0f65396fe5eb91d5a6cfbbbbae1feb4bbe1d47663326c7b92d590082694ca2bbbfd714cebb3b3777b6aa04e6cd44f699b370cac8242e51e85d9001a7bf27
7
+ data.tar.gz: 304f15d3cf98e9575943239ac60bc7f915f275a2ea13beb33f1b240629af86b81da0ffc473e926330950429d86d1bea6a0de1832410a01c8b7d05718688366a7
data/README.md CHANGED
@@ -87,6 +87,8 @@ SDK
87
87
 
88
88
  ##### Managing presence
89
89
 
90
+ firebase.online!
91
+ firebase.offline!
90
92
  firebase.on_disconnect(value)
91
93
  firebase.on_disconnect(value) { |error| 'completion block' }
92
94
  firebase.on_disconnect(value, priority:priority)
@@ -106,7 +108,11 @@ SDK
106
108
  completion: proc { |error, data| 'completion block' },
107
109
  disconnect: proc { |error| 'completion block', },
108
110
  )
111
+ # calls `unauth`, or if you pass a block calls `unauthWithCompletionBlock`
109
112
  firebase.unauth
113
+ firebase.unauth do |error|
114
+ # ...
115
+ end
110
116
  # when using FirebaseSimpleLogin to authenticate, this child node should be
111
117
  # monitored for changes
112
118
  firebase.auth_state
@@ -44,10 +44,26 @@ class Firebase
44
44
  return self
45
45
  end
46
46
 
47
+ def unauth(&block)
48
+ if block
49
+ unauthWithCompletionBlock(block)
50
+ else
51
+ super()
52
+ end
53
+ end
54
+
47
55
  def auth_state
48
56
  self.root[".info/authenticated"]
49
57
  end
50
58
 
59
+ def offline!
60
+ goOffline
61
+ end
62
+
63
+ def online!
64
+ goOnline
65
+ end
66
+
51
67
  def run(options={}, &transaction)
52
68
  transaction = transaction || options[:transaction]
53
69
  completion_block = options[:completion]
@@ -1,5 +1,5 @@
1
1
  module Motion
2
2
  module Firebase
3
- Version = '2.0.1'
3
+ Version = '2.0.7'
4
4
  end
5
5
  end
@@ -1,7 +1,11 @@
1
1
  class FirebaseSimpleLogin
2
2
 
3
- def self.new(ref)
4
- alloc.initWithRef(ref)
3
+ def self.new(ref, options=nil)
4
+ if options
5
+ alloc.initWithRef(ref, options: options)
6
+ else
7
+ alloc.initWithRef(ref)
8
+ end
5
9
  end
6
10
 
7
11
  def check(&and_then)
@@ -14,7 +18,7 @@ class FirebaseSimpleLogin
14
18
  email = credentials[:email]
15
19
  password = credentials[:password]
16
20
  begin
17
- createUserWithEmail(email, password:password, andCompletionBlock:block)
21
+ createUserWithEmail(email, password: password, andCompletionBlock: block)
18
22
  rescue RuntimeError => e
19
23
  block.call(e, nil)
20
24
  end
@@ -25,7 +29,7 @@ class FirebaseSimpleLogin
25
29
  raise "password is required in #{__method__}" unless credentials.key?(:password)
26
30
  email = credentials[:email]
27
31
  password = credentials[:password]
28
- removeUserWithEmail(email, password:password, andCompletionBlock:block)
32
+ removeUserWithEmail(email, password: password, andCompletionBlock: block)
29
33
  end
30
34
 
31
35
  def login(credentials, &block)
@@ -34,7 +38,7 @@ class FirebaseSimpleLogin
34
38
  email = credentials[:email]
35
39
  password = credentials[:password]
36
40
  begin
37
- loginWithEmail(email, andPassword:password, withCompletionBlock:block)
41
+ loginWithEmail(email, andPassword: password, withCompletionBlock: block)
38
42
  rescue RuntimeError => e
39
43
  block.call(e, nil)
40
44
  end
@@ -47,7 +51,11 @@ class FirebaseSimpleLogin
47
51
  email = credentials[:email]
48
52
  old_password = credentials[:old_password]
49
53
  new_password = credentials[:new_password]
50
- changePasswordForEmail(email, oldPassword:old_password, newPassword:new_password, completionBlock:block)
54
+ changePasswordForEmail(email, oldPassword: old_password, newPassword: new_password, completionBlock: block)
55
+ end
56
+
57
+ def send_password_reset(email, &block)
58
+ sendPasswordResetForEmail(email, andCompletionBlock: block)
51
59
  end
52
60
 
53
61
  def login_to_facebook(credentials, &block)
@@ -60,11 +68,11 @@ class FirebaseSimpleLogin
60
68
  end
61
69
  permissions = credentials[:permissions] || ['email']
62
70
  audience = credentials[:audience] || ACFacebookAudienceOnlyMe
63
- loginToFacebookAppWithId(app_id, permissions:permissions, audience:audience, withCompletionBlock:block)
71
+ loginToFacebookAppWithId(app_id, permissions: permissions, audience: audience, withCompletionBlock: block)
64
72
  end
65
73
 
66
74
  def login_to_twitter(credentials, &block)
67
- if credentials.is_a?(String)
75
+ if credentials.is_a?(NSString)
68
76
  app_id = credentials
69
77
  credentials = {}
70
78
  else
@@ -72,11 +80,22 @@ class FirebaseSimpleLogin
72
80
  raise "app_id is required in #{__method__}" unless app_id
73
81
  end
74
82
  on_multiple = credentials[:on_multiple] || ->(accounts) { 0 }
75
- loginToTwitterAppWithId(app_id, multipleAccountsHandler:on_multiple, withCompletionBlock:block)
83
+ loginToTwitterAppWithId(app_id, multipleAccountsHandler: on_multiple, withCompletionBlock: block)
76
84
  end
77
85
 
78
- # def inspect
79
- # "#<#{self.class}:0x#{self.object_id.to_s(16)}>"
80
- # end
86
+ def login_to_google(credentials, &block)
87
+ if credentials.is_a?(NSString)
88
+ app_id = credentials
89
+ credentials = {}
90
+ else
91
+ app_id = credentials[:app_id]
92
+ raise "app_id is required in #{__method__}" unless app_id
93
+ end
94
+ loginToGoogleWithAccessToken(app_id, withCompletionBlock: block)
95
+ end
96
+
97
+ def login_anonymously(&block)
98
+ loginAnonymouslywithCompletionBlock(block)
99
+ end
81
100
 
82
101
  end
Binary file
@@ -88,7 +88,7 @@ typedef NSUInteger FirebaseHandle;
88
88
  * @param cancelBlock The block that should be called if this client no longer has permission to receive these events
89
89
  * @return A handle used to unregister this block later using removeObserverWithHandle:
90
90
  */
91
- - (FirebaseHandle) observeEventType:(FEventType)eventType withBlock:(void (^)(FDataSnapshot* snapshot))block withCancelBlock:(void (^)(void))cancelBlock;
91
+ - (FirebaseHandle) observeEventType:(FEventType)eventType withBlock:(void (^)(FDataSnapshot* snapshot))block withCancelBlock:(void (^)(NSError* error))cancelBlock;
92
92
 
93
93
 
94
94
  /**
@@ -106,7 +106,7 @@ typedef NSUInteger FirebaseHandle;
106
106
  * @param cancelBlock The block that should be called if this client no longer has permission to receive these events
107
107
  * @return A handle used to unregister this block later using removeObserverWithHandle:
108
108
  */
109
- - (FirebaseHandle) observeEventType:(FEventType)eventType andPreviousSiblingNameWithBlock:(void (^)(FDataSnapshot* snapshot, NSString* prevName))block withCancelBlock:(void (^)(void))cancelBlock;
109
+ - (FirebaseHandle) observeEventType:(FEventType)eventType andPreviousSiblingNameWithBlock:(void (^)(FDataSnapshot* snapshot, NSString* prevName))block withCancelBlock:(void (^)(NSError* error))cancelBlock;
110
110
 
111
111
 
112
112
  /**
@@ -137,7 +137,7 @@ typedef NSUInteger FirebaseHandle;
137
137
  * @param block The block that should be called with initial data and updates.
138
138
  * @param cancelBlock The block that will be called if you don't have permission to access this data
139
139
  */
140
- - (void) observeSingleEventOfType:(FEventType)eventType withBlock:(void (^)(FDataSnapshot* snapshot))block withCancelBlock:(void (^)(void))cancelBlock;
140
+ - (void) observeSingleEventOfType:(FEventType)eventType withBlock:(void (^)(FDataSnapshot* snapshot))block withCancelBlock:(void (^)(NSError* error))cancelBlock;
141
141
 
142
142
 
143
143
  /**
@@ -150,7 +150,7 @@ typedef NSUInteger FirebaseHandle;
150
150
  * @param block The block that should be called with initial data and updates.
151
151
  * @param cancelBlock The block that will be called if you don't have permission to access this data
152
152
  */
153
- - (void) observeSingleEventOfType:(FEventType)eventType andPreviousSiblingNameWithBlock:(void (^)(FDataSnapshot* snapshot, NSString* prevName))block withCancelBlock:(void (^)(void))cancelBlock;
153
+ - (void) observeSingleEventOfType:(FEventType)eventType andPreviousSiblingNameWithBlock:(void (^)(FDataSnapshot* snapshot, NSString* prevName))block withCancelBlock:(void (^)(NSError* error))cancelBlock;
154
154
 
155
155
  /** @name Detaching observers */
156
156
 
@@ -181,13 +181,15 @@ that will automatically be populated by the Firebase Server.
181
181
  *
182
182
  * Children are sorted based on this priority using the following rules:
183
183
  *
184
- * Children with no priority (a null priority) come first. They are ordered lexicographically by name.
185
- * Children with a priority that is parsable as a number come next. They are
186
- * sorted numerically by priority first (small to large) and lexicographically by name second (A to z).
187
- * Children with non-numeric priorities come last. They are sorted lexicographically
188
- * by priority first and lexicographically by name second.
189
- * Setting the priority to null removes any existing priority.
184
+ * Children with no priority come first.
185
+ * Children with a number as their priority come next. They are sorted numerically by priority (small to large).
186
+ * Children with a string as their priority come last. They are sorted lexicographically by priority.
187
+ * Whenever two children have the same priority (including no priority), they are sorted by name. Numeric
188
+ * names come first (sorted numerically), followed by the remaining names (sorted lexicographically).
189
+ *
190
190
  * Note that priorities are parsed and ordered as IEEE 754 double-precision floating-point numbers.
191
+ * Names are always stored as strings and are treated as numbers only when they can be parsed as a
192
+ * 32-bit integer
191
193
  *
192
194
  * @param priority The priority to set at the specified location.
193
195
  */
@@ -276,7 +278,7 @@ Supported events types for all realtime observers are specified in FEventType as
276
278
  * @param cancelBlock The block that should be called if this client no longer has permission to receive these events
277
279
  * @return A handle used to unregister this block later using removeObserverWithHandle:
278
280
  */
279
- - (FirebaseHandle) observeEventType:(FEventType)eventType withBlock:(void (^)(FDataSnapshot* snapshot))block withCancelBlock:(void (^)(void))cancelBlock;
281
+ - (FirebaseHandle) observeEventType:(FEventType)eventType withBlock:(void (^)(FDataSnapshot* snapshot))block withCancelBlock:(void (^)(NSError* error))cancelBlock;
280
282
 
281
283
 
282
284
  /**
@@ -294,7 +296,7 @@ Supported events types for all realtime observers are specified in FEventType as
294
296
  * @param cancelBlock The block that should be called if this client no longer has permission to receive these events
295
297
  * @return A handle used to unregister this block later using removeObserverWithHandle:
296
298
  */
297
- - (FirebaseHandle) observeEventType:(FEventType)eventType andPreviousSiblingNameWithBlock:(void (^)(FDataSnapshot* snapshot, NSString* prevName))block withCancelBlock:(void (^)(void))cancelBlock;
299
+ - (FirebaseHandle) observeEventType:(FEventType)eventType andPreviousSiblingNameWithBlock:(void (^)(FDataSnapshot* snapshot, NSString* prevName))block withCancelBlock:(void (^)(NSError* error))cancelBlock;
298
300
 
299
301
 
300
302
  /**
@@ -325,7 +327,7 @@ Supported events types for all realtime observers are specified in FEventType as
325
327
  * @param block The block that should be called with initial data and updates as a FDataSnapshot.
326
328
  * @param cancelBlock The block that will be called if you don't have permission to access this data
327
329
  */
328
- - (void) observeSingleEventOfType:(FEventType)eventType withBlock:(void (^)(FDataSnapshot* snapshot))block withCancelBlock:(void (^)(void))cancelBlock;
330
+ - (void) observeSingleEventOfType:(FEventType)eventType withBlock:(void (^)(FDataSnapshot* snapshot))block withCancelBlock:(void (^)(NSError* error))cancelBlock;
329
331
 
330
332
 
331
333
  /**
@@ -338,7 +340,7 @@ Supported events types for all realtime observers are specified in FEventType as
338
340
  * @param block The block that should be called with initial data and updates as a FDataSnapshot, as well as the previous child's name.
339
341
  * @param cancelBlock The block that will be called if you don't have permission to access this data
340
342
  */
341
- - (void) observeSingleEventOfType:(FEventType)eventType andPreviousSiblingNameWithBlock:(void (^)(FDataSnapshot* snapshot, NSString* prevName))block withCancelBlock:(void (^)(void))cancelBlock;
343
+ - (void) observeSingleEventOfType:(FEventType)eventType andPreviousSiblingNameWithBlock:(void (^)(FDataSnapshot* snapshot, NSString* prevName))block withCancelBlock:(void (^)(NSError* error))cancelBlock;
342
344
 
343
345
  /** @name Detaching observers */
344
346
 
@@ -550,6 +552,54 @@ Supported events types for all realtime observers are specified in FEventType as
550
552
  */
551
553
  - (void) unauth;
552
554
 
555
+ /**
556
+ * Removes any credentials associated with this Firebase. The callback block will be triggered after this operation
557
+ * has been acknowledged by the Firebase servers.
558
+ */
559
+ - (void) unauthWithCompletionBlock:(void (^)(NSError* error))block;
560
+
561
+
562
+ /** @name Manual Connection Management */
563
+
564
+ /**
565
+ * Manually disconnect the Firebase client from the server and disable automatic reconnection.
566
+ *
567
+ * The Firebase client automatically maintains a persistent connection to the Firebase server,
568
+ * which will remain active indefinitely and reconnect when disconnected. However, the goOffline( )
569
+ * and goOnline( ) methods may be used to manually control the client connection in cases where
570
+ * a persistent connection is undesirable.
571
+ *
572
+ * While offline, the Firebase client will no longer receive data updates from the server. However,
573
+ * all Firebase operations performed locally will continue to immediately fire events, allowing
574
+ * your application to continue behaving normally. Additionally, each operation performed locally
575
+ * will automatically be queued and retried upon reconnection to the Firebase server.
576
+ *
577
+ * To reconnect to the Firebase server and begin receiving remote events, see goOnline( ).
578
+ * Once the connection is reestablished, the Firebase client will transmit the appropriate data
579
+ * and fire the appropriate events so that your client "catches up" automatically.
580
+ *
581
+ * Note: Invoking this method will impact all Firebase connections.
582
+ */
583
+ + (void) goOffline;
584
+
585
+ /**
586
+ * Manually reestablish a connection to the Firebase server and enable automatic reconnection.
587
+ *
588
+ * The Firebase client automatically maintains a persistent connection to the Firebase server,
589
+ * which will remain active indefinitely and reconnect when disconnected. However, the goOffline( )
590
+ * and goOnline( ) methods may be used to manually control the client connection in cases where
591
+ * a persistent connection is undesirable.
592
+ *
593
+ * This method should be used after invoking goOffline( ) to disable the active connection.
594
+ * Once reconnected, the Firebase client will automatically transmit the proper data and fire
595
+ * the appropriate events so that your client "catches up" automatically.
596
+ *
597
+ * To disconnect from the Firebase server, see goOffline( ).
598
+ *
599
+ * Note: Invoking this method will impact all Firebase connections.
600
+ */
601
+ + (void) goOnline;
602
+
553
603
 
554
604
  /** @name Transactions */
555
605
 
@@ -651,4 +701,7 @@ Supported events types for all realtime observers are specified in FEventType as
651
701
  /** Retrieve the Firebase SDK version. */
652
702
  + (NSString *) sdkVersion;
653
703
 
704
+ + (void) setLoggingEnabled:(BOOL)enabled;
705
+
706
+ + (void) setOption:(NSString*)option to:(id)value;
654
707
  @end
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Firebase iOS Auth Client Library
2
+ * Firebase iOS Simple Login Library
3
3
  *
4
4
  * Copyright © 2013 Firebase - All Rights Reserved
5
5
  * https://www.firebase.com
@@ -44,7 +44,9 @@ typedef enum {
44
44
  FAProviderInvalid = -1,
45
45
  FAProviderPassword = 1,
46
46
  FAProviderFacebook = 2,
47
- FAProviderTwitter = 3
47
+ FAProviderTwitter = 3,
48
+ FAProviderAnonymous = 4,
49
+ FAProviderGoogle = 5
48
50
  } FAProvider;
49
51
 
50
52
  #endif
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Firebase iOS Auth Client Library
2
+ * Firebase iOS Simple Login Library
3
3
  *
4
4
  * Copyright © 2013 Firebase - All Rights Reserved
5
5
  * https://www.firebase.com
@@ -49,6 +49,12 @@
49
49
  @property (nonatomic, strong) NSString* userId;
50
50
 
51
51
 
52
+ /**
53
+ * @return A uid for this user. It is unique across all auth providers.
54
+ */
55
+ @property (nonatomic, strong) NSString* uid;
56
+
57
+
52
58
  /**
53
59
  * @return The provider that authenticated this user
54
60
  */
@@ -1,5 +1,5 @@
1
1
  /*
2
- * Firebase iOS Auth Client Library
2
+ * Firebase iOS Simple Login Library
3
3
  *
4
4
  * Copyright © 2013 Firebase - All Rights Reserved
5
5
  * https://www.firebase.com
@@ -31,13 +31,17 @@
31
31
 
32
32
  #import "FAUser.h"
33
33
 
34
+ /**
35
+ * A FirebaseSimpleLogin client instance for authenticating Firebase references with email / password, Facebook, or Twitter.
36
+ */
34
37
  @interface FirebaseSimpleLogin : NSObject
35
38
 
39
+
36
40
  /** @name Initializing a FirebaseSimpleLogin instance */
37
41
 
38
42
 
39
43
  /**
40
- * You must initialize the auth client with a Firebase reference. The auth client will use that reference to authenticate to the Firebase servers
44
+ * You must initialize the Simple Login with a Firebase reference. The Simple Login client will use that reference to authenticate to the Firebase servers
41
45
  *
42
46
  * @param ref A valid Firebase reference
43
47
  * @return An initialized instance of FirebaseSimpleLogin
@@ -45,6 +49,15 @@
45
49
  - (id) initWithRef:(Firebase *)ref;
46
50
 
47
51
 
52
+ /**
53
+ * You must initialize the Simple Login with a Firebase reference. The Simple Login client will use that reference to authenticate to the Firebase servers
54
+ *
55
+ * @param ref A valid Firebase reference
56
+ @ @param options A dictionary of options to respect (i.e. @{ @"debug": @YES } )
57
+ * @return An initialized instance of FirebaseSimpleLogin
58
+ */
59
+ - (id) initWithRef:(Firebase *)aRef andOptions:(NSDictionary *)options;
60
+
48
61
 
49
62
  /** @name Checking current authentication status */
50
63
 
@@ -79,7 +92,7 @@
79
92
 
80
93
 
81
94
  /**
82
- * Remove a user account with the given email and password.
95
+ * Remove a user account with the given email and password.
83
96
  *
84
97
  * @param email The email of the account to be removed
85
98
  * @param password The password for the account to be removed
@@ -108,6 +121,14 @@
108
121
  */
109
122
  - (void) changePasswordForEmail:(NSString *)email oldPassword:(NSString *)oldPassword newPassword:(NSString *)newPassword completionBlock:(void (^)(NSError* error, BOOL success))block;
110
123
 
124
+ /**
125
+ * Send a password reset email to the owner of the account with the given email. Results are reported to the supplied block.
126
+ *
127
+ * @param email The email of the account to be removed
128
+ * @param block A block to receive the results of the operation
129
+ */
130
+ - (void) sendPasswordResetForEmail:(NSString *)email andCompletionBlock:(void (^)(NSError* error, BOOL success))block;
131
+
111
132
 
112
133
  /** @name Facebook authentication methods */
113
134
 
@@ -116,7 +137,7 @@
116
137
  * Attempts to log the user in to the Facebook app with the specified appId. The block will be called with the results of the attempt.
117
138
  *
118
139
  * @param appId The Facebook application id for the app to log into. Make sure that the app has your bundle id registered in the facebook developer console
119
- * @param permissions An array of strings, specifying the desired permissions for this user. If the array is empty, 'email' permission will be requested
140
+ * @param permissions An array of strings, specifying the desired permissions for this user. If the array is empty, 'email' permission will be requested
120
141
  * @param audience One of ACFacebookAudienceEveryone, ACFacebookAudienceFriends, ACFacebookAudienceOnlyMe, or nil. Required if your requested permissions include any write access. Assumed to be ACFacebookAudienceOnlyMe is nil is passed
121
142
  * @param block A block that will be called with the results of the login attempt
122
143
  */
@@ -124,11 +145,24 @@
124
145
 
125
146
  - (void) createFacebookUserWithToken:(NSString *)token appId:(NSString *)appId withCompletionBlock:(void (^)(NSError* error, FAUser* user))block;
126
147
 
127
- /** @name Twitter authentication methdos */
148
+
149
+ /** @name Google authentication methods */
150
+
151
+
152
+ /**
153
+ * Attempts to log the user in to the Google app with the specified access token. The block will be called with the results of the attempt.
154
+ *
155
+ * @param accessToken The Google access token to use when logging in
156
+ * @param block A block that will be called with the results of the login attempt
157
+ */
158
+ - (void) loginToGoogleWithAccessToken:(NSString *)accessToken withCompletionBlock:(void (^)(NSError* error, FAUser* user))block;
159
+
160
+
161
+ /** @name Twitter authentication methods */
128
162
 
129
163
 
130
164
  /**
131
- * Attempts to log the user in to the Twitter app with the specified appId.
165
+ * Attempts to log the user in to the Twitter app with the specified appId.
132
166
  * Requires a block to handle the case where multiple twitter accounts are registered with the OS. The block will be given an array of usernames and should return
133
167
  * the index of the desired account. If, after seeing the list, no account is selected, return NSNotFound.
134
168
  *
@@ -138,6 +172,15 @@
138
172
  */
139
173
  - (void) loginToTwitterAppWithId:(NSString *)appId multipleAccountsHandler:(int (^)(NSArray* usernames))accountSelection withCompletionBlock:(void (^)(NSError* error, FAUser* user))block;
140
174
 
175
+ /** @name Anonymous authentication methods */
176
+
177
+
178
+ /**
179
+ * Attempts to log the user in anonymously. The block will receive the results of the attempt.
180
+ *
181
+ * @param block A block to receive the results of the login attempt.
182
+ */
183
+ - (void) loginAnonymouslywithCompletionBlock:(void (^)(NSError* error, FAUser* user))block;
141
184
 
142
185
 
143
186
  /** @name Global configuration and settings */
@@ -4,6 +4,7 @@ require File.expand_path('../lib/firebase/version.rb', __FILE__)
4
4
  Gem::Specification.new do |gem|
5
5
  gem.name = 'motion-firebase'
6
6
  gem.version = Motion::Firebase::Version
7
+ gem.licenses = ['BSD']
7
8
 
8
9
  gem.authors = ['Colin T.A. Gray']
9
10
  gem.email = ['colinta@gmail.com']
metadata CHANGED
@@ -1,35 +1,31 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: motion-firebase
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.1
5
- prerelease:
4
+ version: 2.0.7
6
5
  platform: ruby
7
6
  authors:
8
7
  - Colin T.A. Gray
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-01-23 00:00:00.000000000 Z
11
+ date: 2014-03-19 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: rspec
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ! '>='
17
+ - - '>='
20
18
  - !ruby/object:Gem::Version
21
19
  version: '0'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ! '>='
24
+ - - '>='
28
25
  - !ruby/object:Gem::Version
29
26
  version: '0'
30
- description: ! 'A RubyMotion wrapper for the Firebase iOS SDK
31
-
32
- '
27
+ description: |
28
+ A RubyMotion wrapper for the Firebase iOS SDK
33
29
  email:
34
30
  - colinta@gmail.com
35
31
  executables: []
@@ -44,7 +40,6 @@ files:
44
40
  - lib/motion-firebase-auth.rb
45
41
  - lib/motion-firebase.rb
46
42
  - lib/vendor/Firebase.framework/Firebase
47
- - lib/vendor/Firebase.framework/Firebase.framework.bridgesupport
48
43
  - lib/vendor/Firebase.framework/Versions/A/Firebase
49
44
  - lib/vendor/Firebase.framework/Versions/A/Headers/FDataSnapshot.h
50
45
  - lib/vendor/Firebase.framework/Versions/A/Headers/FEventType.h
@@ -53,7 +48,6 @@ files:
53
48
  - lib/vendor/Firebase.framework/Versions/A/Headers/FQuery.h
54
49
  - lib/vendor/Firebase.framework/Versions/A/Headers/FTransactionResult.h
55
50
  - lib/vendor/FirebaseSimpleLogin.framework/FirebaseSimpleLogin
56
- - lib/vendor/FirebaseSimpleLogin.framework/FirebaseSimpleLogin.framework.bridgesupport
57
51
  - lib/vendor/FirebaseSimpleLogin.framework/Versions/A/FirebaseSimpleLogin
58
52
  - lib/vendor/FirebaseSimpleLogin.framework/Versions/A/Headers/FATypes.h
59
53
  - lib/vendor/FirebaseSimpleLogin.framework/Versions/A/Headers/FAUser.h
@@ -61,27 +55,27 @@ files:
61
55
  - README.md
62
56
  - motion-firebase.gemspec
63
57
  homepage: https://github.com/colinta/motion-firebase
64
- licenses: []
58
+ licenses:
59
+ - BSD
60
+ metadata: {}
65
61
  post_install_message:
66
62
  rdoc_options: []
67
63
  require_paths:
68
64
  - lib
69
65
  required_ruby_version: !ruby/object:Gem::Requirement
70
- none: false
71
66
  requirements:
72
- - - ! '>='
67
+ - - '>='
73
68
  - !ruby/object:Gem::Version
74
69
  version: '0'
75
70
  required_rubygems_version: !ruby/object:Gem::Requirement
76
- none: false
77
71
  requirements:
78
- - - ! '>='
72
+ - - '>='
79
73
  - !ruby/object:Gem::Version
80
74
  version: '0'
81
75
  requirements: []
82
76
  rubyforge_project:
83
- rubygems_version: 1.8.25
77
+ rubygems_version: 2.0.3
84
78
  signing_key:
85
- specification_version: 3
79
+ specification_version: 4
86
80
  summary: A RubyMotion wrapper for the Firebase iOS SDK
87
81
  test_files: []
@@ -1,552 +0,0 @@
1
- <?xml version='1.0'?>
2
- <signatures version='1.0'>
3
- <enum name='FEventTypeChildAdded' value='0'/>
4
- <enum name='FEventTypeChildChanged' value='2'/>
5
- <enum name='FEventTypeChildMoved' value='3'/>
6
- <enum name='FEventTypeChildRemoved' value='1'/>
7
- <enum name='FEventTypeValue' value='4'/>
8
- <class name='FDataSnapshot'>
9
- <method selector='childSnapshotForPath:'>
10
- <arg name='childPathString' type='@' declared_type='NSString*' index='0'/>
11
- <retval type='@' declared_type='FDataSnapshot*'/>
12
- </method>
13
- <method selector='children'>
14
- <retval type='@' declared_type='NSEnumerator*'/>
15
- </method>
16
- <method selector='childrenCount'>
17
- <retval type='I' declared_type='NSUInteger'/>
18
- </method>
19
- <method selector='hasChild:'>
20
- <arg name='childPathString' type='@' declared_type='NSString*' index='0'/>
21
- <retval type='B' declared_type='BOOL'/>
22
- </method>
23
- <method selector='hasChildren'>
24
- <retval type='B' declared_type='BOOL'/>
25
- </method>
26
- <method selector='name'>
27
- <retval type='@' declared_type='NSString*'/>
28
- </method>
29
- <method selector='priority'>
30
- <retval type='@' declared_type='id'/>
31
- </method>
32
- <method selector='ref'>
33
- <retval type='@' declared_type='Firebase*'/>
34
- </method>
35
- <method selector='setChildren:'>
36
- <arg name='children' type='@' declared_type='NSEnumerator*' index='0'/>
37
- <retval type='v' declared_type='void'/>
38
- </method>
39
- <method selector='setName:'>
40
- <arg name='name' type='@' declared_type='NSString*' index='0'/>
41
- <retval type='v' declared_type='void'/>
42
- </method>
43
- <method selector='setPriority:'>
44
- <arg name='priority' type='@' declared_type='id' index='0'/>
45
- <retval type='v' declared_type='void'/>
46
- </method>
47
- <method selector='setValue:'>
48
- <arg name='value' type='@' declared_type='id' index='0'/>
49
- <retval type='v' declared_type='void'/>
50
- </method>
51
- <method selector='value'>
52
- <retval type='@' declared_type='id'/>
53
- </method>
54
- <method selector='valueInExportFormat'>
55
- <retval type='@' declared_type='id'/>
56
- </method>
57
- </class>
58
- <class name='FMutableData'>
59
- <method selector='childDataByAppendingPath:'>
60
- <arg name='path' type='@' declared_type='NSString*' index='0'/>
61
- <retval type='@' declared_type='FMutableData*'/>
62
- </method>
63
- <method selector='children'>
64
- <retval type='@' declared_type='NSEnumerator*'/>
65
- </method>
66
- <method selector='childrenCount'>
67
- <retval type='I' declared_type='NSUInteger'/>
68
- </method>
69
- <method selector='hasChildAtPath:'>
70
- <arg name='path' type='@' declared_type='NSString*' index='0'/>
71
- <retval type='B' declared_type='BOOL'/>
72
- </method>
73
- <method selector='hasChildren'>
74
- <retval type='B' declared_type='BOOL'/>
75
- </method>
76
- <method selector='name'>
77
- <retval type='@' declared_type='NSString*'/>
78
- </method>
79
- <method selector='parent'>
80
- <retval type='@' declared_type='FMutableData*'/>
81
- </method>
82
- <method selector='priority'>
83
- <retval type='@' declared_type='id'/>
84
- </method>
85
- <method selector='setParent:'>
86
- <arg name='parent' type='@' declared_type='FMutableData*' index='0'/>
87
- <retval type='v' declared_type='void'/>
88
- </method>
89
- <method selector='setPriority:'>
90
- <arg name='priority' type='@' declared_type='id' index='0'/>
91
- <retval type='v' declared_type='void'/>
92
- </method>
93
- <method selector='setValue:'>
94
- <arg name='value' type='@' declared_type='id' index='0'/>
95
- <retval type='v' declared_type='void'/>
96
- </method>
97
- <method selector='value'>
98
- <retval type='@' declared_type='id'/>
99
- </method>
100
- </class>
101
- <class name='FQuery'>
102
- <method selector='observeEventType:andPreviousSiblingNameWithBlock:'>
103
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
104
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *, NSString *)' index='1'>
105
- <arg type='@' declared_type='FDataSnapshot*'/>
106
- <arg type='@' declared_type='NSString*'/>
107
- <retval type='v' declared_type='void'/>
108
- </arg>
109
- <retval type='I' declared_type='FirebaseHandle'/>
110
- </method>
111
- <method selector='observeEventType:andPreviousSiblingNameWithBlock:withCancelBlock:'>
112
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
113
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *, NSString *)' index='1'>
114
- <arg type='@' declared_type='FDataSnapshot*'/>
115
- <arg type='@' declared_type='NSString*'/>
116
- <retval type='v' declared_type='void'/>
117
- </arg>
118
- <arg name='cancelBlock' type='@?' function_pointer='true' declared_type='void (^)(void)' index='2'>
119
- <retval type='v' declared_type='void'/>
120
- </arg>
121
- <retval type='I' declared_type='FirebaseHandle'/>
122
- </method>
123
- <method selector='observeEventType:withBlock:'>
124
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
125
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *)' index='1'>
126
- <arg type='@' declared_type='FDataSnapshot*'/>
127
- <retval type='v' declared_type='void'/>
128
- </arg>
129
- <retval type='I' declared_type='FirebaseHandle'/>
130
- </method>
131
- <method selector='observeEventType:withBlock:withCancelBlock:'>
132
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
133
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *)' index='1'>
134
- <arg type='@' declared_type='FDataSnapshot*'/>
135
- <retval type='v' declared_type='void'/>
136
- </arg>
137
- <arg name='cancelBlock' type='@?' function_pointer='true' declared_type='void (^)(void)' index='2'>
138
- <retval type='v' declared_type='void'/>
139
- </arg>
140
- <retval type='I' declared_type='FirebaseHandle'/>
141
- </method>
142
- <method selector='observeSingleEventOfType:andPreviousSiblingNameWithBlock:'>
143
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
144
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *, NSString *)' index='1'>
145
- <arg type='@' declared_type='FDataSnapshot*'/>
146
- <arg type='@' declared_type='NSString*'/>
147
- <retval type='v' declared_type='void'/>
148
- </arg>
149
- <retval type='v' declared_type='void'/>
150
- </method>
151
- <method selector='observeSingleEventOfType:andPreviousSiblingNameWithBlock:withCancelBlock:'>
152
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
153
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *, NSString *)' index='1'>
154
- <arg type='@' declared_type='FDataSnapshot*'/>
155
- <arg type='@' declared_type='NSString*'/>
156
- <retval type='v' declared_type='void'/>
157
- </arg>
158
- <arg name='cancelBlock' type='@?' function_pointer='true' declared_type='void (^)(void)' index='2'>
159
- <retval type='v' declared_type='void'/>
160
- </arg>
161
- <retval type='v' declared_type='void'/>
162
- </method>
163
- <method selector='observeSingleEventOfType:withBlock:'>
164
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
165
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *)' index='1'>
166
- <arg type='@' declared_type='FDataSnapshot*'/>
167
- <retval type='v' declared_type='void'/>
168
- </arg>
169
- <retval type='v' declared_type='void'/>
170
- </method>
171
- <method selector='observeSingleEventOfType:withBlock:withCancelBlock:'>
172
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
173
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *)' index='1'>
174
- <arg type='@' declared_type='FDataSnapshot*'/>
175
- <retval type='v' declared_type='void'/>
176
- </arg>
177
- <arg name='cancelBlock' type='@?' function_pointer='true' declared_type='void (^)(void)' index='2'>
178
- <retval type='v' declared_type='void'/>
179
- </arg>
180
- <retval type='v' declared_type='void'/>
181
- </method>
182
- <method selector='queryEndingAtPriority:'>
183
- <arg name='endPriority' type='@' declared_type='id' index='0'/>
184
- <retval type='@' declared_type='FQuery*'/>
185
- </method>
186
- <method selector='queryEndingAtPriority:andChildName:'>
187
- <arg name='endPriority' type='@' declared_type='id' index='0'/>
188
- <arg name='childName' type='@' declared_type='NSString*' index='1'/>
189
- <retval type='@' declared_type='FQuery*'/>
190
- </method>
191
- <method selector='queryLimitedToNumberOfChildren:'>
192
- <arg name='limit' type='I' declared_type='NSUInteger' index='0'/>
193
- <retval type='@' declared_type='FQuery*'/>
194
- </method>
195
- <method selector='queryStartingAtPriority:'>
196
- <arg name='startPriority' type='@' declared_type='id' index='0'/>
197
- <retval type='@' declared_type='FQuery*'/>
198
- </method>
199
- <method selector='queryStartingAtPriority:andChildName:'>
200
- <arg name='startPriority' type='@' declared_type='id' index='0'/>
201
- <arg name='childName' type='@' declared_type='NSString*' index='1'/>
202
- <retval type='@' declared_type='FQuery*'/>
203
- </method>
204
- <method selector='removeAllObservers'>
205
- <retval type='v' declared_type='void'/>
206
- </method>
207
- <method selector='removeObserverWithHandle:'>
208
- <arg name='handle' type='I' declared_type='FirebaseHandle' index='0'/>
209
- <retval type='v' declared_type='void'/>
210
- </method>
211
- </class>
212
- <class name='FTransactionResult'>
213
- <method class_method='true' selector='abort'>
214
- <retval type='@' declared_type='FTransactionResult*'/>
215
- </method>
216
- <method class_method='true' selector='successWithValue:'>
217
- <arg name='value' type='@' declared_type='FMutableData*' index='0'/>
218
- <retval type='@' declared_type='FTransactionResult*'/>
219
- </method>
220
- </class>
221
- <class name='Firebase'>
222
- <method selector='authWithCredential:withCompletionBlock:withCancelBlock:'>
223
- <arg name='credential' type='@' declared_type='NSString*' index='0'/>
224
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(NSError *, id)' index='1'>
225
- <arg type='@' declared_type='NSError*'/>
226
- <arg type='@' declared_type='id'/>
227
- <retval type='v' declared_type='void'/>
228
- </arg>
229
- <arg name='cancelBlock' type='@?' function_pointer='true' declared_type='void (^)(NSError *)' index='2'>
230
- <arg type='@' declared_type='NSError*'/>
231
- <retval type='v' declared_type='void'/>
232
- </arg>
233
- <retval type='v' declared_type='void'/>
234
- </method>
235
- <method selector='cancelDisconnectOperations'>
236
- <retval type='v' declared_type='void'/>
237
- </method>
238
- <method selector='cancelDisconnectOperationsWithCompletionBlock:'>
239
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(NSError *, Firebase *)' index='0'>
240
- <arg type='@' declared_type='NSError*'/>
241
- <arg type='@' declared_type='Firebase*'/>
242
- <retval type='v' declared_type='void'/>
243
- </arg>
244
- <retval type='v' declared_type='void'/>
245
- </method>
246
- <method selector='childByAppendingPath:'>
247
- <arg name='pathString' type='@' declared_type='NSString*' index='0'/>
248
- <retval type='@' declared_type='Firebase*'/>
249
- </method>
250
- <method selector='childByAutoId'>
251
- <retval type='@' declared_type='Firebase*'/>
252
- </method>
253
- <method selector='description'>
254
- <retval type='@' declared_type='NSString*'/>
255
- </method>
256
- <method selector='initWithUrl:'>
257
- <arg name='url' type='@' declared_type='NSString*' index='0'/>
258
- <retval type='@' declared_type='id'/>
259
- </method>
260
- <method selector='name'>
261
- <retval type='@' declared_type='NSString*'/>
262
- </method>
263
- <method selector='observeEventType:andPreviousSiblingNameWithBlock:'>
264
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
265
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *, NSString *)' index='1'>
266
- <arg type='@' declared_type='FDataSnapshot*'/>
267
- <arg type='@' declared_type='NSString*'/>
268
- <retval type='v' declared_type='void'/>
269
- </arg>
270
- <retval type='I' declared_type='FirebaseHandle'/>
271
- </method>
272
- <method selector='observeEventType:andPreviousSiblingNameWithBlock:withCancelBlock:'>
273
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
274
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *, NSString *)' index='1'>
275
- <arg type='@' declared_type='FDataSnapshot*'/>
276
- <arg type='@' declared_type='NSString*'/>
277
- <retval type='v' declared_type='void'/>
278
- </arg>
279
- <arg name='cancelBlock' type='@?' function_pointer='true' declared_type='void (^)(void)' index='2'>
280
- <retval type='v' declared_type='void'/>
281
- </arg>
282
- <retval type='I' declared_type='FirebaseHandle'/>
283
- </method>
284
- <method selector='observeEventType:withBlock:'>
285
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
286
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *)' index='1'>
287
- <arg type='@' declared_type='FDataSnapshot*'/>
288
- <retval type='v' declared_type='void'/>
289
- </arg>
290
- <retval type='I' declared_type='FirebaseHandle'/>
291
- </method>
292
- <method selector='observeEventType:withBlock:withCancelBlock:'>
293
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
294
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *)' index='1'>
295
- <arg type='@' declared_type='FDataSnapshot*'/>
296
- <retval type='v' declared_type='void'/>
297
- </arg>
298
- <arg name='cancelBlock' type='@?' function_pointer='true' declared_type='void (^)(void)' index='2'>
299
- <retval type='v' declared_type='void'/>
300
- </arg>
301
- <retval type='I' declared_type='FirebaseHandle'/>
302
- </method>
303
- <method selector='observeSingleEventOfType:andPreviousSiblingNameWithBlock:'>
304
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
305
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *, NSString *)' index='1'>
306
- <arg type='@' declared_type='FDataSnapshot*'/>
307
- <arg type='@' declared_type='NSString*'/>
308
- <retval type='v' declared_type='void'/>
309
- </arg>
310
- <retval type='v' declared_type='void'/>
311
- </method>
312
- <method selector='observeSingleEventOfType:andPreviousSiblingNameWithBlock:withCancelBlock:'>
313
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
314
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *, NSString *)' index='1'>
315
- <arg type='@' declared_type='FDataSnapshot*'/>
316
- <arg type='@' declared_type='NSString*'/>
317
- <retval type='v' declared_type='void'/>
318
- </arg>
319
- <arg name='cancelBlock' type='@?' function_pointer='true' declared_type='void (^)(void)' index='2'>
320
- <retval type='v' declared_type='void'/>
321
- </arg>
322
- <retval type='v' declared_type='void'/>
323
- </method>
324
- <method selector='observeSingleEventOfType:withBlock:'>
325
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
326
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *)' index='1'>
327
- <arg type='@' declared_type='FDataSnapshot*'/>
328
- <retval type='v' declared_type='void'/>
329
- </arg>
330
- <retval type='v' declared_type='void'/>
331
- </method>
332
- <method selector='observeSingleEventOfType:withBlock:withCancelBlock:'>
333
- <arg name='eventType' type='i' declared_type='FEventType' index='0'/>
334
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(FDataSnapshot *)' index='1'>
335
- <arg type='@' declared_type='FDataSnapshot*'/>
336
- <retval type='v' declared_type='void'/>
337
- </arg>
338
- <arg name='cancelBlock' type='@?' function_pointer='true' declared_type='void (^)(void)' index='2'>
339
- <retval type='v' declared_type='void'/>
340
- </arg>
341
- <retval type='v' declared_type='void'/>
342
- </method>
343
- <method selector='onDisconnectRemoveValue'>
344
- <retval type='v' declared_type='void'/>
345
- </method>
346
- <method selector='onDisconnectRemoveValueWithCompletionBlock:'>
347
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(NSError *, Firebase *)' index='0'>
348
- <arg type='@' declared_type='NSError*'/>
349
- <arg type='@' declared_type='Firebase*'/>
350
- <retval type='v' declared_type='void'/>
351
- </arg>
352
- <retval type='v' declared_type='void'/>
353
- </method>
354
- <method selector='onDisconnectSetValue:'>
355
- <arg name='value' type='@' declared_type='id' index='0'/>
356
- <retval type='v' declared_type='void'/>
357
- </method>
358
- <method selector='onDisconnectSetValue:andPriority:'>
359
- <arg name='value' type='@' declared_type='id' index='0'/>
360
- <arg name='priority' type='@' declared_type='id' index='1'/>
361
- <retval type='v' declared_type='void'/>
362
- </method>
363
- <method selector='onDisconnectSetValue:andPriority:withCompletionBlock:'>
364
- <arg name='value' type='@' declared_type='id' index='0'/>
365
- <arg name='priority' type='@' declared_type='id' index='1'/>
366
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(NSError *, Firebase *)' index='2'>
367
- <arg type='@' declared_type='NSError*'/>
368
- <arg type='@' declared_type='Firebase*'/>
369
- <retval type='v' declared_type='void'/>
370
- </arg>
371
- <retval type='v' declared_type='void'/>
372
- </method>
373
- <method selector='onDisconnectSetValue:withCompletionBlock:'>
374
- <arg name='value' type='@' declared_type='id' index='0'/>
375
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(NSError *, Firebase *)' index='1'>
376
- <arg type='@' declared_type='NSError*'/>
377
- <arg type='@' declared_type='Firebase*'/>
378
- <retval type='v' declared_type='void'/>
379
- </arg>
380
- <retval type='v' declared_type='void'/>
381
- </method>
382
- <method selector='onDisconnectUpdateChildValues:'>
383
- <arg name='values' type='@' declared_type='NSDictionary*' index='0'/>
384
- <retval type='v' declared_type='void'/>
385
- </method>
386
- <method selector='onDisconnectUpdateChildValues:withCompletionBlock:'>
387
- <arg name='values' type='@' declared_type='NSDictionary*' index='0'/>
388
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(NSError *, Firebase *)' index='1'>
389
- <arg type='@' declared_type='NSError*'/>
390
- <arg type='@' declared_type='Firebase*'/>
391
- <retval type='v' declared_type='void'/>
392
- </arg>
393
- <retval type='v' declared_type='void'/>
394
- </method>
395
- <method selector='parent'>
396
- <retval type='@' declared_type='Firebase*'/>
397
- </method>
398
- <method selector='queryEndingAtPriority:'>
399
- <arg name='endPriority' type='@' declared_type='id' index='0'/>
400
- <retval type='@' declared_type='FQuery*'/>
401
- </method>
402
- <method selector='queryEndingAtPriority:andChildName:'>
403
- <arg name='endPriority' type='@' declared_type='id' index='0'/>
404
- <arg name='childName' type='@' declared_type='NSString*' index='1'/>
405
- <retval type='@' declared_type='FQuery*'/>
406
- </method>
407
- <method selector='queryLimitedToNumberOfChildren:'>
408
- <arg name='limit' type='I' declared_type='NSUInteger' index='0'/>
409
- <retval type='@' declared_type='FQuery*'/>
410
- </method>
411
- <method selector='queryStartingAtPriority:'>
412
- <arg name='startPriority' type='@' declared_type='id' index='0'/>
413
- <retval type='@' declared_type='FQuery*'/>
414
- </method>
415
- <method selector='queryStartingAtPriority:andChildName:'>
416
- <arg name='startPriority' type='@' declared_type='id' index='0'/>
417
- <arg name='childName' type='@' declared_type='NSString*' index='1'/>
418
- <retval type='@' declared_type='FQuery*'/>
419
- </method>
420
- <method selector='removeAllObservers'>
421
- <retval type='v' declared_type='void'/>
422
- </method>
423
- <method selector='removeObserverWithHandle:'>
424
- <arg name='handle' type='I' declared_type='FirebaseHandle' index='0'/>
425
- <retval type='v' declared_type='void'/>
426
- </method>
427
- <method selector='removeValue'>
428
- <retval type='v' declared_type='void'/>
429
- </method>
430
- <method selector='removeValueWithCompletionBlock:'>
431
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(NSError *, Firebase *)' index='0'>
432
- <arg type='@' declared_type='NSError*'/>
433
- <arg type='@' declared_type='Firebase*'/>
434
- <retval type='v' declared_type='void'/>
435
- </arg>
436
- <retval type='v' declared_type='void'/>
437
- </method>
438
- <method selector='root'>
439
- <retval type='@' declared_type='Firebase*'/>
440
- </method>
441
- <method selector='runTransactionBlock:'>
442
- <arg name='block' type='@?' function_pointer='true' declared_type='FTransactionResult *(^)(FMutableData *)' index='0'>
443
- <arg type='@' declared_type='FMutableData*'/>
444
- <retval type='@' declared_type='FTransactionResult*'/>
445
- </arg>
446
- <retval type='v' declared_type='void'/>
447
- </method>
448
- <method selector='runTransactionBlock:andCompletionBlock:'>
449
- <arg name='block' type='@?' function_pointer='true' declared_type='FTransactionResult *(^)(FMutableData *)' index='0'>
450
- <arg type='@' declared_type='FMutableData*'/>
451
- <retval type='@' declared_type='FTransactionResult*'/>
452
- </arg>
453
- <arg name='completionBlock' type='@?' function_pointer='true' declared_type='void (^)(NSError *, BOOL, FDataSnapshot *)' index='1'>
454
- <arg type='@' declared_type='NSError*'/>
455
- <arg type='B' declared_type='BOOL'/>
456
- <arg type='@' declared_type='FDataSnapshot*'/>
457
- <retval type='v' declared_type='void'/>
458
- </arg>
459
- <retval type='v' declared_type='void'/>
460
- </method>
461
- <method selector='runTransactionBlock:andCompletionBlock:withLocalEvents:'>
462
- <arg name='block' type='@?' function_pointer='true' declared_type='FTransactionResult *(^)(FMutableData *)' index='0'>
463
- <arg type='@' declared_type='FMutableData*'/>
464
- <retval type='@' declared_type='FTransactionResult*'/>
465
- </arg>
466
- <arg name='completionBlock' type='@?' function_pointer='true' declared_type='void (^)(NSError *, BOOL, FDataSnapshot *)' index='1'>
467
- <arg type='@' declared_type='NSError*'/>
468
- <arg type='B' declared_type='BOOL'/>
469
- <arg type='@' declared_type='FDataSnapshot*'/>
470
- <retval type='v' declared_type='void'/>
471
- </arg>
472
- <arg name='localEvents' type='B' declared_type='BOOL' index='2'/>
473
- <retval type='v' declared_type='void'/>
474
- </method>
475
- <method class_method='true' selector='sdkVersion'>
476
- <retval type='@' declared_type='NSString*'/>
477
- </method>
478
- <method class_method='true' selector='setDispatchQueue:'>
479
- <arg name='queue' type='@' declared_type='dispatch_queue_t' index='0'/>
480
- <retval type='v' declared_type='void'/>
481
- </method>
482
- <method selector='setName:'>
483
- <arg name='name' type='@' declared_type='NSString*' index='0'/>
484
- <retval type='v' declared_type='void'/>
485
- </method>
486
- <method selector='setParent:'>
487
- <arg name='parent' type='@' declared_type='Firebase*' index='0'/>
488
- <retval type='v' declared_type='void'/>
489
- </method>
490
- <method selector='setPriority:'>
491
- <arg name='priority' type='@' declared_type='id' index='0'/>
492
- <retval type='v' declared_type='void'/>
493
- </method>
494
- <method selector='setPriority:withCompletionBlock:'>
495
- <arg name='priority' type='@' declared_type='id' index='0'/>
496
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(NSError *, Firebase *)' index='1'>
497
- <arg type='@' declared_type='NSError*'/>
498
- <arg type='@' declared_type='Firebase*'/>
499
- <retval type='v' declared_type='void'/>
500
- </arg>
501
- <retval type='v' declared_type='void'/>
502
- </method>
503
- <method selector='setRoot:'>
504
- <arg name='root' type='@' declared_type='Firebase*' index='0'/>
505
- <retval type='v' declared_type='void'/>
506
- </method>
507
- <method selector='setValue:'>
508
- <arg name='value' type='@' declared_type='id' index='0'/>
509
- <retval type='v' declared_type='void'/>
510
- </method>
511
- <method selector='setValue:andPriority:'>
512
- <arg name='value' type='@' declared_type='id' index='0'/>
513
- <arg name='priority' type='@' declared_type='id' index='1'/>
514
- <retval type='v' declared_type='void'/>
515
- </method>
516
- <method selector='setValue:andPriority:withCompletionBlock:'>
517
- <arg name='value' type='@' declared_type='id' index='0'/>
518
- <arg name='priority' type='@' declared_type='id' index='1'/>
519
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(NSError *, Firebase *)' index='2'>
520
- <arg type='@' declared_type='NSError*'/>
521
- <arg type='@' declared_type='Firebase*'/>
522
- <retval type='v' declared_type='void'/>
523
- </arg>
524
- <retval type='v' declared_type='void'/>
525
- </method>
526
- <method selector='setValue:withCompletionBlock:'>
527
- <arg name='value' type='@' declared_type='id' index='0'/>
528
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(NSError *, Firebase *)' index='1'>
529
- <arg type='@' declared_type='NSError*'/>
530
- <arg type='@' declared_type='Firebase*'/>
531
- <retval type='v' declared_type='void'/>
532
- </arg>
533
- <retval type='v' declared_type='void'/>
534
- </method>
535
- <method selector='unauth'>
536
- <retval type='v' declared_type='void'/>
537
- </method>
538
- <method selector='updateChildValues:'>
539
- <arg name='values' type='@' declared_type='NSDictionary*' index='0'/>
540
- <retval type='v' declared_type='void'/>
541
- </method>
542
- <method selector='updateChildValues:withCompletionBlock:'>
543
- <arg name='values' type='@' declared_type='NSDictionary*' index='0'/>
544
- <arg name='block' type='@?' function_pointer='true' declared_type='void (^)(NSError *, Firebase *)' index='1'>
545
- <arg type='@' declared_type='NSError*'/>
546
- <arg type='@' declared_type='Firebase*'/>
547
- <retval type='v' declared_type='void'/>
548
- </arg>
549
- <retval type='v' declared_type='void'/>
550
- </method>
551
- </class>
552
- </signatures>
@@ -1,154 +0,0 @@
1
- <?xml version='1.0'?>
2
- <signatures version='1.0'>
3
- <enum name='FAErrorAccessNotGranted' value='-3'/>
4
- <enum name='FAErrorAccountNotFound' value='-4'/>
5
- <enum name='FAErrorAuthenticationProviderNotEnabled' value='-5'/>
6
- <enum name='FAErrorBadSystemToken' value='-7'/>
7
- <enum name='FAErrorInvalidEmail' value='-6'/>
8
- <enum name='FAErrorInvalidPassword' value='-2'/>
9
- <enum name='FAErrorUnknown' value='-9999'/>
10
- <enum name='FAErrorUserDoesNotExist' value='-1'/>
11
- <enum name='FAProviderFacebook' value='2'/>
12
- <enum name='FAProviderInvalid' value='-1'/>
13
- <enum name='FAProviderPassword' value='1'/>
14
- <enum name='FAProviderTwitter' value='3'/>
15
- <class name='FAUser'>
16
- <method selector='authToken'>
17
- <retval declared_type='NSString*' type='@'/>
18
- </method>
19
- <method selector='email'>
20
- <retval declared_type='NSString*' type='@'/>
21
- </method>
22
- <method selector='provider'>
23
- <retval declared_type='FAProvider' type='i'/>
24
- </method>
25
- <method selector='setAuthToken:'>
26
- <arg name='authToken' index='0' declared_type='NSString*' type='@'/>
27
- <retval declared_type='void' type='v'/>
28
- </method>
29
- <method selector='setEmail:'>
30
- <arg name='email' index='0' declared_type='NSString*' type='@'/>
31
- <retval declared_type='void' type='v'/>
32
- </method>
33
- <method selector='setProvider:'>
34
- <arg name='provider' index='0' declared_type='FAProvider' type='i'/>
35
- <retval declared_type='void' type='v'/>
36
- </method>
37
- <method selector='setThirdPartyUserAccount:'>
38
- <arg name='thirdPartyUserAccount' index='0' declared_type='ACAccount*' type='@'/>
39
- <retval declared_type='void' type='v'/>
40
- </method>
41
- <method selector='setThirdPartyUserData:'>
42
- <arg name='thirdPartyUserData' index='0' declared_type='NSDictionary*' type='@'/>
43
- <retval declared_type='void' type='v'/>
44
- </method>
45
- <method selector='setUserId:'>
46
- <arg name='userId' index='0' declared_type='NSString*' type='@'/>
47
- <retval declared_type='void' type='v'/>
48
- </method>
49
- <method selector='thirdPartyUserAccount'>
50
- <retval declared_type='ACAccount*' type='@'/>
51
- </method>
52
- <method selector='thirdPartyUserData'>
53
- <retval declared_type='NSDictionary*' type='@'/>
54
- </method>
55
- <method selector='userId'>
56
- <retval declared_type='NSString*' type='@'/>
57
- </method>
58
- </class>
59
- <class name='FirebaseSimpleLogin'>
60
- <method selector='changePasswordForEmail:oldPassword:newPassword:completionBlock:'>
61
- <arg name='email' index='0' declared_type='NSString*' type='@'/>
62
- <arg name='oldPassword' index='1' declared_type='NSString*' type='@'/>
63
- <arg name='newPassword' index='2' declared_type='NSString*' type='@'/>
64
- <arg name='block' function_pointer='true' index='3' declared_type='void (^)(NSError *, BOOL)' type='@?'>
65
- <arg declared_type='NSError*' type='@'/>
66
- <arg declared_type='BOOL' type='B'/>
67
- <retval declared_type='void' type='v'/>
68
- </arg>
69
- <retval declared_type='void' type='v'/>
70
- </method>
71
- <method selector='checkAuthStatusWithBlock:'>
72
- <arg name='block' function_pointer='true' index='0' declared_type='void (^)(NSError *, FAUser *)' type='@?'>
73
- <arg declared_type='NSError*' type='@'/>
74
- <arg declared_type='FAUser*' type='@'/>
75
- <retval declared_type='void' type='v'/>
76
- </arg>
77
- <retval declared_type='void' type='v'/>
78
- </method>
79
- <method selector='createFacebookUserWithToken:appId:withCompletionBlock:'>
80
- <arg name='token' index='0' declared_type='NSString*' type='@'/>
81
- <arg name='appId' index='1' declared_type='NSString*' type='@'/>
82
- <arg name='block' function_pointer='true' index='2' declared_type='void (^)(NSError *, FAUser *)' type='@?'>
83
- <arg declared_type='NSError*' type='@'/>
84
- <arg declared_type='FAUser*' type='@'/>
85
- <retval declared_type='void' type='v'/>
86
- </arg>
87
- <retval declared_type='void' type='v'/>
88
- </method>
89
- <method selector='createUserWithEmail:password:andCompletionBlock:'>
90
- <arg name='email' index='0' declared_type='NSString*' type='@'/>
91
- <arg name='password' index='1' declared_type='NSString*' type='@'/>
92
- <arg name='block' function_pointer='true' index='2' declared_type='void (^)(NSError *, FAUser *)' type='@?'>
93
- <arg declared_type='NSError*' type='@'/>
94
- <arg declared_type='FAUser*' type='@'/>
95
- <retval declared_type='void' type='v'/>
96
- </arg>
97
- <retval declared_type='void' type='v'/>
98
- </method>
99
- <method selector='initWithRef:'>
100
- <arg name='ref' index='0' declared_type='id' type='@'/>
101
- <retval declared_type='id' type='@'/>
102
- </method>
103
- <method selector='loginToFacebookAppWithId:permissions:audience:withCompletionBlock:'>
104
- <arg name='appId' index='0' declared_type='NSString*' type='@'/>
105
- <arg name='permissions' index='1' declared_type='NSArray*' type='@'/>
106
- <arg name='audience' index='2' declared_type='NSString*' type='@'/>
107
- <arg name='block' function_pointer='true' index='3' declared_type='void (^)(NSError *, FAUser *)' type='@?'>
108
- <arg declared_type='NSError*' type='@'/>
109
- <arg declared_type='FAUser*' type='@'/>
110
- <retval declared_type='void' type='v'/>
111
- </arg>
112
- <retval declared_type='void' type='v'/>
113
- </method>
114
- <method selector='loginToTwitterAppWithId:multipleAccountsHandler:withCompletionBlock:'>
115
- <arg name='appId' index='0' declared_type='NSString*' type='@'/>
116
- <arg name='accountSelection' function_pointer='true' index='1' declared_type='int (^)(NSArray *)' type='@?'>
117
- <arg declared_type='NSArray*' type='@'/>
118
- <retval declared_type='int' type='i'/>
119
- </arg>
120
- <arg name='block' function_pointer='true' index='2' declared_type='void (^)(NSError *, FAUser *)' type='@?'>
121
- <arg declared_type='NSError*' type='@'/>
122
- <arg declared_type='FAUser*' type='@'/>
123
- <retval declared_type='void' type='v'/>
124
- </arg>
125
- <retval declared_type='void' type='v'/>
126
- </method>
127
- <method selector='loginWithEmail:andPassword:withCompletionBlock:'>
128
- <arg name='email' index='0' declared_type='NSString*' type='@'/>
129
- <arg name='password' index='1' declared_type='NSString*' type='@'/>
130
- <arg name='block' function_pointer='true' index='2' declared_type='void (^)(NSError *, FAUser *)' type='@?'>
131
- <arg declared_type='NSError*' type='@'/>
132
- <arg declared_type='FAUser*' type='@'/>
133
- <retval declared_type='void' type='v'/>
134
- </arg>
135
- <retval declared_type='void' type='v'/>
136
- </method>
137
- <method selector='logout'>
138
- <retval declared_type='void' type='v'/>
139
- </method>
140
- <method selector='removeUserWithEmail:password:andCompletionBlock:'>
141
- <arg name='email' index='0' declared_type='NSString*' type='@'/>
142
- <arg name='password' index='1' declared_type='NSString*' type='@'/>
143
- <arg name='block' function_pointer='true' index='2' declared_type='void (^)(NSError *, BOOL)' type='@?'>
144
- <arg declared_type='NSError*' type='@'/>
145
- <arg declared_type='BOOL' type='B'/>
146
- <retval declared_type='void' type='v'/>
147
- </arg>
148
- <retval declared_type='void' type='v'/>
149
- </method>
150
- <method class_method='true' selector='sdkVersion'>
151
- <retval declared_type='NSString*' type='@'/>
152
- </method>
153
- </class>
154
- </signatures>