instant18n 0.2.0 → 0.3.0

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: af3564289cdc4981a333fb0c025cd2d0516c2ac02ab58b2400a908bfa868d433
4
- data.tar.gz: 259eaded36cebdc81ca9be6aa2b6ee0e92746134adccc4bbf97a2a92b5c8c1d9
3
+ metadata.gz: 2375fc582bc3fbd99f0370e6fcc883e98f5f8b36f8c4fe4b8ccead708d867e0a
4
+ data.tar.gz: 5c81c81dbe323386e89a8ea16058b50dd6523277c4bd4f5dc3f7155f17eacd1f
5
5
  SHA512:
6
- metadata.gz: db7636f2d73fbda914f291852f622fdfd929d8a0e55fd72655ae157d2a0d158b5225a152e07342d67ea6dcd2edbae51d94c500af8f70ee3012d46d631cfa066a
7
- data.tar.gz: 001adadd86524419b2b8bb56aef909136c0f93449da4cead10c2ff1b2e59cfd7ed160c56209c81a68b9f45e8d7de33328e16e9eb48ce5487eae51844ec737a17
6
+ metadata.gz: 57083e56ea937cd29504000bbf72875ba203f117437fe6b532a6d3fbc2aaaf85e984c640238ee60ef24ce85b2231375b589948ab7145ea422884c5fe4683c07f
7
+ data.tar.gz: 23620ccdd52174fab272fce5d9c662bc662c123dc019b8cb7b50a82ae37fe2837be2e3881653a1aff7b4840ea7a1138bfcf4305e4dab288516c5680e2aac7a5c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- instant18n (0.1.0)
4
+ instant18n (0.2.0)
5
5
  actionview
6
6
  activesupport
7
7
  railties
@@ -49,7 +49,7 @@ module I18n
49
49
  chat(prompt % { key: key, lang: lang }, directive: DIRECTIVE, **opts)
50
50
  end
51
51
  end.then do |text|
52
- text = text.gsub(/^"+|"+$/, '') # remove wrapper double quotes
52
+ text = text.to_s.gsub(/^"+|"+$/, '') # remove wrapper double quotes
53
53
  if opts[:class].present?
54
54
  tag.div(text, class: "instant18n #{lang.parameterize} #{opts[:class]}")
55
55
  else
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Instant18n
4
- VERSION = "0.2.0"
4
+ VERSION = "0.3.0"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: instant18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Obie Fernandez
@@ -83,7 +83,6 @@ files:
83
83
  - LICENSE.txt
84
84
  - README.md
85
85
  - Rakefile
86
- - instant18n-0.1.0.gem
87
86
  - instant18n.gemspec
88
87
  - lib/i18n_extensions.rb
89
88
  - lib/instant18n.rb
data/instant18n-0.1.0.gem DELETED
Binary file