ree_lib 1.0.95 → 1.0.97

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: 7e8b705443daf4776540951e35b4f80fb232b95292bd0c1c589124e24914fb7d
4
- data.tar.gz: aefa991e6d624886cca7052a14b8a126222cdf4e29a0438b1b473b6b62020fe6
3
+ metadata.gz: 0abde0387434e00249a069e3fbd94cb6f89eaa716690d1b5f8489c076b501f49
4
+ data.tar.gz: '0383a1aab0ad09f72cb303571bd64eeb98f166e41e5d9822a0873d4264c814f6'
5
5
  SHA512:
6
- metadata.gz: c8efb3a06244abe7248da8aefa9438fcab0fad88167ead0017f82ea95aba3b25bf816b093480cb91d87c8948da0af91447c0316d25299e6357e213605f8356fc
7
- data.tar.gz: cf257f985bcf7a0b7389567480fa53790d771e56e0c45d915fcec10000f719f9ac0e28bee42468e25f7ce158ac705956509de93d70acf465f2edb83bdef4b050
6
+ metadata.gz: 7a1a2fe4c5fdf601ad4e627f8fefd6aa7965014406e698fa8861f176bbe960f5e2b53ee63e73459aa0ff982ab02ba8260f34de07c54e7e218ba096e4e30b3d6d
7
+ data.tar.gz: ea904c3aa28ad01cd38ff57053700eccbe543f056fbcc8540081deffb4eee0b73d71e53119b253dcfc9e00cfaba1972a54f05c74fe58a84f4a055b9ba405e174
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- ree_lib (1.0.95)
4
+ ree_lib (1.0.97)
5
5
  bigdecimal (~> 3.1.6)
6
6
  binding_of_caller (~> 1.0.0)
7
7
  i18n (~> 1.14.1)
@@ -2,8 +2,8 @@ module ReeErrors
2
2
  class Error < StandardError
3
3
  include Ree::LinkDSL
4
4
 
5
- link :t, from: :ree_i18n
6
5
  link :check_locale_exists, from: :ree_i18n
6
+ link :t, from: :ree_i18n
7
7
  link :underscore, from: :ree_string
8
8
 
9
9
  def initialize(msg = nil)
@@ -20,7 +20,7 @@ module ReeErrors
20
20
  has_path = path.include?(".")
21
21
 
22
22
  if has_path
23
- pre_path = [caller_module, caller_class].compact.map { underscore(_)}.join(".")
23
+ pre_path = [caller_module, caller_class].compact.map { underscore(_1)}.join(".")
24
24
 
25
25
  if check_locale_exists(path)
26
26
  t(path, default_by_locale: :en)
@@ -71,8 +71,9 @@ module ReeMapper
71
71
  mod.instance_variable_set(:@mapper_semaphore, Mutex.new)
72
72
  end
73
73
 
74
+ factory = self.build_mapper_factory(mod)
75
+
74
76
  mod.instance_variable_get(:@mapper_semaphore).synchronize do
75
- factory = self.build_mapper_factory(mod)
76
77
  mod.instance_variable_set(:@mapper_factory, factory)
77
78
  end
78
79
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ReeLib
4
- VERSION = "1.0.95"
4
+ VERSION = "1.0.97"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ree_lib
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.95
4
+ version: 1.0.97
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ruslan Gatiyatov
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-29 00:00:00.000000000 Z
11
+ date: 2024-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ree