avm-apps 0.2.0 → 0.4.1

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: c74837dcc74369568039a4e571df1d71369339ffa2a3c98fb2164c1a35410c58
4
- data.tar.gz: 4a0ddaa74956140e2c6872ea32bd41cad513824fada240e98fab5b5d422cec36
3
+ metadata.gz: 71e633ba60b5c4e26a5665993f59c6d2f5c8b0263a9d9dd2b8b70ff99ac8c1fd
4
+ data.tar.gz: e36f66f6db638674aef2b71e24ebdf43fa41e33a09ba9a86dc440f1532c02700
5
5
  SHA512:
6
- metadata.gz: b1e7fecf325f191275d5b6f85fec3b4ad49bc2d646e76cc52c1776b8e8805ba74f670ee79968cdaea27c30c45443811956ad3d89c3866c4248e6cfb5351a2aeb
7
- data.tar.gz: 80195404e9361a694cd4afc8fd3919cf392fc1338588ec5d5ac7eb7a8bbb3db53cebd4507bff76222ecfe8f7e4da14a9fde4092cf155d365275c46aebada0dd4
6
+ metadata.gz: ab42f93478621be1ad11b80aa27c4ee5ea7c3050744bc14b47ce5f7914b1cc527f875527c8ff8673371374552eefff6363628962f02efa17cbf87be85cd07125
7
+ data.tar.gz: 86ef92bb65a283d12d8ce330b8eb5bed61c8949f2b365774d6582a898ebe311774446fcc08c40289e8be8aace692d3bbd65fb8288c842b660e1250210d8a31c7
@@ -0,0 +1,19 @@
1
+ # frozen_string_literal: true
2
+
3
+ require 'eac_ruby_utils/core_ext'
4
+
5
+ module Avm
6
+ module Apps
7
+ class Config
8
+ class << self
9
+ # @deprecated Use EacConfig::Node.context instead.
10
+ # @return [EacRubyUtils::Context<EacConfig::Node>]
11
+ def context
12
+ ::EacConfig::Node.context
13
+ end
14
+
15
+ delegate :current, to: :context
16
+ end
17
+ end
18
+ end
19
+ end
@@ -1,7 +1,7 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  require 'avm/apps/jobs/variables_source'
4
- require 'eac_ruby_utils/core_ext'
4
+ require 'eac_cli/core_ext'
5
5
 
6
6
  module Avm
7
7
  module Apps
@@ -10,7 +10,7 @@ module Avm
10
10
  common_concern do
11
11
  include ::ActiveSupport::Callbacks
12
12
 
13
- enable_console_speaker
13
+ enable_speaker
14
14
  enable_simple_cache
15
15
  enable_listable
16
16
  common_constructor :instance, :options, default: [{}] do
@@ -6,7 +6,7 @@ require 'i18n'
6
6
  module Avm
7
7
  module Apps
8
8
  module Sources
9
- class Configuration < ::EacRubyUtils::Configs
9
+ class Configuration < ::EacConfig::OldConfigs
10
10
  LOCALE_KEY = :locale
11
11
 
12
12
  def locale
@@ -3,7 +3,7 @@
3
3
  module Avm
4
4
  module Apps
5
5
  module Sources
6
- class Configuration < ::EacRubyUtils::Configs
6
+ class Configuration < ::EacConfig::OldConfigs
7
7
  RUBOCOP_COMMAND_KEY = 'ruby.rubocop.command'
8
8
  RUBOCOP_GEMFILE_KEY = 'ruby.rubocop.gemfile'
9
9
 
@@ -5,7 +5,7 @@ require 'avm/patches/eac_ruby_gems_utils/gem'
5
5
  module Avm
6
6
  module Apps
7
7
  module Sources
8
- class Configuration < ::EacRubyUtils::Configs
8
+ class Configuration < ::EacConfig::OldConfigs
9
9
  BUNDLE_TEST_COMMAND_KEY = 'test.bundle_command'
10
10
  TEST_COMMAND_KEY = 'test.command'
11
11
 
@@ -1,13 +1,13 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require 'eac_ruby_utils/configs'
3
+ require 'eac_config/old_configs'
4
4
  require 'eac_ruby_utils/core_ext'
5
5
  require 'yaml'
6
6
 
7
7
  module Avm
8
8
  module Apps
9
9
  module Sources
10
- class Configuration < ::EacRubyUtils::Configs
10
+ class Configuration < ::EacConfig::OldConfigs
11
11
  require_sub __FILE__
12
12
 
13
13
  FILENAMES = %w[.avm.yml .avm.yaml].freeze
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Avm
4
4
  module Apps
5
- VERSION = '0.2.0'
5
+ VERSION = '0.4.1'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: avm-apps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eduardo H. Bogoni
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-14 00:00:00.000000000 Z
11
+ date: 2021-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: eac_ruby_utils
@@ -16,20 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '0.58'
20
- - - ">="
21
- - !ruby/object:Gem::Version
22
- version: 0.58.1
19
+ version: '0.67'
23
20
  type: :runtime
24
21
  prerelease: false
25
22
  version_requirements: !ruby/object:Gem::Requirement
26
23
  requirements:
27
24
  - - "~>"
28
25
  - !ruby/object:Gem::Version
29
- version: '0.58'
30
- - - ">="
31
- - !ruby/object:Gem::Version
32
- version: 0.58.1
26
+ version: '0.67'
33
27
  - !ruby/object:Gem::Dependency
34
28
  name: eac_ruby_gem_support
35
29
  requirement: !ruby/object:Gem::Requirement
@@ -51,6 +45,7 @@ extensions: []
51
45
  extra_rdoc_files: []
52
46
  files:
53
47
  - lib/avm/apps.rb
48
+ - lib/avm/apps/config.rb
54
49
  - lib/avm/apps/jobs.rb
55
50
  - lib/avm/apps/jobs/base.rb
56
51
  - lib/avm/apps/jobs/variables_source.rb
@@ -77,7 +72,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
72
  - !ruby/object:Gem::Version
78
73
  version: '0'
79
74
  requirements: []
80
- rubygems_version: 3.0.9
75
+ rubygems_version: 3.1.6
81
76
  signing_key:
82
77
  specification_version: 4
83
78
  summary: AVM components for applications.