vagrant-cachier 0.0.6 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1 +1,12 @@
1
- # 0.0.2 Initial release
1
+ ## 0.1.1 (unreleased)
2
+
3
+ ## 0.1.0 (June 9, 2013)
4
+
5
+ IMPROVEMENTS:
6
+
7
+ - Moves from `Vagrant` to recommended `VagrantPlugins` top-level
8
+ module namespace. [GH-9]
9
+
10
+ ## 0.0.6 (May 22, 2013)
11
+
12
+ - Initial public release.
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,6 +1,6 @@
1
1
  require_relative 'bucket'
2
2
 
3
- module Vagrant
3
+ module VagrantPlugins
4
4
  module Cachier
5
5
  class Action
6
6
  class Install
@@ -1,4 +1,4 @@
1
- module Vagrant
1
+ module VagrantPlugins
2
2
  module Cachier
3
3
  class Bucket
4
4
  def self.inherited(base)
@@ -1,4 +1,4 @@
1
- module Vagrant
1
+ module VagrantPlugins
2
2
  module Cachier
3
3
  class Bucket
4
4
  class Apt < Bucket
@@ -1,4 +1,4 @@
1
- module Vagrant
1
+ module VagrantPlugins
2
2
  module Cachier
3
3
  class Bucket
4
4
  class Gem < Bucket
@@ -1,4 +1,4 @@
1
- module Vagrant
1
+ module VagrantPlugins
2
2
  module Cachier
3
3
  class Bucket
4
4
  class Pacman < Bucket
@@ -1,4 +1,4 @@
1
- module Vagrant
1
+ module VagrantPlugins
2
2
  module Cachier
3
3
  class Bucket
4
4
  class Yum < Bucket
@@ -1,4 +1,4 @@
1
- module Vagrant
1
+ module VagrantPlugins
2
2
  module Cachier
3
3
  module Cap
4
4
  module Arch
@@ -1,4 +1,4 @@
1
- module Vagrant
1
+ module VagrantPlugins
2
2
  module Cachier
3
3
  module Cap
4
4
  module Debian
@@ -1,4 +1,4 @@
1
- module Vagrant
1
+ module VagrantPlugins
2
2
  module Cachier
3
3
  module Cap
4
4
  module Linux
@@ -1,4 +1,4 @@
1
- module Vagrant
1
+ module VagrantPlugins
2
2
  module Cachier
3
3
  module Cap
4
4
  module RedHat
@@ -1,4 +1,4 @@
1
- module Vagrant
1
+ module VagrantPlugins
2
2
  module Cachier
3
3
  class Config < Vagrant.plugin(2, :config)
4
4
  attr_accessor :scope, :auto_detect
@@ -1,4 +1,4 @@
1
- module Vagrant
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, Vagrant::Cachier::Action::Install
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, Vagrant::Cachier::Action::Clean
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
@@ -1,5 +1,5 @@
1
- module Vagrant
1
+ module VagrantPlugins
2
2
  module Cachier
3
- VERSION = "0.0.6"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
@@ -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 = Vagrant::Cachier::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.6
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-05-22 00:00:00.000000000 Z
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: 2.0.0
65
+ rubygems_version: 1.8.23
64
66
  signing_key:
65
- specification_version: 4
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