ctpl 0.0.4 → 0.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/VERSION +1 -1
  3. data/thor/compile.thor +2 -2
  4. metadata +3 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1582e3caaaf54e4db31340b289e25a1023644396ce36575a0ffee90751c85a2a
4
- data.tar.gz: 6c42b97d4dcfa3752a1ccf29b8fa3c06847bdc187bca960d73e8b216acb569dc
3
+ metadata.gz: cce01d15081a519188eb07941e900875aca6c0b54009e1edadf9e9d2f112a972
4
+ data.tar.gz: a1a6b508eba2bf20723b98aa8628033325972b10982c73b22182701727f0ae2f
5
5
  SHA512:
6
- metadata.gz: 1c6cb2870dc6f76469112c87ddc24ea6e5a5881daa064d7f827b82d1074bbcc9fc21b24367c1d2a6c473d87a1c3689ac0920796aca7c4c80831eaec0bd39c44e
7
- data.tar.gz: 503d08b16c6bd69b826ad597afdd644018737129645381ca34e160b0c7e85cc4bbf8cca598f746b20cd253d14fbc08cbbb7a56916264dd21a96af51729c9a136
6
+ metadata.gz: 27551a1db41da95b837c0b43cce721983b5dde160abf0d5fcc864bdcb53b6210a6e4c17a000cf434f59f72fd43f483b7c466b80a551869b74767a4610fd823d8
7
+ data.tar.gz: 25392432a9b37a70a73d1926a45ef946640e37b57a7a53f773cd600aceebc0a28f1629fc7414d576f9663013abd432cb1703ae9b297bc080af28f9e7ee09aeba
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.4
1
+ 0.0.5
@@ -6,11 +6,11 @@ module Ctpl
6
6
  class_option :verbose, :type => :boolean, :aliases => '-v', :default => false, :banner => 'Activate verbose mode', :desc => 'If used show errors, stacktraces and more'
7
7
 
8
8
  desc 'compile', 'Compile the pipeline.yaml file from the templates'
9
- method_option :basefolder, :aliases => 'b', :required => false, :type => :string, :default => './pipeline', :desc => "Optional - defaults to ./pipeline, falls back to PWD. The base-folder the pipeline.yaml, alias.yaml and the partials are located. \nIf you pass /tmp/foo we will look for /tmp/foo/pipeline.yaml, optionally for /tmp/foo/aliases.yaml and all /tmp/foo/*_.yaml files as partials"
9
+ method_option :basefolder, :aliases => 'b', :required => false, :type => :string, :default => './pipeline', :desc => "Optional - defaults to ./pipeline, falls back to PWD. The base-folder the pipeline-template.yaml, aliases.yaml and the partials are located. \nIf you pass /tmp/foo we will look for /tmp/foo/pipeline.yaml, optionally for /tmp/foo/aliases.yaml and all /tmp/foo/*_.yaml files as partials"
10
10
  method_option :output, :aliases => 'o', :required => false, :type => :string, :default => './pipeline.yaml', :desc => "Optional, defaults to pipeline.yaml. Output path to save the merged yaml in"
11
11
  def compile
12
12
  baseFolder = options[:basefolder]
13
- merger = PipelineCompiler.new("#{baseFolder}/pipeline.yaml", "#{baseFolder}/aliases.yaml", baseFolder)
13
+ merger = PipelineCompiler.new("#{baseFolder}/pipeline-template.yaml", "#{baseFolder}/aliases.yaml", baseFolder)
14
14
  p = merger.merge
15
15
  say_status 'ok', "Transforming back to yaml ", :white
16
16
  yaml = "# DO NOT CHANGE THIS FILE\n# Generated by ctp (https://github.com/EugenMayer/concourse-pipeline-templateer)\n# See '#{baseFolder}' for the source files\n" + p.to_yaml
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ctpl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eugen Mayer
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-11-24 00:00:00.000000000 Z
11
+ date: 2018-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: thor
@@ -64,7 +64,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
64
64
  version: '0'
65
65
  requirements: []
66
66
  rubyforge_project:
67
- rubygems_version: 2.7.6
67
+ rubygems_version: 2.7.7
68
68
  signing_key:
69
69
  specification_version: 4
70
70
  summary: Implements an opinionated tool to template / split concourse pipeline files