i18n_screwdriver 10.7.1 → 10.7.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: 76a39322176f654caf984b440afbec19e5ab621ec43e12987387abb557eaa39d
4
- data.tar.gz: ebeb4e4d601f2e2e3b285c0205df1fe4fd431222e320e682602147f7fe480774
3
+ metadata.gz: 57a6bec82c2faf9f7cc122a4066d757dc2f9e0c558a8de17221b5b12f5d78942
4
+ data.tar.gz: e537c9bd5db20c19af05c82f82e1f79ff7ade1c9a533ac61bdc7ffeebc68e16a
5
5
  SHA512:
6
- metadata.gz: fd6d8db420e11c9bfa2b64097d341e3fc35665bb3d65b4f2a174192ab5d49b8df26bc19caf0b4ace16ed18bc6a27666fbbcc07abdbc4a3d258b3dca35a2ba401
7
- data.tar.gz: af29837b462f81b67c57af11a3e54dd563f4c29096760f11ffdf08dac9140ee8b4bf8e8cf3c5c842ffa88f97a84800bac091c6bdc7b0b120947c5d9be0d6a448
6
+ metadata.gz: 27e340aae80efaa77983dd81f813e465edafc6070881145d04d37ba9f1034b24c67ca8160338712d43b5c74dc06525bf59706309a9cec6d676c4874319ff4826
7
+ data.tar.gz: 7db431175c45025d4ca6e3965bc3495f78c598cf417e63fa71d3dc97664f3b43159bd861b1bdec9914152c732286955be844fc78ec3c8cd7c33459a273a6aefd
@@ -1,3 +1,3 @@
1
1
  module I18nScrewdriver
2
- VERSION = "10.7.1"
2
+ VERSION = "10.7.2"
3
3
  end
@@ -24,12 +24,12 @@ module I18nScrewdriver
24
24
  end
25
25
 
26
26
  def self.file_with_translations_exists?(locale)
27
- File.exists?(filename_for_locale(locale))
27
+ File.exist?(filename_for_locale(locale))
28
28
  end
29
29
 
30
30
  def self.load_translations(locale)
31
31
  path = filename_for_locale(locale)
32
- raise Error, "File #{path} not found!" unless File.exists?(path)
32
+ raise Error, "File #{path} not found!" unless File.exist?(path)
33
33
  sanitize_hash(YAML.load_file(path)[locale])
34
34
  end
35
35
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: i18n_screwdriver
3
3
  version: !ruby/object:Gem::Version
4
- version: 10.7.1
4
+ version: 10.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Miesel
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2023-02-24 00:00:00.000000000 Z
12
+ date: 2023-03-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec