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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dd8d4fc8e8c4291d047f032e19900d41bdd819588300452c7f8af02a145c67a8
4
- data.tar.gz: 814febe7d01f18a153dcb95eaf59242253fe63c8f94fe8d425e0e30a2ac11311
3
+ metadata.gz: 3a2872bd912e971df178d1878bed88cd10f5033931527df928fcbac50bdd058d
4
+ data.tar.gz: 8790bef2e56af29e3eb87a1ff4bade25f71eb0f3819bff74ccebd850411ec6e6
5
5
  SHA512:
6
- metadata.gz: f874439d7e25c67a1d77df4451639f8187bb07c83bb7f6032b083f3eff4960b9b64bfab85e701ba80e9c78abcfcd7258dfdcad7ce0122b1d228db7e580dc60e8
7
- data.tar.gz: b17a2572759f1120ea29674b059ddeabf7b27daedabf7d3b099490a6e97ff3f1436b0cdd8024afeb64f0092c33cbca543906cf44ef738111b3132721e4e9a33c
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(KBuilder.configuration(CONFIG_KEY))
40
+ @k_builder ||= KBuilder::BaseBuilder.init(KConfig.configuration(CONFIG_KEY))
41
41
  end
42
42
 
43
- KBuilder.configure(CONFIG_KEY) do |config|
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
- KBuilder.configuration(CONFIG_KEY).debug
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.fire_actions(:load_content, :register_document, :load_document)
65
+ KManager.boot
data/.rubocop.yml CHANGED
@@ -41,7 +41,7 @@ Metrics/MethodLength:
41
41
  Layout/LineLength:
42
42
  Max: 200
43
43
  # Ignores annotate output
44
- IgnoredPatterns: ['\A# \*\*']
44
+ AllowedPatterns: ['\A# \*\*']
45
45
  IgnoreCopDirectives: true
46
46
 
47
47
  Lint/UnusedMethodArgument:
data/Gemfile CHANGED
@@ -8,7 +8,7 @@ group :development, :test do
8
8
  gem 'guard-bundler'
9
9
  gem 'guard-rspec'
10
10
  gem 'guard-rubocop'
11
- gem 'rake', '~> 12.0'
11
+ gem 'rake'
12
12
  gem 'rake-compiler', require: false
13
13
  gem 'rspec', '~> 3.0'
14
14
  gem 'rubocop'
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
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KConfig
4
- VERSION = '0.0.7'
4
+ VERSION = '0.0.10'
5
5
  end
data/lib/k_config.rb CHANGED
@@ -44,7 +44,7 @@ module KConfig
44
44
  end
45
45
  end
46
46
 
47
- if ENV['KLUE_DEBUG']&.to_s&.downcase == 'true'
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.7",
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.7",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "k_config",
3
- "version": "0.0.7",
3
+ "version": "0.0.10",
4
4
  "description": "Command line and CI/CD tools for K Config",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
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.7
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-02-05 00:00:00.000000000 Z
11
+ date: 2022-06-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: k_log