fast_gettext 2.4.0 → 3.1.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: 848e15b39ac8254c08157985cc305fb7614e174a6d9e7dc67cffd539b6e6e7bd
4
- data.tar.gz: c924a96b4a6d49df8db3b64f1b3651ddce6b036a91cfd9f8eb1f194c7a2b2c0d
3
+ metadata.gz: bafc7c8a404376de4731fee7974898616e9218096b75d667f87d4d1ebf435d76
4
+ data.tar.gz: e7b3992809e416b30d80305b80fd1aa9092954463e6a9fee58f44f844c8d540a
5
5
  SHA512:
6
- metadata.gz: b5eb17c87dd2e8b603a283477b9c56877b47b45b6b545a917c5b838e92435045753fdd5c99a21746cccef4a096089b0d8befebab09dd70e6fba16d73d75b1c3f
7
- data.tar.gz: 603a34a0ededf3164e1f85a2b5e07048b4bca050a2cb39ac056be25f62677f0a674cc07b8ddc1e4bb560c5aa22f73438c5a2610976f60cd10fb6713e0bfbcb5a
6
+ metadata.gz: feb42678bbee41fe12f2ea6d4e55a9ad1af4afbb4edb4cb1f5736ad275101938a717b168726f40f08695a7cc7e9678fdc8dc3d95c1ad2a533c94dbd57af38329
7
+ data.tar.gz: af0a583a57e498952d88b7346a31e8dba50cb6a1c621fd7e9e09bc53367c0ec470195d56118108cfce0c0ae460a1bd3b503dd59f9a8b88a6110eb402e8c2c5b0
data/CHANGELOG CHANGED
@@ -1,3 +1,5 @@
1
+ 3.1.0 -- Work with frozen strings
2
+ 3.0.0 -- Drop ruby 2.x support
1
3
  2.4.0 -- Depend on prime gem
2
4
  2.3.0 -- Load empty mo file only once
3
5
  2.2.0 -- Use update instead of update_attributes
@@ -47,8 +47,8 @@ module FastGettext
47
47
  :trans_sysdep_tab_offset
48
48
  end
49
49
 
50
- MAGIC_BIG_ENDIAN = "\x95\x04\x12\xde"
51
- MAGIC_LITTLE_ENDIAN = "\xde\x12\x04\x95"
50
+ MAGIC_BIG_ENDIAN = +"\x95\x04\x12\xde"
51
+ MAGIC_LITTLE_ENDIAN = +"\xde\x12\x04\x95"
52
52
  if "".respond_to?(:force_encoding)
53
53
  MAGIC_BIG_ENDIAN.force_encoding("ASCII-8BIT")
54
54
  MAGIC_LITTLE_ENDIAN.force_encoding("ASCII-8BIT")
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module FastGettext
4
- VERSION = Version = '2.4.0' # rubocop:disable Naming/ConstantName
4
+ VERSION = Version = '3.1.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.4.0
4
+ version: 3.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-20 00:00:00.000000000 Z
11
+ date: 2024-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: prime
@@ -42,16 +42,16 @@ dependencies:
42
42
  name: sqlite3
43
43
  requirement: !ruby/object:Gem::Requirement
44
44
  requirements:
45
- - - ">="
45
+ - - "~>"
46
46
  - !ruby/object:Gem::Version
47
- version: '0'
47
+ version: '1.4'
48
48
  type: :development
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
- - - ">="
52
+ - - "~>"
53
53
  - !ruby/object:Gem::Version
54
- version: '0'
54
+ version: '1.4'
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -210,14 +210,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
210
210
  requirements:
211
211
  - - ">="
212
212
  - !ruby/object:Gem::Version
213
- version: 2.5.0
213
+ version: 3.0.0
214
214
  required_rubygems_version: !ruby/object:Gem::Requirement
215
215
  requirements:
216
216
  - - ">="
217
217
  - !ruby/object:Gem::Version
218
218
  version: '0'
219
219
  requirements: []
220
- rubygems_version: 3.1.6
220
+ rubygems_version: 3.4.10
221
221
  signing_key:
222
222
  specification_version: 4
223
223
  summary: A simple, fast, memory-efficient and threadsafe implementation of GetText