drupal-vm-sites 0.0.4 → 0.0.5
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.
- checksums.yaml +4 -4
- data/README.md +4 -4
- data/lib/drupal-vm-sites/configure.rb +1 -1
- data/lib/drupal-vm-sites/plugin.rb +6 -2
- data/lib/drupal-vm-sites/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 28612aa2e9d3b501d78276e6af89b260fe115335
|
4
|
+
data.tar.gz: a7f0cdaa8daed747eac0194dc5b1983599caf5fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bf8d95153329a68f19fabf92d2e0ff160f6ee48a56a83ac1690b540b78f0118a953a9d6acf82f3492a86d231d490049a0a0fde70d7ae7b1925790c1c917f949
|
7
|
+
data.tar.gz: 3dcc1ba3580067953dd2856f2b8053b51ec793f3fd1e3f7132a6c2e54c85aad3fad49fabab66b1139cc273b460f2b52027ab5326ceea5283ab656a5fd941ab48
|
data/README.md
CHANGED
@@ -1,12 +1,14 @@
|
|
1
1
|
# Drupal VM Config
|
2
2
|
|
3
|
+
[](https://badge.fury.io/rb/drupal-vm-sites)
|
4
|
+
|
3
5
|
This Vagrant plugin makes it easy to manage multiple Drupal sites on a single Vagrant instance. It is used to generate a `config.yml` file for Drupal VM. See [Drupal VM Documentation](http://docs.drupalvm.com/en/latest/) for additional documentation.
|
4
6
|
|
5
7
|
## Setup
|
6
8
|
|
7
9
|
1. `vagrant plugin install drupal-vm-sites`
|
8
10
|
|
9
|
-
2.
|
11
|
+
2. `touch sites.yml`
|
10
12
|
|
11
13
|
3. Add Drupal websites to `sites.yml`
|
12
14
|
|
@@ -23,9 +25,7 @@ This Vagrant plugin makes it easy to manage multiple Drupal sites on a single Va
|
|
23
25
|
|
24
26
|
**Note:** path defaults to `~/Sites/site.com/www` if not specified
|
25
27
|
|
26
|
-
4.
|
27
|
-
|
28
|
-
5. `vagrant up`
|
28
|
+
4. `vagrant up`
|
29
29
|
|
30
30
|
You now have a functional Drupal vagrant install for your sites! Now you can configure Drupal.
|
31
31
|
|
@@ -1,11 +1,15 @@
|
|
1
|
+
require "pathname"
|
2
|
+
require_relative "configure"
|
3
|
+
|
1
4
|
module VagrantPlugins
|
2
5
|
module DrupalVmSites
|
3
6
|
class Plugin < Vagrant.plugin("2")
|
4
7
|
name "Drupal Vm Sites"
|
5
8
|
|
6
9
|
action_hook(:configure_sites, :environment_plugins_loaded) do |hook|
|
7
|
-
|
8
|
-
|
10
|
+
if File.file?(Dir.pwd + '/drupal-vm-sites.yml')
|
11
|
+
Configure::call()
|
12
|
+
end
|
9
13
|
end
|
10
14
|
end
|
11
15
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: drupal-vm-sites
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SKYCATCHFIRE
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-01-
|
11
|
+
date: 2017-01-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|