appydave-tools 0.3.4 → 0.3.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/images.log +0 -0
- data/lib/appydave/tools/configuration/config.rb +4 -6
- data/lib/appydave/tools/configuration/configurable.rb +14 -0
- data/lib/appydave/tools/name_manager/_doc.md +1 -0
- data/lib/appydave/tools/version.rb +1 -1
- data/lib/appydave/tools.rb +7 -0
- data/package-lock.json +2 -2
- data/package.json +1 -1
- metadata +3 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e9ffa5eaaf86ac0e1c3fa37723bdf1de7deef27e8880f34111cd74a7069b3651
|
4
|
+
data.tar.gz: 811afb3d402053e6d856e0af6b8373e23dd15758db21f12702c89dfd1bbd8f7d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb885bd5100cdb0142b1807901fe97778e23b9adef88a03b326de2f22e8325c889b418e498ad1efc4e8c52c7eed87735d1d44dec2853370034e1e6c46679c658
|
7
|
+
data.tar.gz: 35ee8a319386f6f38dcf5a8cfc3b2a361865740432f1bfac99b5b6d3bd448bca7accf9cfc32b76a6d4994f9be6abf91dae62c42596fdb9dafc56e493b3d5fea9
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
## [0.3.4](https://github.com/klueless-io/appydave-tools/compare/v0.3.3...v0.3.4) (2024-05-19)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* Add debug capability to ConfigBase and update configurations ([d33c943](https://github.com/klueless-io/appydave-tools/commit/d33c9431a50fa44b2f4db7ccbaf2522105710aa7))
|
7
|
+
* resolve cop ([d56f670](https://github.com/klueless-io/appydave-tools/commit/d56f670ec69ea74438947dd1bb7296e7fa28f0f1))
|
8
|
+
|
1
9
|
## [0.3.3](https://github.com/klueless-io/appydave-tools/compare/v0.3.2...v0.3.3) (2024-05-18)
|
2
10
|
|
3
11
|
|
data/images.log
ADDED
File without changes
|
@@ -21,12 +21,10 @@ module Appydave
|
|
21
21
|
@configurations[key] = klass.new
|
22
22
|
end
|
23
23
|
|
24
|
-
def method_missing(method_name, *
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
super
|
29
|
-
end
|
24
|
+
def method_missing(method_name, *_args)
|
25
|
+
raise Appydave::Tools::Error, "Configuration not available: #{method_name}" unless @configurations.key?(method_name)
|
26
|
+
|
27
|
+
@configurations[method_name]
|
30
28
|
end
|
31
29
|
|
32
30
|
def respond_to_missing?(method_name, include_private = false)
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Appydave
|
4
|
+
module Tools
|
5
|
+
module Configuration
|
6
|
+
# Configurable module for handling dynamic configurations in tools and components
|
7
|
+
module Configurable
|
8
|
+
def config
|
9
|
+
Appydave::Tools::Configuration::Config
|
10
|
+
end
|
11
|
+
end
|
12
|
+
end
|
13
|
+
end
|
14
|
+
end
|
data/lib/appydave/tools.rb
CHANGED
@@ -10,6 +10,7 @@ require 'k_log'
|
|
10
10
|
require 'appydave/tools/version'
|
11
11
|
require 'appydave/tools/gpt_context/file_collector'
|
12
12
|
|
13
|
+
require 'appydave/tools/configuration/configurable'
|
13
14
|
require 'appydave/tools/configuration/config_base'
|
14
15
|
require 'appydave/tools/configuration/config'
|
15
16
|
require 'appydave/tools/configuration/settings_config'
|
@@ -17,6 +18,12 @@ require 'appydave/tools/configuration/channel_projects_config'
|
|
17
18
|
require 'appydave/tools/configuration/channels_config'
|
18
19
|
require 'appydave/tools/name_manager/project_name'
|
19
20
|
|
21
|
+
Appydave::Tools::Configuration::Config.configure do |config|
|
22
|
+
config.register(:settings, Appydave::Tools::Configuration::SettingsConfig)
|
23
|
+
config.register(:channels, Appydave::Tools::Configuration::ChannelsConfig)
|
24
|
+
config.register(:channel_projects, Appydave::Tools::Configuration::ChannelProjectsConfig)
|
25
|
+
end
|
26
|
+
|
20
27
|
module Appydave
|
21
28
|
module Tools
|
22
29
|
# raise Appydave::Tools::Error, 'Sample message'
|
data/package-lock.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "appydave-tools",
|
3
|
-
"version": "0.3.
|
3
|
+
"version": "0.3.5",
|
4
4
|
"lockfileVersion": 3,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
7
7
|
"": {
|
8
8
|
"name": "appydave-tools",
|
9
|
-
"version": "0.3.
|
9
|
+
"version": "0.3.5",
|
10
10
|
"devDependencies": {
|
11
11
|
"@klueless-js/semantic-release-rubygem": "github:klueless-js/semantic-release-rubygem",
|
12
12
|
"@semantic-release/changelog": "^6.0.3",
|
data/package.json
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: appydave-tools
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Cruwys
|
@@ -61,12 +61,14 @@ files:
|
|
61
61
|
- bin/console
|
62
62
|
- bin/gpt_context.rb
|
63
63
|
- bin/setup
|
64
|
+
- images.log
|
64
65
|
- lib/appydave/tools.rb
|
65
66
|
- lib/appydave/tools/configuration/_doc.md
|
66
67
|
- lib/appydave/tools/configuration/channel_projects_config.rb
|
67
68
|
- lib/appydave/tools/configuration/channels_config.rb
|
68
69
|
- lib/appydave/tools/configuration/config.rb
|
69
70
|
- lib/appydave/tools/configuration/config_base.rb
|
71
|
+
- lib/appydave/tools/configuration/configurable.rb
|
70
72
|
- lib/appydave/tools/configuration/settings_config copy.xrb
|
71
73
|
- lib/appydave/tools/configuration/settings_config.rb
|
72
74
|
- lib/appydave/tools/gpt_context/file_collector.rb
|