11 12 13 14 15 16 17
# File 'lib/devops_helper/gem_core_helper.rb', line 11 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