vendorer 0.1.13 → 0.1.14

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,22 +1,22 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vendorer (0.1.13)
4
+ vendorer (0.1.14)
5
5
 
6
6
  GEM
7
7
  remote: http://rubygems.org/
8
8
  specs:
9
- bump (0.3.5)
9
+ bump (0.3.9)
10
10
  diff-lcs (1.1.3)
11
- rake (0.9.2)
12
- rspec (2.6.0)
13
- rspec-core (~> 2.6.0)
14
- rspec-expectations (~> 2.6.0)
15
- rspec-mocks (~> 2.6.0)
16
- rspec-core (2.6.4)
17
- rspec-expectations (2.6.0)
18
- diff-lcs (~> 1.1.2)
19
- rspec-mocks (2.6.0)
11
+ rake (10.0.3)
12
+ rspec (2.12.0)
13
+ rspec-core (~> 2.12.0)
14
+ rspec-expectations (~> 2.12.0)
15
+ rspec-mocks (~> 2.12.0)
16
+ rspec-core (2.12.2)
17
+ rspec-expectations (2.12.1)
18
+ diff-lcs (~> 1.1.3)
19
+ rspec-mocks (2.12.2)
20
20
 
21
21
  PLATFORMS
22
22
  ruby
data/Readme.md CHANGED
@@ -1,7 +1,7 @@
1
1
  Vendorer
2
2
  ========
3
3
 
4
- - documented dependencies
4
+ - documented & cached dependencies
5
5
  - automatic updates
6
6
  - no unwanted/accidental updates
7
7
 
@@ -54,7 +54,7 @@ folder 'vendor/assets/javascripts' do
54
54
  end
55
55
 
56
56
  # Copy files & folders from repos (also works with private repos)
57
- from 'https://github.com/grosser/parallel_tests.git' do
57
+ from 'https://github.com/grosser/parallel_tests.git' do |checkout_location|
58
58
  file 'Readme.md'
59
59
  file 'target-folder/file.rb', 'lib/parallel_tests.rb'
60
60
  folder 'spec'
@@ -81,8 +81,9 @@ Author
81
81
  - [Kurtis Rainbolt-Greene](https://github.com/krainboltgreene)
82
82
  - [Ivan K.](https://github.com/divout)
83
83
  - [Matt Brictson](https://github.com/mbrictson)
84
+ - [Andreas Haller](https://github.com/ahx)
84
85
 
85
86
  [Michael Grosser](http://grosser.it)<br/>
86
87
  michael@grosser.it<br/>
87
88
  License: MIT<br/>
88
- [![Build Status](https://secure.travis-ci.org/grosser/vendorer.png)](http://travis-ci.org/grosser/vendorer)
89
+ [![Build Status](https://travis-ci.org/grosser/vendorer.png)](https://travis-ci.org/grosser/vendorer)
@@ -67,7 +67,7 @@ class Vendorer
67
67
  Dir.mktmpdir do |tmpdir|
68
68
  download_repository url, tmpdir, options
69
69
  @copy_from_url, @copy_from_path = url, tmpdir
70
- yield
70
+ yield(@copy_from_path)
71
71
  @copy_from_url = @copy_from_path = nil
72
72
  end
73
73
  end
@@ -1,3 +1,3 @@
1
1
  class Vendorer
2
- VERSION = '0.1.13'
2
+ VERSION = '0.1.14'
3
3
  end
@@ -1,3 +1,4 @@
1
1
  $LOAD_PATH.unshift 'lib'
2
2
  require 'vendorer'
3
3
  require 'vendorer/version'
4
+ require 'rspec/mocks'
@@ -478,6 +478,13 @@ describe Vendorer do
478
478
  read('lib/vendorer/version.rb').should include("0.1.0")
479
479
  end
480
480
 
481
+ it "passes the path to the working copy to the block" do
482
+ write "Vendorfile", "
483
+ from('../../.git'){|path| puts `ls #\{path}` }
484
+ "
485
+ vendorer.should include('vendorer.gemspec')
486
+ end
487
+
481
488
  context "with file" do
482
489
  it "copies" do
483
490
  write "Vendorfile", "
metadata CHANGED
@@ -1,15 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vendorer
3
3
  version: !ruby/object:Gem::Version
4
+ version: 0.1.14
4
5
  prerelease:
5
- version: 0.1.13
6
6
  platform: ruby
7
7
  authors:
8
8
  - Michael Grosser
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-03 00:00:00.000000000 Z
12
+ date: 2013-02-23 00:00:00.000000000 Z
13
13
  dependencies: []
14
14
  description:
15
15
  email: michael@grosser.it
@@ -37,23 +37,23 @@ rdoc_options: []
37
37
  require_paths:
38
38
  - lib
39
39
  required_ruby_version: !ruby/object:Gem::Requirement
40
+ none: false
40
41
  requirements:
41
42
  - - ! '>='
42
43
  - !ruby/object:Gem::Version
43
44
  version: '0'
44
45
  segments:
45
46
  - 0
46
- hash: 321203829197918083
47
- none: false
47
+ hash: -2133170739879048900
48
48
  required_rubygems_version: !ruby/object:Gem::Requirement
49
+ none: false
49
50
  requirements:
50
51
  - - ! '>='
51
52
  - !ruby/object:Gem::Version
52
53
  version: '0'
53
54
  segments:
54
55
  - 0
55
- hash: 321203829197918083
56
- none: false
56
+ hash: -2133170739879048900
57
57
  requirements: []
58
58
  rubyforge_project:
59
59
  rubygems_version: 1.8.24