k_director 0.6.1 → 0.6.2

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: 97d6905104f3f742383cd45344b303269a1d5ee6c2054d107c5b0be97c0406f9
4
- data.tar.gz: 60ad2bfd8f1dcc5693dcda4e46a307174143c4231825df818c523c41d4dfb08a
3
+ metadata.gz: 18ab7fb018cc2541e5291875d29564ba3fe6b348fa79fda67b90e20d95ee4dd9
4
+ data.tar.gz: d407e5cc00ebacc6515ecefde9834ef82c2c41dd708839c7577f5bea843540e3
5
5
  SHA512:
6
- metadata.gz: 8db80227990301c8485f8d4ee1f95efc4275f2cf3dc648c3abb0899f3b7da2b260dc6ec2791d9f4b5be03261dc08987f9a33cf3576e184527278418eef59e104
7
- data.tar.gz: aa7df6cadc8a21e0a50d7998fc35596a24190e6cbd8045b2d7080b2352a7de97007afdfef7b55d9615c24317d9c03b6464f705b1f632c2f9b3e0af859ce3f366
6
+ metadata.gz: c8ae08868a7b6a549bb2f9196f5bda48da9a9552c236cf7ddc60473d8f9945382d15cf06b925079c7b274e381542bd35024b2810e1a3e56ff527c5e0bf68ef63
7
+ data.tar.gz: 779391f8dca111e5496141cafd2c65e6680f476b1998b11c4d274b5b60a111eea6b4c55a8be8add8e84ded0ebe9a864a611d2b082eb1d0bf027d44a625803fd6
@@ -35,6 +35,7 @@ KManager.action :bootstrap do
35
35
  # list_repositories
36
36
  # open_repository # (:k_director)
37
37
  # run_command('git init')
38
+ # k_director git:(main) gh repo edit -d "KDirector provides domain specific language (DSL) implementations for code generation"
38
39
  end
