vagrant-sptsync 0.0.16 → 0.0.17

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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YTFhYzBhZWMyYzBiNjE5MDY3MTg1NzAyNjc2MzE1NDJjZjg5YTMyNA==
4
+ N2E2MjYwYzU1ZGIxMmNmNzYzODMyODJjMzY2NGQ4NmY2YjUxNjEzYQ==
5
5
  data.tar.gz: !binary |-
6
- N2I2YmIwMzc5NmJjYmQ4YmJiZTc4ZTczNWQ2OGMxNTc2YWY3ZGVlYQ==
6
+ YTUxNTVjNjlkYjNlZmZiOTYzNWE3M2NmMjk0ZjM0OWZhMDExOTNlZA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MTdlYmU3NTI5MWNhMzk1MjJkYTZmMzBhNDBkNTNhMWNlOTQ0MmNjMzIyNTMx
10
- MzQ4OWEyM2Y4OGE5MzBhNTg1Y2UyZjc2NGYyOTIxODNkMTdhNzZlYzljN2Ez
11
- ZmY0NGJlOTQ2MzQ2MzgxY2NiZmI3MWE4OGY4YzE2OTFkNTljZTg=
9
+ NmE1ZjY3MWFkMWE3MmQyNDhkNDEyYTM3ZTdhZGZiM2IxMzQ4ZWUyMzkwOGE3
10
+ ZmNmZTY2ZTFiYTFhMGQ2Mjg2ZDY0MzY2NmI0NzNkMmY1OWY5Yjk3ZDA5MjRi
11
+ OGMwYjQ1OTg1ODQwYjQ5MzkzY2Y0YmJhNjRjODVjMzJlMmVmNTg=
12
12
  data.tar.gz: !binary |-
13
- OTM1NTZlMDNiM2RkN2QwOTlhZDJlYTZjZjgwMWJkYzc3YmI5YTU2ZThlMmU0
14
- OGZiZTEwZDIxYmFjYjczNGZmNDMzYjhiY2IyNmFlZjc0OTUxNDIwZDQ5YzRi
15
- MjI0NTlkYTExODRmY2NkNjkzOGNlYWI0OWE3YWZhNDMxOGViMGU=
13
+ ZTliZjM0MGI2YzU1NGMzN2NiOGEzMzY5MTdkN2Q2NWU3ZDQwMjJkYWM5ZDcx
14
+ Y2MxODRjOTc3MDNlZjI0YTIyOWY4OTY4NjhhYzdiNzNjMTExN2UwMjFhMTNk
15
+ NDk5YzE1ZTE4N2JmM2M3MGY5YzUxYjM1NTFmNjE1Y2ZlODIyMTk=
@@ -25,6 +25,7 @@ module VagrantPlugins
25
25
  end
26
26
 
27
27
  @servers = ['dev', 'qa', 'stage']
28
+ @logger.debug("Test")
28
29
 
29
30
  # options = {}
30
31
  # OptionParser.new do |opts|
@@ -100,14 +101,14 @@ module VagrantPlugins
100
101
  puts "#{@options[:server]} is not valid server. Pulling from dev."
101
102
  end
102
103
 
103
- # command = "drush @#{@options[:site]} status"
104
- # ssh_opts = { extra_args: ['-q'] } # make it quiet
105
- # with_target_vms(nil, single_target: true) do |vm|
106
- # env = vm.action(:ssh_run, ssh_run_command: command, ssh_opts: ssh_opts)
107
- # if env[:ssh_run_exit_status] != "0"
108
- # raise SiteError.new(@options[:site])
109
- # end
110
- # end
104
+ command = "drush @#{@options[:site]} status"
105
+ ssh_opts = { extra_args: ['-q'] } # make it quiet
106
+ with_target_vms(nil, single_target: true) do |vm|
107
+ env = vm.action(:ssh_run, ssh_run_command: command, ssh_opts: ssh_opts)
108
+ if env[:ssh_run_exit_status] != "0"
109
+ raise SiteError.new(@options[:site])
110
+ end
111
+ end
111
112
  end
112
113
 
113
114
  # Prints the help out for this command
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module SPTSync
3
- VERSION = "0.0.16"
3
+ VERSION = "0.0.17"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-sptsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Sehr