kerby 0.1.3 → 0.1.4

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: 38207e6b1e4cffa49440e9f0b230a0342904ef5b128dabf21801e54f52397b08
4
- data.tar.gz: 5677eda9319e01c30d18cf5212564a1987d67f469a98d8d740a5379c726702d6
3
+ metadata.gz: 4a0d28beb84c13a3f0a274e13f1b7807457ae1e81c5828c366caf4c2bf205076
4
+ data.tar.gz: d9a13c4d3685ec2f542a933b07ccbd5fefbe2b6a25895c76173410c9e97407cb
5
5
  SHA512:
6
- metadata.gz: 82d0570971a2f823172986dced27d93f69789084c5d6ec6dfad0ec1515a403df65a7228b2c90d37172643a149c20dd55833243e84a8575656e367226997bf5ec
7
- data.tar.gz: a150f396e636b8464715705ef771424f6c86d25be23fe78c6fdff24aa1c0808a34bb22d2ce4e7705fc49399ffce86e293918b5a11ef42bcdfca564d093d12344
6
+ metadata.gz: 45b6ff3bd77d62e9db121b125956bfccd55bd5a35ae5a9e5a91e22c3e64d9d87d6c82cf85fa4b44aa5eaf84833b8f2d3f579df023e05801bd8ee87bea76b9324
7
+ data.tar.gz: 9e6f2d2d8d18fd1c2a263455f6ca8c56bd5127be85b29d241b001eec782f1da21aab5f9ef05cc0cfe707a0d44d532a0b9e96b8beea5005c1c516d83cb9f78c96
data/README.md CHANGED
@@ -22,6 +22,11 @@ Or install it yourself as:
22
22
 
23
23
  $ kerby build [--node-yaml=NODE_YAML] MANIFEST-FILE... | kubectl apply -f -
24
24
 
25
+ ## API
26
+
27
+ Any ruby method can be embedded in ERB manifest file, as wells as
28
+ {Kerby::Cli Kerby supporting methods} are also able to be used.
29
+
25
30
  ## Development
26
31
 
27
32
  After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
@@ -30,7 +35,7 @@ To install this gem onto your local machine, run `bundle exec rake install`. To
30
35
 
31
36
  ## Contributing
32
37
 
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).
38
+ Bug reports and pull requests are welcome on GitHub at https://github.com/maedadev/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
39
 
35
40
 
36
41
  ## License
@@ -73,17 +73,17 @@ module Kerby
73
73
 
74
74
  # return node_yaml value for the key.
75
75
  #
76
- # For example, command execution:
76
+ # For example, when command execution is:
77
77
  #
78
78
  # $ kerby build --node_yaml staging-node.yml manifest.yml
79
79
  #
80
- # and stageing-node.yml contains:
80
+ # and staging-node.yml contains:
81
81
  #
82
82
  # app:
83
83
  # namespace: city-A
84
84
  #
85
85
  # Then, <%= k8s_node('app.namespace') %> in manifest.yml will be
86
- # generated to 'city-A'.
86
+ # transformed to 'city-A'.
87
87
  #
88
88
  # @!visibility public
89
89
  def k8s_node(key)
@@ -1,3 +1,3 @@
1
1
  module Kerby
2
- VERSION = "0.1.3"
2
+ VERSION = "0.1.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kerby
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - ido