39
40
  .blueprint(
40
41
  name: :bin_hook,
@@ -7,7 +7,7 @@ on:
7
7
  branches: [ main ]
8
8
 
9
9
  jobs:
10
- test:
10
+ build:
11
11
  runs-on: ubuntu-latest
12
12
  name: Ruby ${{ matrix.ruby }}
13
13
  strategy:
@@ -22,32 +22,70 @@ jobs:
22
22
  ruby-version: ${{ matrix.ruby }}
23
23
  bundler-cache: true
24
24
 
25
- - name: Run tests
26
- run: bundle exec rspec
25
+ - id: lint
26
+ name: Run rubocop
27
+ run: bundle exec rubocop
27
28
 
28
- - name: Slack notify on rspec error
29
- if: failure()
29
+ - name: Slack notification on rubocop error
30
+ if: steps.lint.conclusion == 'failure'
30
31
  uses: rtCamp/action-slack-notify@v2
31
32
  env:
32
33
  SLACK_CHANNEL: klueless-repos
33
34
  SLACK_COLOR: '#ff0000'
34
35
  SLACK_ICON: https://avatars.githubusercontent.com/u/2956762?s=64&v=4
35
- SLACK_TITLE: 'RSpec failure on ${{github.repository}} - try:'
36
- SLACK_MESSAGE: 'rspec'
36
+ SLACK_TITLE: 'Rubocop failure on $ - try:'
37
+ SLACK_MESSAGE: 'cop -a'
37
38
  SLACK_USERNAME: klueless-io
38
- SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
39
+ SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
39
40
 
40
- - name: Run rubocop
41
- run: bundle exec rubocop
41
+ - id: rspec
42
+ name: Run tests
43
+ run: bundle exec rspec
42
44
 
43
- - name: Slack notification on rubocop error
44
- if: failure()
45
+ - name: Slack notify on rspec error
46
+ if: steps.rspec.conclusion == 'failure'
45
47
  uses: rtCamp/action-slack-notify@v2
46
48
  env:
47
49
  SLACK_CHANNEL: klueless-repos
48
50
  SLACK_COLOR: '#ff0000'
49
51
  SLACK_ICON: https://avatars.githubusercontent.com/u/2956762?s=64&v=4
50
- SLACK_TITLE: 'Rubocop failure on $ - try:'
51
- SLACK_MESSAGE: 'cop -a'
52
+ SLACK_TITLE: 'RSpec failure on ${{github.repository}} - try:'
53
+ SLACK_MESSAGE: 'rspec'
52
54
  SLACK_USERNAME: klueless-io
53
55
  SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
56
+
57
+ release:
58
+ needs: build
59
+ name: Update version and publish to RubyGems
60
+ runs-on: ubuntu-latest
61
+ steps:
62
+ - uses: actions/checkout@v2
63
+ - uses: actions/setup-node@v2
64
+ with:
65
+ node-version: '16'
66
+
67
+ # - uses: hmarr/debug-action@v2 # TURN on ENV DEBUG
68
+
69
+ - name: Cache node modules
70
+ uses: actions/cache@v2
71
+ id: cache-node-modules
72
+ env:
73
+ cache-name: cache-node-modules
74
+ with:
75
+ path: ~/.npm
76
+ key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
77
+ restore-keys: |
78
+ ${{ runner.os }}-build-${{ env.cache-name }}-
79
+ ${{ runner.os }}-build-
80
+ ${{ runner.os }}-
81
+
82
+ - name: Install semantic-release dependencies
83
+ if: steps.cache.outputs.cache-hit != 'true'
84
+ run: npm ci
85
+
86
+ # SEE MORE: https://github.com/semantic-release/semantic-release/issues/753
87
+ - name: Run SemVer
88
+ run: npm run release
89
+ env:
90
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
91
+ GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
data/docs/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [0.6.1](https://github.com/klueless-io/k_director/compare/v0.6.0...v0.6.1) (2022-01-31)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * add data to base (plus settings) to director ([bee18a1](https://github.com/klueless-io/k_director/commit/bee18a1eda36d802611c5cf354031963daa82c69))
7
+
1
8
  # [0.6.0](https://github.com/klueless-io/k_director/compare/v0.5.0...v0.6.0) (2022-01-31)
2
9
 
3
10
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KDirector
4
- VERSION = '0.6.1'
4
+ VERSION = '0.6.2'
5
5
  end
data/main-advanced.yml ADDED
@@ -0,0 +1,90 @@
1
+ name: Build Application
2
+
3
+ on:
4
+ push:
5
+ branches: [ main ]
6
+ pull_request:
7
+ branches: [ main ]
8
+
9
+ jobs:
10
+ build:
11
+ runs-on: ubuntu-latest
12
+ name: Ruby ${{ matrix.ruby }}
13
+ strategy:
14
+ matrix:
15
+ ruby: ['2.7.1'] #, '3.1.0']
16
+
17
+ steps:
18
+ - uses: actions/checkout@v2
19
+ - name: Set up Ruby
20
+ uses: ruby/setup-ruby@v1
21
+ with:
22
+ ruby-version: ${{ matrix.ruby }}
23
+ bundler-cache: true
24
+
25
+ - id: lint
26
+ - name: Run rubocop
27
+ run: bundle exec rubocop
28
+
29
+ - name: Slack notification on rubocop error
30
+ if: steps.lint.conclusion == 'failure'
31
+ uses: rtCamp/action-slack-notify@v2
32
+ env:
33
+ SLACK_CHANNEL: klueless-repos
34
+ SLACK_COLOR: '#ff0000'
35
+ SLACK_ICON: https://avatars.githubusercontent.com/u/2956762?s=64&v=4
36
+ SLACK_TITLE: 'Rubocop failure on $ - try:'
37
+ SLACK_MESSAGE: 'cop -a'
38
+ SLACK_USERNAME: klueless-io
39
+ SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
40
+
41
+ - id: rspec
42
+ - name: Run tests
43
+ run: bundle exec rspec
44
+
45
+ - name: Slack notify on rspec error
46
+ if: steps.rspec.conclusion == 'failure'
47
+ uses: rtCamp/action-slack-notify@v2
48
+ env:
49
+ SLACK_CHANNEL: klueless-repos
50
+ SLACK_COLOR: '#ff0000'
51
+ SLACK_ICON: https://avatars.githubusercontent.com/u/2956762?s=64&v=4
52
+ SLACK_TITLE: 'RSpec failure on ${{github.repository}} - try:'
53
+ SLACK_MESSAGE: 'rspec'
54
+ SLACK_USERNAME: klueless-io
55
+ SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
56
+
57
+ release:
58
+ needs: build
59
+ runs-on: ubuntu-latest
60
+ steps:
61
+ - uses: actions/checkout@v2
62
+ - uses: actions/setup-node@v2
63
+ with:
64
+ node-version: '16'
65
+
66
+ # - uses: hmarr/debug-action@v2 # TURN on ENV DEBUG
67
+
68
+ - name: Cache node modules
69
+ uses: actions/cache@v2
70
+ id: cache-node-modules
71
+ env:
72
+ cache-name: cache-node-modules
73
+ with:
74
+ path: ~/.npm
75
+ key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
76
+ restore-keys: |
77
+ ${{ runner.os }}-build-${{ env.cache-name }}-
78
+ ${{ runner.os }}-build-
79
+ ${{ runner.os }}-
80
+
81
+ - name: Install semantic-release dependencies
82
+ if: steps.cache.outputs.cache-hit != 'true'
83
+ run: npm ci
84
+
85
+ # SEE MORE: https://github.com/semantic-release/semantic-release/issues/753
86
+ - name: Run SemVer
87
+ run: npm run release
88
+ env:
89
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
90
+ GEM_HOST_API_KEY: ${{ secrets.GEM_HOST_API_KEY }}
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "k_director",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "lockfileVersion": 2,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "k_director",
9
- "version": "0.6.1",
9
+ "version": "0.6.2",
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_director",
3
- "version": "0.6.1",
3
+ "version": "0.6.2",
4
4
  "description": "Command line and CI/CD tools for k_director",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
File without changes
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: k_director
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
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-01-31 00:00:00.000000000 Z
11
+ date: 2022-02-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: k_log
@@ -69,7 +69,6 @@ files:
69
69
  - ".githooks/commit-msg"
70
70
  - ".githooks/pre-commit"
71
71
  - ".github/workflows/main.yml"
72
- - ".github/workflows/semver.yml"
73
72
  - ".gitignore"
74
73
  - ".releaserc.json"
75
74
  - ".rspec"
@@ -92,8 +91,10 @@ files:
92
91
  - lib/k_director/dsls/children/blueprint.rb
93
92
  - lib/k_director/dsls/children/github.rb
94
93
  - lib/k_director/version.rb
94
+ - main-advanced.yml
95
95
  - package-lock.json
96
96
  - package.json
97
+ - semver.yml
97
98
  - sig/k_director.rbs
98
99
  homepage: http://appydave.com/gems/k_director
99
100
  licenses: