Sha256: 847ca4273d9a89b31da34f59248d3634096c172cb3e7d152eeadbfbd50d4df4c

Contents?: true

Size: 953 Bytes

Versions: 9

Compression:

Stored size: 953 Bytes

Contents

require 'cicd/builder/chefrepo'

module CiCd
  module Builder
    _lib=File.dirname(__FILE__)
    $:.unshift(_lib) unless $:.include?(_lib)

    require 'cicd/builder/ansiblerepo/version'

    module AnsibleRepo
      class Runner < ChefRepo::Runner

        def initialize()
          super
          @default_options[:builder] = VERSION
        end

        # ---------------------------------------------------------------------------------------------------------------
        def getBuilderVersion
          {
              version:  VERSION,
              major:    MAJOR,
              minor:    MINOR,
              patch:    PATCH,
          }
        end
        # ---------------------------------------------------------------------------------------------------------------
        def setup()
          $stdout.write("AnsibleRepoBuilder v#{CiCd::Builder::AnsibleRepo::VERSION}\n")
          super
        end

      end
    end

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ansiblerepo-builder-0.4.2 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.4.0 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.3.9 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.3.8 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.3.7 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.3.6 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.3.5 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.3.4 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.3.3 lib/cicd/builder/ansiblerepo.rb