vagabund 0.0.20

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/lib/vagabund.rb ADDED
@@ -0,0 +1,45 @@
1
+ require_relative 'monkey_patches'
2
+
3
+ module Vagabund
4
+ def self.source_root
5
+ File.expand_path('../../', __FILE__)
6
+ end
7
+
8
+ class Plugin < Vagrant.plugin(2)
9
+ name "Vagabund"
10
+
11
+ # Squatter
12
+
13
+ config :squat, :provisioner do
14
+ require File.expand_path('../vagabund/squatter/config', __FILE__)
15
+ Squatter::Config
16
+ end
17
+
18
+ provisioner :squat do
19
+ require File.expand_path('../vagabund/squatter/provisioner', __FILE__)
20
+ Squatter::Provisioner
21
+ end
22
+
23
+
24
+ # Settler
25
+
26
+ config :settle, :provisioner do
27
+ require File.expand_path('../vagabund/settler/config', __FILE__)
28
+ Settler::Config
29
+ end
30
+
31
+ provisioner :settle do
32
+ require File.expand_path('../vagabund/settler/provisioner', __FILE__)
33
+ Settler::Provisioner
34
+ end
35
+
36
+ # Boxer
37
+
38
+ command :boxer do
39
+ require File.expand_path('../vagabund/boxer/command', __FILE__)
40
+ Boxer::Command
41
+ end
42
+ end
43
+ end
44
+
45
+ I18n.load_path << File.expand_path("templates/locales/en.yml", Vagabund.source_root)
@@ -0,0 +1,15 @@
1
+ en:
2
+ vagrant:
3
+ errors:
4
+ invalid_packages_config: "Vagabund::Settler provisioner config option `packages` must be an array"
5
+ missing_project_path: "A project path is required."
6
+ invalid_projects_config: "Vagabund::Settler provisioner config option `projects` must be an array"
7
+ project_path_does_not_exist: "The project path does not exist"
8
+ vagabund:
9
+ settler:
10
+ errors:
11
+ package_build_error: "Package failed at the build stage"
12
+ package_clean_error: "Package was installed successfully but failed at the clean up stage"
13
+ package_extraction_error: "Package failed at the extraction stage"
14
+ package_install_error: "Package failed at the install stage"
15
+ package_pull_error: "Package failed at the download stage"
data/vagabund.gemspec ADDED
@@ -0,0 +1,24 @@
1
+ # coding: utf-8
2
+ lib = File.expand_path('../lib', __FILE__)
3
+ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
+ require 'vagabund/version'
5
+
6
+ Gem::Specification.new do |spec|
7
+ spec.name = "vagabund"
8
+ spec.version = Vagabund::VERSION
9
+ spec.authors = ["Mark Rebec"]
10
+ spec.email = ["mark@markrebec.com"]
11
+ spec.summary = "Vagrant plugin for provisioning users, configs, packages, projects and more."
12
+ spec.description = "Vagrant plugin providing automatic config management, git operations and the ability to checkout projects and manage services."
13
+ spec.homepage = "https://github.com/Graphicly/vagabund"
14
+ spec.license = "Copyright 2014 Graphicly"
15
+
16
+ spec.files = `git ls-files -z`.split("\x0")
17
+ spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
18
+ spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
+ spec.require_paths = ["lib"]
20
+
21
+ spec.add_development_dependency "bundler"
22
+ spec.add_development_dependency "rake"
23
+ spec.add_development_dependency "dotenv"
24
+ end
metadata ADDED
@@ -0,0 +1,121 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vagabund
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.20
5
+ platform: ruby
6
+ authors:
7
+ - Mark Rebec
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-03-10 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: bundler
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ">="
25
+ - !ruby/object:Gem::Version
26
+ version: '0'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rake
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :development
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: dotenv
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :development
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
55
+ description: Vagrant plugin providing automatic config management, git operations
56
+ and the ability to checkout projects and manage services.
57
+ email:
58
+ - mark@markrebec.com
59
+ executables: []
60
+ extensions: []
61
+ extra_rdoc_files: []
62
+ files:
63
+ - ".gitignore"
64
+ - Gemfile
65
+ - README.md
66
+ - Rakefile
67
+ - Vagrantfile
68
+ - lib/monkey_patches.rb
69
+ - lib/vagabund.rb
70
+ - lib/vagabund/boxer.rb
71
+ - lib/vagabund/boxer/command.rb
72
+ - lib/vagabund/settler.rb
73
+ - lib/vagabund/settler/config.rb
74
+ - lib/vagabund/settler/errors.rb
75
+ - lib/vagabund/settler/packages.rb
76
+ - lib/vagabund/settler/packages/base.rb
77
+ - lib/vagabund/settler/packages/config.rb
78
+ - lib/vagabund/settler/packages/package_config.rb
79
+ - lib/vagabund/settler/projects.rb
80
+ - lib/vagabund/settler/projects/base.rb
81
+ - lib/vagabund/settler/projects/config.rb
82
+ - lib/vagabund/settler/projects/project_config.rb
83
+ - lib/vagabund/settler/projects/rails.rb
84
+ - lib/vagabund/settler/projects/ruby.rb
85
+ - lib/vagabund/settler/provisioner.rb
86
+ - lib/vagabund/settler/sources.rb
87
+ - lib/vagabund/settler/sources/git.rb
88
+ - lib/vagabund/settler/sources/local.rb
89
+ - lib/vagabund/settler/sources/url.rb
90
+ - lib/vagabund/squatter.rb
91
+ - lib/vagabund/squatter/config.rb
92
+ - lib/vagabund/squatter/provisioner.rb
93
+ - lib/vagabund/squatter/user.rb
94
+ - lib/vagabund/version.rb
95
+ - templates/locales/en.yml
96
+ - vagabund.gemspec
97
+ homepage: https://github.com/Graphicly/vagabund
98
+ licenses:
99
+ - Copyright 2014 Graphicly
100
+ metadata: {}
101
+ post_install_message:
102
+ rdoc_options: []
103
+ require_paths:
104
+ - lib
105
+ required_ruby_version: !ruby/object:Gem::Requirement
106
+ requirements:
107
+ - - ">="
108
+ - !ruby/object:Gem::Version
109
+ version: '0'
110
+ required_rubygems_version: !ruby/object:Gem::Requirement
111
+ requirements:
112
+ - - ">="
113
+ - !ruby/object:Gem::Version
114
+ version: '0'
115
+ requirements: []
116
+ rubyforge_project:
117
+ rubygems_version: 2.2.2
118
+ signing_key:
119
+ specification_version: 4
120
+ summary: Vagrant plugin for provisioning users, configs, packages, projects and more.
121
+ test_files: []