vendorer 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/Readme.md +93 -0
  3. data/lib/vendorer/version.rb +1 -1
  4. metadata +3 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9d9dd1243bab4fadf0c44dd84e1be3676555c7a
4
- data.tar.gz: 3aa7207a6b3270fae463a11bd5ebd80b1abe2de7
3
+ metadata.gz: 974e3b0fdf74891506314818febd2cc27f90fd51
4
+ data.tar.gz: f34d4d6772c221de4e7e04223298c1f988d80510
5
5
  SHA512:
6
- metadata.gz: 9ccbced7c3adfdcff9e27cffb7ea299333859812076d7c0503e937a1999e9d2ba4114a9abdfaf4ad029ca59b2062afa6b26514f08cb13902292715610a41378e
7
- data.tar.gz: f11f38a9ddc9ec4e5016904d711d9438332e820eec84c333983c247261d9cc6372c2a840eb993eeca47229630e1d5df0c11598d23c6e90d69c9b96c7dde98eb1
6
+ metadata.gz: ef78e31266acded7f84eae68fc0863b28b32239031a986da0ee4cb5f9d404e0e22d80cb2232b10b8b0ea9515bb7e6bce3a006cfe1d14d9bae9ae76808f3bd39a
7
+ data.tar.gz: 36c3d883b8e1f57225c0b6111be3b6ded12c043930dd8eaf8f7f772bbf5a74e32b38146450c5e7d5dcf8183ea1d8ebcd8588681877c971a80608f2a147305d62
data/Readme.md ADDED
@@ -0,0 +1,93 @@
1
+ Vendorer
2
+ ========
3
+
4
+ - documented & cached dependencies
5
+ - automatic updates
6
+ - no unwanted/accidental updates
7
+
8
+
9
+ Install
10
+ -------
11
+
12
+ Ensure you have:
13
+
14
+ - Curl
15
+ - Git v1.7+
16
+ - Ruby v1.8.7 or v1.9.2+
17
+
18
+ then:
19
+
20
+ ``` bash
21
+ $ gem install vendorer
22
+ ```
23
+
24
+ Or add vendorer to your `Gemfile`:
25
+
26
+ ``` ruby
27
+ gem 'vendorer', :group => :development
28
+ ```
29
+
30
+
31
+ Usage
32
+ -----
33
+
34
+ Add a `Vendorfile` (or `Vendorfile.rb`) to your project root:
35
+
36
+
37
+ <!-- extracted by vendorer init -->
38
+ ``` ruby
39
+ file 'vendor/assets/javascripts/jquery.min.js', 'http://code.jquery.com/jquery-latest.min.js'
40
+ folder 'vendor/plugins/parallel_tests', 'https://github.com/grosser/parallel_tests.git'
41
+
42
+ # Execute a block after updates
43
+ file 'vendor/assets/javascripts/jquery.js', 'http://code.jquery.com/jquery.js' do |path|
44
+ puts "Do something useful with #{path}"
45
+ rewrite(path) { |content| content.gsub(/\r\n/, \n).gsub /\t/, ' ' }
46
+ end
47
+
48
+ # Checkout a specific :ref/:tag/:branch
49
+ folder 'vendor/plugins/parallel_tests', 'https://github.com/grosser/parallel_tests.git', :tag => 'v0.6.10'
50
+
51
+ # DRY folders
52
+ folder 'vendor/assets/javascripts' do
53
+ file 'jquery.js', 'http://code.jquery.com/jquery-latest.js'
54
+ end
55
+
56
+ # Copy files & folders from repos (also works with private repos)
57
+ from 'https://github.com/grosser/parallel_tests.git' do |checkout_location|
58
+ file 'Readme.md'
59
+ file 'target-folder/file.rb', 'lib/parallel_tests.rb'
60
+ folder 'spec'
61
+ folder 'renamed-folder', 'spec'
62
+ end
63
+ ```
64
+ <!-- extracted by vendorer init -->
65
+
66
+ - Create a new Vendorfile: `vendorer init`
67
+ - excute all installations: `vendorer`
68
+ - Update all dependencies: `vendorer update`
69
+ - update a single dependency: `vendorer update vendor/assets/javascripts/jquery.min.js`
70
+ - update everything in a specific folder: `vendorer update vendor/assets/javascripts`
71
+
72
+
73
+ Alternatives
74
+ ============
75
+ - [Vendorificator](https://github.com/3ofcoins/vendorificator) more features/complexity, but similar interface/concept
76
+
77
+ TODO
78
+ ====
79
+ - nice error message when no Vendorfile was found
80
+
81
+ Author
82
+ ======
83
+
84
+ ### [Contributors](http://github.com/grosser/vendorer/contributors)
85
+ - [Kurtis Rainbolt-Greene](https://github.com/krainboltgreene)
86
+ - [Ivan K.](https://github.com/divout)
87
+ - [Matt Brictson](https://github.com/mbrictson)
88
+ - [Andreas Haller](https://github.com/ahx)
89
+
90
+ [Michael Grosser](http://grosser.it)<br/>
91
+ michael@grosser.it<br/>
92
+ License: MIT<br/>
93
+ [![Build Status](https://travis-ci.org/grosser/vendorer.png)](https://travis-ci.org/grosser/vendorer)
@@ -1,3 +1,3 @@
1
1
  class Vendorer
2
- VERSION = '0.1.15'
2
+ VERSION = '0.1.16'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vendorer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.15
4
+ version: 0.1.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Grosser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-02 00:00:00.000000000 Z
11
+ date: 2014-05-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email: michael@grosser.it
@@ -17,6 +17,7 @@ executables:
17
17
  extensions: []
18
18
  extra_rdoc_files: []
19
19
  files:
20
+ - Readme.md
20
21
  - bin/vendorer
21
22
  - lib/vendorer.rb
22
23
  - lib/vendorer/version.rb