https://github.com/RubyMoney/money

sort by:
Revision Author Date Message Commit Date
614b1f8 Merge pull request #527 from rosskevin/patch-1 Add intro to formatting in usage and name the section 12 June 2015, 18:48:25 UTC
bc74305 Add intro to formatting in usage and name the section I entirely missed the formatting options upon reading the readme. Added a short section in usage, and turned what was a note in i18n into a section header to highlight the usefulness of the formatting module. 12 June 2015, 15:56:26 UTC
4586b46 Merge pull request #526 from nashbridges/fix-jod-subunit Fix Jordanian Dinar subunit (100 -> 1000). 08 June 2015, 15:23:36 UTC
169458f Fix Jordanian Dinar subunit (100 -> 1000). According to http://en.wikipedia.org/wiki/ISO_4217 JOD exponent is 3. Central Bank of Jordan is also states that 1/2 qirsh coin (i.e. 5 fulūs) is still in circulation ( http://www.cbj.gov.jo/pages.php?local_type=26&category=14&subcategory=28) 08 June 2015, 14:27:54 UTC
3cc2c35 Merge pull request #525 from askuratovsky/master add money-json-rates gem link to README.md 06 June 2015, 08:03:36 UTC
0a02e22 add money-json-rates gem link to README.md 06 June 2015, 00:02:53 UTC
1821f2f Merge pull request #524 from printercu/patch-1 Fix VariableExchange#exchange_with for big numbers. Fixes #523 04 June 2015, 20:59:02 UTC
3285c01 Fix VariableExchange#exchange_with for big numbers. Fixes #523 04 June 2015, 20:21:51 UTC
03c2034 Merge pull request #520 from RubyMoney/revert-519-CLP-subunit-change Revert "CLP subunit_to_unit change from 1 to 100" 31 May 2015, 18:54:55 UTC
8be7938 Revert "CLP subunit_to_unit change from 1 to 100" 31 May 2015, 18:54:47 UTC
60b7f2c Merge pull request #519 from zkarpinski/CLP-subunit-change CLP subunit_to_unit change from 1 to 100 29 May 2015, 20:32:19 UTC
af013f5 Including link to issues with CLP subunit_to_unit 29 May 2015, 12:23:47 UTC
5de86ca Updated test for CLP subunit:unit change 28 May 2015, 20:18:09 UTC
4a2d83e Setting subunit_to_unit for CLP to 100 The smallest unit for a chilean peso is supposed to be 1 centavo. While these are out of circulation the 1:1 subunit:unit setting is causing incorrect conversions to other currencies. My findings are explained in more detail here https://github.com/RubyMoney/google_currency/issues/38 28 May 2015, 20:14:10 UTC
224d181 Merge pull request #517 from RubyMoney/thread_safe_memory_store_transaction Any state change should be protected by mutex. 24 May 2015, 02:27:57 UTC
668c0e0 Any state change should be protected by mutex. 24 May 2015, 00:45:59 UTC
b04d8a7 Merge pull request #516 from ismasan/decouple_rate_store Decouple exchange rates storage from VariableExchange bank 22 May 2015, 01:35:28 UTC
8031379 Mentioned this branch’s work in Changelog. 21 May 2015, 20:59:12 UTC
5e4562f typos 21 May 2015, 20:57:37 UTC
61c243f Syntax highlighting. 21 May 2015, 20:57:37 UTC
c9f9532 Title 21 May 2015, 20:57:37 UTC
34044c1 Document custom stores. 21 May 2015, 20:57:37 UTC
5ea04a5 Simplified RatesStore API and decoupled RateStore::Memory’s internal index from bank’s export/import. * RatesStore#each_rate returns Enumerator used by Bank’s export_data method. * RateStore::Memory mutex flag is passed on initialisation, not on every call to #add_rate and #get_rate. Defaults to thread-safe. * RateStore::Memory and Bank::VariableExchange happen to index / export data with “_TO_” separator, but these two clases should not about eachother’s internal serialisation. 21 May 2015, 20:57:37 UTC
27fb5ae Documented Money::RatesStore::Memory class. 21 May 2015, 20:57:37 UTC
5cebf27 Tested that RatesStore::Memory#transaction uses mutex. Bank::VariableExchange doesn’t know anything about mutexes (that’s the Store’s job). 21 May 2015, 20:57:37 UTC
6bf2159 Move exchange rates storage from Bank::VariableExchange to RatesStore::Memory. VariableExchange uses that store by default. This allows us to swap the storage mechanism (i.e. Redis, memcache, database, file, etc) without losing the behaviour in VariableExchange, or having to subclass or re-implement it. Composition > Inheritance. RatesStore::Memory only deals in currency iso codes: type checking and coercing stops at the bank. Removed testing of private #rate_key_for method. Todo: * do not test instance variables! (@mutex). Find a better way to test thread-safety. * move thread-safety tests to store tests. Bank doesn’t need to know about it. 21 May 2015, 20:57:37 UTC
1aabe0d Merge pull request #514 from jasonahooper/master only one unit in South Korean Won 21 May 2015, 16:20:02 UTC
95457b5 Merge branch 'master' of github.com:RubyMoney/money Conflicts: CHANGELOG.md 21 May 2015, 15:23:49 UTC
542f033 only one unit in South Korean Won 21 May 2015, 11:28:49 UTC
ae9f929 Merge pull request #515 from crftr/arithmetic-0-equals-0 0 in one currency should equal 0 in any other currency 17 May 2015, 22:13:41 UTC
59ef674 0 in one currency should equal 0 in any other currency A special circumstance for #== to recognize that the value of 0 money will also equal 0 in any other currency. 17 May 2015, 21:14:25 UTC
add9afb Merge pull request #513 from mikerodrigues/master updated CHANGELOG and AUTHORS 14 May 2015, 23:50:30 UTC
9506edc updated CHANGELOG and AUTHORS 14 May 2015, 23:26:18 UTC
9fed308 Merge pull request #512 from mikerodrigues/master Minor fixes to prevent superfluous warnings 13 May 2015, 17:10:54 UTC
e3af22f moved documentation for default_currency attr to correct place 13 May 2015, 06:01:28 UTC
5cee39b fixed conditions that cause warning on require 13 May 2015, 05:55:18 UTC
ed04ecf Merge pull request #510 from printercu/patch-1 Less objects allocations in .from_amount 07 May 2015, 13:55:38 UTC
46ba7a1 Less objects allocations in .from_amount 07 May 2015, 07:38:43 UTC
9b4ca5d Merge pull request #511 from JuanitoFatas/feature/loader-specs Add spec for Money::Currency::Loader 07 May 2015, 05:17:17 UTC
caa41e0 Add spec for Money::Currency::Loader 07 May 2015, 03:45:42 UTC
838832a Merge pull request #508 from basex/master Fix the subunit_to_unit values of the CLP 21 April 2015, 16:08:11 UTC
cbc416a Fix the subunit_to_unit values of the CLP 21 April 2015, 10:46:39 UTC
e893ca5 Merge pull request #499 from douglasmiller/master Adding support for translating currency symbols 10 April 2015, 05:32:00 UTC
6758431 Merge pull request #506 from cade/fix-clf-exponent Change CLF exponent from 0 to 4 06 April 2015, 19:37:07 UTC
bfa7108 Change CLF exponent from 0 to 4 06 April 2015, 17:33:49 UTC
e0eb7a5 Merge pull request #503 from arthurkarganyan/patch-2 eql? method replaced by alias_method :eql?, :== 12 March 2015, 18:42:34 UTC
c86bbbf eql? method replaced by alias_method :eql?, :== 12 March 2015, 18:15:09 UTC
d36f9f9 Adding documentation of the :translate option of the #format method 24 February 2015, 20:24:41 UTC
3d537e3 Adding :translate option to the format method 24 February 2015, 20:07:19 UTC
588371c Adding support for translating currency symbols 24 February 2015, 18:09:56 UTC
d9e0bd8 Merge pull request #498 from cade/master Changed CHF symbol from 'Fr' to 'CHF' 20 February 2015, 00:26:08 UTC
8a30f52 Changed CHF symbol from 'Fr' to 'CHF' 17 February 2015, 21:21:55 UTC
6d97813 Merge pull request #496 from epidemian/specs-tweaks Minor spec tweaks 08 February 2015, 01:26:19 UTC
f7b1306 DRY-up specs by using an :infinite_precision tag Needed to update to RSpec 3.2 to be able to use a shared_context on single examples. 07 February 2015, 17:18:36 UTC
4d818c0 Remove Array.wrap definition from spec_helper Kernel#Array works just as good :D 07 February 2015, 17:18:36 UTC
20edf99 Merge pull request #495 from epidemian/from-amount Add Money.from_amount 07 February 2015, 16:31:23 UTC
c1fdab7 Add Money.from_amount reference to README and CHANGELOG 07 February 2015, 03:18:47 UTC
43c62eb Add Money.from_amount 07 February 2015, 03:18:44 UTC
3479b96 Merge pull request #494 from epidemian/variable-exchange-doc-fix Use Money.new instead of Numeric#to_money in VariableExchange docs 06 February 2015, 03:44:25 UTC
ab5530d Use Money#inspect output on VariableExchange docs 06 February 2015, 02:15:56 UTC
fe26b33 Use Money.new instead of Numeric#to_money in VariableExchange docs 06 February 2015, 01:12:27 UTC
b9fdcb0 Merge pull request #492 from RubyMoney/specs wrapping spec files in the 'Money' class/modules 03 February 2015, 15:56:32 UTC
2a4b303 Merge pull request #491 from RubyMoney/missing-attribute-error Add Currency::MissingAttributeError 03 February 2015, 15:15:56 UTC
db77e69 wrapping spec files in the 'Money' class/modules This way we don't have to qualify every reference to 'Currency' etc by prefacing it with 'Money' 03 February 2015, 14:59:02 UTC
6e409cc Currency.all raises a more helpful error message if a currency has no priority 03 February 2015, 14:50:21 UTC
52da31f Merge pull request #490 from seongreen/up-version-to-6-5-1 Up version to 6.5.1 03 February 2015, 13:12:08 UTC
1d6ae8c Up vesion to 6.5.1 03 February 2015, 12:56:12 UTC
87d9c39 Merge pull request #2 from seongreen/fix-byr-alternate-sym Fix alternate symbols for BYR 03 February 2015, 12:24:41 UTC
f2d455f Merge pull request #489 from seongreen/fix-byr-alternate-sym Fix byr alternate sym 03 February 2015, 12:15:27 UTC
3b3afa4 Fix alternate symbols for BYR 03 February 2015, 11:57:30 UTC
b28d61a Merge pull request #488 from RubyMoney/currency_enumerable Currency extends Enumerable, and is more robust when sorting 01 February 2015, 15:59:38 UTC
0659f2b Currency implements Enumerable 01 February 2015, 15:53:05 UTC
9c7bc68 `Currency#<=>` sorts alphabetically by `id` if the `priority`s are the same, and no longer raises an error if one of the priorities is missing. 01 February 2015, 15:36:20 UTC
5d5cef6 fixing broken attribute tags in documentation 01 February 2015, 14:44:52 UTC
b222c77 better documentation for Currency#stringified_keys and #unregister 01 February 2015, 14:24:41 UTC
a137346 enhancements to Money::Currency.unregister. 1) It can take an ISO code argument in addition to a Hash 2) It returns if the given currency previously existed, and if it didn't. 3) It has specs! 31 January 2015, 20:42:13 UTC
506ae99 Merge pull request #487 from seongreen/improve-byr-format Improve BYR format. Delete subunit 30 January 2015, 16:48:41 UTC
5d4668d Merge pull request #1 from seongreen/improve-byr-format Improve BYR format. Delete subunit 30 January 2015, 13:53:14 UTC
7810d3f Improve BYR format. Delete subunit 30 January 2015, 09:41:26 UTC
33c1911 Merge pull request #486 from jkingdon/swaziland-symbol Change Swazi lilangeni symbol to E. 27 January 2015, 02:40:38 UTC
28d22c4 Change Swazi lilangeni symbol to E. L is singular only (e.g. L1). Need to use E for anything other than one (e.g. E2, E5, etc), and using E for everything is the norm for computers. 27 January 2015, 02:07:23 UTC
f643921 Merge pull request #483 from jasonahooper/master No longer coins under 1 króna. See http://en.wikipedia.org/wiki/Icelandi... 21 January 2015, 23:00:33 UTC
161d36d No longer coins under 1 króna. See http://en.wikipedia.org/wiki/Icelandic_kr%C3%B3na#Second_kr.C3.B3na.2C_1981.E2.80.93present 21 January 2015, 21:36:47 UTC
6aa9633 Merge pull request #482 from RubyMoney/symbol_position #format raises an error if passed an invalid option for symbol_position_from 15 January 2015, 14:57:55 UTC
99ecfbd Merge pull request #481 from RubyMoney/docs adding more documentation for Money#format [ci skip] 15 January 2015, 14:57:39 UTC
59c73ac adding myself to authors ;) 15 January 2015, 12:08:23 UTC
2bf937e #format raises an error if passed an invalid option for symbol_position_from 15 January 2015, 12:06:21 UTC
4b20ee5 adding more documentation for Money#format [ci skip] docs for ':html_wrap_symbol' and ':symbol_position' options. 15 January 2015, 11:58:26 UTC
379671b updating CHANGELOG 14 January 2015, 12:00:15 UTC
b0e2994 Merge pull request #480 from RubyMoney/initialize refactoring Currency.initialize 14 January 2015, 11:56:56 UTC
bd17234 refactoring Currency.initialize 14 January 2015, 11:43:18 UTC
31ad320 Merge pull request #477 from RubyMoney/constructors Extracting 'constructor' functions to a module, adding aliases and GBP 13 January 2015, 17:01:28 UTC
09d14d0 Merge pull request #478 from RubyMoney/register Register 13 January 2015, 17:01:09 UTC
aea6a9e adding documentation for Money::Currency#register 13 January 2015, 15:03:03 UTC
cc8bb0e more helpful error message when trying to register a currency without an iso_code. Fixing README: iso_code isn't optional 13 January 2015, 14:58:38 UTC
8610bea adding tests for Money::Currency.register 13 January 2015, 14:57:08 UTC
7ec0e99 DRYing currency_spec 13 January 2015, 14:56:24 UTC
11f838a adding methods for GBP 13 January 2015, 13:54:48 UTC
6a33989 Merge pull request #476 from RubyMoney/parentheses wrapping negative numbers in parentheses 13 January 2015, 13:51:42 UTC
2afc344 extracting constructor functions to a new module 13 January 2015, 11:33:06 UTC
back to top