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,222 @@
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
+ Object
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
+ Object
69
+ i
70
+ 16
71
+ 5
72
+ 66
73
+ 99
74
+ 7
75
+ 0
76
+ 7
77
+ 1
78
+ 65
79
+ 67
80
+ 49
81
+ 2
82
+ 0
83
+ 49
84
+ 3
85
+ 4
86
+ 11
87
+ I
88
+ 5
89
+ I
90
+ 0
91
+ I
92
+ 0
93
+ I
94
+ 0
95
+ n
96
+ p
97
+ 4
98
+ x
99
+ 9
100
+ returning
101
+ M
102
+ 1
103
+ n
104
+ n
105
+ x
106
+ 9
107
+ returning
108
+ i
109
+ 23
110
+ 45
111
+ 0
112
+ 1
113
+ 43
114
+ 2
115
+ 7
116
+ 3
117
+ 64
118
+ 5
119
+ 48
120
+ 4
121
+ 49
122
+ 5
123
+ 2
124
+ 15
125
+ 20
126
+ 0
127
+ 60
128
+ 1
129
+ 15
130
+ 20
131
+ 0
132
+ 11
133
+ I
134
+ 4
135
+ I
136
+ 1
137
+ I
138
+ 1
139
+ I
140
+ 1
141
+ n
142
+ p
143
+ 6
144
+ x
145
+ 13
146
+ ActiveSupport
147
+ n
148
+ x
149
+ 11
150
+ Deprecation
151
+ s
152
+ 60
153
+ Object#returning has been deprecated in favor of Object#tap.
154
+ x
155
+ 6
156
+ caller
157
+ x
158
+ 4
159
+ warn
160
+ p
161
+ 9
162
+ I
163
+ -1
164
+ I
165
+ 26
166
+ I
167
+ 0
168
+ I
169
+ 27
170
+ I
171
+ f
172
+ I
173
+ 28
174
+ I
175
+ 14
176
+ I
177
+ 29
178
+ I
179
+ 17
180
+ x
181
+ 98
182
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/object/returning.rb
183
+ p
184
+ 1
185
+ x
186
+ 5
187
+ value
188
+ x
189
+ 17
190
+ method_visibility
191
+ x
192
+ 15
193
+ add_defn_method
194
+ p
195
+ 3
196
+ I
197
+ 2
198
+ I
199
+ 26
200
+ I
201
+ 10
202
+ x
203
+ 98
204
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/object/returning.rb
205
+ p
206
+ 0
207
+ x
208
+ 13
209
+ attach_method
210
+ p
211
+ 3
212
+ I
213
+ 0
214
+ I
215
+ 1
216
+ I
217
+ 1d
218
+ x
219
+ 98
220
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/object/returning.rb
221
+ p
222
+ 0
@@ -0,0 +1,259 @@
1
+ !RBIX
2
+ 12079494195756429234
3
+ x
4
+ M
5
+ 1
6
+ n
7
+ n
8
+ x
9
+ 10
10
+ __script__
11
+ i
12
+ 86
13
+ 26
14
+ 93
15
+ 0
16
+ 15
17
+ 29
18
+ 18
19
+ 0
20
+ 5
21
+ 7
22
+ 0
23
+ 64
24
+ 47
25
+ 49
26
+ 1
27
+ 1
28
+ 30
29
+ 8
30
+ 45
31
+ 26
32
+ 93
33
+ 1
34
+ 15
35
+ 24
36
+ 13
37
+ 45
38
+ 2
39
+ 3
40
+ 12
41
+ 49
42
+ 4
43
+ 1
44
+ 10
45
+ 35
46
+ 8
47
+ 40
48
+ 15
49
+ 1
50
+ 25
51
+ 8
52
+ 45
53
+ 15
54
+ 92
55
+ 1
56
+ 27
57
+ 34
58
+ 92
59
+ 0
60
+ 27
61
+ 15
62
+ 45
63
+ 5
64
+ 6
65
+ 45
66
+ 7
67
+ 8
68
+ 45
69
+ 9
70
+ 10
71
+ 45
72
+ 11
73
+ 12
74
+ 45
75
+ 13
76
+ 14
77
+ 45
78
+ 15
79
+ 16
80
+ 45
81
+ 17
82
+ 18
83
+ 45
84
+ 19
85
+ 20
86
+ 45
87
+ 21
88
+ 22
89
+ 35
90
+ 9
91
+ 56
92
+ 23
93
+ 50
94
+ 24
95
+ 0
96
+ 15
97
+ 2
98
+ 11
99
+ I
100
+ b
101
+ I
102
+ 0
103
+ I
104
+ 0
105
+ I
106
+ 0
107
+ n
108
+ p
109
+ 25
110
+ s
111
+ 4
112
+ json
113
+ x
114
+ 7
115
+ require
116
+ x
117
+ 9
118
+ LoadError
119
+ n
120
+ x
121
+ 3
122
+ ===
123
+ x
124
+ 6
125
+ Object
126
+ n
127
+ x
128
+ 5
129
+ Array
130
+ n
131
+ x
132
+ 10
133
+ FalseClass
134
+ n
135
+ x
136
+ 5
137
+ Float
138
+ n
139
+ x
140
+ 4
141
+ Hash
142
+ n
143
+ x
144
+ 7
145
+ Integer
146
+ n
147
+ x
148
+ 8
149
+ NilClass
150
+ n
151
+ x
152
+ 6
153
+ String
154
+ n
155
+ x
156
+ 9
157
+ TrueClass
158
+ n
159
+ M
160
+ 1
161
+ p
162
+ 2
163
+ x
164
+ 9
165
+ for_block
166
+ t
167
+ n
168
+ x
169
+ 9
170
+ __block__
171
+ i
172
+ 19
173
+ 57
174
+ 19
175
+ 0
176
+ 15
177
+ 20
178
+ 0
179
+ 7
180
+ 0
181
+ 64
182
+ 65
183
+ 49
184
+ 1
185
+ 0
186
+ 4
187
+ 13
188
+ 49
189
+ 2
190
+ 3
191
+ 11
192
+ I
193
+ 6
194
+ I
195
+ 1
196
+ I
197
+ 1
198
+ I
199
+ 1
200
+ n
201
+ p
202
+ 3
203
+ s
204
+ 176
205
+ # Dumps object in JSON (JavaScript Object Notation). See www.json.org for more info.
206
+ def to_json(options = nil)
207
+ ActiveSupport::JSON.encode(self, options)
208
+ end
209
+
210
+ x
211
+ 11
212
+ active_path
213
+ x
214
+ 10
215
+ class_eval
216
+ p
217
+ 5
218
+ I
219
+ 0
220
+ I
221
+ c
222
+ I
223
+ 4
224
+ I
225
+ d
226
+ I
227
+ 13
228
+ x
229
+ 96
230
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/object/to_json.rb
231
+ p
232
+ 1
233
+ x
234
+ 5
235
+ klass
236
+ x
237
+ 4
238
+ each
239
+ p
240
+ 7
241
+ I
242
+ 0
243
+ I
244
+ 3
245
+ I
246
+ 17
247
+ I
248
+ 4
249
+ I
250
+ 31
251
+ I
252
+ c
253
+ I
254
+ 56
255
+ x
256
+ 96
257
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/object/to_json.rb
258
+ p
259
+ 0