Sha256: 473ca15832eed4ea9b4deb68efefd2a216264e840f10751cc991465c5eb45e1d

Contents?: true

Size: 996 Bytes

Versions: 10

Compression:

Stored size: 996 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 = 'CiCd::Builder::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

10 entries across 10 versions & 1 rubygems

Version Path
ansiblerepo-builder-0.5.4 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.5.3 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.5.1 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.5.0 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.4.9 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.4.8 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.4.7 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.4.6 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.4.5 lib/cicd/builder/ansiblerepo.rb
ansiblerepo-builder-0.4.4 lib/cicd/builder/ansiblerepo.rb