phrase-ota-i18n 1.0.0 → 1.0.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: 2f9c7981adbdad2b7ccda60036861f500c4855dc3793cb536d3282845af6197e
4
- data.tar.gz: 7a41b105cf56b98f410faefd85b938a83988f7d0d82e79e7fd8d374bea52aabc
3
+ metadata.gz: 348aeb752b1b54dd06a06363a1c81235dc799c8f59e1ad735cf85b43dd888f2a
4
+ data.tar.gz: de25387546ec36b726e660591cf421a7d994144a9d4e4032a6fa8f555a9e92d5
5
5
  SHA512:
6
- metadata.gz: c622e6fbf7ed2b806ed4d6466ba6e48c0917e1c184dfcd39e7af0d01aee6fa02a02947f0c4873f8da394d72a0a2e36c76164e335f79317469da834c98a263e2c
7
- data.tar.gz: 4c14fe8da857858018ff49d457657d361224d3c42af94578b1caed6090357f452ce774081a87241436daf3c66de153a2f610103cf33cbca1971e50c836cd8263
6
+ metadata.gz: 5bdcf6a5086b6dc0dba354960e451dd60fbcfdf2caac61370d13abab2ff4ccded7fa77a887ce030c0a6f566ac3cfbf20b093f27556a2e123fdb6fe037b400b56
7
+ data.tar.gz: 24ed5ce4b7c8e3dd619ebb47c10063754b66dc9f92986ea784e7c235f1bb0bbd55be7d4671e2fd5505a0f72288641bcf6b7ccf5f1d1c7b1689c5ac05c7f9a789
@@ -9,6 +9,7 @@ jobs:
9
9
  runs-on: ubuntu-latest
10
10
  steps:
11
11
  - uses: GoogleCloudPlatform/release-please-action@ca6063f4ed81b55db15b8c42d1b6f7925866342d # pin@3.7.11
12
+ id: release
12
13
  with:
13
14
  release-type: ruby
14
15
  package-name: phrase-ota-i18n
data/CHANGELOG.md CHANGED
@@ -1,5 +1,12 @@
1
1
  # Changelog
2
2
 
3
+ ## [1.0.1](https://github.com/phrase/phrase-ota-i18n/compare/v1.0.0...v1.0.1) (2023-09-04)
4
+
5
+
6
+ ### Bug Fixes
7
+
8
+ * translations are kept on backend init ([1ac31cc](https://github.com/phrase/phrase-ota-i18n/commit/1ac31cc4cb7cfc6f6ce186a80dd26a19a8bdc844))
9
+
3
10
  ## 1.0.0 (2023-08-07)
4
11
 
5
12
 
@@ -7,6 +7,7 @@ module Phrase
7
7
  class Backend < I18n::Backend::Simple
8
8
  def initialize
9
9
  @current_version = nil
10
+ @initialized = true # initializing immeditaly as we don't want to wait until all OTA translations have been fetched
10
11
  start_polling
11
12
  end
12
13
 
@@ -15,8 +16,6 @@ module Phrase
15
16
  end
16
17
 
17
18
  def init_translations
18
- @translations = {}
19
- @initialized = true
20
19
  end
21
20
 
22
21
  protected
@@ -1,5 +1,5 @@
1
1
  module Phrase
2
2
  module Ota
3
- VERSION = "1.0.0"
3
+ VERSION = "1.0.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phrase-ota-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Phrase
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-08-08 00:00:00.000000000 Z
11
+ date: 2023-09-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: i18n
@@ -86,7 +86,7 @@ licenses:
86
86
  - MIT
87
87
  metadata:
88
88
  homepage_uri: https://github.com/phrase/phrase-ota-i18n
89
- post_install_message:
89
+ post_install_message:
90
90
  rdoc_options: []
91
91
  require_paths:
92
92
  - lib
@@ -102,7 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
102
102
  version: '0'
103
103
  requirements: []
104
104
  rubygems_version: 3.4.10
105
- signing_key:
105
+ signing_key:
106
106
  specification_version: 4
107
107
  summary: Phrase OTA for Rails i18n
108
108
  test_files: []