log4ever 0.0.9 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (56) hide show
  1. data/.gitignore +2 -1
  2. data/Gemfile +2 -1
  3. data/Gemfile.lock +7 -1
  4. data/README.md +3 -1
  5. data/lib/log4r/evernote.rb +10 -24
  6. data/lib/log4r/outputter/evernoteoutputter.rb +3 -11
  7. data/log4ever.gemspec +2 -1
  8. data/spec/log4ever_spec.rb +24 -17
  9. metadata +40 -58
  10. data/.project +0 -11
  11. data/lib/log4r/evernote/lib/Evernote/EDAM/errors_constants.rb +0 -14
  12. data/lib/log4r/evernote/lib/Evernote/EDAM/errors_types.rb +0 -128
  13. data/lib/log4r/evernote/lib/Evernote/EDAM/limits_constants.rb +0 -240
  14. data/lib/log4r/evernote/lib/Evernote/EDAM/limits_types.rb +0 -13
  15. data/lib/log4r/evernote/lib/Evernote/EDAM/note_store.rb +0 -5487
  16. data/lib/log4r/evernote/lib/Evernote/EDAM/note_store_constants.rb +0 -14
  17. data/lib/log4r/evernote/lib/Evernote/EDAM/note_store_types.rb +0 -1012
  18. data/lib/log4r/evernote/lib/Evernote/EDAM/types_constants.rb +0 -20
  19. data/lib/log4r/evernote/lib/Evernote/EDAM/types_types.rb +0 -1792
  20. data/lib/log4r/evernote/lib/Evernote/EDAM/user_store.rb +0 -549
  21. data/lib/log4r/evernote/lib/Evernote/EDAM/user_store_constants.rb +0 -18
  22. data/lib/log4r/evernote/lib/Evernote/EDAM/user_store_types.rb +0 -415
  23. data/lib/log4r/evernote/lib/thrift/client.rb +0 -62
  24. data/lib/log4r/evernote/lib/thrift/core_ext/fixnum.rb +0 -29
  25. data/lib/log4r/evernote/lib/thrift/core_ext.rb +0 -23
  26. data/lib/log4r/evernote/lib/thrift/exceptions.rb +0 -84
  27. data/lib/log4r/evernote/lib/thrift/processor.rb +0 -57
  28. data/lib/log4r/evernote/lib/thrift/protocol/base_protocol.rb +0 -290
  29. data/lib/log4r/evernote/lib/thrift/protocol/binary_protocol.rb +0 -229
  30. data/lib/log4r/evernote/lib/thrift/protocol/binary_protocol_accelerated.rb +0 -39
  31. data/lib/log4r/evernote/lib/thrift/protocol/compact_protocol.rb +0 -426
  32. data/lib/log4r/evernote/lib/thrift/serializer/deserializer.rb +0 -33
  33. data/lib/log4r/evernote/lib/thrift/serializer/serializer.rb +0 -34
  34. data/lib/log4r/evernote/lib/thrift/server/base_server.rb +0 -31
  35. data/lib/log4r/evernote/lib/thrift/server/mongrel_http_server.rb +0 -58
  36. data/lib/log4r/evernote/lib/thrift/server/nonblocking_server.rb +0 -305
  37. data/lib/log4r/evernote/lib/thrift/server/simple_server.rb +0 -43
  38. data/lib/log4r/evernote/lib/thrift/server/thread_pool_server.rb +0 -75
  39. data/lib/log4r/evernote/lib/thrift/server/threaded_server.rb +0 -47
  40. data/lib/log4r/evernote/lib/thrift/struct.rb +0 -237
  41. data/lib/log4r/evernote/lib/thrift/struct_union.rb +0 -192
  42. data/lib/log4r/evernote/lib/thrift/thrift_native.rb +0 -24
  43. data/lib/log4r/evernote/lib/thrift/transport/base_server_transport.rb +0 -37
  44. data/lib/log4r/evernote/lib/thrift/transport/base_transport.rb +0 -107
  45. data/lib/log4r/evernote/lib/thrift/transport/buffered_transport.rb +0 -108
  46. data/lib/log4r/evernote/lib/thrift/transport/framed_transport.rb +0 -116
  47. data/lib/log4r/evernote/lib/thrift/transport/http_client_transport.rb +0 -53
  48. data/lib/log4r/evernote/lib/thrift/transport/io_stream_transport.rb +0 -39
  49. data/lib/log4r/evernote/lib/thrift/transport/memory_buffer_transport.rb +0 -125
  50. data/lib/log4r/evernote/lib/thrift/transport/server_socket.rb +0 -63
  51. data/lib/log4r/evernote/lib/thrift/transport/socket.rb +0 -137
  52. data/lib/log4r/evernote/lib/thrift/transport/unix_server_socket.rb +0 -60
  53. data/lib/log4r/evernote/lib/thrift/transport/unix_socket.rb +0 -40
  54. data/lib/log4r/evernote/lib/thrift/types.rb +0 -101
  55. data/lib/log4r/evernote/lib/thrift/union.rb +0 -179
  56. data/lib/log4r/evernote/lib/thrift.rb +0 -64
