k_director 0.14.1 → 0.15.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/docs/CHANGELOG.md +7 -0
- data/k_director.gemspec +0 -1
- data/lib/k_director/directors/base_director.rb +18 -0
- data/lib/k_director/version.rb +1 -1
- data/lib/k_director.rb +0 -1
- data/package-lock.json +2 -2
- data/package.json +1 -1
- metadata +2 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 49077a969ebb0b0f64b065c71fb565e5f907fd020bd699da29bb33422822c91e
|
4
|
+
data.tar.gz: b109f121363f1d1ef156af1068cf18c6c2d78e3905705a406c630d3e6e53743b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d429aca8a8aa79ed6395339f4350244896342a91d707f5a3fb2fd8dd061782b316388b914d6d2087d0f822a54c1c00efe1f6c12c1a8620cb0354fa72ac6e395
|
7
|
+
data.tar.gz: de65eb053b7ca8f8bf0cd742209e1f4cfdcb282b04c589dd0ff7d63ee7d9f11eac731c6e70ef09488437c20cac832988abaf233c9cf9f1ad217662d9ce5e250b
|
data/docs/CHANGELOG.md
CHANGED
@@ -1,3 +1,10 @@
|
|
1
|
+
## [0.14.1](https://github.com/klueless-io/k_director/compare/v0.14.0...v0.14.1) (2022-03-01)
|
2
|
+
|
3
|
+
|
4
|
+
### Bug Fixes
|
5
|
+
|
6
|
+
* handle case where base_director does not use a builder with .dom ([a1e868c](https://github.com/klueless-io/k_director/commit/a1e868c14bc0e331494e428b77113691c88efd16))
|
7
|
+
|
1
8
|
# [0.14.0](https://github.com/klueless-io/k_director/compare/v0.13.0...v0.14.0) (2022-02-27)
|
2
9
|
|
3
10
|
|
data/k_director.gemspec
CHANGED
@@ -160,6 +160,24 @@ module KDirector
|
|
160
160
|
# rubocop:enable Naming/AccessorMethodName
|
161
161
|
alias cd set_current_folder_action
|
162
162
|
|
163
|
+
# Add content to the clipboard
|
164
|
+
#
|
165
|
+
# @option opts [String] :content Supply the content that you want to write to the file
|
166
|
+
# @option opts [String] :template Supply the template that you want to write to the file, template will be processed ('nobody') From address
|
167
|
+
# @option opts [String] :content_file File with content, file location is based on where the program is running
|
168
|
+
# @option opts [String] :template_file File with handlebars templated content that will be transformed, file location is based on the configured template_path
|
169
|
+
#
|
170
|
+
# Extra options will be used as data for templates, e.g
|
171
|
+
# @option opts [String] :to Recipient email
|
172
|
+
# @option opts [String] :body The email's body
|
173
|
+
def add_clipboard(**opts)
|
174
|
+
# RUN (not handle), current folder effects subsequent actions and so it needs to be executed straight away.
|
175
|
+
run_action(k_builder.add_clipboard_action(**opts))
|
176
|
+
|
177
|
+
self
|
178
|
+
end
|
179
|
+
alias clipboard_copy add_clipboard
|
180
|
+
|
163
181
|
# Run a command using shell, this is useful with command line tools
|
164
182
|
def run_command(command)
|
165
183
|
handle_action(k_builder.run_command_action(command))
|
data/lib/k_director/version.rb
CHANGED
data/lib/k_director.rb
CHANGED
data/package-lock.json
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "k_director",
|
3
|
-
"version": "0.
|
3
|
+
"version": "0.15.0",
|
4
4
|
"lockfileVersion": 2,
|
5
5
|
"requires": true,
|
6
6
|
"packages": {
|
7
7
|
"": {
|
8
8
|
"name": "k_director",
|
9
|
-
"version": "0.
|
9
|
+
"version": "0.15.0",
|
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_director
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.15.0
|
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-03-
|
11
|
+
date: 2022-03-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: k_config
|
@@ -80,20 +80,6 @@ dependencies:
|
|
80
80
|
- - "~>"
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: 0.0.0
|
83
|
-
- !ruby/object:Gem::Dependency
|
84
|
-
name: nokogiri
|
85
|
-
requirement: !ruby/object:Gem::Requirement
|
86
|
-
requirements:
|
87
|
-
- - "~>"
|
88
|
-
- !ruby/object:Gem::Version
|
89
|
-
version: '1.13'
|
90
|
-
type: :runtime
|
91
|
-
prerelease: false
|
92
|
-
version_requirements: !ruby/object:Gem::Requirement
|
93
|
-
requirements:
|
94
|
-
- - "~>"
|
95
|
-
- !ruby/object:Gem::Version
|
96
|
-
version: '1.13'
|
97
83
|
description: " KDirector provides domain specific language implementations for
|
98
84
|
code generation\n"
|
99
85
|
email:
|