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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bc4ed2368c8a9ce4434bc212d09ea17691937d586839fedbcfbb76b34eeac9e9
4
- data.tar.gz: 52ae2c7386c007d1b07435dbe39726d05bb2264af13b4418d7b3533e74aafc89
3
+ metadata.gz: 49077a969ebb0b0f64b065c71fb565e5f907fd020bd699da29bb33422822c91e
4
+ data.tar.gz: b109f121363f1d1ef156af1068cf18c6c2d78e3905705a406c630d3e6e53743b
5
5
  SHA512:
6
- metadata.gz: e6b87e758c5c0368c180c16023c592aa973934c80478de589e39930bbfca3c305ada8d897e6df58616e64cc3f1aaba882536db59d81434209899a8636c15f3d7
7
- data.tar.gz: b531ad193ff767017798a52a387cf40841c1a1fc7f2a85b5bfd0a7fec825dd5fea5a9f35405c0fad090c40f6accf0158bdd03221019fe9c2b22f48b27729a420
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
@@ -47,5 +47,4 @@ Gem::Specification.new do |spec|
47
47
  spec.add_dependency 'k_builder', '~> 0.0.0'
48
48
  spec.add_dependency 'k_ext-github', '~> 0.0.0'
49
49
  spec.add_dependency 'k_util', '~> 0.0.0'
50
- spec.add_dependency 'nokogiri', '~> 1.13'
51
50
  end
@@ -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))
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module KDirector
4
- VERSION = '0.14.1'
4
+ VERSION = '0.15.0'
5
5
  end
data/lib/k_director.rb CHANGED
@@ -5,7 +5,6 @@ require 'k_log'
5
5
  require 'k_util'
6
6
  require 'k_builder'
7
7
  require 'k_ext/github'
8
- require 'nokogiri'
9
8
 
10
9
  require_relative 'k_director/version'
11
10
  require_relative 'k_director/builders/dom_builder'
data/package-lock.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "k_director",
3
- "version": "0.14.1",
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.14.1",
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "k_director",
3
- "version": "0.14.1",
3
+ "version": "0.15.0",
4
4
  "description": "Command line and CI/CD tools for k_director",
5
5
  "scripts": {
6
6
  "release": "semantic-release"
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.14.1
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-01 00:00:00.000000000 Z
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: