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,161 @@
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
+ 4
55
+ File
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
+ 4
68
+ File
69
+ i
70
+ 28
71
+ 5
72
+ 66
73
+ 45
74
+ 0
75
+ 1
76
+ 49
77
+ 2
78
+ 0
79
+ 7
80
+ 3
81
+ 49
82
+ 4
83
+ 1
84
+ 9
85
+ 18
86
+ 1
87
+ 8
88
+ 27
89
+ 65
90
+ 7
91
+ 3
92
+ 7
93
+ 5
94
+ 47
95
+ 49
96
+ 6
97
+ 2
98
+ 11
99
+ I
100
+ 3
101
+ I
102
+ 0
103
+ I
104
+ 0
105
+ I
106
+ 0
107
+ n
108
+ p
109
+ 7
110
+ x
111
+ 4
112
+ File
113
+ n
114
+ x
115
+ 8
116
+ allocate
117
+ x
118
+ 7
119
+ to_path
120
+ x
121
+ 11
122
+ respond_to?
123
+ x
124
+ 4
125
+ path
126
+ x
127
+ 12
128
+ alias_method
129
+ p
130
+ 5
131
+ I
132
+ 2
133
+ I
134
+ 2
135
+ I
136
+ 12
137
+ I
138
+ 3
139
+ I
140
+ 1c
141
+ x
142
+ 91
143
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/file/path.rb
144
+ p
145
+ 0
146
+ x
147
+ 13
148
+ attach_method
149
+ p
150
+ 3
151
+ I
152
+ 0
153
+ I
154
+ 1
155
+ I
156
+ 1d
157
+ x
158
+ 91
159
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/file/path.rb
160
+ p
161
+ 0
@@ -0,0 +1,53 @@
1
+ !RBIX
2
+ 12079494195756429234
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 11
13
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 2
23
+ 11
24
+ I
25
+ 2
26
+ I
27
+ 0
28
+ I
29
+ 0
30
+ I
31
+ 0
32
+ n
33
+ p
34
+ 2
35
+ s
36
+ 38
37
+ active_support/core_ext/float/rounding
38
+ x
39
+ 7
40
+ require
41
+ p
42
+ 3
43
+ I
44
+ 0
45
+ I
46
+ 1
47
+ I
48
+ b
49
+ x
50
+ 87
51
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/float.rb
52
+ p
53
+ 0
@@ -0,0 +1,284 @@
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
+ 5
55
+ Float
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
+ 5
68
+ Float
69
+ i
70
+ 34
71
+ 5
72
+ 66
73
+ 65
74
+ 7
75
+ 0
76
+ 7
77
+ 1
78
+ 47
79
+ 49
80
+ 2
81
+ 2
82
+ 15
83
+ 5
84
+ 7
85
+ 0
86
+ 47
87
+ 49
88
+ 3
89
+ 1
90
+ 15
91
+ 99
92
+ 7
93
+ 1
94
+ 7
95
+ 4
96
+ 65
97
+ 67
98
+ 49
99
+ 5
100
+ 0
101
+ 49
102
+ 6
103
+ 4
104
+ 11
105
+ I
106
+ 5
107
+ I
108
+ 0
109
+ I
110
+ 0
111
+ I
112
+ 0
113
+ n
114
+ p
115
+ 7
116
+ x
117
+ 19
118
+ precisionless_round
119
+ x
120
+ 5
121
+ round
122
+ x
123
+ 12
124
+ alias_method
125
+ x
126
+ 7
127
+ private
128
+ M
129
+ 1
130
+ n
131
+ n
132
+ x
133
+ 5
134
+ round
135
+ i
136
+ 42
137
+ 23
138
+ 0
139
+ 10
140
+ 8
141
+ 1
142
+ 19
143
+ 0
144
+ 15
145
+ 20
146
+ 0
147
+ 9
148
+ 38
149
+ 7
150
+ 0
151
+ 20
152
+ 0
153
+ 49
154
+ 1
155
+ 1
156
+ 19
157
+ 1
158
+ 15
159
+ 5
160
+ 20
161
+ 1
162
+ 49
163
+ 2
164
+ 1
165
+ 49
166
+ 3
167
+ 0
168
+ 20
169
+ 1
170
+ 49
171
+ 4
172
+ 1
173
+ 8
174
+ 41
175
+ 5
176
+ 48
177
+ 5
178
+ 11
179
+ I
180
+ 4
181
+ I
182
+ 2
183
+ I
184
+ 0
185
+ I
186
+ 1
187
+ n
188
+ p
189
+ 6
190
+ d
191
+ +0.625000000000000000000000000000000000000000000000000000 4
192
+ x
193
+ 2
194
+ **
195
+ x
196
+ 1
197
+ *
198
+ x
199
+ 5
200
+ round
201
+ x
202
+ 1
203
+ /
204
+ x
205
+ 19
206
+ precisionless_round
207
+ p
208
+ 11
209
+ I
210
+ -1
211
+ I
212
+ b
213
+ I
214
+ 8
215
+ I
216
+ c
217
+ I
218
+ c
219
+ I
220
+ d
221
+ I
222
+ 16
223
+ I
224
+ e
225
+ I
226
+ 26
227
+ I
228
+ 10
229
+ I
230
+ 2a
231
+ x
232
+ 96
233
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/float/rounding.rb
234
+ p
235
+ 2
236
+ x
237
+ 9
238
+ precision
239
+ x
240
+ 9
241
+ magnitude
242
+ x
243
+ 17
244
+ method_visibility
245
+ x
246
+ 15
247
+ add_defn_method
248
+ p
249
+ 7
250
+ I
251
+ 2
252
+ I
253
+ 2
254
+ I
255
+ c
256
+ I
257
+ 3
258
+ I
259
+ 14
260
+ I
261
+ b
262
+ I
263
+ 22
264
+ x
265
+ 96
266
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/float/rounding.rb
267
+ p
268
+ 0
269
+ x
270
+ 13
271
+ attach_method
272
+ p
273
+ 3
274
+ I
275
+ 0
276
+ I
277
+ 1
278
+ I
279
+ 1d
280
+ x
281
+ 96
282
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/float/rounding.rb
283
+ p
284
+ 0