vagrant-sptsync 0.0.29 → 0.0.30

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YzU2YTQ0OWNmYzYxZDJmMmIzMzlkYWFjYTM0MTJiNTcwZmYwMzQ2NQ==
4
+ YWQ3MGU4NTAwZTQxMjA4OWU2YjJkYTM2OTlhNmM0M2JlZjk5YmZjMg==
5
5
  data.tar.gz: !binary |-
6
- YmUyY2Y4MDI3Njg1ZjhkZjNhNDNlODdiMGJhMGQ5YjFhZmFlZWRjNA==
6
+ NTQ0MmM5ZjdlZmVmY2YyNDI1MTEzNjFkNzM2Y2ZkYmRjMjc3NWRlZg==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- MjdlYjQ2NWVmYzZkYTQ5MGRhMTg4YjQwNzhkYjIyYzRhYjc2NjNiYjQ5NTY4
10
- MmQ5M2E4NDVkMWQzZWFmMWVkMzFiMTE5MzcxMjYzOTExMmIxZDhkYjhlOGUy
11
- NTY5NmJmODllZTU4YjBjN2RhOTM2ZTIyZjU4MDczYzJjMGE2NmY=
9
+ MDQ4MzBhYzdmNGQyMzRhZGUxNDFkZGZlYWU1NTI5MTZmMWRkZTM5YzE0YzBj
10
+ MWM5MDRiYTljMWM2YTg3ZDg2NDZhNmQ5M2NkNDkzZjg2NzVhNGZiZTkyN2Zm
11
+ YzBhYjZmNzcxNzcyMjE5ZjYwOTY3MjUyMjI1YzM2ZDY0MzhiNDM=
12
12
  data.tar.gz: !binary |-
13
- NGQ0ZWFiZjAxOTg2NTEyZDFlNmU5OWZhZDZlOTFhODRhZTQxZTk4NzNkYmRh
14
- NGYxNWZjM2U3ZjY0MjA2YjZiNTllNjZiYmQ5YjNmZjFlMDEyODY4MDMzZmQ2
15
- MmJiNmVjMmQ3NTNhYzkwMTdkOWFkMDIxOTZlMDI4NDBjYWI2YTc=
13
+ NjE0NjY4MWI2NmVhZDQyZmExNjJhOGJiYTkzNGM3N2IwMmYzMzk3MGFlOTEw
14
+ ODUxNDU4Zjg2ZWE1OWE2MjllYjdlMTkyN2U5NTkzNjY0NmZjNGEwOTc3NDky
15
+ MmMzN2VhNDQwY2NlMzg2YmM0YzczMzFjZTFmOGVkNGQ2MzU0Mzk=
@@ -57,13 +57,16 @@ module VagrantPlugins
57
57
  # status = env[:ssh_run_exit_status] || 0
58
58
  # return status
59
59
 
60
- commands.each do |message, command|
61
- puts message
62
- ssh_opts = { extra_args: [] }
63
- env = vm.action(:ssh_run, ssh_run_command: command, ssh_opts: ssh_opts)
64
- status = env[:ssh_run_exit_status] || 0
65
- break if status != 0
66
- end
60
+ ssh = vm.action(:ssh_exec)
61
+ ssh.call("drush @share status")
62
+
63
+ # commands.each do |message, command|
64
+ # puts message
65
+ # ssh_opts = { extra_args: [] }
66
+ # env = vm.action(:ssh_run, ssh_run_command: command, ssh_opts: ssh_opts)
67
+ # status = env[:ssh_run_exit_status] || 0
68
+ # break if status != 0
69
+ # end
67
70
 
68
71
  end
69
72
  end
@@ -86,10 +89,10 @@ module VagrantPlugins
86
89
  "flushing page cache" => "drush @#{site} vset cache_content_flush_cache_page 0 --yes",
87
90
  "setting image permissions" => "drush @#{site} vset image_allow_insecure_derivatives 1 --yes",
88
91
  "turning on error reporting" => "drush @#{site} vset error_level 2 --yes",
89
- "disabling cdn" => "drush @#{site} dis cdn -y",
90
- "disabling constant contact" => "drush @#{site} dis spt_constant_contact -y",
91
92
  "turning on theme_swapper" => "drush @#{site} en theme_swapper -y",
92
93
  "turning on devel" => "drush @#{site} en devel -y",
94
+ "disabling constant contact" => "drush @#{site} dis spt_constant_contact -y",
95
+ "disabling cdn" => "drush @#{site} dis cdn -y",
93
96
  "clearing cache" => "drush @#{site} cc all",
94
97
  }
95
98
  commands
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module SPTSync
3
- VERSION = "0.0.29"
3
+ VERSION = "0.0.30"
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.29
4
+ version: 0.0.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sean Sehr