activesupport 3.0.6 → 3.0.7.rc1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of activesupport might be problematic. Click here for more details.

Files changed (186) hide show
  1. data/CHANGELOG +5 -0
  2. data/lib/active_support.rbc +1184 -0
  3. data/lib/active_support/all.rbc +85 -0
  4. data/lib/active_support/base64.rbc +578 -0
  5. data/lib/active_support/basic_object.rbc +536 -0
  6. data/lib/active_support/benchmarkable.rbc +885 -0
  7. data/lib/active_support/buffered_logger.rbc +2367 -0
  8. data/lib/active_support/cache.rbc +8453 -0
  9. data/lib/active_support/cache/file_store.rbc +4077 -0
  10. data/lib/active_support/cache/strategy/local_cache.rbc +2930 -0
  11. data/lib/active_support/callbacks.rbc +7817 -0
  12. data/lib/active_support/concern.rbc +729 -0
  13. data/lib/active_support/configurable.rbc +985 -0
  14. data/lib/active_support/core_ext.rbc +191 -0
  15. data/lib/active_support/core_ext/array.rbc +149 -0
  16. data/lib/active_support/core_ext/array/access.rbc +627 -0
  17. data/lib/active_support/core_ext/array/conversions.rbc +1922 -0
  18. data/lib/active_support/core_ext/array/extract_options.rbc +378 -0
  19. data/lib/active_support/core_ext/array/grouping.rbc +1121 -0
  20. data/lib/active_support/core_ext/array/random_access.rbc +745 -0
  21. data/lib/active_support/core_ext/array/uniq_by.rbc +444 -0
  22. data/lib/active_support/core_ext/array/wrap.rbc +226 -0
  23. data/lib/active_support/core_ext/benchmark.rbc +261 -0
  24. data/lib/active_support/core_ext/big_decimal.rbc +53 -0
  25. data/lib/active_support/core_ext/big_decimal/conversions.rbc +681 -0
  26. data/lib/active_support/core_ext/cgi.rbc +53 -0
  27. data/lib/active_support/core_ext/cgi/escape_skipping_slashes.rbc +666 -0
  28. data/lib/active_support/core_ext/class.rbc +117 -0
  29. data/lib/active_support/core_ext/class/attribute.rbc +566 -0
  30. data/lib/active_support/core_ext/class/attribute_accessors.rbc +940 -0
  31. data/lib/active_support/core_ext/class/delegating_attributes.rbc +1266 -0
  32. data/lib/active_support/core_ext/class/inheritable_attributes.rbc +3573 -0
  33. data/lib/active_support/core_ext/class/subclasses.rbc +1140 -0
  34. data/lib/active_support/core_ext/date/acts_like.rbc +193 -0
  35. data/lib/active_support/core_ext/date/calculations.rbc +4918 -0
  36. data/lib/active_support/core_ext/date/conversions.rbc +1178 -0
  37. data/lib/active_support/core_ext/date/freeze.rbc +545 -0
  38. data/lib/active_support/core_ext/date/zones.rbc +268 -0
  39. data/lib/active_support/core_ext/date_time/acts_like.rbc +253 -0
  40. data/lib/active_support/core_ext/date_time/calculations.rbc +2133 -0
  41. data/lib/active_support/core_ext/date_time/conversions.rbc +1548 -0
  42. data/lib/active_support/core_ext/date_time/zones.rbc +328 -0
  43. data/lib/active_support/core_ext/enumerable.rbc +1472 -0
  44. data/lib/active_support/core_ext/exception.rbc +160 -0
  45. data/lib/active_support/core_ext/file.rbc +69 -0
  46. data/lib/active_support/core_ext/file/atomic.rbc +730 -0
  47. data/lib/active_support/core_ext/file/path.rbc +161 -0
  48. data/lib/active_support/core_ext/float.rbc +53 -0
  49. data/lib/active_support/core_ext/float/rounding.rbc +284 -0
  50. data/lib/active_support/core_ext/hash.rbc +165 -0
  51. data/lib/active_support/core_ext/hash/conversions.rb +1 -1
  52. data/lib/active_support/core_ext/hash/conversions.rbc +2470 -0
  53. data/lib/active_support/core_ext/hash/deep_merge.rbc +409 -0
  54. data/lib/active_support/core_ext/hash/diff.rbc +344 -0
  55. data/lib/active_support/core_ext/hash/except.rbc +328 -0
  56. data/lib/active_support/core_ext/hash/indifferent_access.rbc +211 -0
  57. data/lib/active_support/core_ext/hash/keys.rbc +822 -0
  58. data/lib/active_support/core_ext/hash/reverse_merge.rbc +343 -0
  59. data/lib/active_support/core_ext/hash/slice.rbc +816 -0
  60. data/lib/active_support/core_ext/integer.rbc +85 -0
  61. data/lib/active_support/core_ext/integer/inflections.rbc +211 -0
  62. data/lib/active_support/core_ext/integer/multiple.rbc +214 -0
  63. data/lib/active_support/core_ext/integer/time.rbc +439 -0
  64. data/lib/active_support/core_ext/kernel.rbc +117 -0
  65. data/lib/active_support/core_ext/kernel/agnostics.rbc +304 -0
  66. data/lib/active_support/core_ext/kernel/debugger.rbc +489 -0
  67. data/lib/active_support/core_ext/kernel/reporting.rbc +1056 -0
  68. data/lib/active_support/core_ext/kernel/requires.rbc +461 -0
  69. data/lib/active_support/core_ext/kernel/singleton_class.rbc +309 -0
  70. data/lib/active_support/core_ext/load_error.rbc +575 -0
  71. data/lib/active_support/core_ext/logger.rbc +1654 -0
  72. data/lib/active_support/core_ext/module.rbc +229 -0
  73. data/lib/active_support/core_ext/module/aliasing.rbc +642 -0
  74. data/lib/active_support/core_ext/module/anonymous.rbc +204 -0
  75. data/lib/active_support/core_ext/module/attr_accessor_with_default.rbc +401 -0
  76. data/lib/active_support/core_ext/module/attr_internal.rbc +796 -0
  77. data/lib/active_support/core_ext/module/attribute_accessors.rbc +849 -0
  78. data/lib/active_support/core_ext/module/delegation.rbc +850 -0
  79. data/lib/active_support/core_ext/module/deprecation.rbc +219 -0
  80. data/lib/active_support/core_ext/module/introspection.rbc +1215 -0
  81. data/lib/active_support/core_ext/module/method_names.rbc +387 -0
  82. data/lib/active_support/core_ext/module/reachable.rbc +300 -0
  83. data/lib/active_support/core_ext/module/remove_method.rbc +350 -0
  84. data/lib/active_support/core_ext/module/synchronization.rbc +644 -0
  85. data/lib/active_support/core_ext/name_error.rbc +422 -0
  86. data/lib/active_support/core_ext/numeric.rbc +69 -0
  87. data/lib/active_support/core_ext/numeric/bytes.rbc +873 -0
  88. data/lib/active_support/core_ext/numeric/time.rbc +1299 -0
  89. data/lib/active_support/core_ext/object.rbc +213 -0
  90. data/lib/active_support/core_ext/object/acts_like.rbc +211 -0
  91. data/lib/active_support/core_ext/object/blank.rbc +1219 -0
  92. data/lib/active_support/core_ext/object/conversions.rbc +101 -0
  93. data/lib/active_support/core_ext/object/duplicable.rbc +1091 -0
  94. data/lib/active_support/core_ext/object/instance_variables.rbc +746 -0
  95. data/lib/active_support/core_ext/object/returning.rbc +222 -0
  96. data/lib/active_support/core_ext/object/to_json.rbc +259 -0
  97. data/lib/active_support/core_ext/object/to_param.rbc +1057 -0
  98. data/lib/active_support/core_ext/object/to_query.rbc +771 -0
  99. data/lib/active_support/core_ext/object/try.rbc +389 -0
  100. data/lib/active_support/core_ext/object/with_options.rbc +245 -0
  101. data/lib/active_support/core_ext/proc.rbc +416 -0
  102. data/lib/active_support/core_ext/process.rbc +53 -0
  103. data/lib/active_support/core_ext/process/daemon.rbc +466 -0
  104. data/lib/active_support/core_ext/range.rbc +101 -0
  105. data/lib/active_support/core_ext/range/blockless_step.rbc +551 -0
  106. data/lib/active_support/core_ext/range/conversions.rbc +447 -0
  107. data/lib/active_support/core_ext/range/include_range.rbc +340 -0
  108. data/lib/active_support/core_ext/range/overlaps.rbc +204 -0
  109. data/lib/active_support/core_ext/regexp.rbc +201 -0
  110. data/lib/active_support/core_ext/rexml.rbc +953 -0
  111. data/lib/active_support/core_ext/string.rbc +245 -0
  112. data/lib/active_support/core_ext/string/access.rbc +1254 -0
  113. data/lib/active_support/core_ext/string/behavior.rbc +174 -0
  114. data/lib/active_support/core_ext/string/conversions.rbc +964 -0
  115. data/lib/active_support/core_ext/string/encoding.rbc +295 -0
  116. data/lib/active_support/core_ext/string/exclude.rbc +192 -0
  117. data/lib/active_support/core_ext/string/filters.rbc +640 -0
  118. data/lib/active_support/core_ext/string/inflections.rbc +1320 -0
  119. data/lib/active_support/core_ext/string/interpolation.rbc +69 -0
  120. data/lib/active_support/core_ext/string/multibyte.rbc +690 -0
  121. data/lib/active_support/core_ext/string/output_safety.rbc +2035 -0
  122. data/lib/active_support/core_ext/string/starts_ends_with.rbc +151 -0
  123. data/lib/active_support/core_ext/string/strip.rbc +301 -0
  124. data/lib/active_support/core_ext/string/xchar.rbc +294 -0
  125. data/lib/active_support/core_ext/time/acts_like.rbc +193 -0
  126. data/lib/active_support/core_ext/time/calculations.rbc +5893 -0
  127. data/lib/active_support/core_ext/time/conversions.rbc +1193 -0
  128. data/lib/active_support/core_ext/time/marshal.rbc +1245 -0
  129. data/lib/active_support/core_ext/time/publicize_conversion_methods.rbc +259 -0
  130. data/lib/active_support/core_ext/time/zones.rbc +1061 -0
  131. data/lib/active_support/core_ext/uri.rbc +516 -0
  132. data/lib/active_support/dependencies.rbc +12236 -0
  133. data/lib/active_support/dependencies/autoload.rbc +1153 -0
  134. data/lib/active_support/deprecation.rbc +411 -0
  135. data/lib/active_support/deprecation/behaviors.rbc +1200 -0
  136. data/lib/active_support/deprecation/method_wrappers.rbc +628 -0
  137. data/lib/active_support/deprecation/proxy_wrappers.rbc +1925 -0
  138. data/lib/active_support/deprecation/reporting.rbc +1516 -0
  139. data/lib/active_support/descendants_tracker.rbc +1060 -0
  140. data/lib/active_support/duration.rbc +2432 -0
  141. data/lib/active_support/file_update_checker.rbc +595 -0
  142. data/lib/active_support/hash_with_indifferent_access.rbc +2560 -0
  143. data/lib/active_support/i18n.rbc +262 -0
  144. data/lib/active_support/i18n_railtie.rbc +1869 -0
  145. data/lib/active_support/inflections.rbc +2076 -0
  146. data/lib/active_support/inflector.rbc +117 -0
  147. data/lib/active_support/inflector/inflections.rbc +3699 -0
  148. data/lib/active_support/inflector/methods.rbc +1881 -0
  149. data/lib/active_support/inflector/transliterate.rbc +684 -0
  150. data/lib/active_support/json.rbc +69 -0
  151. data/lib/active_support/json/decoding.rbc +1045 -0
  152. data/lib/active_support/json/encoding.rbc +7108 -0
  153. data/lib/active_support/json/variable.rbc +392 -0
  154. data/lib/active_support/lazy_load_hooks.rbc +703 -0
  155. data/lib/active_support/log_subscriber.rbc +2081 -0
  156. data/lib/active_support/memoizable.rbc +2164 -0
  157. data/lib/active_support/multibyte.rbc +562 -0
  158. data/lib/active_support/multibyte/utils.rbc +1062 -0
  159. data/lib/active_support/notifications.rbc +1241 -0
  160. data/lib/active_support/notifications/fanout.rbc +1632 -0
  161. data/lib/active_support/notifications/instrumenter.rbc +1207 -0
  162. data/lib/active_support/option_merger.rbc +721 -0
  163. data/lib/active_support/ordered_hash.rbc +3808 -0
  164. data/lib/active_support/ordered_options.rbc +750 -0
  165. data/lib/active_support/railtie.rbc +1051 -0
  166. data/lib/active_support/rescuable.rbc +1389 -0
  167. data/lib/active_support/ruby/shim.rbc +229 -0
  168. data/lib/active_support/secure_random.rbc +0 -0
  169. data/lib/active_support/string_inquirer.rbc +332 -0
  170. data/lib/active_support/test_case.rbc +1002 -0
  171. data/lib/active_support/testing/assertions.rbc +1063 -0
  172. data/lib/active_support/testing/declarative.rbc +904 -0
  173. data/lib/active_support/testing/default.rbc +319 -0
  174. data/lib/active_support/testing/deprecation.rbc +1562 -0
  175. data/lib/active_support/testing/isolation.rbc +4048 -0
  176. data/lib/active_support/testing/pending.rbc +961 -0
  177. data/lib/active_support/testing/setup_and_teardown.rbc +2684 -0
  178. data/lib/active_support/time.rbc +574 -0
  179. data/lib/active_support/time_with_zone.rbc +5988 -0
  180. data/lib/active_support/values/time_zone.rbc +6915 -0
  181. data/lib/active_support/version.rb +2 -2
  182. data/lib/active_support/version.rbc +295 -0
  183. data/lib/active_support/whiny_nil.rbc +826 -0
  184. data/lib/active_support/xml_mini.rbc +4291 -0
  185. data/lib/active_support/xml_mini/rexml.rbc +1744 -0
  186. metadata +196 -10
