kerby 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/lib/kerby/cli.rb +8 -0
- data/lib/kerby/version.rb +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: f4c2c7a1655e3250ae392cc1325b95e8feb2fe96b39e68850d9fe879ba0fa4ab
|
4
|
+
data.tar.gz: 4d4e678a0fee29aa20968de8a0d0cb6e1ab36f6f520a8cc94a599a1cdfb2e7b5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a0b69e9d75d90a93ba4f34c0a1a72137354ca8fc188627611134f43e2adc2229f5e37a9e82725cb96bef1e7a3e3e53b20b2391d3ad9963d6ec6b325080e8194e
|
7
|
+
data.tar.gz: 595e6446a9a120b63cde5345e64e240a9df5820fed0c30ecd1dc93197d5713a576ea86fbe28d2b8f72f6e4d3cac1755258fe4b478ffa956d21c1205042f774d3
|
data/README.md
CHANGED
@@ -30,7 +30,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
|
|
30
30
|
|
31
31
|
## Contributing
|
32
32
|
|
33
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/kerby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/
|
33
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/kerby. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/maedadev/kerby/blob/master/CODE_OF_CONDUCT.md).
|
34
34
|
|
35
35
|
|
36
36
|
## License
|
@@ -39,4 +39,4 @@ The gem is available as open source under the terms of the [MIT License](https:/
|
|
39
39
|
|
40
40
|
## Code of Conduct
|
41
41
|
|
42
|
-
Everyone interacting in the Kerby project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/
|
42
|
+
Everyone interacting in the Kerby project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/maedadev/kerby/blob/master/CODE_OF_CONDUCT.md).
|
data/lib/kerby/cli.rb
CHANGED
@@ -81,5 +81,13 @@ module Kerby
|
|
81
81
|
k8s_node_sub(hash[keys[0]] || {}, keys[1,keys.size-1].join('.'), prompt)
|
82
82
|
end
|
83
83
|
end
|
84
|
+
|
85
|
+
# k8s_include with YAML indent
|
86
|
+
def k8s_config_map(path)
|
87
|
+
"|\n" +
|
88
|
+
ERB.new(File.read(Pathname(@_curr_file).dirname + path)).result(binding).split("\n").map do |line|
|
89
|
+
" " + line + "\n"
|
90
|
+
end.join('')
|
91
|
+
end
|
84
92
|
end
|
85
93
|
end
|
data/lib/kerby/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kerby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ido
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-05-
|
11
|
+
date: 2020-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: json
|