Sha256: f4b5138c81345fb7cc9e6864638450b821a878947e7a44b9a165db51a18b9d20

Contents?: true

Size: 398 Bytes

Versions: 5

Compression:

Stored size: 398 Bytes

Contents

require 'toolrack'
require 'tty-prompt'

require_relative 'version_store'

module DevopsHelper
  module GemCoreHelper
    include Antrapol::ToolRack::ConditionUtils

    def find_gemspec(root)
       if is_empty?(root)
         raise DevopsHelper::Error, "Root path '#{root}' to find_gemspec is empty"
       else
         Dir.glob(File.join(root,"*.gemspec")).first
       end
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
devops_helper-0.5.0 lib/devops_helper/gem_core_helper.rb
devops_helper-0.3.1 lib/devops_helper/gem_core_helper.rb
devops_helper-0.3.0 lib/devops_helper/gem_core_helper.rb
devops_helper-0.2.0 lib/devops_helper/gem_core_helper.rb
devops_helper-0.1.0 lib/devops_helper/gem_core_helper.rb