money 3.6.2 → 3.7.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +9 -0
- data/README.md +1 -1
- data/lib/money.rbc +182 -0
- data/lib/money/bank/base.rbc +800 -0
- data/lib/money/bank/variable_exchange.rbc +2514 -0
- data/lib/money/core_extensions.rbc +648 -0
- data/lib/money/currency.rbc +22674 -0
- data/lib/money/money.rb +19 -1
- data/lib/money/money.rbc +3658 -0
- data/lib/money/money/arithmetic.rbc +2742 -0
- data/lib/money/money/formatting.rb +24 -14
- data/lib/money/money/formatting.rbc +2163 -0
- data/lib/money/money/parsing.rbc +2713 -0
- data/money.gemspec +2 -2
- data/spec/bank/base_spec.rbc +2409 -0
- data/spec/bank/variable_exchange_spec.rbc +7389 -0
- data/spec/core_extensions_spec.rbc +5861 -0
- data/spec/currency_spec.rbc +4487 -0
- data/spec/money/arithmetic_spec.rbc +24952 -0
- data/spec/money/formatting_spec.rb +23 -0
- data/spec/money/formatting_spec.rbc +11767 -0
- data/spec/money/parsing_spec.rbc +6439 -0
- data/spec/money_spec.rb +21 -0
- data/spec/money_spec.rbc +9157 -0
- data/spec/spec_helper.rbc +567 -0
- metadata +70 -86
@@ -0,0 +1,567 @@
|
|
1
|
+
!RBIX
|
2
|
+
17831730954501249321
|
3
|
+
x
|
4
|
+
M
|
5
|
+
1
|
6
|
+
n
|
7
|
+
n
|
8
|
+
x
|
9
|
+
10
|
10
|
+
__script__
|
11
|
+
i
|
12
|
+
62
|
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
|
+
99
|
32
|
+
7
|
33
|
+
3
|
34
|
+
7
|
35
|
+
4
|
36
|
+
65
|
37
|
+
67
|
38
|
+
49
|
39
|
+
5
|
40
|
+
0
|
41
|
+
49
|
42
|
+
6
|
43
|
+
4
|
44
|
+
15
|
45
|
+
99
|
46
|
+
7
|
47
|
+
7
|
48
|
+
7
|
49
|
+
8
|
50
|
+
65
|
51
|
+
67
|
52
|
+
49
|
53
|
+
5
|
54
|
+
0
|
55
|
+
49
|
56
|
+
6
|
57
|
+
4
|
58
|
+
15
|
59
|
+
99
|
60
|
+
7
|
61
|
+
9
|
62
|
+
7
|
63
|
+
10
|
64
|
+
65
|
65
|
+
67
|
66
|
+
49
|
67
|
+
5
|
68
|
+
0
|
69
|
+
49
|
70
|
+
6
|
71
|
+
4
|
72
|
+
15
|
73
|
+
2
|
74
|
+
11
|
75
|
+
I
|
76
|
+
5
|
77
|
+
I
|
78
|
+
0
|
79
|
+
I
|
80
|
+
0
|
81
|
+
I
|
82
|
+
0
|
83
|
+
n
|
84
|
+
p
|
85
|
+
11
|
86
|
+
s
|
87
|
+
5
|
88
|
+
money
|
89
|
+
x
|
90
|
+
7
|
91
|
+
require
|
92
|
+
s
|
93
|
+
8
|
94
|
+
rubygems
|
95
|
+
x
|
96
|
+
16
|
97
|
+
silence_warnings
|
98
|
+
M
|
99
|
+
1
|
100
|
+
n
|
101
|
+
n
|
102
|
+
x
|
103
|
+
16
|
104
|
+
silence_warnings
|
105
|
+
i
|
106
|
+
65
|
107
|
+
29
|
108
|
+
39
|
109
|
+
1
|
110
|
+
26
|
111
|
+
93
|
112
|
+
0
|
113
|
+
15
|
114
|
+
99
|
115
|
+
43
|
116
|
+
0
|
117
|
+
7
|
118
|
+
1
|
119
|
+
49
|
120
|
+
2
|
121
|
+
1
|
122
|
+
1
|
123
|
+
17
|
124
|
+
2
|
125
|
+
19
|
126
|
+
0
|
127
|
+
15
|
128
|
+
99
|
129
|
+
43
|
130
|
+
0
|
131
|
+
12
|
132
|
+
7
|
133
|
+
1
|
134
|
+
12
|
135
|
+
49
|
136
|
+
3
|
137
|
+
2
|
138
|
+
15
|
139
|
+
2
|
140
|
+
15
|
141
|
+
60
|
142
|
+
0
|
143
|
+
30
|
144
|
+
8
|
145
|
+
53
|
146
|
+
26
|
147
|
+
99
|
148
|
+
43
|
149
|
+
0
|
150
|
+
7
|
151
|
+
1
|
152
|
+
20
|
153
|
+
0
|
154
|
+
49
|
155
|
+
3
|
156
|
+
2
|
157
|
+
15
|
158
|
+
27
|
159
|
+
34
|
160
|
+
99
|
161
|
+
43
|
162
|
+
0
|
163
|
+
7
|
164
|
+
1
|
165
|
+
20
|
166
|
+
0
|
167
|
+
49
|
168
|
+
3
|
169
|
+
2
|
170
|
+
15
|
171
|
+
11
|
172
|
+
I
|
173
|
+
6
|
174
|
+
I
|
175
|
+
1
|
176
|
+
I
|
177
|
+
0
|
178
|
+
I
|
179
|
+
0
|
180
|
+
n
|
181
|
+
p
|
182
|
+
4
|
183
|
+
x
|
184
|
+
7
|
185
|
+
Globals
|
186
|
+
x
|
187
|
+
8
|
188
|
+
$VERBOSE
|
189
|
+
x
|
190
|
+
2
|
191
|
+
[]
|
192
|
+
x
|
193
|
+
3
|
194
|
+
[]=
|
195
|
+
p
|
196
|
+
11
|
197
|
+
I
|
198
|
+
-1
|
199
|
+
I
|
200
|
+
7
|
201
|
+
I
|
202
|
+
0
|
203
|
+
I
|
204
|
+
8
|
205
|
+
I
|
206
|
+
22
|
207
|
+
I
|
208
|
+
9
|
209
|
+
I
|
210
|
+
28
|
211
|
+
I
|
212
|
+
b
|
213
|
+
I
|
214
|
+
35
|
215
|
+
I
|
216
|
+
b
|
217
|
+
I
|
218
|
+
41
|
219
|
+
x
|
220
|
+
54
|
221
|
+
/Users/semmons99/Dropbox/src/money/spec/spec_helper.rb
|
222
|
+
p
|
223
|
+
1
|
224
|
+
x
|
225
|
+
11
|
226
|
+
old_verbose
|
227
|
+
x
|
228
|
+
17
|
229
|
+
method_visibility
|
230
|
+
x
|
231
|
+
15
|
232
|
+
add_defn_method
|
233
|
+
x
|
234
|
+
10
|
235
|
+
reset_i18n
|
236
|
+
M
|
237
|
+
1
|
238
|
+
n
|
239
|
+
n
|
240
|
+
x
|
241
|
+
10
|
242
|
+
reset_i18n
|
243
|
+
i
|
244
|
+
39
|
245
|
+
45
|
246
|
+
0
|
247
|
+
1
|
248
|
+
45
|
249
|
+
0
|
250
|
+
2
|
251
|
+
43
|
252
|
+
3
|
253
|
+
43
|
254
|
+
4
|
255
|
+
13
|
256
|
+
71
|
257
|
+
5
|
258
|
+
47
|
259
|
+
9
|
260
|
+
28
|
261
|
+
47
|
262
|
+
49
|
263
|
+
6
|
264
|
+
0
|
265
|
+
13
|
266
|
+
47
|
267
|
+
49
|
268
|
+
7
|
269
|
+
0
|
270
|
+
15
|
271
|
+
8
|
272
|
+
31
|
273
|
+
49
|
274
|
+
5
|
275
|
+
0
|
276
|
+
13
|
277
|
+
18
|
278
|
+
2
|
279
|
+
49
|
280
|
+
8
|
281
|
+
1
|
282
|
+
15
|
283
|
+
11
|
284
|
+
I
|
285
|
+
3
|
286
|
+
I
|
287
|
+
0
|
288
|
+
I
|
289
|
+
0
|
290
|
+
I
|
291
|
+
0
|
292
|
+
n
|
293
|
+
p
|
294
|
+
9
|
295
|
+
x
|
296
|
+
4
|
297
|
+
I18n
|
298
|
+
n
|
299
|
+
n
|
300
|
+
x
|
301
|
+
7
|
302
|
+
Backend
|
303
|
+
x
|
304
|
+
6
|
305
|
+
Simple
|
306
|
+
x
|
307
|
+
3
|
308
|
+
new
|
309
|
+
x
|
310
|
+
8
|
311
|
+
allocate
|
312
|
+
x
|
313
|
+
10
|
314
|
+
initialize
|
315
|
+
x
|
316
|
+
8
|
317
|
+
backend=
|
318
|
+
p
|
319
|
+
5
|
320
|
+
I
|
321
|
+
-1
|
322
|
+
I
|
323
|
+
e
|
324
|
+
I
|
325
|
+
0
|
326
|
+
I
|
327
|
+
f
|
328
|
+
I
|
329
|
+
27
|
330
|
+
x
|
331
|
+
54
|
332
|
+
/Users/semmons99/Dropbox/src/money/spec/spec_helper.rb
|
333
|
+
p
|
334
|
+
0
|
335
|
+
x
|
336
|
+
29
|
337
|
+
store_number_currency_formats
|
338
|
+
M
|
339
|
+
1
|
340
|
+
n
|
341
|
+
n
|
342
|
+
x
|
343
|
+
29
|
344
|
+
store_number_currency_formats
|
345
|
+
i
|
346
|
+
81
|
347
|
+
45
|
348
|
+
0
|
349
|
+
1
|
350
|
+
49
|
351
|
+
2
|
352
|
+
0
|
353
|
+
20
|
354
|
+
0
|
355
|
+
44
|
356
|
+
43
|
357
|
+
3
|
358
|
+
79
|
359
|
+
49
|
360
|
+
4
|
361
|
+
1
|
362
|
+
13
|
363
|
+
7
|
364
|
+
5
|
365
|
+
44
|
366
|
+
43
|
367
|
+
3
|
368
|
+
79
|
369
|
+
49
|
370
|
+
4
|
371
|
+
1
|
372
|
+
13
|
373
|
+
7
|
374
|
+
6
|
375
|
+
44
|
376
|
+
43
|
377
|
+
3
|
378
|
+
79
|
379
|
+
49
|
380
|
+
4
|
381
|
+
1
|
382
|
+
13
|
383
|
+
7
|
384
|
+
7
|
385
|
+
44
|
386
|
+
43
|
387
|
+
3
|
388
|
+
80
|
389
|
+
49
|
390
|
+
4
|
391
|
+
1
|
392
|
+
13
|
393
|
+
7
|
394
|
+
8
|
395
|
+
7
|
396
|
+
9
|
397
|
+
64
|
398
|
+
49
|
399
|
+
10
|
400
|
+
2
|
401
|
+
15
|
402
|
+
13
|
403
|
+
7
|
404
|
+
11
|
405
|
+
7
|
406
|
+
12
|
407
|
+
64
|
408
|
+
49
|
409
|
+
10
|
410
|
+
2
|
411
|
+
15
|
412
|
+
49
|
413
|
+
10
|
414
|
+
2
|
415
|
+
15
|
416
|
+
49
|
417
|
+
10
|
418
|
+
2
|
419
|
+
15
|
420
|
+
49
|
421
|
+
10
|
422
|
+
2
|
423
|
+
15
|
424
|
+
49
|
425
|
+
13
|
426
|
+
2
|
427
|
+
11
|
428
|
+
I
|
429
|
+
10
|
430
|
+
I
|
431
|
+
1
|
432
|
+
I
|
433
|
+
1
|
434
|
+
I
|
435
|
+
1
|
436
|
+
n
|
437
|
+
p
|
438
|
+
14
|
439
|
+
x
|
440
|
+
4
|
441
|
+
I18n
|
442
|
+
n
|
443
|
+
x
|
444
|
+
7
|
445
|
+
backend
|
446
|
+
x
|
447
|
+
4
|
448
|
+
Hash
|
449
|
+
x
|
450
|
+
16
|
451
|
+
new_from_literal
|
452
|
+
x
|
453
|
+
6
|
454
|
+
number
|
455
|
+
x
|
456
|
+
8
|
457
|
+
currency
|
458
|
+
x
|
459
|
+
6
|
460
|
+
format
|
461
|
+
x
|
462
|
+
9
|
463
|
+
delimiter
|
464
|
+
s
|
465
|
+
1
|
466
|
+
,
|
467
|
+
x
|
468
|
+
3
|
469
|
+
[]=
|
470
|
+
x
|
471
|
+
9
|
472
|
+
separator
|
473
|
+
s
|
474
|
+
1
|
475
|
+
.
|
476
|
+
x
|
477
|
+
18
|
478
|
+
store_translations
|
479
|
+
p
|
480
|
+
25
|
481
|
+
I
|
482
|
+
-1
|
483
|
+
I
|
484
|
+
12
|
485
|
+
I
|
486
|
+
0
|
487
|
+
I
|
488
|
+
13
|
489
|
+
I
|
490
|
+
8
|
491
|
+
I
|
492
|
+
1b
|
493
|
+
I
|
494
|
+
10
|
495
|
+
I
|
496
|
+
14
|
497
|
+
I
|
498
|
+
12
|
499
|
+
I
|
500
|
+
1b
|
501
|
+
I
|
502
|
+
1a
|
503
|
+
I
|
504
|
+
15
|
505
|
+
I
|
506
|
+
1c
|
507
|
+
I
|
508
|
+
1a
|
509
|
+
I
|
510
|
+
24
|
511
|
+
I
|
512
|
+
16
|
513
|
+
I
|
514
|
+
26
|
515
|
+
I
|
516
|
+
19
|
517
|
+
I
|
518
|
+
2e
|
519
|
+
I
|
520
|
+
17
|
521
|
+
I
|
522
|
+
38
|
523
|
+
I
|
524
|
+
18
|
525
|
+
I
|
526
|
+
4d
|
527
|
+
I
|
528
|
+
13
|
529
|
+
I
|
530
|
+
51
|
531
|
+
x
|
532
|
+
54
|
533
|
+
/Users/semmons99/Dropbox/src/money/spec/spec_helper.rb
|
534
|
+
p
|
535
|
+
1
|
536
|
+
x
|
537
|
+
6
|
538
|
+
locale
|
539
|
+
p
|
540
|
+
11
|
541
|
+
I
|
542
|
+
0
|
543
|
+
I
|
544
|
+
1
|
545
|
+
I
|
546
|
+
9
|
547
|
+
I
|
548
|
+
2
|
549
|
+
I
|
550
|
+
12
|
551
|
+
I
|
552
|
+
7
|
553
|
+
I
|
554
|
+
20
|
555
|
+
I
|
556
|
+
e
|
557
|
+
I
|
558
|
+
2e
|
559
|
+
I
|
560
|
+
12
|
561
|
+
I
|
562
|
+
3e
|
563
|
+
x
|
564
|
+
54
|
565
|
+
/Users/semmons99/Dropbox/src/money/spec/spec_helper.rb
|
566
|
+
p
|
567
|
+
0
|