motion-firebase 2.1.5 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (31) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +192 -64
  3. data/lib/firebase-auth/firebase_simple_login.rb +0 -76
  4. data/lib/firebase/fdata_snapshot.rb +4 -0
  5. data/lib/firebase/firebase.rb +53 -42
  6. data/lib/firebase/firebase_auth.rb +219 -0
  7. data/lib/firebase/firebase_facebook_helper.rb +24 -0
  8. data/lib/firebase/firebase_github_helper.rb +20 -0
  9. data/lib/firebase/firebase_twitter_helper.rb +169 -0
  10. data/lib/firebase/fquery.rb +16 -4
  11. data/lib/firebase/version.rb +2 -1
  12. data/lib/motion-firebase-auth.rb +3 -11
  13. data/lib/motion-firebase.rb +3 -1
  14. metadata +6 -19
  15. data/lib/vendor/Firebase.framework/Firebase +0 -0
  16. data/lib/vendor/Firebase.framework/Versions/A/Firebase +0 -0
  17. data/lib/vendor/Firebase.framework/Versions/A/Headers/FDataSnapshot.h +0 -146
  18. data/lib/vendor/Firebase.framework/Versions/A/Headers/FEventType.h +0 -43
  19. data/lib/vendor/Firebase.framework/Versions/A/Headers/FMutableData.h +0 -139
  20. data/lib/vendor/Firebase.framework/Versions/A/Headers/FQuery.h +0 -229
  21. data/lib/vendor/Firebase.framework/Versions/A/Headers/FTransactionResult.h +0 -50
  22. data/lib/vendor/Firebase.framework/Versions/A/Headers/Firebase.h +0 -707
  23. data/lib/vendor/Firebase.framework/build-MacOSX/Firebase.framework.bridgesupport +0 -582
  24. data/lib/vendor/Firebase.framework/build-iPhoneSimulator/Firebase.framework.bridgesupport +0 -582
  25. data/lib/vendor/FirebaseSimpleLogin.framework/FirebaseSimpleLogin +0 -0
  26. data/lib/vendor/FirebaseSimpleLogin.framework/Versions/A/FirebaseSimpleLogin +0 -0
  27. data/lib/vendor/FirebaseSimpleLogin.framework/Versions/A/Headers/FATypes.h +0 -52
  28. data/lib/vendor/FirebaseSimpleLogin.framework/Versions/A/Headers/FAUser.h +0 -97
  29. data/lib/vendor/FirebaseSimpleLogin.framework/Versions/A/Headers/FirebaseSimpleLogin.h +0 -221
  30. data/lib/vendor/FirebaseSimpleLogin.framework/build-MacOSX/FirebaseSimpleLogin.framework.bridgesupport +0 -230
  31. data/lib/vendor/FirebaseSimpleLogin.framework/build-iPhoneSimulator/FirebaseSimpleLogin.framework.bridgesupport +0 -230
