localeapp 3.2.0 → 3.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: 85de9c28ef6cb1e929598b0e15d57ad7c24096dcc69e58f5980381a2d3462402
4
- data.tar.gz: 89c70dcc761979df1ead452d5063f412d3dfccf8238e331fb0c2f7a7e4f235c8
3
+ metadata.gz: 9ae1a6275c06e67be70d5928a931d76b6c82a3376baf3ac23d233694c74ae760
4
+ data.tar.gz: 8a223f69cf4b65bfb79bbbd650f1f1f71c85a376b136b26651c72104a9f93dfc
5
5
  SHA512:
6
- metadata.gz: 0b9ad084d7e4128a62a307c4b011b9267be038f21f32262608aa548f94c7325325d403eed5815c74ac018c4742ae6543a11bdde1a2ff1d1c4f8658ddfbc259dd
7
- data.tar.gz: cdc7790c9f6d8a62c3f5db3af4a3d848a7cbda9a3dbe95cd47beee2381fb48dfac0e646db9a3891fadc28c8a5a3bfff2e959b84a5e2c51449e3e6bbbf1de8643
6
+ metadata.gz: 9fe3ac6532472f2b93cadbdb0ce8b3c4b7cf8bad59739db47044bb5cf2675bf6844bb2329f2f674bdc3d5c7011d366adee13b97b09b2ff05c07780a00f5e6541
7
+ data.tar.gz: 1f50388ec54d72d13d2129f5bc631b84a6e12900bc649c40266b1e2628b5e004be27c2a3bcb7c635afe0c3922f7bce84c2ae63d7b0e95296bcb0ce8ddb54bf0e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # master
2
2
 
3
+ # Version 3.3.0
4
+
5
+ * Support I18n >= 1.9.0 (thanks to [@ryanb](https://github.com/ryanb))
6
+
3
7
  # Version 3.2.0
4
8
 
5
9
  * Support ruby 3.0 (thanks to [@spilin](https://github.com/spilin))
@@ -49,7 +49,8 @@ module Localeapp::TranslationHelperRails41MonkeyPatch
49
49
 
50
50
  if html_safe_translation_key?(key)
51
51
  html_safe_options = options.dup
52
- options.except(*I18n::RESERVED_KEYS).each do |name, value|
52
+ options.each do |name, value|
53
+ next if I18n::RESERVED_KEYS.include?(name)
53
54
  unless name == :count && value.is_a?(Numeric)
54
55
  html_safe_options[name] = ERB::Util.html_escape(value.to_s)
55
56
  end
@@ -1,3 +1,3 @@
1
1
  module Localeapp
2
- VERSION = "3.2.0"
2
+ VERSION = "3.3.0"
3
3
  end
data/lib/localeapp.rb CHANGED
@@ -1,5 +1,4 @@
1
1
  require 'i18n'
2
- require 'i18n/core_ext/hash'
3
2
  require 'yaml'
4
3
 
5
4
  require 'localeapp/i18n_shim'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: localeapp
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.0
4
+ version: 3.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Dell
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2021-07-12 00:00:00.000000000 Z
14
+ date: 2022-02-22 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: i18n
@@ -298,8 +298,64 @@ required_rubygems_version: !ruby/object:Gem::Requirement
298
298
  - !ruby/object:Gem::Version
299
299
  version: '0'
300
300
  requirements: []
301
- rubygems_version: 3.0.3
301
+ rubygems_version: 3.0.3.1
302
302
  signing_key:
303
303
  specification_version: 4
304
304
  summary: Easy i18n translation management with localeapp.com
305
- test_files: []
305
+ test_files:
306
+ - features/add.feature
307
+ - features/bad_command.feature
308
+ - features/cp.feature
309
+ - features/env_file.feature
310
+ - features/environment.feature
311
+ - features/help.feature
312
+ - features/install.feature
313
+ - features/install/write_env_file.feature
314
+ - features/mv.feature
315
+ - features/options/api_key.feature
316
+ - features/pull.feature
317
+ - features/push.feature
318
+ - features/rm.feature
319
+ - features/step_definitions/cli_steps.rb
320
+ - features/step_definitions/execution_steps.rb
321
+ - features/step_definitions/filesystem_steps.rb
322
+ - features/step_definitions/output_steps.rb
323
+ - features/support/env.rb
324
+ - features/support/hooks.rb
325
+ - features/update.feature
326
+ - spec/fixtures/empty_log.yml
327
+ - spec/fixtures/en.yml
328
+ - spec/fixtures/es.yml
329
+ - spec/fixtures/string_log.yml
330
+ - spec/fixtures/symbol_log.yml
331
+ - spec/gemfiles/i18n_0.7.gemfile
332
+ - spec/gemfiles/i18n_0.8.gemfile
333
+ - spec/gemfiles/i18n_0.9.gemfile
334
+ - spec/gemfiles/i18n_1.0.gemfile
335
+ - spec/localeapp/api_call_spec.rb
336
+ - spec/localeapp/api_caller_spec.rb
337
+ - spec/localeapp/cli/add_spec.rb
338
+ - spec/localeapp/cli/copy_spec.rb
339
+ - spec/localeapp/cli/daemon_spec.rb
340
+ - spec/localeapp/cli/install_spec.rb
341
+ - spec/localeapp/cli/pull_spec.rb
342
+ - spec/localeapp/cli/push_spec.rb
343
+ - spec/localeapp/cli/rename_spec.rb
344
+ - spec/localeapp/cli/update_spec.rb
345
+ - spec/localeapp/configuration_spec.rb
346
+ - spec/localeapp/default_value_handler_spec.rb
347
+ - spec/localeapp/exception_handler_spec.rb
348
+ - spec/localeapp/key_checker_spec.rb
349
+ - spec/localeapp/missing_translations_spec.rb
350
+ - spec/localeapp/poller_spec.rb
351
+ - spec/localeapp/rails/controller_spec.rb
352
+ - spec/localeapp/routes_spec.rb
353
+ - spec/localeapp/sender_spec.rb
354
+ - spec/localeapp/sync_file_spec.rb
355
+ - spec/localeapp/updater_spec.rb
356
+ - spec/localeapp_spec.rb
357
+ - spec/spec_helper.rb
358
+ - spec/support/fakeweb_socket_close_patch.rb
359
+ - spec/support/i18n/missing_translation.rb
360
+ - spec/support/localeapp_integration_data.rb
361
+ - spec/support/localeapp_synchronization_data.rb