fluent-plugin-ncmb 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +1 -1
- data/LICENSE.txt +839 -2
- data/README.md +10 -4
- data/fluent-plugin-ncmb.gemspec +4 -14
- data/lib/fluent/plugin/out_ncmb.rb +34 -9
- metadata +8 -38
- data/CODE_OF_CONDUCT.md +0 -13
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9929e506d9ba3e9fdeb4b44f3b1484568833ea93
|
4
|
+
data.tar.gz: cde9d2d4e467da8199235762377e19a2d8957738
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00c9dca22573fb0c48ada43a87d80c753378d3fbd7c71ed1d578e0eabe1ca89aadc3671ee99cf65f23dd8d415a25e97f39fe56a0c0e8cf9fa6fbf95704fd8710
|
7
|
+
data.tar.gz: afaf9af888ad0a131b38143432890af0d82d38b85ac69a32e9bd7056104070a8a418ac2a5d9738f029360e157391fd191d9c5963b4fa43f0fdff99c1e145684e
|
data/.gitignore
CHANGED
data/LICENSE.txt
CHANGED
@@ -1,6 +1,818 @@
|
|
1
|
-
|
1
|
+
Copyright (c) 2015 suzuki.yuta
|
2
|
+
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
you may not use this file except in compliance with the License.
|
5
|
+
You may obtain a copy of the License at
|
6
|
+
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
See the License for the specific language governing permissions and
|
13
|
+
limitations under the License.
|
2
14
|
|
3
|
-
|
15
|
+
|
16
|
+
And it is licensed under the MIT license. See the bottom of LICENSE file for the details.
|
17
|
+
|
18
|
+
Apache License
|
19
|
+
Version 2.0, January 2004
|
20
|
+
http://www.apache.org/licenses/
|
21
|
+
|
22
|
+
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
23
|
+
|
24
|
+
1. Definitions.
|
25
|
+
|
26
|
+
"License" shall mean the terms and conditions for use, reproduction,
|
27
|
+
and distribution as defined by Sections 1 through 9 of this document.
|
28
|
+
|
29
|
+
"Licensor" shall mean the copyright owner or entity authorized by
|
30
|
+
the copyright owner that is granting the License.
|
31
|
+
|
32
|
+
"Legal Entity" shall mean the union of the acting entity and all
|
33
|
+
other entities that control, are controlled by, or are under common
|
34
|
+
control with that entity. For the purposes of this definition,
|
35
|
+
"control" means (i) the power, direct or indirect, to cause the
|
36
|
+
direction or management of such entity, whether by contract or
|
37
|
+
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
38
|
+
outstanding shares, or (iii) beneficial ownership of such entity.
|
39
|
+
|
40
|
+
"You" (or "Your") shall mean an individual or Legal Entity
|
41
|
+
exercising permissions granted by this License.
|
42
|
+
|
43
|
+
"Source" form shall mean the preferred form for making modifications,
|
44
|
+
including but not limited to software source code, documentation
|
45
|
+
source, and configuration files.
|
46
|
+
|
47
|
+
"Object" form shall mean any form resulting from mechanical
|
48
|
+
transformation or translation of a Source form, including but
|
49
|
+
not limited to compiled object code, generated documentation,
|
50
|
+
and conversions to other media types.
|
51
|
+
|
52
|
+
"Work" shall mean the work of authorship, whether in Source or
|
53
|
+
Object form, made available under the License, as indicated by a
|
54
|
+
copyright notice that is included in or attached to the work
|
55
|
+
(an example is provided in the Appendix below).
|
56
|
+
|
57
|
+
"Derivative Works" shall mean any work, whether in Source or Object
|
58
|
+
form, that is based on (or derived from) the Work and for which the
|
59
|
+
editorial revisions, annotations, elaborations, or other modifications
|
60
|
+
represent, as a whole, an original work of authorship. For the purposes
|
61
|
+
of this License, Derivative Works shall not include works that remain
|
62
|
+
separable from, or merely link (or bind by name) to the interfaces of,
|
63
|
+
the Work and Derivative Works thereof.
|
64
|
+
|
65
|
+
"Contribution" shall mean any work of authorship, including
|
66
|
+
the original version of the Work and any modifications or additions
|
67
|
+
to that Work or Derivative Works thereof, that is intentionally
|
68
|
+
submitted to Licensor for inclusion in the Work by the copyright owner
|
69
|
+
or by an individual or Legal Entity authorized to submit on behalf of
|
70
|
+
the copyright owner. For the purposes of this definition, "submitted"
|
71
|
+
means any form of electronic, verbal, or written communication sent
|
72
|
+
to the Licensor or its representatives, including but not limited to
|
73
|
+
communication on electronic mailing lists, source code control systems,
|
74
|
+
and issue tracking systems that are managed by, or on behalf of, the
|
75
|
+
Licensor for the purpose of discussing and improving the Work, but
|
76
|
+
excluding communication that is conspicuously marked or otherwise
|
77
|
+
designated in writing by the copyright owner as "Not a Contribution."
|
78
|
+
|
79
|
+
"Contributor" shall mean Licensor and any individual or Legal Entity
|
80
|
+
on behalf of whom a Contribution has been received by Licensor and
|
81
|
+
subsequently incorporated within the Work.
|
82
|
+
|
83
|
+
2. Grant of Copyright License. Subject to the terms and conditions of
|
84
|
+
this License, each Contributor hereby grants to You a perpetual,
|
85
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
86
|
+
copyright license to reproduce, prepare Derivative Works of,
|
87
|
+
publicly display, publicly perform, sublicense, and distribute the
|
88
|
+
Work and such Derivative Works in Source or Object form.
|
89
|
+
|
90
|
+
3. Grant of Patent License. Subject to the terms and conditions of
|
91
|
+
this License, each Contributor hereby grants to You a perpetual,
|
92
|
+
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
93
|
+
(except as stated in this section) patent license to make, have made,
|
94
|
+
use, offer to sell, sell, import, and otherwise transfer the Work,
|
95
|
+
where such license applies only to those patent claims licensable
|
96
|
+
by such Contributor that are necessarily infringed by their
|
97
|
+
Contribution(s) alone or by combination of their Contribution(s)
|
98
|
+
with the Work to which such Contribution(s) was submitted. If You
|
99
|
+
institute patent litigation against any entity (including a
|
100
|
+
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
101
|
+
or a Contribution incorporated within the Work constitutes direct
|
102
|
+
or contributory patent infringement, then any patent licenses
|
103
|
+
granted to You under this License for that Work shall terminate
|
104
|
+
as of the date such litigation is filed.
|
105
|
+
|
106
|
+
4. Redistribution. You may reproduce and distribute copies of the
|
107
|
+
Work or Derivative Works thereof in any medium, with or without
|
108
|
+
modifications, and in Source or Object form, provided that You
|
109
|
+
meet the following conditions:
|
110
|
+
|
111
|
+
(a) You must give any other recipients of the Work or
|
112
|
+
Derivative Works a copy of this License; and
|
113
|
+
|
114
|
+
(b) You must cause any modified files to carry prominent notices
|
115
|
+
stating that You changed the files; and
|
116
|
+
|
117
|
+
(c) You must retain, in the Source form of any Derivative Works
|
118
|
+
that You distribute, all copyright, patent, trademark, and
|
119
|
+
attribution notices from the Source form of the Work,
|
120
|
+
excluding those notices that do not pertain to any part of
|
121
|
+
the Derivative Works; and
|
122
|
+
|
123
|
+
(d) If the Work includes a "NOTICE" text file as part of its
|
124
|
+
distribution, then any Derivative Works that You distribute must
|
125
|
+
include a readable copy of the attribution notices contained
|
126
|
+
within such NOTICE file, excluding those notices that do not
|
127
|
+
pertain to any part of the Derivative Works, in at least one
|
128
|
+
of the following places: within a NOTICE text file distributed
|
129
|
+
as part of the Derivative Works; within the Source form or
|
130
|
+
documentation, if provided along with the Derivative Works; or,
|
131
|
+
within a display generated by the Derivative Works, if and
|
132
|
+
wherever such third-party notices normally appear. The contents
|
133
|
+
of the NOTICE file are for informational purposes only and
|
134
|
+
do not modify the License. You may add Your own attribution
|
135
|
+
notices within Derivative Works that You distribute, alongside
|
136
|
+
or as an addendum to the NOTICE text from the Work, provided
|
137
|
+
that such additional attribution notices cannot be construed
|
138
|
+
as modifying the License.
|
139
|
+
|
140
|
+
You may add Your own copyright statement to Your modifications and
|
141
|
+
may provide additional or different license terms and conditions
|
142
|
+
for use, reproduction, or distribution of Your modifications, or
|
143
|
+
for any such Derivative Works as a whole, provided Your use,
|
144
|
+
reproduction, and distribution of the Work otherwise complies with
|
145
|
+
the conditions stated in this License.
|
146
|
+
|
147
|
+
5. Submission of Contributions. Unless You explicitly state otherwise,
|
148
|
+
any Contribution intentionally submitted for inclusion in the Work
|
149
|
+
by You to the Licensor shall be under the terms and conditions of
|
150
|
+
this License, without any additional terms or conditions.
|
151
|
+
Notwithstanding the above, nothing herein shall supersede or modify
|
152
|
+
the terms of any separate license agreement you may have executed
|
153
|
+
with Licensor regarding such Contributions.
|
154
|
+
|
155
|
+
6. Trademarks. This License does not grant permission to use the trade
|
156
|
+
names, trademarks, service marks, or product names of the Licensor,
|
157
|
+
except as required for reasonable and customary use in describing the
|
158
|
+
origin of the Work and reproducing the content of the NOTICE file.
|
159
|
+
|
160
|
+
7. Disclaimer of Warranty. Unless required by applicable law or
|
161
|
+
agreed to in writing, Licensor provides the Work (and each
|
162
|
+
Contributor provides its Contributions) on an "AS IS" BASIS,
|
163
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
164
|
+
implied, including, without limitation, any warranties or conditions
|
165
|
+
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
166
|
+
PARTICULAR PURPOSE. You are solely responsible for determining the
|
167
|
+
appropriateness of using or redistributing the Work and assume any
|
168
|
+
risks associated with Your exercise of permissions under this License.
|
169
|
+
|
170
|
+
8. Limitation of Liability. In no event and under no legal theory,
|
171
|
+
whether in tort (including negligence), contract, or otherwise,
|
172
|
+
unless required by applicable law (such as deliberate and grossly
|
173
|
+
negligent acts) or agreed to in writing, shall any Contributor be
|
174
|
+
liable to You for damages, including any direct, indirect, special,
|
175
|
+
incidental, or consequential damages of any character arising as a
|
176
|
+
result of this License or out of the use or inability to use the
|
177
|
+
Work (including but not limited to damages for loss of goodwill,
|
178
|
+
work stoppage, computer failure or malfunction, or any and all
|
179
|
+
other commercial damages or losses), even if such Contributor
|
180
|
+
has been advised of the possibility of such damages.
|
181
|
+
|
182
|
+
9. Accepting Warranty or Additional Liability. While redistributing
|
183
|
+
the Work or Derivative Works thereof, You may choose to offer,
|
184
|
+
and charge a fee for, acceptance of support, warranty, indemnity,
|
185
|
+
or other liability obligations and/or rights consistent with this
|
186
|
+
License. However, in accepting such obligations, You may act only
|
187
|
+
on Your own behalf and on Your sole responsibility, not on behalf
|
188
|
+
of any other Contributor, and only if You agree to indemnify,
|
189
|
+
defend, and hold each Contributor harmless for any liability
|
190
|
+
incurred by, or claims asserted against, such Contributor by reason
|
191
|
+
of your accepting any such warranty or additional liability.
|
192
|
+
|
193
|
+
END OF TERMS AND CONDITIONS
|
194
|
+
|
195
|
+
APPENDIX: How to apply the Apache License to your work.
|
196
|
+
|
197
|
+
To apply the Apache License to your work, attach the following
|
198
|
+
boilerplate notice, with the fields enclosed by brackets "[]"
|
199
|
+
replaced with your own identifying information. (Don't include
|
200
|
+
the brackets!) The text should be enclosed in the appropriate
|
201
|
+
comment syntax for the file format. We also recommend that a
|
202
|
+
file or class name and description of purpose be included on the
|
203
|
+
same "printed page" as the copyright notice for easier
|
204
|
+
identification within third-party archives.
|
205
|
+
|
206
|
+
Copyright [yyyy] [name of copyright owner]
|
207
|
+
|
208
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
209
|
+
you may not use this file except in compliance with the License.
|
210
|
+
You may obtain a copy of the License at
|
211
|
+
|
212
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
213
|
+
|
214
|
+
Unless required by applicable law or agreed to in writing, software
|
215
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
216
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
217
|
+
See the License for the specific language governing permissions and
|
218
|
+
limitations under the License.
|
219
|
+
|
220
|
+
|
221
|
+
|
222
|
+
NSMutableURLRequest+Parameters.h
|
223
|
+
|
224
|
+
Created by Jon Crosby on 10/19/07.
|
225
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
226
|
+
|
227
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
228
|
+
of this software and associated documentation files (the "Software"), to deal
|
229
|
+
in the Software without restriction, including without limitation the rights
|
230
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
231
|
+
copies of the Software, and to permit persons to whom the Software is
|
232
|
+
furnished to do so, subject to the following conditions:
|
233
|
+
|
234
|
+
The above copyright notice and this permission notice shall be included in
|
235
|
+
all copies or substantial portions of the Software.
|
236
|
+
|
237
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
238
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
239
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
240
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
241
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
242
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
243
|
+
THE SOFTWARE.
|
244
|
+
|
245
|
+
|
246
|
+
|
247
|
+
NSMutableURLRequest+Parameters.m
|
248
|
+
|
249
|
+
Created by Jon Crosby on 10/19/07.
|
250
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
251
|
+
|
252
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
253
|
+
of this software and associated documentation files (the "Software"), to deal
|
254
|
+
in the Software without restriction, including without limitation the rights
|
255
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
256
|
+
copies of the Software, and to permit persons to whom the Software is
|
257
|
+
furnished to do so, subject to the following conditions:
|
258
|
+
|
259
|
+
The above copyright notice and this permission notice shall be included in
|
260
|
+
all copies or substantial portions of the Software.
|
261
|
+
|
262
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
263
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
264
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
265
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
266
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
267
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
268
|
+
THE SOFTWARE.
|
269
|
+
|
270
|
+
|
271
|
+
NSString+URLEncoding.h
|
272
|
+
|
273
|
+
Created by Jon Crosby on 10/19/07.
|
274
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
275
|
+
|
276
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
277
|
+
of this software and associated documentation files (the "Software"), to deal
|
278
|
+
in the Software without restriction, including without limitation the rights
|
279
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
280
|
+
copies of the Software, and to permit persons to whom the Software is
|
281
|
+
furnished to do so, subject to the following conditions:
|
282
|
+
|
283
|
+
The above copyright notice and this permission notice shall be included in
|
284
|
+
all copies or substantial portions of the Software.
|
285
|
+
|
286
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
287
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
288
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
289
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
290
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
291
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
292
|
+
THE SOFTWARE.
|
293
|
+
|
294
|
+
|
295
|
+
NSString+URLEncoding.m
|
296
|
+
|
297
|
+
Created by Jon Crosby on 10/19/07.
|
298
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
299
|
+
|
300
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
301
|
+
of this software and associated documentation files (the "Software"), to deal
|
302
|
+
in the Software without restriction, including without limitation the rights
|
303
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
304
|
+
copies of the Software, and to permit persons to whom the Software is
|
305
|
+
furnished to do so, subject to the following conditions:
|
306
|
+
|
307
|
+
The above copyright notice and this permission notice shall be included in
|
308
|
+
all copies or substantial portions of the Software.
|
309
|
+
|
310
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
311
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
312
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
313
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
314
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
315
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
316
|
+
THE SOFTWARE.
|
317
|
+
|
318
|
+
|
319
|
+
NSURL+Base.h
|
320
|
+
OAuthConsumer
|
321
|
+
|
322
|
+
Created by Jon Crosby on 10/19/07.
|
323
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
324
|
+
|
325
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
326
|
+
of this software and associated documentation files (the "Software"), to deal
|
327
|
+
in the Software without restriction, including without limitation the rights
|
328
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
329
|
+
copies of the Software, and to permit persons to whom the Software is
|
330
|
+
furnished to do so, subject to the following conditions:
|
331
|
+
|
332
|
+
The above copyright notice and this permission notice shall be included in
|
333
|
+
all copies or substantial portions of the Software.
|
334
|
+
|
335
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
336
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
337
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
338
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
339
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
340
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
341
|
+
THE SOFTWARE.
|
342
|
+
|
343
|
+
|
344
|
+
NSURL+Base.m
|
345
|
+
OAuthConsumer
|
346
|
+
|
347
|
+
Created by Jon Crosby on 10/19/07.
|
348
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
349
|
+
|
350
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
351
|
+
of this software and associated documentation files (the "Software"), to deal
|
352
|
+
in the Software without restriction, including without limitation the rights
|
353
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
354
|
+
copies of the Software, and to permit persons to whom the Software is
|
355
|
+
furnished to do so, subject to the following conditions:
|
356
|
+
|
357
|
+
The above copyright notice and this permission notice shall be included in
|
358
|
+
all copies or substantial portions of the Software.
|
359
|
+
|
360
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
361
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
362
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
363
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
364
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
365
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
366
|
+
THE SOFTWARE.
|
367
|
+
|
368
|
+
|
369
|
+
Base64Transcoder.c
|
370
|
+
Base64Test
|
371
|
+
|
372
|
+
Created by Jonathan Wight on Tue Mar 18 2003.
|
373
|
+
Copyright (c) 2003 Toxic Software. All rights reserved.
|
374
|
+
|
375
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
376
|
+
of this software and associated documentation files (the "Software"), to deal
|
377
|
+
in the Software without restriction, including without limitation the rights
|
378
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
379
|
+
copies of the Software, and to permit persons to whom the Software is
|
380
|
+
furnished to do so, subject to the following conditions:
|
381
|
+
|
382
|
+
The above copyright notice and this permission notice shall be included in
|
383
|
+
all copies or substantial portions of the Software.
|
384
|
+
|
385
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
386
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
387
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
388
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
389
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
390
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
391
|
+
THE SOFTWARE.
|
392
|
+
|
393
|
+
|
394
|
+
|
395
|
+
|
396
|
+
Base64Transcoder.h
|
397
|
+
Base64Test
|
398
|
+
|
399
|
+
Created by Jonathan Wight on Tue Mar 18 2003.
|
400
|
+
Copyright (c) 2003 Toxic Software. All rights reserved.
|
401
|
+
|
402
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
403
|
+
of this software and associated documentation files (the "Software"), to deal
|
404
|
+
in the Software without restriction, including without limitation the rights
|
405
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
406
|
+
copies of the Software, and to permit persons to whom the Software is
|
407
|
+
furnished to do so, subject to the following conditions:
|
408
|
+
|
409
|
+
The above copyright notice and this permission notice shall be included in
|
410
|
+
all copies or substantial portions of the Software.
|
411
|
+
|
412
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
413
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
414
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
415
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
416
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
417
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
418
|
+
THE SOFTWARE.
|
419
|
+
|
420
|
+
|
421
|
+
|
422
|
+
|
423
|
+
hmac.c
|
424
|
+
OAuthConsumer
|
425
|
+
|
426
|
+
Created by Jonathan Wight on 4/8/8.
|
427
|
+
Copyright 2008 Jonathan Wight. All rights reserved.
|
428
|
+
|
429
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
430
|
+
of this software and associated documentation files (the "Software"), to deal
|
431
|
+
in the Software without restriction, including without limitation the rights
|
432
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
433
|
+
copies of the Software, and to permit persons to whom the Software is
|
434
|
+
furnished to do so, subject to the following conditions:
|
435
|
+
|
436
|
+
The above copyright notice and this permission notice shall be included in
|
437
|
+
all copies or substantial portions of the Software.
|
438
|
+
|
439
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
440
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
441
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
442
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
443
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
444
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
445
|
+
THE SOFTWARE.
|
446
|
+
|
447
|
+
|
448
|
+
hmac.h
|
449
|
+
OAuthConsumer
|
450
|
+
|
451
|
+
Created by Jonathan Wight on 4/8/8.
|
452
|
+
Copyright 2008 Jonathan Wight. All rights reserved.
|
453
|
+
|
454
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
455
|
+
of this software and associated documentation files (the "Software"), to deal
|
456
|
+
in the Software without restriction, including without limitation the rights
|
457
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
458
|
+
copies of the Software, and to permit persons to whom the Software is
|
459
|
+
furnished to do so, subject to the following conditions:
|
460
|
+
|
461
|
+
The above copyright notice and this permission notice shall be included in
|
462
|
+
all copies or substantial portions of the Software.
|
463
|
+
|
464
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
465
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
466
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
467
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
468
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
469
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
470
|
+
THE SOFTWARE.
|
471
|
+
|
472
|
+
|
473
|
+
SHA-1 in C
|
474
|
+
By Steve Reid <steve@edmweb.com>
|
475
|
+
100% Public Domain
|
476
|
+
Test Vectors (from FIPS PUB 180-1)
|
477
|
+
"abc"
|
478
|
+
A9993E36 4706816A BA3E2571 7850C26C 9CD0D89D
|
479
|
+
"abcdbcdecdefdefgefghfghighijhijkijkljklmklmnlmnomnopnopq"
|
480
|
+
84983E44 1C3BD26E BAAE4AA1 F95129E5 E54670F1
|
481
|
+
A million repetitions of "a"
|
482
|
+
34AA973C D4C4DAA4 F61EEB2B DBAD2731 6534016F
|
483
|
+
|
484
|
+
|
485
|
+
|
486
|
+
OAConsumer.h
|
487
|
+
OAuthConsumer
|
488
|
+
|
489
|
+
Created by Jon Crosby on 10/19/07.
|
490
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
491
|
+
|
492
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
493
|
+
of this software and associated documentation files (the "Software"), to deal
|
494
|
+
in the Software without restriction, including without limitation the rights
|
495
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
496
|
+
copies of the Software, and to permit persons to whom the Software is
|
497
|
+
furnished to do so, subject to the following conditions:
|
498
|
+
|
499
|
+
The above copyright notice and this permission notice shall be included in
|
500
|
+
all copies or substantial portions of the Software.
|
501
|
+
|
502
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
503
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
504
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
505
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
506
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
507
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
508
|
+
THE SOFTWARE.
|
509
|
+
|
510
|
+
|
511
|
+
OAConsumer.m
|
512
|
+
OAuthConsumer
|
513
|
+
|
514
|
+
Created by Jon Crosby on 10/19/07.
|
515
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
516
|
+
|
517
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
518
|
+
of this software and associated documentation files (the "Software"), to deal
|
519
|
+
in the Software without restriction, including without limitation the rights
|
520
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
521
|
+
copies of the Software, and to permit persons to whom the Software is
|
522
|
+
furnished to do so, subject to the following conditions:
|
523
|
+
|
524
|
+
The above copyright notice and this permission notice shall be included in
|
525
|
+
all copies or substantial portions of the Software.
|
526
|
+
|
527
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
528
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
529
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
530
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
531
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
532
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
533
|
+
THE SOFTWARE.
|
534
|
+
|
535
|
+
|
536
|
+
OADataFetcher.h
|
537
|
+
OAuthConsumer
|
538
|
+
|
539
|
+
Created by Jon Crosby on 11/5/07.
|
540
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
541
|
+
|
542
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
543
|
+
of this software and associated documentation files (the "Software"), to deal
|
544
|
+
in the Software without restriction, including without limitation the rights
|
545
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
546
|
+
copies of the Software, and to permit persons to whom the Software is
|
547
|
+
furnished to do so, subject to the following conditions:
|
548
|
+
|
549
|
+
The above copyright notice and this permission notice shall be included in
|
550
|
+
all copies or substantial portions of the Software.
|
551
|
+
|
552
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
553
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
554
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
555
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
556
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
557
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
558
|
+
THE SOFTWARE.
|
559
|
+
|
560
|
+
|
561
|
+
OADataFetcher.m
|
562
|
+
OAuthConsumer
|
563
|
+
|
564
|
+
Created by Jon Crosby on 11/5/07.
|
565
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
566
|
+
|
567
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
568
|
+
of this software and associated documentation files (the "Software"), to deal
|
569
|
+
in the Software without restriction, including without limitation the rights
|
570
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
571
|
+
copies of the Software, and to permit persons to whom the Software is
|
572
|
+
furnished to do so, subject to the following conditions:
|
573
|
+
|
574
|
+
The above copyright notice and this permission notice shall be included in
|
575
|
+
all copies or substantial portions of the Software.
|
576
|
+
|
577
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
578
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
579
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
580
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
581
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
582
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
583
|
+
THE SOFTWARE.
|
584
|
+
|
585
|
+
|
586
|
+
OAHMAC_SHA1SignatureProvider.h
|
587
|
+
OAuthConsumer
|
588
|
+
|
589
|
+
Created by Jon Crosby on 10/19/07.
|
590
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
591
|
+
|
592
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
593
|
+
of this software and associated documentation files (the "Software"), to deal
|
594
|
+
in the Software without restriction, including without limitation the rights
|
595
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
596
|
+
copies of the Software, and to permit persons to whom the Software is
|
597
|
+
furnished to do so, subject to the following conditions:
|
598
|
+
|
599
|
+
The above copyright notice and this permission notice shall be included in
|
600
|
+
all copies or substantial portions of the Software.
|
601
|
+
|
602
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
603
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
604
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
605
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
606
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
607
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
608
|
+
THE SOFTWARE.
|
609
|
+
|
610
|
+
|
611
|
+
OAHMAC_SHA1SignatureProvider.m
|
612
|
+
OAuthConsumer
|
613
|
+
|
614
|
+
Created by Jon Crosby on 10/19/07.
|
615
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
616
|
+
|
617
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
618
|
+
of this software and associated documentation files (the "Software"), to deal
|
619
|
+
in the Software without restriction, including without limitation the rights
|
620
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
621
|
+
copies of the Software, and to permit persons to whom the Software is
|
622
|
+
furnished to do so, subject to the following conditions:
|
623
|
+
|
624
|
+
The above copyright notice and this permission notice shall be included in
|
625
|
+
all copies or substantial portions of the Software.
|
626
|
+
|
627
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
628
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
629
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
630
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
631
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
632
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
633
|
+
THE SOFTWARE.
|
634
|
+
|
635
|
+
|
636
|
+
OAMutableURLRequest.h
|
637
|
+
OAuthConsumer
|
638
|
+
|
639
|
+
Created by Jon Crosby on 10/19/07.
|
640
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
641
|
+
|
642
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
643
|
+
of this software and associated documentation files (the "Software"), to deal
|
644
|
+
in the Software without restriction, including without limitation the rights
|
645
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
646
|
+
copies of the Software, and to permit persons to whom the Software is
|
647
|
+
furnished to do so, subject to the following conditions:
|
648
|
+
|
649
|
+
The above copyright notice and this permission notice shall be included in
|
650
|
+
all copies or substantial portions of the Software.
|
651
|
+
|
652
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
653
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
654
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
655
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
656
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
657
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
658
|
+
THE SOFTWARE.
|
659
|
+
|
660
|
+
|
661
|
+
OAMutableURLRequest.m
|
662
|
+
OAuthConsumer
|
663
|
+
|
664
|
+
Created by Jon Crosby on 10/19/07.
|
665
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
666
|
+
|
667
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
668
|
+
of this software and associated documentation files (the "Software"), to deal
|
669
|
+
in the Software without restriction, including without limitation the rights
|
670
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
671
|
+
copies of the Software, and to permit persons to whom the Software is
|
672
|
+
furnished to do so, subject to the following conditions:
|
673
|
+
|
674
|
+
The above copyright notice and this permission notice shall be included in
|
675
|
+
all copies or substantial portions of the Software.
|
676
|
+
|
677
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
678
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
679
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
680
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
681
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
682
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
683
|
+
THE SOFTWARE.
|
684
|
+
|
685
|
+
|
686
|
+
OARequestParameter.h
|
687
|
+
OAuthConsumer
|
688
|
+
|
689
|
+
Created by Jon Crosby on 10/19/07.
|
690
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
691
|
+
|
692
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
693
|
+
of this software and associated documentation files (the "Software"), to deal
|
694
|
+
in the Software without restriction, including without limitation the rights
|
695
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
696
|
+
copies of the Software, and to permit persons to whom the Software is
|
697
|
+
furnished to do so, subject to the following conditions:
|
698
|
+
|
699
|
+
The above copyright notice and this permission notice shall be included in
|
700
|
+
all copies or substantial portions of the Software.
|
701
|
+
|
702
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
703
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
704
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
705
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
706
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
707
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
708
|
+
THE SOFTWARE.
|
709
|
+
|
710
|
+
|
711
|
+
|
712
|
+
OARequestParameter.m
|
713
|
+
OAuthConsumer
|
714
|
+
|
715
|
+
Created by Jon Crosby on 10/19/07.
|
716
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
717
|
+
|
718
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
719
|
+
of this software and associated documentation files (the "Software"), to deal
|
720
|
+
in the Software without restriction, including without limitation the rights
|
721
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
722
|
+
copies of the Software, and to permit persons to whom the Software is
|
723
|
+
furnished to do so, subject to the following conditions:
|
724
|
+
|
725
|
+
The above copyright notice and this permission notice shall be included in
|
726
|
+
all copies or substantial portions of the Software.
|
727
|
+
|
728
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
729
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
730
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
731
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
732
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
733
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
734
|
+
THE SOFTWARE.
|
735
|
+
|
736
|
+
|
737
|
+
OAServiceTicket.h
|
738
|
+
OAuthConsumer
|
739
|
+
|
740
|
+
Created by Jon Crosby on 11/5/07.
|
741
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
742
|
+
|
743
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
744
|
+
of this software and associated documentation files (the "Software"), to deal
|
745
|
+
in the Software without restriction, including without limitation the rights
|
746
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
747
|
+
copies of the Software, and to permit persons to whom the Software is
|
748
|
+
furnished to do so, subject to the following conditions:
|
749
|
+
|
750
|
+
The above copyright notice and this permission notice shall be included in
|
751
|
+
all copies or substantial portions of the Software.
|
752
|
+
|
753
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
754
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
755
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
756
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
757
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
758
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
759
|
+
THE SOFTWARE.
|
760
|
+
|
761
|
+
|
762
|
+
OAServiceTicket.m
|
763
|
+
OAuthConsumer
|
764
|
+
|
765
|
+
Created by Jon Crosby on 11/5/07.
|
766
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
767
|
+
|
768
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
769
|
+
of this software and associated documentation files (the "Software"), to deal
|
770
|
+
in the Software without restriction, including without limitation the rights
|
771
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
772
|
+
copies of the Software, and to permit persons to whom the Software is
|
773
|
+
furnished to do so, subject to the following conditions:
|
774
|
+
|
775
|
+
The above copyright notice and this permission notice shall be included in
|
776
|
+
all copies or substantial portions of the Software.
|
777
|
+
|
778
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
779
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
780
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
781
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
782
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
783
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
784
|
+
THE SOFTWARE.
|
785
|
+
|
786
|
+
|
787
|
+
OASignatureProviding.h
|
788
|
+
|
789
|
+
Created by Jon Crosby on 10/19/07.
|
790
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
791
|
+
|
792
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
793
|
+
of this software and associated documentation files (the "Software"), to deal
|
794
|
+
in the Software without restriction, including without limitation the rights
|
795
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
796
|
+
copies of the Software, and to permit persons to whom the Software is
|
797
|
+
furnished to do so, subject to the following conditions:
|
798
|
+
|
799
|
+
The above copyright notice and this permission notice shall be included in
|
800
|
+
all copies or substantial portions of the Software.
|
801
|
+
|
802
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
803
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
804
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
805
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
806
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
807
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
808
|
+
THE SOFTWARE.
|
809
|
+
|
810
|
+
|
811
|
+
OAToken.h
|
812
|
+
OAuthConsumer
|
813
|
+
|
814
|
+
Created by Jon Crosby on 10/19/07.
|
815
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
4
816
|
|
5
817
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
818
|
of this software and associated documentation files (the "Software"), to deal
|
@@ -19,3 +831,28 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
831
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
832
|
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
833
|
THE SOFTWARE.
|
834
|
+
|
835
|
+
|
836
|
+
OAToken.m
|
837
|
+
OAuthConsumer
|
838
|
+
|
839
|
+
Created by Jon Crosby on 10/19/07.
|
840
|
+
Copyright 2007 Kaboomerang LLC. All rights reserved.
|
841
|
+
|
842
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
843
|
+
of this software and associated documentation files (the "Software"), to deal
|
844
|
+
in the Software without restriction, including without limitation the rights
|
845
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
846
|
+
copies of the Software, and to permit persons to whom the Software is
|
847
|
+
furnished to do so, subject to the following conditions:
|
848
|
+
|
849
|
+
The above copyright notice and this permission notice shall be included in
|
850
|
+
all copies or substantial portions of the Software.
|
851
|
+
|
852
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
853
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
854
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
855
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
856
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
857
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
858
|
+
THE SOFTWARE.
|
data/README.md
CHANGED
@@ -1,6 +1,9 @@
|
|
1
|
-
fluent-plugin-ncmb:
|
1
|
+
fluent-plugin-ncmb: fluentd plugin for NIFTYCloud-mbaas
|
2
2
|
====
|
3
3
|
|
4
|
+
## NIFTY Cloud mobile backend
|
5
|
+
[mBaaSでサーバー開発不要! | ニフティクラウド mobile backend](http://mb.cloud.nifty.com/)
|
6
|
+
|
4
7
|
|
5
8
|
## Installation
|
6
9
|
|
@@ -24,7 +27,7 @@ $ gem install fluent-plugin-ncmb
|
|
24
27
|
|
25
28
|
interval [min] (default: 10)
|
26
29
|
field [field] (default: all)
|
27
|
-
start_date
|
30
|
+
start_date YYYY-MM-DD HH:MM:SS (default: now)
|
28
31
|
limit [limit] (default: 1000)
|
29
32
|
</source>
|
30
33
|
```
|
@@ -46,6 +49,9 @@ $ gem install fluent-plugin-ncmb
|
|
46
49
|
</match>
|
47
50
|
```
|
48
51
|
|
49
|
-
|
52
|
+
## Supported Ruby Versions
|
50
53
|
- Ruby 2.1
|
51
|
-
- Ruby 2.2
|
54
|
+
- Ruby 2.2
|
55
|
+
|
56
|
+
## LICENSE
|
57
|
+
このプログラムのライセンスについては、LICENSEファイルをご覧ください。
|
data/fluent-plugin-ncmb.gemspec
CHANGED
@@ -4,20 +4,12 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
4
4
|
|
5
5
|
Gem::Specification.new do |spec|
|
6
6
|
spec.name = "fluent-plugin-ncmb"
|
7
|
-
spec.version = "0.1.
|
7
|
+
spec.version = "0.1.1"
|
8
8
|
spec.authors = ["suzuki.yuta", "goya.tomohiro"]
|
9
9
|
spec.email = ["suzuki.yuta@nifty.co.jp", "goya.tomohiro@nifty.co.jp"]
|
10
|
-
|
11
|
-
spec.summary =
|
10
|
+
spec.description = "fluentd plugin for NIFTY Cloud mobile backend"
|
11
|
+
spec.summary = spec.description
|
12
12
|
spec.homepage = 'http://mb.cloud.nifty.com/'
|
13
|
-
spec.license = "MIT"
|
14
|
-
|
15
|
-
# Prevent pushing this gem to RubyGems.org by setting 'allowed_push_host', or
|
16
|
-
# delete this section to allow pushing this gem to any host.
|
17
|
-
if spec.respond_to?(:metadata)
|
18
|
-
else
|
19
|
-
raise "RubyGems 2.0 or newer is required to protect against public gem pushes."
|
20
|
-
end
|
21
13
|
|
22
14
|
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
23
15
|
spec.bindir = "exe"
|
@@ -28,7 +20,5 @@ Gem::Specification.new do |spec|
|
|
28
20
|
spec.add_development_dependency "rake", "~> 10.0"
|
29
21
|
spec.add_development_dependency "fluentd", [">= 0.10.9", "< 2"]
|
30
22
|
spec.add_development_dependency "ncmb-ruby-client", "~> 0.1"
|
31
|
-
spec.add_development_dependency "test-unit-rr",
|
32
|
-
spec.add_development_dependency "pry"
|
33
|
-
spec.add_development_dependency "rb-readline"
|
23
|
+
spec.add_development_dependency "test-unit-rr", '~> 1.0'
|
34
24
|
end
|
@@ -5,14 +5,14 @@ module Fluent
|
|
5
5
|
Fluent::Plugin.register_output('ncmb', self)
|
6
6
|
|
7
7
|
# required
|
8
|
-
config_param :application_key, :string, default
|
9
|
-
config_param :client_key, :string, default
|
10
|
-
config_param :class_name, :string, default
|
8
|
+
config_param :application_key, :string, :default => nil
|
9
|
+
config_param :client_key, :string, :default => nil
|
10
|
+
config_param :class_name, :string, :default => nil
|
11
11
|
|
12
|
-
config_param :api_version, :string, default
|
13
|
-
config_param :failed_log_path, :string, default
|
14
|
-
config_param :buffer_type, :string, default
|
15
|
-
config_param :retry_limit, :integer, default
|
12
|
+
config_param :api_version, :string, :default => '2013-09-01'
|
13
|
+
config_param :failed_log_path, :string, :default => '/var/log/fluent/ncmb'
|
14
|
+
config_param :buffer_type, :string, :default => 'file'
|
15
|
+
config_param :retry_limit, :integer, :default => 3
|
16
16
|
|
17
17
|
attr_reader :ncmb
|
18
18
|
|
@@ -24,6 +24,32 @@ module Fluent
|
|
24
24
|
raise Fluent::ConfigError.new("ConfigError: Please input client_key") if @client_key.nil?
|
25
25
|
raise Fluent::ConfigError.new("ConfigError: Please input class_name") if @class_name.nil?
|
26
26
|
|
27
|
+
if @buffer_type == 'file'
|
28
|
+
if Dir.exist?(@config['buffer_path'])
|
29
|
+
unless File.writable?(@config['buffer_path'])
|
30
|
+
raise Fluent::ConfigError.new("ConfigError: Permission denied => buffer_path: #{@buffer_path}")
|
31
|
+
end
|
32
|
+
else
|
33
|
+
begin
|
34
|
+
FileUtils.mkdir_p(@config['buffer_path'])
|
35
|
+
rescue
|
36
|
+
raise Fluent::ConfigError.new("ConfigError: Permission denied => buffer_path: #{@buffer_path}")
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
if Dir.exist?(@failed_log_path)
|
42
|
+
unless File.writable?(@failed_log_path)
|
43
|
+
raise Fluent::ConfigError.new("ConfigError: Permission denied => failed_log_path: #{@failed_log_path}")
|
44
|
+
end
|
45
|
+
else
|
46
|
+
begin
|
47
|
+
FileUtils.mkdir_p(@failed_log_path)
|
48
|
+
rescue
|
49
|
+
raise Fluent::ConfigError.new("ConfigError: Permission denied => failed_log_path: #{@failed_log_path}")
|
50
|
+
end
|
51
|
+
end
|
52
|
+
|
27
53
|
require 'ncmb'
|
28
54
|
@ncmb = NCMB.initialize(application_key: @application_key, client_key: @client_key)
|
29
55
|
end
|
@@ -47,7 +73,6 @@ module Fluent
|
|
47
73
|
|
48
74
|
def write(chunk)
|
49
75
|
records = []
|
50
|
-
failed_records = []
|
51
76
|
|
52
77
|
@mutex.lock
|
53
78
|
begin
|
@@ -92,7 +117,7 @@ module Fluent
|
|
92
117
|
|
93
118
|
def write_failed_log(records)
|
94
119
|
msgpack = records.map{|record| format(*record)}.to_msgpack
|
95
|
-
File.open(@failed_log_path, 'a+') do |file|
|
120
|
+
File.open("#{@failed_log_path}/failed.log", 'a+') do |file|
|
96
121
|
file.sync = true
|
97
122
|
file.write(msgpack)
|
98
123
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fluent-plugin-ncmb
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- suzuki.yuta
|
@@ -77,45 +77,17 @@ dependencies:
|
|
77
77
|
name: test-unit-rr
|
78
78
|
requirement: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- - "
|
81
|
-
- !ruby/object:Gem::Version
|
82
|
-
version: 1.0.0
|
83
|
-
type: :development
|
84
|
-
prerelease: false
|
85
|
-
version_requirements: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - ">="
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: 1.0.0
|
90
|
-
- !ruby/object:Gem::Dependency
|
91
|
-
name: pry
|
92
|
-
requirement: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - ">="
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '0'
|
97
|
-
type: :development
|
98
|
-
prerelease: false
|
99
|
-
version_requirements: !ruby/object:Gem::Requirement
|
100
|
-
requirements:
|
101
|
-
- - ">="
|
102
|
-
- !ruby/object:Gem::Version
|
103
|
-
version: '0'
|
104
|
-
- !ruby/object:Gem::Dependency
|
105
|
-
name: rb-readline
|
106
|
-
requirement: !ruby/object:Gem::Requirement
|
107
|
-
requirements:
|
108
|
-
- - ">="
|
80
|
+
- - "~>"
|
109
81
|
- !ruby/object:Gem::Version
|
110
|
-
version: '0'
|
82
|
+
version: '1.0'
|
111
83
|
type: :development
|
112
84
|
prerelease: false
|
113
85
|
version_requirements: !ruby/object:Gem::Requirement
|
114
86
|
requirements:
|
115
|
-
- - "
|
87
|
+
- - "~>"
|
116
88
|
- !ruby/object:Gem::Version
|
117
|
-
version: '0'
|
118
|
-
description:
|
89
|
+
version: '1.0'
|
90
|
+
description: fluentd plugin for NIFTY Cloud mobile backend
|
119
91
|
email:
|
120
92
|
- suzuki.yuta@nifty.co.jp
|
121
93
|
- goya.tomohiro@nifty.co.jp
|
@@ -125,7 +97,6 @@ extra_rdoc_files: []
|
|
125
97
|
files:
|
126
98
|
- ".gitignore"
|
127
99
|
- ".travis.yml"
|
128
|
-
- CODE_OF_CONDUCT.md
|
129
100
|
- Gemfile
|
130
101
|
- LICENSE.txt
|
131
102
|
- README.md
|
@@ -137,8 +108,7 @@ files:
|
|
137
108
|
- lib/fluent/plugin/in_ncmb.rb
|
138
109
|
- lib/fluent/plugin/out_ncmb.rb
|
139
110
|
homepage: http://mb.cloud.nifty.com/
|
140
|
-
licenses:
|
141
|
-
- MIT
|
111
|
+
licenses: []
|
142
112
|
metadata: {}
|
143
113
|
post_install_message:
|
144
114
|
rdoc_options: []
|
@@ -159,5 +129,5 @@ rubyforge_project:
|
|
159
129
|
rubygems_version: 2.4.5
|
160
130
|
signing_key:
|
161
131
|
specification_version: 4
|
162
|
-
summary:
|
132
|
+
summary: fluentd plugin for NIFTY Cloud mobile backend
|
163
133
|
test_files: []
|
data/CODE_OF_CONDUCT.md
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
# Contributor Code of Conduct
|
2
|
-
|
3
|
-
As contributors and maintainers of this project, we pledge to respect all people who contribute through reporting issues, posting feature requests, updating documentation, submitting pull requests or patches, and other activities.
|
4
|
-
|
5
|
-
We are committed to making participation in this project a harassment-free experience for everyone, regardless of level of experience, gender, gender identity and expression, sexual orientation, disability, personal appearance, body size, race, ethnicity, age, or religion.
|
6
|
-
|
7
|
-
Examples of unacceptable behavior by participants include the use of sexual language or imagery, derogatory comments or personal attacks, trolling, public or private harassment, insults, or other unprofessional conduct.
|
8
|
-
|
9
|
-
Project maintainers have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct. Project maintainers who do not follow the Code of Conduct may be removed from the project team.
|
10
|
-
|
11
|
-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported by opening an issue or contacting one or more of the project maintainers.
|
12
|
-
|
13
|
-
This Code of Conduct is adapted from the [Contributor Covenant](http://contributor-covenant.org), version 1.0.0, available at [http://contributor-covenant.org/version/1/0/0/](http://contributor-covenant.org/version/1/0/0/)
|