fast_gettext 2.2.0 → 2.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: 70c22bbca4ca33f6445edaff4da234fb2c2a0b8a3ccc954d1f7353490fa63627
4
- data.tar.gz: b04c5cfd44d7eb617d503dbd80beb88a69f35aa654fda00c560c86e5b209a940
3
+ metadata.gz: fd142399ba76554f219419441c5591bcbaec03952fd4e9c78fe10d3a4853f13e
4
+ data.tar.gz: f2bced062cbea2a26a5f516a827919d9b6a5851ac8cecd90fed2d1d3196d7f4b
5
5
  SHA512:
6
- metadata.gz: e6ba6f8da19725a3a23ad7bd5d1bfdfe8bef6db6a3ab58fc5afea74625f4425d8313353c5f978df930acd132c46db467d55358513eaadcf24bdfe6c2c1b95fcb
7
- data.tar.gz: 762e7fa657ea3cf1bc69cf2136db1121d811772dd540b680ff49a74e6f3f45f4bcefb0425ed734f4168b9c0ce0a590fd2a386b3f14194a5e5238f074dc65786e
6
+ metadata.gz: 4de75b912d96f43333ad82b6e4d6a185d883b23ace4d278ecd9aaca7670d751d17be1ed0413482f72296034b61b5cb1fe05261715f233cce07da5e776681fd13
7
+ data.tar.gz: a6ae68e754d3d99cd9ecc2f9337683adc6883b13dbd21f74e8135eb41a6d3d94764b583383642b68dda890a0ca6979b688e23df243aad99dd28ab696d3a7eb56
@@ -44,7 +44,7 @@ module FastGettext
44
44
  end
45
45
 
46
46
  def self.empty
47
- MoFile.new(File.join(File.dirname(__FILE__), 'vendor', 'empty.mo'))
47
+ @empty ||= MoFile.new(File.join(__dir__, 'vendor', 'empty.mo'), eager_load: true).freeze
48
48
  end
49
49
 
50
50
  private
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastGettext
4
- VERSION = Version = '2.2.0' # rubocop:disable Naming/ConstantName
4
+ VERSION = Version = '2.3.0' # rubocop:disable Naming/ConstantName
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fast_gettext
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.2.0
4
+ version: 2.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-01-20 00:00:00.000000000 Z
11
+ date: 2023-02-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -108,6 +108,20 @@ dependencies:
108
108
  - - ">="
109
109
  - !ruby/object:Gem::Version
110
110
  version: '0'
111
+ - !ruby/object:Gem::Dependency
112
+ name: rubocop-packaging
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ">="
116
+ - !ruby/object:Gem::Version
117
+ version: '0'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - ">="
123
+ - !ruby/object:Gem::Version
124
+ version: '0'
111
125
  - !ruby/object:Gem::Dependency
112
126
  name: single_cov
113
127
  requirement: !ruby/object:Gem::Requirement
@@ -136,7 +150,7 @@ dependencies:
136
150
  - - ">="
137
151
  - !ruby/object:Gem::Version
138
152
  version: '0'
139
- description:
153
+ description:
140
154
  email: michael@grosser.it
141
155
  executables: []
142
156
  extensions: []
@@ -174,7 +188,7 @@ licenses:
174
188
  - MIT
175
189
  - Ruby
176
190
  metadata: {}
177
- post_install_message:
191
+ post_install_message:
178
192
  rdoc_options: []
179
193
  require_paths:
180
194
  - lib
@@ -189,8 +203,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
189
203
  - !ruby/object:Gem::Version
190
204
  version: '0'
191
205
  requirements: []
192
- rubygems_version: 3.1.6
193
- signing_key:
206
+ rubygems_version: 3.3.3
207
+ signing_key:
194
208
  specification_version: 4
195
209
  summary: A simple, fast, memory-efficient and threadsafe implementation of GetText
196
210
  test_files: []