avm-tools 0.109.0 → 0.109.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/avm/patches/i18n.rb +22 -0
- data/lib/avm/projects/stereotypes/ruby_gem/version_bump.rb +2 -2
- data/lib/avm/tools/version.rb +1 -1
- data/vendor/avm/lib/avm/jobs/base.rb +1 -0
- data/vendor/eac_fs/lib/eac_fs/patches/object/fs_cache.rb +4 -2
- data/vendor/eac_fs/lib/eac_fs/version.rb +1 -1
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/gems_registry/gem.rb +4 -0
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/gems_registry.rb +1 -1
- data/vendor/eac_ruby_utils/lib/eac_ruby_utils/version.rb +1 -1
- metadata +65 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4fb253fe8f448ec59893d5aedcd818661142dd53efc0043d934da9e57e841dab
|
4
|
+
data.tar.gz: 5c6bcf1c7ba068dc25ce894a43b893facc3a4304632d2b8df84266d99cd5bc36
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8b50d5638c8e3c660da897cb51ff08d79b56be1f0ba3c0543b4da887143777c369175c81d13efef2011187e53ed4f102e96854217458a517ca8e068248c1ffcb
|
7
|
+
data.tar.gz: fa9d2274713b503ffe149eff0c259a27c6ec725d47f48ddb56ea749525a1719e50ca42c61166d37f8637cf7c7202609ed76310bec62a1d86a9f6cd09fbfbf933
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
require 'avm/self/root'
|
4
|
+
require 'i18n'
|
5
|
+
|
6
|
+
module Avm
|
7
|
+
module Patches
|
8
|
+
module I18n
|
9
|
+
class << self
|
10
|
+
def setup_i18n
|
11
|
+
::I18n.load_path += locale_files_paths.map(&:to_path)
|
12
|
+
end
|
13
|
+
|
14
|
+
def locale_files_paths
|
15
|
+
::Avm::Self.root.join('locale').glob('*.yml')
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
::Avm::Patches::I18n.setup_i18n
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require 'avm/patches/
|
3
|
+
require 'avm/patches/i18n'
|
4
4
|
require 'eac_ruby_utils/core_ext'
|
5
5
|
|
6
6
|
module Avm
|
@@ -47,7 +47,7 @@ module Avm
|
|
47
47
|
end
|
48
48
|
|
49
49
|
def git_commit_message
|
50
|
-
|
50
|
+
i18n_translate(__method__, version: target_version, __locale: instance.locale)
|
51
51
|
end
|
52
52
|
|
53
53
|
def changing_files
|
data/lib/avm/tools/version.rb
CHANGED
@@ -5,10 +5,12 @@ require 'eac_fs/patches/module/fs_cache'
|
|
5
5
|
class Object
|
6
6
|
# @return [EacFs::Cache]
|
7
7
|
def fs_cache
|
8
|
-
|
8
|
+
oid = fs_cache_object_id
|
9
|
+
oid = [oid.to_s] unless oid.is_a?(::Enumerable)
|
10
|
+
oid.inject(self.class.fs_cache) { |a, e| a.child(e.to_s) }
|
9
11
|
end
|
10
12
|
|
11
|
-
# @return [String]
|
13
|
+
# @return [String, Array<String>]
|
12
14
|
def fs_cache_object_id
|
13
15
|
raise 'Abstract method hit'
|
14
16
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: avm-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.109.
|
4
|
+
version: 0.109.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Esquilo Azul Company
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-10-
|
11
|
+
date: 2021-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aranha-parsers
|
@@ -52,6 +52,68 @@ dependencies:
|
|
52
52
|
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: avm-eac_redmine_base0
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0.2'
|
62
|
+
- - ">="
|
63
|
+
- !ruby/object:Gem::Version
|
64
|
+
version: 0.2.2
|
65
|
+
type: :runtime
|
66
|
+
prerelease: false
|
67
|
+
version_requirements: !ruby/object:Gem::Requirement
|
68
|
+
requirements:
|
69
|
+
- - "~>"
|
70
|
+
- !ruby/object:Gem::Version
|
71
|
+
version: '0.2'
|
72
|
+
- - ">="
|
73
|
+
- !ruby/object:Gem::Version
|
74
|
+
version: 0.2.2
|
75
|
+
- !ruby/object:Gem::Dependency
|
76
|
+
name: avm-eac_ruby_base1
|
77
|
+
requirement: !ruby/object:Gem::Requirement
|
78
|
+
requirements:
|
79
|
+
- - "~>"
|
80
|
+
- !ruby/object:Gem::Version
|
81
|
+
version: '0.1'
|
82
|
+
type: :runtime
|
83
|
+
prerelease: false
|
84
|
+
version_requirements: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - "~>"
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0.1'
|
89
|
+
- !ruby/object:Gem::Dependency
|
90
|
+
name: avm-files
|
91
|
+
requirement: !ruby/object:Gem::Requirement
|
92
|
+
requirements:
|
93
|
+
- - "~>"
|
94
|
+
- !ruby/object:Gem::Version
|
95
|
+
version: '0.1'
|
96
|
+
type: :runtime
|
97
|
+
prerelease: false
|
98
|
+
version_requirements: !ruby/object:Gem::Requirement
|
99
|
+
requirements:
|
100
|
+
- - "~>"
|
101
|
+
- !ruby/object:Gem::Version
|
102
|
+
version: '0.1'
|
103
|
+
- !ruby/object:Gem::Dependency
|
104
|
+
name: avm-git
|
105
|
+
requirement: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - "~>"
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0.1'
|
110
|
+
type: :runtime
|
111
|
+
prerelease: false
|
112
|
+
version_requirements: !ruby/object:Gem::Requirement
|
113
|
+
requirements:
|
114
|
+
- - "~>"
|
115
|
+
- !ruby/object:Gem::Version
|
116
|
+
version: '0.1'
|
55
117
|
- !ruby/object:Gem::Dependency
|
56
118
|
name: clipboard
|
57
119
|
requirement: !ruby/object:Gem::Requirement
|
@@ -275,6 +337,7 @@ files:
|
|
275
337
|
- lib/avm/patches.rb
|
276
338
|
- lib/avm/patches/eac_ruby_gems_utils.rb
|
277
339
|
- lib/avm/patches/eac_ruby_gems_utils/gem.rb
|
340
|
+
- lib/avm/patches/i18n.rb
|
278
341
|
- lib/avm/patches/object.rb
|
279
342
|
- lib/avm/patches/object/template.rb
|
280
343
|
- lib/avm/postgresql.rb
|