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,85 @@
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
+ 5
14
+ 7
15
+ 0
16
+ 64
17
+ 47
18
+ 49
19
+ 1
20
+ 1
21
+ 15
22
+ 5
23
+ 7
24
+ 2
25
+ 64
26
+ 47
27
+ 49
28
+ 1
29
+ 1
30
+ 15
31
+ 5
32
+ 7
33
+ 3
34
+ 64
35
+ 47
36
+ 49
37
+ 1
38
+ 1
39
+ 15
40
+ 2
41
+ 11
42
+ I
43
+ 2
44
+ I
45
+ 0
46
+ I
47
+ 0
48
+ I
49
+ 0
50
+ n
51
+ p
52
+ 4
53
+ s
54
+ 40
55
+ active_support/core_ext/integer/multiple
56
+ x
57
+ 7
58
+ require
59
+ s
60
+ 43
61
+ active_support/core_ext/integer/inflections
62
+ s
63
+ 36
64
+ active_support/core_ext/integer/time
65
+ p
66
+ 7
67
+ I
68
+ 0
69
+ I
70
+ 1
71
+ I
72
+ 9
73
+ I
74
+ 2
75
+ I
76
+ 12
77
+ I
78
+ 3
79
+ I
80
+ 1d
81
+ x
82
+ 89
83
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/integer.rb
84
+ p
85
+ 0
@@ -0,0 +1,211 @@
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
+ 24
64
+ active_support/inflector
65
+ x
66
+ 7
67
+ require
68
+ x
69
+ 7
70
+ Integer
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
+ 7
83
+ Integer
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
+ 10
115
+ ordinalize
116
+ M
117
+ 1
118
+ n
119
+ n
120
+ x
121
+ 10
122
+ ordinalize
123
+ i
124
+ 10
125
+ 45
126
+ 0
127
+ 1
128
+ 43
129
+ 2
130
+ 5
131
+ 49
132
+ 3
133
+ 1
134
+ 11
135
+ I
136
+ 2
137
+ I
138
+ 0
139
+ I
140
+ 0
141
+ I
142
+ 0
143
+ n
144
+ p
145
+ 4
146
+ x
147
+ 13
148
+ ActiveSupport
149
+ n
150
+ x
151
+ 9
152
+ Inflector
153
+ x
154
+ 10
155
+ ordinalize
156
+ p
157
+ 5
158
+ I
159
+ -1
160
+ I
161
+ b
162
+ I
163
+ 0
164
+ I
165
+ c
166
+ I
167
+ a
168
+ x
169
+ 101
170
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/integer/inflections.rb
171
+ p
172
+ 0
173
+ x
174
+ 17
175
+ method_visibility
176
+ x
177
+ 15
178
+ add_defn_method
179
+ p
180
+ 3
181
+ I
182
+ 2
183
+ I
184
+ b
185
+ I
186
+ 10
187
+ x
188
+ 101
189
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/integer/inflections.rb
190
+ p
191
+ 0
192
+ x
193
+ 13
194
+ attach_method
195
+ p
196
+ 5
197
+ I
198
+ 0
199
+ I
200
+ 1
201
+ I
202
+ 9
203
+ I
204
+ 3
205
+ I
206
+ 26
207
+ x
208
+ 101
209
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/integer/inflections.rb
210
+ p
211
+ 0
@@ -0,0 +1,214 @@
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
+ 7
55
+ Integer
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
+ 7
68
+ Integer
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
+ 12
100
+ multiple_of?
101
+ M
102
+ 1
103
+ n
104
+ n
105
+ x
106
+ 12
107
+ multiple_of?
108
+ i
109
+ 30
110
+ 20
111
+ 0
112
+ 78
113
+ 83
114
+ 0
115
+ 10
116
+ 10
117
+ 2
118
+ 8
119
+ 11
120
+ 3
121
+ 9
122
+ 24
123
+ 5
124
+ 20
125
+ 0
126
+ 49
127
+ 1
128
+ 1
129
+ 78
130
+ 83
131
+ 0
132
+ 8
133
+ 29
134
+ 5
135
+ 47
136
+ 49
137
+ 2
138
+ 0
139
+ 11
140
+ I
141
+ 3
142
+ I
143
+ 1
144
+ I
145
+ 1
146
+ I
147
+ 1
148
+ n
149
+ p
150
+ 3
151
+ x
152
+ 2
153
+ ==
154
+ x
155
+ 1
156
+ %
157
+ x
158
+ 5
159
+ zero?
160
+ p
161
+ 5
162
+ I
163
+ -1
164
+ I
165
+ 3
166
+ I
167
+ 0
168
+ I
169
+ 4
170
+ I
171
+ 1e
172
+ x
173
+ 98
174
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/integer/multiple.rb
175
+ p
176
+ 1
177
+ x
178
+ 6
179
+ number
180
+ x
181
+ 17
182
+ method_visibility
183
+ x
184
+ 15
185
+ add_defn_method
186
+ p
187
+ 3
188
+ I
189
+ 2
190
+ I
191
+ 3
192
+ I
193
+ 10
194
+ x
195
+ 98
196
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/integer/multiple.rb
197
+ p
198
+ 0
199
+ x
200
+ 13
201
+ attach_method
202
+ p
203
+ 3
204
+ I
205
+ 0
206
+ I
207
+ 1
208
+ I
209
+ 1d
210
+ x
211
+ 98
212
+ /Users/santiago/WyeWorks/Projs/rails/activesupport/lib/active_support/core_ext/integer/multiple.rb
213
+ p
214
+ 0