floor_calculator 0.3.0 → 0.3.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/lib/floor_calculator.rb +1 -1
  3. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fe185c950b0b83c4214df9d95400c053576af3de
4
- data.tar.gz: b05b85f7c94883edcf75ecb07f251234d45f00a9
3
+ metadata.gz: 9c9a29685f7d4b2abb4e140d89c7e3aec911a7fd
4
+ data.tar.gz: 88439edb17d4f8c5f022f755c6c6d3ebba0210c0
5
5
  SHA512:
6
- metadata.gz: 60bbfb0045d413053a228daf8b04e23143f0ffbe6fa6ff04543cd49ed0deb357bc661aa222616e48475ce01b96027549af7ffbc64975e1c72a4da2eea1470cf3
7
- data.tar.gz: 04dcedee3b828a5041f10209481964540811ca632cde0cf8d5f7ca18bb34c795833aef0842e28cc4ad1e1e50342f8f361759471561a2fd53e00871abc44ec009
6
+ metadata.gz: 928a60f6ca3861a18075eda3a3d12062475e7135df021917a72a846d7beff232f7c28a29f4d7e03dc0467550f2f7b335949b39bcf0e0149777f4aa21dc61d74a
7
+ data.tar.gz: 1af3242a8ca6c988332e679a5e0e355c6a98e127ff1fef4c70609fd2c65579bbcd410d8bbe4e3bb7ac7c6737a473518a8e2282f8939a1b38288de8dd6006c814
@@ -5,7 +5,7 @@ require 'money'
5
5
 
6
6
  module FloorCalculator
7
7
  def self.initialize_methods
8
- %i(usd gbp jpy mxn cad eur).each do |country_code|
8
+ %i(usd gbp jpy mxn cad eur aud).each do |country_code|
9
9
  Dentaku::Calculator.add_function country_code, :numeric, ->(value) do
10
10
  if value.is_a?(Money)
11
11
  value.exchange_to(country_code.to_s)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: floor_calculator
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Marek Mikołajczyk
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  version: '0'
95
95
  requirements: []
96
96
  rubyforge_project:
97
- rubygems_version: 2.5.2
97
+ rubygems_version: 2.6.14
98
98
  signing_key:
99
99
  specification_version: 4
100
100
  summary: Floor Calculator