capistrano-cul 0.1.4 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/capistrano/tasks/wp/migrate.cap +2 -4
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29bd16b319da75027598193f5a936771c3c8bd5ac5b46031874b14d8cbb2b44d
|
4
|
+
data.tar.gz: 522e3368cadebd22ed13a443979003d09a04cee52bdf0cabee06b5a70c8d4f0d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '01936834a675f3c5a5dfe414a52678c78e13b6d841e2e0fd5ed853a36ddd0c4299e6152204d2494eefd7371f9d0a29b53b1b067a87485fb8b45b95ba680f4c8e'
|
7
|
+
data.tar.gz: f367e213d4265aab6414fcc1345a98678d2961e9c05109afff50bac62d26995c74dc27407ce872e17674d1a16a5da98af600bb2d81509cb88b2a1f59ae383ce2
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.1.
|
1
|
+
0.1.6
|
@@ -170,10 +170,8 @@ namespace :cul do
|
|
170
170
|
|
171
171
|
desc "Copies certain wp-content (everything other than plugins, themes, and mu-plugins) from one environment to another (e.g. prod to dev). This task is part of the :copy_from task and isn't meant to be called directly."
|
172
172
|
task :copy_database do
|
173
|
-
|
174
|
-
|
175
|
-
remote_server_db_export_tempfile_path = Dir::Tmpname.make_tmpname '/tmp/', db_export_tempfile
|
176
|
-
local_server_db_export_file_path = File.join(fetch(:wp_docroot), db_export_tempfile)
|
173
|
+
remote_server_db_export_tempfile_path = Tempfile.create(['db_export_tempfile', '.sql'], '/tmp/').path
|
174
|
+
local_server_db_export_file_path = File.join(fetch(:wp_docroot), File.basename(remote_server_db_export_tempfile_path))
|
177
175
|
|
178
176
|
# Export database from source WordPress instance
|
179
177
|
on fetch(:remote_user) + '@' + fetch(:src_wp_server) do
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-cul
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Carla Galarza
|
8
8
|
- Eric O'Hanlon
|
9
9
|
- Columbia University Libraries
|
10
|
-
autorequire:
|
10
|
+
autorequire:
|
11
11
|
bindir: exe
|
12
12
|
cert_chain: []
|
13
|
-
date:
|
13
|
+
date: 2022-01-21 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: capistrano
|
@@ -96,7 +96,7 @@ dependencies:
|
|
96
96
|
- - "~>"
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '1.15'
|
99
|
-
description:
|
99
|
+
description:
|
100
100
|
email:
|
101
101
|
- cmg2228@columbia.edu
|
102
102
|
executables: []
|
@@ -125,7 +125,7 @@ homepage: https://github.com/cul/capistrano-cul
|
|
125
125
|
licenses:
|
126
126
|
- MIT
|
127
127
|
metadata: {}
|
128
|
-
post_install_message:
|
128
|
+
post_install_message:
|
129
129
|
rdoc_options: []
|
130
130
|
require_paths:
|
131
131
|
- lib
|
@@ -140,8 +140,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
140
140
|
- !ruby/object:Gem::Version
|
141
141
|
version: '0'
|
142
142
|
requirements: []
|
143
|
-
rubygems_version: 3.
|
144
|
-
signing_key:
|
143
|
+
rubygems_version: 3.3.5
|
144
|
+
signing_key:
|
145
145
|
specification_version: 4
|
146
146
|
summary: Common capistrano tasks shared across projects at CUL
|
147
147
|
test_files: []
|