vagrant-cachier 0.0.6 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG.md +12 -1
- data/README.md +6 -0
- data/lib/vagrant-cachier/action.rb +1 -1
- data/lib/vagrant-cachier/bucket.rb +1 -1
- data/lib/vagrant-cachier/bucket/apt.rb +1 -1
- data/lib/vagrant-cachier/bucket/gem.rb +1 -1
- data/lib/vagrant-cachier/bucket/pacman.rb +1 -1
- data/lib/vagrant-cachier/bucket/yum.rb +1 -1
- data/lib/vagrant-cachier/cap/arch/pacman_cache_dir.rb +1 -1
- data/lib/vagrant-cachier/cap/debian/apt_cache_dir.rb +1 -1
- data/lib/vagrant-cachier/cap/linux/gemdir.rb +1 -1
- data/lib/vagrant-cachier/cap/redhat/yum_cache_dir.rb +1 -1
- data/lib/vagrant-cachier/config.rb +1 -1
- data/lib/vagrant-cachier/plugin.rb +3 -3
- data/lib/vagrant-cachier/version.rb +2 -2
- data/vagrant-cachier.gemspec +1 -1
- metadata +10 -7
- checksums.yaml +0 -7
data/CHANGELOG.md
CHANGED
data/README.md
CHANGED
@@ -67,6 +67,12 @@ during provisioning or manually downloading packages that does not fit into a
|
|
67
67
|
"cache bucket" you won't see that much of improvement.
|
68
68
|
|
69
69
|
|
70
|
+
## Benchmarks / shameless plug
|
71
|
+
|
72
|
+
Please have a look at [this blog post](http://fabiorehm.com/blog/2013/05/24/stop-wasting-bandwidth-with-vagrant-cachier#show_me_the_numbers)
|
73
|
+
for the numbers I've got down here.
|
74
|
+
|
75
|
+
|
70
76
|
## Configurations
|
71
77
|
|
72
78
|
### Auto detect supported cache buckets
|
@@ -1,4 +1,4 @@
|
|
1
|
-
module
|
1
|
+
module VagrantPlugins
|
2
2
|
module Cachier
|
3
3
|
class Plugin < Vagrant.plugin('2')
|
4
4
|
name 'vagrant-cachier'
|
@@ -30,14 +30,14 @@ module Vagrant
|
|
30
30
|
|
31
31
|
install_action_hook = lambda do |hook|
|
32
32
|
require_relative 'action'
|
33
|
-
hook.after Vagrant::Action::Builtin::Provision,
|
33
|
+
hook.after Vagrant::Action::Builtin::Provision, VagrantPlugins::Cachier::Action::Install
|
34
34
|
end
|
35
35
|
action_hook 'set-shared-cache-on-machine-up', :machine_action_up, &install_action_hook
|
36
36
|
action_hook 'set-shared-cache-on-machine-reload', :machine_action_reload, &install_action_hook
|
37
37
|
|
38
38
|
clean_action_hook = lambda do |hook|
|
39
39
|
require_relative 'action'
|
40
|
-
hook.before Vagrant::Action::Builtin::GracefulHalt,
|
40
|
+
hook.before Vagrant::Action::Builtin::GracefulHalt, VagrantPlugins::Cachier::Action::Clean
|
41
41
|
end
|
42
42
|
action_hook 'remove-guest-symlinks-on-machine-halt', :machine_action_halt, &clean_action_hook
|
43
43
|
action_hook 'remove-guest-symlinks-on-machine-package', :machine_action_package, &clean_action_hook
|
data/vagrant-cachier.gemspec
CHANGED
@@ -5,7 +5,7 @@ require 'vagrant-cachier/version'
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |spec|
|
7
7
|
spec.name = "vagrant-cachier"
|
8
|
-
spec.version =
|
8
|
+
spec.version = VagrantPlugins::Cachier::VERSION
|
9
9
|
spec.authors = ["Fabio Rehm"]
|
10
10
|
spec.email = ["fgrehm@gmail.com"]
|
11
11
|
spec.description = %q{Speed up vagrant boxes provisioning}
|
metadata
CHANGED
@@ -1,14 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: vagrant-cachier
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
|
+
prerelease:
|
5
6
|
platform: ruby
|
6
7
|
authors:
|
7
8
|
- Fabio Rehm
|
8
9
|
autorequire:
|
9
10
|
bindir: bin
|
10
11
|
cert_chain: []
|
11
|
-
date: 2013-
|
12
|
+
date: 2013-06-10 00:00:00.000000000 Z
|
12
13
|
dependencies: []
|
13
14
|
description: Speed up vagrant boxes provisioning
|
14
15
|
email:
|
@@ -43,25 +44,27 @@ files:
|
|
43
44
|
homepage: https://github.com/fgrehm/vagrant-cachier
|
44
45
|
licenses:
|
45
46
|
- MIT
|
46
|
-
metadata: {}
|
47
47
|
post_install_message:
|
48
48
|
rdoc_options: []
|
49
49
|
require_paths:
|
50
50
|
- lib
|
51
51
|
required_ruby_version: !ruby/object:Gem::Requirement
|
52
|
+
none: false
|
52
53
|
requirements:
|
53
|
-
- - '>='
|
54
|
+
- - ! '>='
|
54
55
|
- !ruby/object:Gem::Version
|
55
56
|
version: '0'
|
56
57
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
57
59
|
requirements:
|
58
|
-
- - '>='
|
60
|
+
- - ! '>='
|
59
61
|
- !ruby/object:Gem::Version
|
60
62
|
version: '0'
|
61
63
|
requirements: []
|
62
64
|
rubyforge_project:
|
63
|
-
rubygems_version:
|
65
|
+
rubygems_version: 1.8.23
|
64
66
|
signing_key:
|
65
|
-
specification_version:
|
67
|
+
specification_version: 3
|
66
68
|
summary: Speed up vagrant boxes provisioning
|
67
69
|
test_files: []
|
70
|
+
has_rdoc:
|
checksums.yaml
DELETED
@@ -1,7 +0,0 @@
|
|
1
|
-
---
|
2
|
-
SHA1:
|
3
|
-
metadata.gz: df8fb55ad9b787ce99c4543993b6d7cdb03a3412
|
4
|
-
data.tar.gz: 0a41b1a5c5ceef8c08d4a04223ccc7756f5d6d48
|
5
|
-
SHA512:
|
6
|
-
metadata.gz: 2cc837c37d634312062dd8926161e32b30fb015f868c284a7563aea58a55b98428056192d74f815a7df587bb8d67b5d080197eea7466f7407a2259ea448f1ba1
|
7
|
-
data.tar.gz: b0c8281f23510fc9ee19883f448a79840795aa46a43b8e968307ff76df4a3dfadac5173c5da8f21dee700159aceb6c60eaffb4783d0f954e0d870c3ec9a18ae3
|