papla 0.2.0 → 0.2.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ad8bc60cfbc7433ddf213f56f8552f8f4ec7c6fe6d16c69defe6a66f2cf89262
4
- data.tar.gz: 9781f0eeaad5b0574d5d064956925089022d429e8d375806336b3fc0474de6f3
3
+ metadata.gz: a2748fe6cf97db3d1d458861d23315e79c71bfa9b4b5b6ba33ecbaa82f14409d
4
+ data.tar.gz: c3bb0864233d95d4bea50adcca9522a965e9577dded5c7275dbd2cab0e08c8e1
5
5
  SHA512:
6
- metadata.gz: 3585afa7107b81096c31182e2e38d11de1e3069a9a49704b106794cc73c25121ae40e54af72c18b9271a369aea06855c7cd595d41ebab5493ab1cef25fbc9269
7
- data.tar.gz: 81235bd5e501776861e8531f9d6f5de3d2a1c5bc1b160e5aba83e41605b36084fecfa7b8aa602d27db33608c34f7d41a030121f25da2f566c2ee91c287f8d1fe
6
+ metadata.gz: 139e97cab434aec9d21e24dd7e0d24ee797cabdfbff477a9227afa282fc428aaf30cfdb835bc403636ab07e04a53be4a35e57c6b91aeb201967fbc6b6f78cdc6
7
+ data.tar.gz: 94c54d18d296d31abdb060da1d425175ecbf1688d11aa4a3a9879a985b1d1da7de16e300dd7f26aee861e0fd5fc941b1739ca198f90961999dd4dc79c3d9c8eb
@@ -1 +1 @@
1
- 2.5.1
1
+ 2.7.0
@@ -1,5 +1,9 @@
1
1
  ### Unreleased
2
2
 
3
+ ### 0.2.1 (2020-03-04)
4
+
5
+ * Fix deprecation warning when using I18n and Ruby 2.7
6
+
3
7
  ### 0.2.0 (2018-08-27)
4
8
 
5
9
  * Fix deprecation warning when using Money
@@ -35,7 +35,7 @@ module Papla
35
35
 
36
36
  def translate(message, options = {})
37
37
  options[:scope] = :papla
38
- I18n.translate(message, options)
38
+ I18n.translate(message, **options)
39
39
  end
40
40
 
41
41
  def pluralization_rule(number)
@@ -1,3 +1,3 @@
1
1
  module Papla
2
- VERSION = '0.2.0'
2
+ VERSION = '0.2.1'
3
3
  end
@@ -11,8 +11,6 @@ Gem::Specification.new do |s|
11
11
  s.summary = %q{Use Ruby to convert numbers into Polish and English words}
12
12
  s.description = %q{Papla is a Ruby gem that allows you to convert numbers into Polish and English words.}
13
13
 
14
- s.rubyforge_project = "papla"
15
-
16
14
  s.files = `git ls-files`.split("\n")
17
15
  s.test_files = `git ls-files -- {spec}/*`.split("\n")
18
16
  s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
@@ -1,2 +1,5 @@
1
1
  require 'money'
2
+
3
+ Money.rounding_mode = BigDecimal::ROUND_HALF_EVEN
4
+
2
5
  require 'papla'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: papla
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Olek Janiszewski
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-26 00:00:00.000000000 Z
11
+ date: 2020-03-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -115,8 +115,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
115
115
  - !ruby/object:Gem::Version
116
116
  version: '0'
117
117
  requirements: []
118
- rubyforge_project: papla
119
- rubygems_version: 2.7.7
118
+ rubygems_version: 3.1.2
120
119
  signing_key:
121
120
  specification_version: 4
122
121
  summary: Use Ruby to convert numbers into Polish and English words