agilibox 1.9.11 → 1.9.12

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: d6f250ec4f6f4ef77fdd8b97e3e3a108af27d14d5bfcf1e0a259ff275da29c79
4
- data.tar.gz: 689226f654268890df31149735f9fa74dd6c3ff722dbf9293b1a3969bf951961
3
+ metadata.gz: 30abb8a54ea0a05b2754f7977520e8709ed2d46f126c2a6ee58432e52fb5a2f0
4
+ data.tar.gz: e353109f751bbfb8fde4c71beff88ea84211720a584eb7d585d68c64caacf566
5
5
  SHA512:
6
- metadata.gz: 3748848e759e9c0a3b9c366112418e8e5d61717a8c3ee6ce8f7b6998d3dcd3c6c1bc5c2a75f23f469ee48b37825824336985175a3c782ec5d12ea0948651610b
7
- data.tar.gz: 0b662af2891d5370e167e17561a096f2af1614fa24a1f44f3cbf2167bdfc075a6cb6a02b157b821bac9d9de7ca2de68954eb9f8e58cc3c10c60514b0f6bbae39
6
+ metadata.gz: 64aefab9b8873a5f6f0f862e1f05435bf28fa0dd5dbae03a7624328f31d07dedf651f192af8c3b89118d44d157397d9d7cfc8c477d4c95ac8c05863561cc2400
7
+ data.tar.gz: dbfa164bdb05e6be77d21d53455dee070f08426176af20902931bbecf7f47bd016737c45ad85b2a33a4edb4aa296306df062327f89e71e7d2c010161343c3ca2
@@ -2,6 +2,9 @@
2
2
 
3
3
  ## Next version
4
4
 
5
+ ## v1.9.12
6
+ - Fix some Ruby 2.7 warnings
7
+
5
8
  ## v1.9.11
6
9
  - Fix some Ruby 2.7 warnings
7
10
 
@@ -11,13 +11,13 @@ class Agilibox::SMS::ApplicationSMS
11
11
  options[:action_name]
12
12
  end
13
13
 
14
- def t(key, *args)
14
+ def t(key, **args)
15
15
  if key.start_with?(".")
16
16
  path = self.class.to_s.underscore.tr("/", ".")
17
17
  key = "#{path}.#{action_name}#{key}"
18
18
  end
19
19
 
20
- I18n.t(key, *args)
20
+ I18n.t(key, **args)
21
21
  end
22
22
 
23
23
  def sms(data)
@@ -1,3 +1,3 @@
1
1
  module Agilibox
2
- VERSION = "1.9.11"
2
+ VERSION = "1.9.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: agilibox
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.11
4
+ version: 1.9.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - agilidée
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-12-07 00:00:00.000000000 Z
11
+ date: 2020-12-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails-i18n