ruby-lsp-i18n 0.4.0 → 0.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ef50020995375f664510365b17c970d6732fd3affec58a902fd7865244ae6702
4
- data.tar.gz: 362f3463407c6fa6fad0ea4f3121c4ed3f66ceb4ab079e32be4187da25c65e53
3
+ metadata.gz: 39e8bd0cc02af27cee57f27e9179b5bb736fefecbacad509bd36fe5e15dc5941
4
+ data.tar.gz: aa1c8007c118f98f836514d3184250117de0977ac20c4c54e84204cb2c334189
5
5
  SHA512:
6
- metadata.gz: 2ffebae3651d61ce648fb155ebf3b27f7456fabd93c931c57a26127e52e143bc18cc3843dbfb72203af91a0c7e47885968e5c0cbda96fad122f19dbc650037d6
7
- data.tar.gz: 91ceb189f956e6f983084f74214ad21b55ce85b90e67eb6b6e96ef8313d1a16311478f15d770c68875dc3fb77868d4fb65a76cfa336f8bc873e989b276da5db7
6
+ metadata.gz: 388301a80e6d4a998090ab9a751ec1223f1ff6b8f73bdefbeb4d4ae1b90180e5fd9c9631e2c403ff37a3929ef042ec87ca291ce282b1940d634b767d0f44881c
7
+ data.tar.gz: 3a6505a2eda183c434ab81d10576a5c6cc51a95d851c675307b8cb1f9559167c6ae0bb53e179979ea4fe1850ce6539a3b03fc6efbb97971eee778f87746039ec
data/.ruby-version CHANGED
@@ -1 +1 @@
1
- 3.3.4
1
+ 3.4.4
data/CHANGELOG.md CHANGED
@@ -1,4 +1,11 @@
1
1
  ## [Unreleased]
2
+ ## [0.4.2] - 2025-07-21
3
+
4
+ - Allow to load Symbol and Date from yml files
5
+
6
+ ## [0.4.1] - 2025-07-21
7
+
8
+ - Updated RubyLsp to 0.25
2
9
 
3
10
  ## [0.4.0] - 2025-07-18
4
11
 
@@ -8,7 +8,7 @@ require_relative "listeners/completion"
8
8
  require_relative "i18n_index"
9
9
  require_relative "../../ruby_lsp_i18n/version"
10
10
 
11
- RubyLsp::Addon.depend_on_ruby_lsp!("~> 0.25.0")
11
+ RubyLsp::Addon.depend_on_ruby_lsp!("~> 0.26.0")
12
12
 
13
13
  module RubyLsp
14
14
  module RubyLspI18n
@@ -85,7 +85,7 @@ module RubyLsp
85
85
 
86
86
  # Load translations only if the current yaml is valid
87
87
  begin
88
- translations = YAML.load_file(path, aliases: true)
88
+ translations = YAML.load_file(path, aliases: true, permitted_classes: [Symbol, Date])
89
89
  rescue Psych::SyntaxError
90
90
  return
91
91
  end
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RubyLsp
4
4
  module RubyLspI18n
5
- VERSION = "0.4.0"
5
+ VERSION = "0.4.2"
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby-lsp-i18n
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - domingo2000
8
- autorequire:
9
8
  bindir: exe
10
9
  cert_chain: []
11
- date: 2025-07-18 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
12
11
  dependencies: []
13
12
  description: Gives support for i18n in Ruby LSP
14
13
  email:
@@ -38,7 +37,6 @@ files:
38
37
  - lib/ruby_lsp_i18n.rb
39
38
  - lib/ruby_lsp_i18n/version.rb
40
39
  - media/demo.gif
41
- - ruby-lsp-i18n-0.3.0.gem
42
40
  - ruby-lsp-i18n.gemspec
43
41
  - sorbet/config
44
42
  - sorbet/rbi/annotations/.gitattributes
@@ -92,7 +90,6 @@ metadata:
92
90
  homepage_uri: https://github.com/bukhr/ruby-lsp-i18n
93
91
  source_code_uri: https://github.com/bukhr/ruby-lsp-i18n
94
92
  changelog_uri: https://github.com/bukhr/ruby-lsp-i18n/blob/main/CHANGELOG.md
95
- post_install_message:
96
93
  rdoc_options: []
97
94
  require_paths:
98
95
  - lib
@@ -107,8 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
107
104
  - !ruby/object:Gem::Version
108
105
  version: '0'
109
106
  requirements: []
110
- rubygems_version: 3.5.11
111
- signing_key:
107
+ rubygems_version: 3.6.7
112
108
  specification_version: 4
113
109
  summary: Gives support for i18n in Ruby LSP
114
110
  test_files: []
Binary file