@@ -0,0 +1,151 @@
1
+ !RBIX
2
+ 12079494195756429234
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 29
13
+ 99
14
+ 7
15
+ 0
16
+ 1
17
+ 65
18
+ 49
19
+ 1
20
+ 3
21
+ 13
22
+ 99
23
+ 12
24
+ 7
25
+ 2
26
+ 12
27
+ 7
28
+ 3
29
+ 12
30
+ 65
31
+ 12
32
+ 49
33
+ 4
34
+ 4
35
+ 15
36
+ 49
37
+ 2
38
+ 0
39
+ 15
40
+ 2
41
+ 11
42
+ I
43
+ 6
44
+ I
45
+ 0
46
+ I
47
+ 0
48
+ I
49
+ 0
50
+ n
51
+ p
52
+ 5
53
+ x
54
+ 6
55
+ String
56
+ x
57
+ 10
58
+ open_class
59
+ x
60
+ 14
61
+ __class_init__
62
+ M
63
+ 1
64
+ n
65
+ n
66
+ x
67
+ 6
68
+ String
69
+ i
70
+ 22
71
+ 5
72
+ 66
73
+ 5
74
+ 7
75
+ 0
76
+ 7
77
+ 1
78
+ 47
79
+ 49
80
+ 2
81
+ 2
82
+ 15
83
+ 5
84
+ 7
85
+ 3
86
+ 7
87
+ 4
88
+ 47
89
+ 49
90
+ 2
91
+ 2
92
+ 11
93
+ I
94
+ 3
95
+ I
96
+ 0
97
+ I
98
+ 0
99
+ I
100
+ 0
101
+ n
102
+ p
103
+ 5
104
+ x
105
+ 12
106
+ starts_with?
107
+ x
108
+ 11
109
+ start_with?
110
+ x
111
+ 12
112
+ alias_method
113
+ x
114
+ 10
115
+ ends_with?
116
+ x
117
+ 9
118
+ end_with?
119
+ p
120
+ 5
121
+ I
122
+ 2
123
+ I
124
+ 2
125
+ I
126
+ c
127
+ I
128
+ 3
129
+ I
130
+ 16
131
+ x
132
+ 105
133
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb
134
+ p
135
+ 0
136
+ x
137
+ 13
138
+ attach_method
139
+ p
140
+ 3
141
+ I
142
+ 0
143
+ I
144
+ 1
145
+ I
146
+ 1d
147
+ x
148
+ 105
149
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/string/starts_ends_with.rb
150
+ p
151
+ 0
@@ -0,0 +1,301 @@
1
+ !RBIX
2
+ 12079494195756429234
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 38
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 99
23
+ 7
24
+ 2
25
+ 1
26
+ 65
27
+ 49
28
+ 3
29
+ 3
30
+ 13
31
+ 99
32
+ 12
33
+ 7
34
+ 4
35
+ 12
36
+ 7
37
+ 5
38
+ 12
39
+ 65
40
+ 12
41
+ 49
42
+ 6
43
+ 4
44
+ 15
45
+ 49
46
+ 4
47
+ 0
48
+ 15
49
+ 2
50
+ 11
51
+ I
52
+ 6
53
+ I
54
+ 0
55
+ I
56
+ 0
57
+ I
58
+ 0
59
+ n
60
+ p
61
+ 7
62
+ s
63
+ 34
64
+ active_support/core_ext/object/try
65
+ x
66
+ 7
67
+ require
68
+ x
69
+ 6
70
+ String
71
+ x
72
+ 10
73
+ open_class
74
+ x
75
+ 14
76
+ __class_init__
77
+ M
78
+ 1
79
+ n
80
+ n
81
+ x
82
+ 6
83
+ String
84
+ i
85
+ 16
86
+ 5
87
+ 66
88
+ 99
89
+ 7
90
+ 0
91
+ 7
92
+ 1
93
+ 65
94
+ 67
95
+ 49
96
+ 2
97
+ 0
98
+ 49
99
+ 3
100
+ 4
101
+ 11
102
+ I
103
+ 5
104
+ I
105
+ 0
106
+ I
107
+ 0
108
+ I
109
+ 0
110
+ n
111
+ p
112
+ 4
113
+ x
114
+ 13
115
+ strip_heredoc
116
+ M
117
+ 1
118
+ n
119
+ n
120
+ x
121
+ 13
122
+ strip_heredoc
123
+ i
124
+ 66
125
+ 5
126
+ 7
127
+ 0
128
+ 13
129
+ 70
130
+ 9
131
+ 19
132
+ 15
133
+ 44
134
+ 43
135
+ 1
136
+ 7
137
+ 2
138
+ 78
139
+ 49
140
+ 3
141
+ 2
142
+ 6
143
+ 0
144
+ 47
145
+ 49
146
+ 4
147
+ 1
148
+ 49
149
+ 5
150
+ 0
151
+ 7
152
+ 6
153
+ 49
154
+ 7
155
+ 1
156
+ 13
157
+ 10
158
+ 36
159
+ 15
160
+ 78
161
+ 19
162
+ 0
163
+ 15
164
+ 5
165
+ 44
166
+ 43
167
+ 1
168
+ 7
169
+ 8
170
+ 20
171
+ 0
172
+ 47
173
+ 101
174
+ 9
175
+ 7
176
+ 10
177
+ 63
178
+ 3
179
+ 78
180
+ 49
181
+ 3
182
+ 2
183
+ 7
184
+ 11
185
+ 64
186
+ 47
187
+ 49
188
+ 12
189
+ 2
190
+ 11
191
+ I
192
+ 6
193
+ I
194
+ 1
195
+ I
196
+ 0
197
+ I
198
+ 0
199
+ n
200
+ p
201
+ 13
202
+ n
203
+ x
204
+ 6
205
+ Regexp
206
+ s
207
+ 13
208
+ ^[ \t]*(?=\S)
209
+ x
210
+ 3
211
+ new
212
+ x
213
+ 4
214
+ scan
215
+ x
216
+ 3
217
+ min
218
+ x
219
+ 4
220
+ size
221
+ x
222
+ 3
223
+ try
224
+ s
225
+ 7
226
+ ^[ \t]{
227
+ x
228
+ 4
229
+ to_s
230
+ s
231
+ 1
232
+ }
233
+ s
234
+ 0
235
+
236
+ x
237
+ 4
238
+ gsub
239
+ p
240
+ 7
241
+ I
242
+ -1
243
+ I
244
+ 16
245
+ I
246
+ 0
247
+ I
248
+ 17
249
+ I
250
+ 27
251
+ I
252
+ 18
253
+ I
254
+ 42
255
+ x
256
+ 94
257
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/string/strip.rb
258
+ p
259
+ 1
260
+ x
261
+ 6
262
+ indent
263
+ x
264
+ 17
265
+ method_visibility
266
+ x
267
+ 15
268
+ add_defn_method
269
+ p
270
+ 3
271
+ I
272
+ 2
273
+ I
274
+ 16
275
+ I
276
+ 10
277
+ x
278
+ 94
279
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/string/strip.rb
280
+ p
281
+ 0
282
+ x
283
+ 13
284
+ attach_method
285
+ p
286
+ 5
287
+ I
288
+ 0
289
+ I
290
+ 1
291
+ I
292
+ 9
293
+ I
294
+ 3
295
+ I
296
+ 26
297
+ x
298
+ 94
299
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/string/strip.rb
300
+ p
301
+ 0