Sha256: 6b137f607b8e89cedcabdc474f09d054ee54304db1a81650c6c2887122983b40
Contents?: true
Size: 795 Bytes
Versions: 2
Compression:
Stored size: 795 Bytes
Contents
Then /^(?:the )?following has( not)? been conjured:$/ do |not_p, table| exists_p = not_p ? "does not exist" : "exists" step "I'm on \"master\" branch" table.transpose.hashes.each do |mod| step "branch \"vendor/#{mod['Name']}\" #{exists_p}" if mod['Version'] step "tag \"vendor/#{mod['Name']}/#{mod['Version']}\" #{exists_p}" else step "tag matching /^vendor\\/#{Regexp.quote(mod['Name']).gsub('/', '\\/')}\\// #{exists_p}" end if mod['With file'] check_file_presence(mod['With file'].lines. map { |ln| File.join('vendor', mod['Name'], ln.strip) }, !not_p) end if mod['Without file'] check_file_presence(mod['Without file'].lines. map { |ln| File.join('vendor', mod['Name'], ln.strip) }, !!not_p) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
vendorificator-0.3.0 | features/step_definitions/vendorificator.rb |
vendorificator-0.2.0 | features/step_definitions/vendorificator.rb |