@@ -1,230 +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='FAProviderAnonymous' value='4'/>
12
- <enum name='FAProviderFacebook' value='2'/>
13
- <enum name='FAProviderGoogle' value='5'/>
14
- <enum name='FAProviderInvalid' value='-1'/>
15
- <enum name='FAProviderPassword' value='1'/>
16
- <enum name='FAProviderTwitter' value='3'/>
17
- <class name='FAUser'>
18
- <method selector='authToken'>
19
- <retval declared_type='NSString*' type='@'/>
20
- </method>
21
- <method selector='email'>
22
- <retval declared_type='NSString*' type='@'/>
23
- </method>
24
- <method selector='isTemporaryPassword'>
25
- <retval declared_type='BOOL*' type='^B'/>
26
- </method>
27
- <method selector='provider'>
28
- <retval declared_type='FAProvider' type='i'/>
29
- </method>
30
- <method selector='setAuthToken:'>
31
- <arg declared_type='NSString*' index='0' name='authToken' type='@'/>
32
- <retval declared_type='void' type='v'/>
33
- </method>
34
- <method selector='setEmail:'>
35
- <arg declared_type='NSString*' index='0' name='email' type='@'/>
36
- <retval declared_type='void' type='v'/>
37
- </method>
38
- <method selector='setIsTemporaryPassword:'>
39
- <arg declared_type='BOOL*' index='0' name='isTemporaryPassword' type='^B'/>
40
- <retval declared_type='void' type='v'/>
41
- </method>
42
- <method selector='setProvider:'>
43
- <arg declared_type='FAProvider' index='0' name='provider' type='i'/>
44
- <retval declared_type='void' type='v'/>
45
- </method>
46
- <method selector='setThirdPartyUserAccount:'>
47
- <arg declared_type='ACAccount*' index='0' name='thirdPartyUserAccount' type='@'/>
48
- <retval declared_type='void' type='v'/>
49
- </method>
50
- <method selector='setThirdPartyUserData:'>
51
- <arg declared_type='NSDictionary*' index='0' name='thirdPartyUserData' type='@'/>
52
- <retval declared_type='void' type='v'/>
53
- </method>
54
- <method selector='setUid:'>
55
- <arg declared_type='NSString*' index='0' name='uid' type='@'/>
56
- <retval declared_type='void' type='v'/>
57
- </method>
58
- <method selector='setUserId:'>
59
- <arg declared_type='NSString*' index='0' name='userId' type='@'/>
60
- <retval declared_type='void' type='v'/>
61
- </method>
62
- <method selector='thirdPartyUserAccount'>
63
- <retval declared_type='ACAccount*' type='@'/>
64
- </method>
65
- <method selector='thirdPartyUserData'>
66
- <retval declared_type='NSDictionary*' type='@'/>
67
- </method>
68
- <method selector='uid'>
69
- <retval declared_type='NSString*' type='@'/>
70
- </method>
71
- <method selector='userId'>
72
- <retval declared_type='NSString*' type='@'/>
73
- </method>
74
- </class>
75
- <class name='FirebaseSimpleLogin'>
76
- <method selector='changePasswordForEmail:oldPassword:newPassword:completionBlock:'>
77
- <arg declared_type='NSString*' index='0' name='email' type='@'/>
78
- <arg declared_type='NSString*' index='1' name='oldPassword' type='@'/>
79
- <arg declared_type='NSString*' index='2' name='newPassword' type='@'/>
80
- <arg declared_type='void (^)(NSError *, BOOL)' function_pointer='true' index='3' name='block' type='@?'>
81
- <arg declared_type='NSError*' type='@'/>
82
- <arg declared_type='BOOL' type='B'/>
83
- <retval declared_type='void' type='v'/>
84
- </arg>
85
- <retval declared_type='void' type='v'/>
86
- </method>
87
- <method selector='checkAuthStatusWithBlock:'>
88
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='0' name='block' type='@?'>
89
- <arg declared_type='NSError*' type='@'/>
90
- <arg declared_type='FAUser*' type='@'/>
91
- <retval declared_type='void' type='v'/>
92
- </arg>
93
- <retval declared_type='void' type='v'/>
94
- </method>
95
- <method selector='createFacebookUserWithToken:appId:withCompletionBlock:'>
96
- <arg declared_type='NSString*' index='0' name='token' type='@'/>
97
- <arg declared_type='NSString*' index='1' name='appId' type='@'/>
98
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='2' name='block' type='@?'>
99
- <arg declared_type='NSError*' type='@'/>
100
- <arg declared_type='FAUser*' type='@'/>
101
- <retval declared_type='void' type='v'/>
102
- </arg>
103
- <retval declared_type='void' type='v'/>
104
- </method>
105
- <method selector='createUserWithEmail:password:andCompletionBlock:'>
106
- <arg declared_type='NSString*' index='0' name='email' type='@'/>
107
- <arg declared_type='NSString*' index='1' name='password' type='@'/>
108
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='2' name='block' type='@?'>
109
- <arg declared_type='NSError*' type='@'/>
110
- <arg declared_type='FAUser*' type='@'/>
111
- <retval declared_type='void' type='v'/>
112
- </arg>
113
- <retval declared_type='void' type='v'/>
114
- </method>
115
- <method selector='initWithRef:'>
116
- <arg declared_type='id' index='0' name='ref' type='@'/>
117
- <retval declared_type='id' type='@'/>
118
- </method>
119
- <method selector='initWithRef:andOptions:'>
120
- <arg declared_type='id' index='0' name='aRef' type='@'/>
121
- <arg declared_type='NSDictionary*' index='1' name='options' type='@'/>
122
- <retval declared_type='id' type='@'/>
123
- </method>
124
- <method selector='loginAnonymouslywithCompletionBlock:'>
125
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='0' name='block' type='@?'>
126
- <arg declared_type='NSError*' type='@'/>
127
- <arg declared_type='FAUser*' type='@'/>
128
- <retval declared_type='void' type='v'/>
129
- </arg>
130
- <retval declared_type='void' type='v'/>
131
- </method>
132
- <method selector='loginToFacebookAppWithId:permissions:audience:withCompletionBlock:'>
133
- <arg declared_type='NSString*' index='0' name='appId' type='@'/>
134
- <arg declared_type='NSArray*' index='1' name='permissions' type='@'/>
135
- <arg declared_type='NSString*' index='2' name='audience' type='@'/>
136
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='3' name='block' type='@?'>
137
- <arg declared_type='NSError*' type='@'/>
138
- <arg declared_type='FAUser*' type='@'/>
139
- <retval declared_type='void' type='v'/>
140
- </arg>
141
- <retval declared_type='void' type='v'/>
142
- </method>
143
- <method selector='loginToGoogleWithAccessToken:withCompletionBlock:'>
144
- <arg declared_type='NSString*' index='0' name='accessToken' type='@'/>
145
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='1' name='block' type='@?'>
146
- <arg declared_type='NSError*' type='@'/>
147
- <arg declared_type='FAUser*' type='@'/>
148
- <retval declared_type='void' type='v'/>
149
- </arg>
150
- <retval declared_type='void' type='v'/>
151
- </method>
152
- <method selector='loginToTwitterAppWithId:multipleAccountsHandler:withCompletionBlock:'>
153
- <arg declared_type='NSString*' index='0' name='appId' type='@'/>
154
- <arg declared_type='int (^)(NSArray *)' function_pointer='true' index='1' name='accountSelection' type='@?'>
155
- <arg declared_type='NSArray*' type='@'/>
156
- <retval declared_type='int' type='i'/>
157
- </arg>
158
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='2' name='block' type='@?'>
159
- <arg declared_type='NSError*' type='@'/>
160
- <arg declared_type='FAUser*' type='@'/>
161
- <retval declared_type='void' type='v'/>
162
- </arg>
163
- <retval declared_type='void' type='v'/>
164
- </method>
165
- <method selector='loginWithEmail:andPassword:withCompletionBlock:'>
166
- <arg declared_type='NSString*' index='0' name='email' type='@'/>
167
- <arg declared_type='NSString*' index='1' name='password' type='@'/>
168
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='2' name='block' type='@?'>
169
- <arg declared_type='NSError*' type='@'/>
170
- <arg declared_type='FAUser*' type='@'/>
171
- <retval declared_type='void' type='v'/>
172
- </arg>
173
- <retval declared_type='void' type='v'/>
174
- </method>
175
- <method selector='loginWithFacebookWithAccessToken:withCompletionBlock:'>
176
- <arg declared_type='NSString*' index='0' name='accessToken' type='@'/>
177
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='1' name='block' type='@?'>
178
- <arg declared_type='NSError*' type='@'/>
179
- <arg declared_type='FAUser*' type='@'/>
180
- <retval declared_type='void' type='v'/>
181
- </arg>
182
- <retval declared_type='void' type='v'/>
183
- </method>
184
- <method selector='loginWithGoogleWithAccessToken:withCompletionBlock:'>
185
- <arg declared_type='NSString*' index='0' name='accessToken' type='@'/>
186
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='1' name='block' type='@?'>
187
- <arg declared_type='NSError*' type='@'/>
188
- <arg declared_type='FAUser*' type='@'/>
189
- <retval declared_type='void' type='v'/>
190
- </arg>
191
- <retval declared_type='void' type='v'/>
192
- </method>
193
- <method selector='loginWithTwitterWithAccessToken:andAccessTokenSecret:andTwitterUserId:withCompletionBlock:'>
194
- <arg declared_type='NSString*' index='0' name='accessToken' type='@'/>
195
- <arg declared_type='NSString*' index='1' name='accessTokenSecret' type='@'/>
196
- <arg declared_type='NSString*' index='2' name='twitterUserId' type='@'/>
197
- <arg declared_type='void (^)(NSError *, FAUser *)' function_pointer='true' index='3' name='block' type='@?'>
198
- <arg declared_type='NSError*' type='@'/>
199
- <arg declared_type='FAUser*' type='@'/>
200
- <retval declared_type='void' type='v'/>
201
- </arg>
202
- <retval declared_type='void' type='v'/>
203
- </method>
204
- <method selector='logout'>
205
- <retval declared_type='void' type='v'/>
206
- </method>
207
- <method selector='removeUserWithEmail:password:andCompletionBlock:'>
208
- <arg declared_type='NSString*' index='0' name='email' type='@'/>
209
- <arg declared_type='NSString*' index='1' name='password' type='@'/>
210
- <arg declared_type='void (^)(NSError *, BOOL)' function_pointer='true' index='2' name='block' type='@?'>
211
- <arg declared_type='NSError*' type='@'/>
212
- <arg declared_type='BOOL' type='B'/>
213
- <retval declared_type='void' type='v'/>
214
- </arg>
215
- <retval declared_type='void' type='v'/>
216
- </method>
217
- <method class_method='true' selector='sdkVersion'>
218
- <retval declared_type='NSString*' type='@'/>
219
- </method>
220
- <method selector='sendPasswordResetForEmail:andCompletionBlock:'>
221
- <arg declared_type='NSString*' index='0' name='email' type='@'/>
222
- <arg declared_type='void (^)(NSError *, BOOL)' function_pointer='true' index='1' name='block' type='@?'>
223
- <arg declared_type='NSError*' type='@'/>
224
- <arg declared_type='BOOL' type='B'/>
225
- <retval declared_type='void' type='v'/>
226
- </arg>
227
- <retval declared_type='void' type='v'/>
228
- </method>
229
- </class>
230
- </signatures>