k_config 0.0.7 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.builders/boot.rb +4 -4
- data/.rubocop.yml +1 -1
- data/Gemfile +1 -1
- data/docs/CHANGELOG.md +22 -0
- data/lib/k_config/version.rb +1 -1
- data/lib/k_config.rb +1 -1
- data/package-lock.json +2 -2
- data/package.json +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3a2872bd912e971df178d1878bed88cd10f5033931527df928fcbac50bdd058d
|
4
|
+
data.tar.gz: 8790bef2e56af29e3eb87a1ff4bade25f71eb0f3819bff74ccebd850411ec6e6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0551a4a3d01e945247ce911c37478e0eddec32af6e72e3abfa14d58ebb7ab398e01dfbf07830dd3d3586361d34f3e162da04ae0df4d92afa85dc988a9c6b5e9
|
7
|
+
data.tar.gz: 9d5e485aed6a62fbf68e9760320746a29c288220a991dee76fa7146a73cb3d31b5612f4dc4527335cae96aaf87d5d0dbad4a0bee15f4636c8420191e2edf8d81
|
data/.builders/boot.rb
CHANGED
@@ -37,10 +37,10 @@ def dasherize
|
|
37
37
|
end
|
38
38
|
|
39
39
|
def k_builder
|
40
|
-
@k_builder ||= KBuilder::BaseBuilder.init(
|
40
|
+
@k_builder ||= KBuilder::BaseBuilder.init(KConfig.configuration(CONFIG_KEY))
|
41
41
|
end
|
42
42
|
|
43
|
-
|
43
|
+
KConfig.configure(CONFIG_KEY) do |config|
|
44
44
|
builder_folder = Dir.pwd
|
45
45
|
base_folder = File.expand_path('../', builder_folder)
|
46
46
|
global_template = File.expand_path('~/dev/kgems/k_templates/templates')
|
@@ -52,7 +52,7 @@ KBuilder.configure(CONFIG_KEY) do |config|
|
|
52
52
|
config.target_folders.add(:builder , builder_folder)
|
53
53
|
end
|
54
54
|
|
55
|
-
|
55
|
+
KConfig.configuration(CONFIG_KEY).debug
|
56
56
|
|
57
57
|
area = KManager.add_area(CONFIG_KEY)
|
58
58
|
resource_manager = area.resource_manager
|
@@ -62,4 +62,4 @@ resource_manager
|
|
62
62
|
.glob('generators/**/*.rb')
|
63
63
|
resource_manager.add_resources
|
64
64
|
|
65
|
-
KManager.
|
65
|
+
KManager.boot
|
data/.rubocop.yml
CHANGED
data/Gemfile
CHANGED
data/docs/CHANGELOG.md
CHANGED
@@ -1,3 +1,25 @@
|
|
1
|
+
## [0.0.9](https://github.com/klueless-io/k_config/compare/v0.0.8...v0.0.9) (2022-06-29)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* update rubocop.yml ([27af2ae](https://github.com/klueless-io/k_config/commit/27af2aedfdf929270e05c31450edfef901e380ec))
|
7
|
+
|
8
|
+
## [0.0.8](https://github.com/klueless-io/k_config/compare/v0.0.7...v0.0.8) (2022-04-08)
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* fix cops ([caf2260](https://github.com/klueless-io/k_config/commit/caf226083710d741a5f2269cc35eec4aa5c7c6e6))
|
14
|
+
|
15
|
+
## [0.0.7](https://github.com/klueless-io/k_config/compare/v0.0.6...v0.0.7) (2022-02-05)
|
16
|
+
|
17
|
+
|
18
|
+
### Bug Fixes
|
19
|
+
|
20
|
+
* fix cops ([5bab6f2](https://github.com/klueless-io/k_config/commit/5bab6f2fbebf565e2acba566f237c1d9969a82ec))
|
21
|
+
* remove redunant documents ([4aa4d13](https://github.com/klueless-io/k_config/commit/4aa4d13f8453ffdd184bdecb56313c3bf49e65ac))
|
22
|
+
|
1
23
|
## [0.0.6](https://github.com/klueless-io/k_config/compare/v0.0.5...v0.0.6) (2022-02-05)
|
2
24
|
|
3
25
|
|
data/lib/k_config/version.rb
CHANGED
data/lib/k_config.rb
CHANGED
@@ -44,7 +44,7 @@ module KConfig
|
|
44
44
|
end
|
45
45
|
end
|
46
46
|
|
47
|
-
if ENV
|
47
|
+
if ENV.fetch('KLUE_DEBUG', 'false').downcase == 'true'
|
48
48
|
namespace = 'KConfig::Version'
|
49
49
|
file_path = $LOADED_FEATURES.find { |f| f.include?('k_config/version') }
|
50
50
|
version = KConfig::VERSION.ljust(9)
|
data/package-lock.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "k_config",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.10",
|
4
4
|
"lockfileVersion": 2,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
7
7
|
"": {
|
8
8
|
"name": "k_config",
|
9
|
-
"version": "0.0.
|
9
|
+
"version": "0.0.10",
|
10
10
|
"devDependencies": {
|
11
11
|
"@klueless-js/semantic-release-rubygem": "github:klueless-js/semantic-release-rubygem",
|
12
12
|
"@semantic-release/changelog": "^6.0.1",
|
data/package.json
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: k_config
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Cruwys
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: k_log
|