@@ -1,240 +0,0 @@
1
- #
2
- # Autogenerated by Thrift Compiler (0.8.0)
3
- #
4
- # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
- #
6
-
7
- require 'limits_types'
8
-
9
- module Evernote
10
- module EDAM
11
- module Limits
12
- EDAM_ATTRIBUTE_LEN_MIN = 1
13
-
14
- EDAM_ATTRIBUTE_LEN_MAX = 4096
15
-
16
- EDAM_ATTRIBUTE_REGEX = %q"^[^\\p{Cc}\\p{Zl}\\p{Zp}]{1,4096}$"
17
-
18
- EDAM_ATTRIBUTE_LIST_MAX = 100
19
-
20
- EDAM_ATTRIBUTE_MAP_MAX = 100
21
-
22
- EDAM_GUID_LEN_MIN = 36
23
-
24
- EDAM_GUID_LEN_MAX = 36
25
-
26
- EDAM_GUID_REGEX = %q"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"
27
-
28
- EDAM_EMAIL_LEN_MIN = 6
29
-
30
- EDAM_EMAIL_LEN_MAX = 255
31
-
32
- EDAM_EMAIL_LOCAL_REGEX = %q"^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*$"
33
-
34
- EDAM_EMAIL_DOMAIN_REGEX = %q"^[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*\\.([A-Za-z]{2,})$"
35
-
36
- EDAM_EMAIL_REGEX = %q"^[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+(\\.[A-Za-z0-9!#$%&'*+/=?^_`{|}~-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9-]+)*\\.([A-Za-z]{2,})$"
37
-
38
- EDAM_TIMEZONE_LEN_MIN = 1
39
-
40
- EDAM_TIMEZONE_LEN_MAX = 32
41
-
42
- EDAM_TIMEZONE_REGEX = %q"^([A-Za-z_-]+(/[A-Za-z_-]+)*)|(GMT(-|\\+)[0-9]{1,2}(:[0-9]{2})?)$"
43
-
44
- EDAM_MIME_LEN_MIN = 3
45
-
46
- EDAM_MIME_LEN_MAX = 255
47
-
48
- EDAM_MIME_REGEX = %q"^[A-Za-z]+/[A-Za-z0-9._+-]+$"
49
-
50
- EDAM_MIME_TYPE_GIF = %q"image/gif"
51
-
52
- EDAM_MIME_TYPE_JPEG = %q"image/jpeg"
53
-
54
- EDAM_MIME_TYPE_PNG = %q"image/png"
55
-
56
- EDAM_MIME_TYPE_WAV = %q"audio/wav"
57
-
58
- EDAM_MIME_TYPE_MP3 = %q"audio/mpeg"
59
-
60
- EDAM_MIME_TYPE_AMR = %q"audio/amr"
61
-
62
- EDAM_MIME_TYPE_MP4_VIDEO = %q"video/mp4"
63
-
64
- EDAM_MIME_TYPE_INK = %q"application/vnd.evernote.ink"
65
-
66
- EDAM_MIME_TYPE_PDF = %q"application/pdf"
67
-
68
- EDAM_MIME_TYPE_DEFAULT = %q"application/octet-stream"
69
-
70
- EDAM_MIME_TYPES = Set.new([
71
- %q"image/gif",
72
- %q"image/jpeg",
73
- %q"image/png",
74
- %q"audio/wav",
75
- %q"audio/mpeg",
76
- %q"audio/amr",
77
- %q"application/vnd.evernote.ink",
78
- %q"application/pdf",
79
- %q"video/mp4",
80
- ])
81
-
82
- EDAM_COMMERCE_SERVICE_GOOGLE = %q"Google"
83
-
84
- EDAM_COMMERCE_SERVICE_PAYPAL = %q"Paypal"
85
-
86
- EDAM_COMMERCE_SERVICE_GIFT = %q"Gift"
87
-
88
- EDAM_COMMERCE_SERVICE_TRIALPAY = %q"TrialPay"
89
-
90
- EDAM_COMMERCE_SERVICE_TRIAL = %q"Trial"
91
-
92
- EDAM_COMMERCE_SERVICE_GROUP = %q"Group"
93
-
94
- EDAM_COMMERCE_SERVICE_CYBERSOURCE = %q"CYBERSRC"
95
-
96
- EDAM_COMMERCE_DEFAULT_CURRENCY_COUNTRY_CODE = %q"USD"
97
-
98
- EDAM_SEARCH_QUERY_LEN_MIN = 0
99
-
100
- EDAM_SEARCH_QUERY_LEN_MAX = 1024
101
-
102
- EDAM_SEARCH_QUERY_REGEX = %q"^[^\\p{Cc}\\p{Zl}\\p{Zp}]{0,1024}$"
103
-
104
- EDAM_HASH_LEN = 16
105
-
106
- EDAM_USER_USERNAME_LEN_MIN = 1
107
-
108
- EDAM_USER_USERNAME_LEN_MAX = 64
109
-
110
- EDAM_USER_USERNAME_REGEX = %q"^[a-z0-9]([a-z0-9_-]{0,62}[a-z0-9])?$"
111
-
112
- EDAM_USER_NAME_LEN_MIN = 1
113
-
114
- EDAM_USER_NAME_LEN_MAX = 255
115
-
116
- EDAM_USER_NAME_REGEX = %q"^[^\\p{Cc}\\p{Zl}\\p{Zp}]{1,255}$"
117
-
118
- EDAM_TAG_NAME_LEN_MIN = 1
119
-
120
- EDAM_TAG_NAME_LEN_MAX = 100
121
-
122
- EDAM_TAG_NAME_REGEX = %q"^[^,\\p{Cc}\\p{Z}]([^,\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^,\\p{Cc}\\p{Z}])?$"
123
-
124
- EDAM_NOTE_TITLE_LEN_MIN = 1
125
-
126
- EDAM_NOTE_TITLE_LEN_MAX = 255
127
-
128
- EDAM_NOTE_TITLE_REGEX = %q"^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,253}[^\\p{Cc}\\p{Z}])?$"
129
-
130
- EDAM_NOTE_CONTENT_LEN_MIN = 0
131
-
132
- EDAM_NOTE_CONTENT_LEN_MAX = 5242880
133
-
134
- EDAM_APPLICATIONDATA_NAME_LEN_MIN = 3
135
-
136
- EDAM_APPLICATIONDATA_NAME_LEN_MAX = 32
137
-
138
- EDAM_APPLICATIONDATA_VALUE_LEN_MIN = 0
139
-
140
- EDAM_APPLICATIONDATA_VALUE_LEN_MAX = 4092
141
-
142
- EDAM_APPLICATIONDATA_ENTRY_LEN_MAX = 4095
143
-
144
- EDAM_APPLICATIONDATA_NAME_REGEX = %q"^[A-Za-z0-9_.-]{3,32}$"
145
-
146
- EDAM_APPLICATIONDATA_VALUE_REGEX = %q"^[^\\p{Cc}]{0,4092}$"
147
-
148
- EDAM_NOTEBOOK_NAME_LEN_MIN = 1
149
-
150
- EDAM_NOTEBOOK_NAME_LEN_MAX = 100
151
-
152
- EDAM_NOTEBOOK_NAME_REGEX = %q"^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$"
153
-
154
- EDAM_NOTEBOOK_STACK_LEN_MIN = 1
155
-
156
- EDAM_NOTEBOOK_STACK_LEN_MAX = 100
157
-
158
- EDAM_NOTEBOOK_STACK_REGEX = %q"^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$"
159
-
160
- EDAM_PUBLISHING_URI_LEN_MIN = 1
161
-
162
- EDAM_PUBLISHING_URI_LEN_MAX = 255
163
-
164
- EDAM_PUBLISHING_URI_REGEX = %q"^[a-zA-Z0-9.~_+-]{1,255}$"
165
-
166
- EDAM_PUBLISHING_URI_PROHIBITED = Set.new([
167
- %q"..",
168
- ])
169
-
170
- EDAM_PUBLISHING_DESCRIPTION_LEN_MIN = 1
171
-
172
- EDAM_PUBLISHING_DESCRIPTION_LEN_MAX = 200
173
-
174
- EDAM_PUBLISHING_DESCRIPTION_REGEX = %q"^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,198}[^\\p{Cc}\\p{Z}])?$"
175
-
176
- EDAM_SAVED_SEARCH_NAME_LEN_MIN = 1
177
-
178
- EDAM_SAVED_SEARCH_NAME_LEN_MAX = 100
179
-
180
- EDAM_SAVED_SEARCH_NAME_REGEX = %q"^[^\\p{Cc}\\p{Z}]([^\\p{Cc}\\p{Zl}\\p{Zp}]{0,98}[^\\p{Cc}\\p{Z}])?$"
181
-
182
- EDAM_USER_PASSWORD_LEN_MIN = 6
183
-
184
- EDAM_USER_PASSWORD_LEN_MAX = 64
185
-
186
- EDAM_USER_PASSWORD_REGEX = %q"^[A-Za-z0-9!#$%&'()*+,./:;<=>?@^_`{|}~\\[\\]\\\\-]{6,64}$"
187
-
188
- EDAM_NOTE_TAGS_MAX = 100
189
-
190
- EDAM_NOTE_RESOURCES_MAX = 1000
191
-
192
- EDAM_USER_TAGS_MAX = 100000
193
-
194
- EDAM_USER_SAVED_SEARCHES_MAX = 100
195
-
196
- EDAM_USER_NOTES_MAX = 100000
197
-
198
- EDAM_USER_NOTEBOOKS_MAX = 250
199
-
200
- EDAM_USER_RECENT_MAILED_ADDRESSES_MAX = 10
201
-
202
- EDAM_USER_MAIL_LIMIT_DAILY_FREE = 50
203
-
204
- EDAM_USER_MAIL_LIMIT_DAILY_PREMIUM = 200
205
-
206
- EDAM_USER_UPLOAD_LIMIT_FREE = 62914560
207
-
208
- EDAM_USER_UPLOAD_LIMIT_PREMIUM = 1073741824
209
-
210
- EDAM_NOTE_SIZE_MAX_FREE = 26214400
211
-
212
- EDAM_NOTE_SIZE_MAX_PREMIUM = 52428800
213
-
214
- EDAM_RESOURCE_SIZE_MAX_FREE = 26214400
215
-
216
- EDAM_RESOURCE_SIZE_MAX_PREMIUM = 52428800
217
-
218
- EDAM_USER_LINKED_NOTEBOOK_MAX = 100
219
-
220
- EDAM_NOTEBOOK_SHARED_NOTEBOOK_MAX = 250
221
-
222
- EDAM_NOTE_CONTENT_CLASS_LEN_MIN = 3
223
-
224
- EDAM_NOTE_CONTENT_CLASS_LEN_MAX = 32
225
-
226
- EDAM_HELLO_APP_CONTENT_CLASS_PREFIX = %q"evernote.hello."
227
-
228
- EDAM_FOOD_APP_CONTENT_CLASS_PREFIX = %q"evernote.food."
229
-
230
- EDAM_NOTE_CONTENT_CLASS_REGEX = %q"^[A-Za-z0-9_.-]{3,32}$"
231
-
232
- EDAM_CONTENT_CLASS_HELLO_ENCOUNTER = %q"evernote.hello.encounter"
233
-
234
- EDAM_CONTENT_CLASS_HELLO_PROFILE = %q"evernote.hello.profile"
235
-
236
- EDAM_CONTENT_CLASS_FOOD_MEAL = %q"evernote.food.meal"
237
-
238
- end
239
- end
240
- end
@@ -1,13 +0,0 @@
1
- #
2
- # Autogenerated by Thrift Compiler (0.8.0)
3
- #
4
- # DO NOT EDIT UNLESS YOU ARE SURE THAT YOU KNOW WHAT YOU ARE DOING
5
- #
6
-
7
-
8
- module Evernote
9
- module EDAM
10
- module Limits
11
- end
12
- end
13
- end