avm-eac_ruby_base1 0.42.1 → 0.43.0
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 +4 -4
- data/lib/avm/eac_ruby_base1/rspec/source_generator.rb +2 -2
- data/lib/avm/eac_ruby_base1/source_generators/base/dependencies.rb +1 -1
- data/lib/avm/eac_ruby_base1/source_generators/base/root_module.rb +6 -6
- data/lib/avm/eac_ruby_base1/version.rb +1 -1
- data/template/avm/eac_ruby_base1/source_generators/base/root_lib.template +2 -6
- metadata +10 -5
- data/template/avm/eac_ruby_base1/source_generators/base/static/spec/meta/rubocop_spec.rb +0 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e8fee56513f22827d830ccf315f3e0c979f9d98e57c221aa6e8808320e0653b7
|
|
4
|
+
data.tar.gz: 00e65a04da777876acad218772b17583d45fbeca5900619a6ce6bdc9e02a4567
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 9787444ca2083a1ac35e506b1984a4f29708a07517adbd45ad1edb60ca27c67a12f306fb96648a262fdaa524cfd7b3557d4756bd967c3ed76dd16dc903fb30fa
|
|
7
|
+
data.tar.gz: 9120076645cfac0f3766d1f7a041689c0b468ceaab038393521732eaa355c98c229af4f033bde31c4fc8c1da1496d17b2b59e83568097858df062abc92d4060a
|
|
@@ -5,12 +5,12 @@ module Avm
|
|
|
5
5
|
module Rspec
|
|
6
6
|
module SourceGenerator
|
|
7
7
|
APPLICATION_STEREOTYPE = 'EacRubyBase1'
|
|
8
|
+
DEFAULT_EAC_RUBY_BASE1_VERSION = '0.1.1'
|
|
8
9
|
DEFAULT_EAC_RUBY_GEM_SUPPORT_VERSION = '0.5.1'
|
|
9
|
-
DEFAULT_EAC_RUBY_UTILS_VERSION = '0.104.0'
|
|
10
10
|
|
|
11
11
|
# @return [Avm::EacRubyBase1::Sources::Base]
|
|
12
12
|
def avm_eac_ruby_base1_source(options = {})
|
|
13
|
-
options['eac-ruby-
|
|
13
|
+
options['eac-ruby-base1-version'] ||= DEFAULT_EAC_RUBY_BASE1_VERSION
|
|
14
14
|
options['eac-ruby-gem-support-version'] ||= DEFAULT_EAC_RUBY_GEM_SUPPORT_VERSION
|
|
15
15
|
avm_source(APPLICATION_STEREOTYPE, options)
|
|
16
16
|
end
|
|
@@ -9,12 +9,6 @@ module Avm
|
|
|
9
9
|
lib_path.camelize
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
-
# @return [String]
|
|
13
|
-
def root_module_after_close
|
|
14
|
-
s = root_module_requires.map { |e| "require '#{e}'\n" }.join
|
|
15
|
-
s.present? ? "\n#{s}" : ''
|
|
16
|
-
end
|
|
17
|
-
|
|
18
12
|
def root_module_close
|
|
19
13
|
root_module_components.count.times.map do |index|
|
|
20
14
|
"#{IDENT * index}end"
|
|
@@ -39,6 +33,12 @@ module Avm
|
|
|
39
33
|
def root_module_requires
|
|
40
34
|
[]
|
|
41
35
|
end
|
|
36
|
+
|
|
37
|
+
# @return [String]
|
|
38
|
+
def root_module_setup_block
|
|
39
|
+
s = root_module_requires.map { |e| " require '#{e}'\n" }.join
|
|
40
|
+
s.present? ? " do\n#{s}end" : ''
|
|
41
|
+
end
|
|
42
42
|
end
|
|
43
43
|
end
|
|
44
44
|
end
|
|
@@ -1,8 +1,4 @@
|
|
|
1
1
|
# frozen_string_literal: true
|
|
2
2
|
|
|
3
|
-
require '
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
%%ROOT_MODULE_OPEN%%
|
|
7
|
-
%%ROOT_MODULE_CLOSE%%
|
|
8
|
-
%%ROOT_MODULE_AFTER_CLOSE%%
|
|
3
|
+
require 'eac_ruby_base1'
|
|
4
|
+
EacRubyBase1::RootModuleSetup.perform __FILE__%%ROOT_MODULE_SETUP_BLOCK%%
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: avm-eac_ruby_base1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.43.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Put here the authors
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-07-
|
|
11
|
+
date: 2026-07-24 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aranha-parsers
|
|
@@ -91,6 +91,9 @@ dependencies:
|
|
|
91
91
|
- - "~>"
|
|
92
92
|
- !ruby/object:Gem::Version
|
|
93
93
|
version: '0.1'
|
|
94
|
+
- - ">="
|
|
95
|
+
- !ruby/object:Gem::Version
|
|
96
|
+
version: 0.1.1
|
|
94
97
|
type: :runtime
|
|
95
98
|
prerelease: false
|
|
96
99
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -98,20 +101,23 @@ dependencies:
|
|
|
98
101
|
- - "~>"
|
|
99
102
|
- !ruby/object:Gem::Version
|
|
100
103
|
version: '0.1'
|
|
104
|
+
- - ">="
|
|
105
|
+
- !ruby/object:Gem::Version
|
|
106
|
+
version: 0.1.1
|
|
101
107
|
- !ruby/object:Gem::Dependency
|
|
102
108
|
name: eac_ruby_gem_support
|
|
103
109
|
requirement: !ruby/object:Gem::Requirement
|
|
104
110
|
requirements:
|
|
105
111
|
- - "~>"
|
|
106
112
|
- !ruby/object:Gem::Version
|
|
107
|
-
version: '0.
|
|
113
|
+
version: '0.14'
|
|
108
114
|
type: :development
|
|
109
115
|
prerelease: false
|
|
110
116
|
version_requirements: !ruby/object:Gem::Requirement
|
|
111
117
|
requirements:
|
|
112
118
|
- - "~>"
|
|
113
119
|
- !ruby/object:Gem::Version
|
|
114
|
-
version: '0.
|
|
120
|
+
version: '0.14'
|
|
115
121
|
description:
|
|
116
122
|
email:
|
|
117
123
|
executables: []
|
|
@@ -208,7 +214,6 @@ files:
|
|
|
208
214
|
- template/avm/eac_ruby_base1/source_generators/base/static/.rspec
|
|
209
215
|
- template/avm/eac_ruby_base1/source_generators/base/static/.rubocop.yml
|
|
210
216
|
- template/avm/eac_ruby_base1/source_generators/base/static/Gemfile
|
|
211
|
-
- template/avm/eac_ruby_base1/source_generators/base/static/spec/meta/rubocop_spec.rb
|
|
212
217
|
- template/avm/eac_ruby_base1/source_generators/base/static/spec/spec_helper.rb.template
|
|
213
218
|
- template/avm/eac_ruby_base1/source_generators/base/version.template
|
|
214
219
|
homepage:
|