Sha256: 5cc876b1602ee923bf6d3ddac97ca820791a750913d337271010f204f67cbca9

Contents?: true

Size: 707 Bytes

Versions: 1

Compression:

Stored size: 707 Bytes

Contents

Feature: bare 'vendor' clause

Scenario:
  Given a repository with following Vendorfile:
    """ruby
    annotate 'foo', 'bar'
    vendor 'generated', :version => '0.23', :annotate => 'by Przemo' do |v|
      File.open('README', 'w') { |f| f.puts "Hello, World!" }
      File.open('VERSION', 'w') { |f| f.puts v.version }
    end
    """
  When I successfully run `vendor sync`
  Then the following has been conjured:
    | Name      | generated |
    | Version   | 0.23      |
    | With file | README    |
  And the file "vendor/generated/VERSION" should contain "0.23"
  And there's a git commit note including "bar" in "foo"
  And there's a git commit note including "by Przemo" in "module_annotations"

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vendorificator-0.4.0 features/vendor.feature