capistrano-wpcli 0.0.9 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 98c4ce05bb1c3f5ff4e97fb15cdacb6df4162596
4
+ data.tar.gz: 84f98ecbb15215b44ab6752f977980ae6221de05
5
+ SHA512:
6
+ metadata.gz: f3df99c527a8996ce46d8b262abfd1d70fdf43b626f00b56b9c502741d538d25f0b676ca5ed1a176b86351a7edf87fa65e8db8236cce462b68a95bcbce769303
7
+ data.tar.gz: 18c150f7cf6cdcf2324557e705850375cc2cc5419b0f73a40cada1202ef0df8d8b3229dc9d5c8e6d0d332b40cdf0c498accb7093b0b6d9b332abfda9b79b45ab
@@ -1,24 +1,25 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- capistrano-wpcli (0.0.5)
5
- capistrano (>= 3.0)
4
+ capistrano-wpcli (0.1.1)
5
+ capistrano (~> 3.4.0)
6
+ sshkit (~> 1.7.0)
6
7
 
7
8
  GEM
8
9
  remote: https://rubygems.org/
9
10
  specs:
10
- capistrano (3.2.1)
11
+ capistrano (3.4.0)
11
12
  i18n
12
13
  rake (>= 10.0.0)
13
14
  sshkit (~> 1.3)
14
- colorize (0.7.3)
15
- i18n (0.6.9)
15
+ colorize (0.7.7)
16
+ i18n (0.7.0)
16
17
  net-scp (1.2.1)
17
18
  net-ssh (>= 2.6.5)
18
- net-ssh (2.9.1)
19
- rake (10.3.2)
20
- sshkit (1.5.1)
21
- colorize
19
+ net-ssh (3.0.1)
20
+ rake (10.4.2)
21
+ sshkit (1.7.1)
22
+ colorize (>= 0.7.0)
22
23
  net-scp (>= 1.1.2)
23
24
  net-ssh (>= 2.8.0)
24
25
 
@@ -26,6 +27,6 @@ PLATFORMS
26
27
  ruby
27
28
 
28
29
  DEPENDENCIES
29
- bundler (~> 1.6)
30
+ bundler (~> 1.7.0)
30
31
  capistrano-wpcli!
31
- rake
32
+ rake (~> 10.4.0)
data/README.md CHANGED
@@ -1,5 +1,7 @@
1
1
  # Capistrano::WPCLI
2
2
 
3
+ [![Dependency Status](https://www.versioneye.com/user/projects/561c9bfda193340f2f001728/badge.svg?style=flat)](https://www.versioneye.com/user/projects/561c9bfda193340f2f001728)
4
+
3
5
  **Note: this plugin works only with Capistrano 3.**
4
6
 
5
7
  Provides command line tools to facilitate Wordpress deploy.
@@ -24,23 +26,66 @@ All you need to do is put the following in `Capfile` file:
24
26
 
25
27
  require 'capistrano/wpcli'
26
28
 
27
- ### How it works
29
+ ### How it works (Tasks)
28
30
 
29
- The following tasks are added to Capistrano:
31
+ wpcli:run
30
32
 
31
- * `wpcli:run`<br/>
32
33
  Executes the WP-CLI command passed as parameter.
33
- * `wpcli:db:push`<br/>
34
+
35
+ cap production wpcli:run["core language install fr_FR"]
36
+
37
+ - - -
38
+
39
+ wpcli:db:push
40
+
34
41
  Pushes the local WP database to the remote server and replaces the urls.
35
- * `wpcli:db:pull`<br/>
42
+
43
+ Optionally backs up the remote database before pushing (if `wpcli_backup_db` is set to true, see Configuration).
44
+
45
+ cap production wpcli:db:push
46
+
47
+ - - -
48
+
49
+ wpcli:db:pull
50
+
36
51
  Pulls the remote server WP database to local and replaces the urls.
37
- * `wpcli:rewrite:flush`<br/>
52
+
53
+ cap production wpcli:db:pull
54
+
55
+ - - -
56
+
57
+ wpcli:db:backup:remote
58
+
59
+ Pulls the remote server WP database to localhost, uses `wpcli_local_db_backup_dir` to define the location of the export.
60
+
61
+ - - -
62
+
63
+ wpcli:db:backup:local
64
+
65
+ Backs up the local WP database to localhost, uses `wpcli_local_db_backup_dir` to define the location of the export.
66
+
67
+ - - -
68
+
69
+ wpcli:rewrite:flush
70
+
38
71
  Flush rewrite rules.
39
- * `wpcli:rewrite:hard_flush`<br/>
40
- Perform a hard flush - update `.htaccess` rules as well as rewrite rules in database.
41
- * `wpcli:uploads:rsync:push`<br/>
72
+
73
+ - - -
74
+
75
+ wpcli:rewrite:hard_flush
76
+
77
+ Perform a hard flush - updates `.htaccess` rules as well as rewrite rules in database.
78
+
79
+ - - -
80
+
81
+ wpcli:uploads:rsync:push
82
+
42
83
  Push local uploads delta to remote machine using rsync.
43
- * `wpcli:uploads:rsync:pull`<br/>
84
+
85
+ - - -
86
+
87
+ wpcli:uploads:rsync:pull
88
+
44
89
  Pull remote uploads delta to local machine using rsync.
45
90
 
46
91
  ### Configuration
@@ -49,31 +94,83 @@ This plugin needs some configuration to work properly. You can put all your conf
49
94
 
50
95
  Here's the list of options and the defaults for each option:
51
96
 
52
- * `set :wpcli_remote_url`<br/>
53
- Url of the Wordpress root installation on the remote server (used by search-replace command).
97
+ - - -
98
+
99
+ set :wpcli_remote_url
100
+
101
+ Url of the WP root installation on the remote server (used by search-replace command).
102
+
103
+ - - -
104
+
105
+ set :wpcli_local_url
106
+
107
+ Url of the WP root installation on the local server (used by search-replace command).
108
+
109
+ - - -
110
+
111
+ set :local_tmp_dir
112
+
113
+ Absolute path to local directory temporary directory which is read and writeable.
114
+
115
+ Defaults to `/tmp`
116
+
117
+ - - -
118
+
119
+ set :wpcli_backup_db
120
+
121
+ Set to true if you would like to create backups of databases on each push. Defaults to false.
122
+
123
+ - - -
124
+
125
+ set :wpcli_local_db_backup_dir
126
+
127
+ Absolute or relative path to local directory for storing database backups which is read and writeable.
128
+
129
+ Defaults to `config/backup`
130
+
131
+ **IMPORTANT: Make sure to add the folder to .gitignore to prevent db backups from being in version control.**
132
+
133
+ - - -
134
+
135
+ set :wpcli_args
136
+
137
+ You can pass arguments directly to WPCLI using this var.
138
+
139
+ Defaults to `ENV['WPCLI_ARGS']`
140
+
141
+ - - -
142
+
143
+ set :wpcli_local_uploads_dir
144
+
145
+ Absolute or relative path to local WP uploads directory.
146
+
147
+ Defaults to `web/app/uploads/`.
148
+
149
+ **IMPORTANT: Add trailing slash!**
150
+
151
+ - - -
152
+
153
+ set :wpcli_remote_uploads_dir
54
154
 
55
- * `set :wpcli_local_url`<br/>
56
- Url of the Wordpress root installation on the local server (used by search-replace command).
155
+ Absolute path to remote wordpress uploads directory.
57
156
 
58
- * `set :local_tmp_dir`<br/>
59
- A local temp dir which is read and writeable. Defaults to `/tmp`.
157
+ Defaults to `#{shared_path.to_s}/web/app/uploads/`
60
158
 
61
- * `set :wpcli_args`<br/>
62
- You can pass arguments directly to WPCLI using this var. By default it will try to load values from `ENV['WPCLI_ARGS']`.
159
+ **IMPORTANT: Add trailing slash!**
63
160
 
64
- * `set :wpcli_local_uploads_dir`<br/>
65
- Local dir where WP stores the uploads. IMPORTANT: Add trailing slash! Optional if using [Bedrock Wordpress Stack](http://roots.io/wordpress-stack/)
161
+ ### FAQ
66
162
 
67
- * `set :wpcli_remote_uploads_dir`<br/>
68
- Remote dir where WP stores the uploads. IMPORTANT: Add trailing slash! Optional if using [Bedrock Wordpress Stack](http://roots.io/wordpress-stack/)
163
+ - What if i want to use a custom port for rsync?
164
+ You can by setting your port somewhere inside the :ssh_options precedence.
165
+ See here: http://capistranorb.com/documentation/advanced-features/properties/#precedence
69
166
 
70
167
  ### Vagrant
71
168
 
72
- If you are using another machine as a development server (Vagrant for example), you should define a `dev` role and indicate the path were the project lives on that server. This normally goes on `deploy.rb` file. Here's an example:
169
+ If you are using another machine as a development server (Vagrant for example), you should define a `dev` role and indicate the path where the project lives on that server. This normally goes on `deploy.rb` file. Here's an example:
73
170
 
74
- `server "example.dev", user: 'vagrant', password: 'vagrant', roles: %w{dev}`
171
+ server "example.dev", user: 'vagrant', password: 'vagrant', roles: %w{dev}
75
172
 
76
- `set :dev_path, '/srv/www/example.dev/current'`
173
+ set :dev_path, '/srv/www/example.dev/current'
77
174
 
78
175
  ## Contributing
79
176
 
@@ -6,7 +6,7 @@ require 'capistrano/wpcli/version'
6
6
  Gem::Specification.new do |spec|
7
7
  spec.name = "capistrano-wpcli"
8
8
  spec.version = Capistrano::Wpcli::VERSION
9
- spec.authors = ["Juancito Arias"]
9
+ spec.authors = ["Juancito Arias", "Jeremy Zahner"]
10
10
  spec.email = ["trasgofurioso@gmail.com"]
11
11
  spec.summary = %q{Simple Capistrano wrapper around WP-CLI}
12
12
  spec.description = %q{Capistrano tasks for managing Wordpress}
@@ -18,8 +18,10 @@ Gem::Specification.new do |spec|
18
18
  spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
19
19
  spec.require_paths = ["lib"]
20
20
 
21
- spec.add_dependency 'capistrano', '>= 3.0'
21
+ spec.add_dependency 'capistrano', '~> 3.4.0'
22
+ spec.add_dependency 'sshkit', '~> 1.7.0'
23
+
24
+ spec.add_development_dependency "bundler", "~> 1.7.0"
25
+ spec.add_development_dependency "rake", "~> 10.4.0"
22
26
 
23
- spec.add_development_dependency "bundler", "~> 1.6"
24
- spec.add_development_dependency "rake"
25
27
  end
@@ -1,5 +1,7 @@
1
1
  namespace :load do
2
+
2
3
  task :defaults do
4
+
3
5
  # The url under which the wordpress installation is
4
6
  # available on the remote server
5
7
  set :wpcli_remote_url, "http://example.com"
@@ -11,14 +13,30 @@ namespace :load do
11
13
  # A local temp dir which is read and writeable
12
14
  set :local_tmp_dir, "/tmp"
13
15
 
14
- # Temporal db dumps path
16
+ # Use current time for annotating the backup file
17
+ set :current_time, -> { Time.now.strftime("%Y%m%d%H%M") }
18
+
19
+ # Boolean to determine wether the database should be backed up or not
20
+ set :wpcli_backup_db, false
21
+
22
+ # Set the location of the db backup files. This is relative to the local project root path.
23
+ set :wpcli_local_db_backup_dir, "config/backup"
24
+
25
+ # Temporary db dumps path
15
26
  set :wpcli_remote_db_file, -> {"#{fetch(:tmp_dir)}/wpcli_database.sql.gz"}
16
27
  set :wpcli_local_db_file, -> {"#{fetch(:local_tmp_dir)}/wpcli_database.sql.gz"}
28
+
29
+ # Backup file filename
30
+ set :wpcli_local_db_backup_filename, -> {"db_#{fetch(:stage)}_#{fetch(:current_time)}.sql.gz"}
31
+
17
32
  end
33
+
18
34
  end
19
35
 
20
36
  namespace :wpcli do
37
+
21
38
  namespace :db do
39
+
22
40
  desc "Pull the remote database"
23
41
  task :pull do
24
42
  on roles(:web) do
@@ -32,16 +50,24 @@ namespace :wpcli do
32
50
  unless roles(:dev).empty?
33
51
  on roles(:dev) do
34
52
  within fetch(:dev_path) do
35
- execute :gunzip, "<", fetch(:wpcli_local_db_file), "|", :wp, :db, :import, "-"
36
- execute :rm, fetch(:wpcli_local_db_file)
37
- execute :wp, "search-replace", fetch(:wpcli_remote_url), fetch(:wpcli_local_url), fetch(:wpcli_args) || "--skip-columns=guid"
53
+ local_tmp_file = fetch(:wpcli_local_db_file).gsub(/\.gz$/, "")
54
+ upload! fetch(:wpcli_local_db_file), fetch(:wpcli_local_db_file)
55
+ execute :gunzip, "-c", fetch(:wpcli_local_db_file), ">", local_tmp_file
56
+ execute :wp, :db, :import, local_tmp_file
57
+ execute :rm, fetch(:wpcli_local_db_file), local_tmp_file
58
+ execute :wp, "search-replace", fetch(:wpcli_remote_url), fetch(:wpcli_local_url), fetch(:wpcli_args) || "--skip-columns=guid", "--url=" + fetch(:wpcli_remote_url)
38
59
  end
39
60
  end
40
- else
41
61
  run_locally do
42
- execute :gunzip, "<", fetch(:wpcli_local_db_file), "|", :wp, :db, :import, "-"
43
62
  execute :rm, fetch(:wpcli_local_db_file)
44
- execute :wp, "search-replace", fetch(:wpcli_remote_url), fetch(:wpcli_local_url), fetch(:wpcli_args) || "--skip-columns=guid"
63
+ end
64
+ else
65
+ run_locally do
66
+ local_tmp_file = fetch(:wpcli_local_db_file).gsub(/\.gz$/, "")
67
+ execute :gunzip, "-c", fetch(:wpcli_local_db_file), ">", local_tmp_file
68
+ execute :wp, :db, :import, local_tmp_file
69
+ execute :rm, fetch(:wpcli_local_db_file), local_tmp_file
70
+ execute :wp, "search-replace", fetch(:wpcli_remote_url), fetch(:wpcli_local_url), fetch(:wpcli_args) || "--skip-columns=guid", "--url=" + fetch(:wpcli_remote_url)
45
71
  end
46
72
  end
47
73
  end
@@ -52,6 +78,7 @@ namespace :wpcli do
52
78
  on roles(:dev) do
53
79
  within fetch(:dev_path) do
54
80
  execute :wp, :db, :export, "- |", :gzip, ">", fetch(:wpcli_local_db_file)
81
+ download! fetch(:wpcli_local_db_file), fetch(:wpcli_local_db_file)
55
82
  end
56
83
  end
57
84
  else
@@ -62,9 +89,11 @@ namespace :wpcli do
62
89
  on roles(:web) do
63
90
  upload! fetch(:wpcli_local_db_file), fetch(:wpcli_remote_db_file)
64
91
  within release_path do
65
- execute :gunzip, "<", fetch(:wpcli_remote_db_file), "|", :wp, :db, :import, "-"
66
- execute :rm, fetch(:wpcli_remote_db_file)
67
- execute :wp, "search-replace", fetch(:wpcli_local_url), fetch(:wpcli_remote_url), fetch(:wpcli_args) || "--skip-columns=guid"
92
+ remote_tmp_file = fetch(:wpcli_remote_db_file).gsub(/\.gz$/, "")
93
+ execute :gunzip, "-c", fetch(:wpcli_remote_db_file), ">", remote_tmp_file
94
+ execute :wp, :db, :import, remote_tmp_file
95
+ execute :rm, fetch(:wpcli_remote_db_file), remote_tmp_file
96
+ execute :wp, "search-replace", fetch(:wpcli_local_url), fetch(:wpcli_remote_url), fetch(:wpcli_args) || "--skip-columns=guid", "--url=" + fetch(:wpcli_local_url)
68
97
  end
69
98
  end
70
99
  unless roles(:dev).empty?
@@ -73,11 +102,46 @@ namespace :wpcli do
73
102
  execute :rm, fetch(:wpcli_local_db_file)
74
103
  end
75
104
  end
76
- else
105
+ end
106
+ run_locally do
107
+ execute :rm, fetch(:wpcli_local_db_file)
108
+ end
109
+ end
110
+
111
+ namespace :backup do
112
+
113
+ desc "Checking / Creating backup directory"
114
+ task :create_backup_dir do
77
115
  run_locally do
78
- execute :rm, fetch(:wpcli_local_db_file)
116
+ unless test("[ -d #{fetch(:wpcli_local_db_backup_dir)} ]")
117
+ execute :mkdir, Pathname.new(fetch(:wpcli_local_db_backup_dir))
118
+ end
79
119
  end
80
120
  end
121
+
122
+ desc "Backup the remote database"
123
+ task :remote do
124
+ on roles(:web) do
125
+ within release_path do
126
+ execute :wp, :db, :export, "- |", :gzip, ">", fetch(:wpcli_remote_db_file)
127
+ download! fetch(:wpcli_remote_db_file), Pathname.new(fetch(:wpcli_local_db_backup_dir)).join(fetch(:wpcli_local_db_backup_filename))
128
+ execute :rm, fetch(:wpcli_remote_db_file)
129
+ end
130
+ end
131
+ end
132
+
133
+ desc "Backup the local database"
134
+ task :local do
135
+ run_locally do
136
+ set :stage, :local
137
+ execute :wp, :db, :export, "- |", :gzip, ">", Pathname.new(fetch(:wpcli_local_db_backup_dir)).join(fetch(:wpcli_local_db_backup_filename))
138
+ end
139
+ end
140
+
141
+ before :push, 'backup:remote' if :wpcli_backup_db
142
+ before :local, :create_backup_dir
143
+ before :remote, :create_backup_dir
144
+
81
145
  end
82
146
  end
83
- end
147
+ end
@@ -1,9 +1,10 @@
1
1
  namespace :load do
2
2
  task :defaults do
3
+
3
4
  # These options are passed directly to rsync
4
5
  # Append your options, overwriting the defaults may result in malfunction
5
6
  # Ex: --recursive --delete --exclude .git*
6
- set :wpcli_rsync_options, %w[-avz --rsh=ssh]
7
+ set :wpcli_rsync_options, "-avz --rsh=ssh --progress"
7
8
 
8
9
  # Local dir where WP stores the uploads
9
10
  # IMPORTANT: Add trailing slash!
@@ -12,15 +13,20 @@ namespace :load do
12
13
  # Remote dir where WP stores the uploads
13
14
  # IMPORTANT: Add trailing slash!
14
15
  set :wpcli_remote_uploads_dir, -> {"#{shared_path.to_s}/web/app/uploads/"}
16
+
15
17
  end
16
18
  end
17
19
 
18
20
  namespace :wpcli do
19
21
  namespace :uploads do
20
22
  namespace :rsync do
23
+
21
24
  desc "Push local uploads delta to remote machine"
22
25
  task :push do
23
- roles(:all).each do |role|
26
+ roles(:web).each do |role|
27
+ puts role.netssh_options[:port]
28
+ port = role.netssh_options[:port] || 22
29
+ set :wpcli_rsync_options, fetch(:wpcli_rsync_options) + (" -e 'ssh -p #{port}'")
24
30
  run_locally do
25
31
  execute :rsync, fetch(:wpcli_rsync_options), fetch(:wpcli_local_uploads_dir), "#{role.user}@#{role.hostname}:#{fetch(:wpcli_remote_uploads_dir)}"
26
32
  end
@@ -29,7 +35,7 @@ namespace :wpcli do
29
35
 
30
36
  desc "Pull remote uploads delta to local machine"
31
37
  task :pull do
32
- roles(:all).each do |role|
38
+ roles(:web).each do |role|
33
39
  run_locally do
34
40
  execute :rsync, fetch(:wpcli_rsync_options), "#{role.user}@#{role.hostname}:#{fetch(:wpcli_remote_uploads_dir)}", fetch(:wpcli_local_uploads_dir)
35
41
  end
@@ -1,5 +1,5 @@
1
1
  module Capistrano
2
2
  module Wpcli
3
- VERSION = "0.0.9"
3
+ VERSION = "0.1.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,64 +1,72 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: capistrano-wpcli
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
5
- prerelease:
4
+ version: 0.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Juancito Arias
8
+ - Jeremy Zahner
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-08-15 00:00:00.000000000 Z
12
+ date: 2015-11-18 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: capistrano
16
16
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
17
  requirements:
19
- - - ! '>='
18
+ - - ~>
20
19
  - !ruby/object:Gem::Version
21
- version: '3.0'
20
+ version: 3.4.0
22
21
  type: :runtime
23
22
  prerelease: false
24
23
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
24
  requirements:
27
- - - ! '>='
25
+ - - ~>
28
26
  - !ruby/object:Gem::Version
29
- version: '3.0'
27
+ version: 3.4.0
28
+ - !ruby/object:Gem::Dependency
29
+ name: sshkit
30
+ requirement: !ruby/object:Gem::Requirement
31
+ requirements:
32
+ - - ~>
33
+ - !ruby/object:Gem::Version
34
+ version: 1.7.0
35
+ type: :runtime
36
+ prerelease: false
37
+ version_requirements: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - ~>
40
+ - !ruby/object:Gem::Version
41
+ version: 1.7.0
30
42
  - !ruby/object:Gem::Dependency
31
43
  name: bundler
32
44
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
45
  requirements:
35
46
  - - ~>
36
47
  - !ruby/object:Gem::Version
37
- version: '1.6'
48
+ version: 1.7.0
38
49
  type: :development
39
50
  prerelease: false
40
51
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
52
  requirements:
43
53
  - - ~>
44
54
  - !ruby/object:Gem::Version
45
- version: '1.6'
55
+ version: 1.7.0
46
56
  - !ruby/object:Gem::Dependency
47
57
  name: rake
48
58
  requirement: !ruby/object:Gem::Requirement
49
- none: false
50
59
  requirements:
51
- - - ! '>='
60
+ - - ~>
52
61
  - !ruby/object:Gem::Version
53
- version: '0'
62
+ version: 10.4.0
54
63
  type: :development
55
64
  prerelease: false
56
65
  version_requirements: !ruby/object:Gem::Requirement
57
- none: false
58
66
  requirements:
59
- - - ! '>='
67
+ - - ~>
60
68
  - !ruby/object:Gem::Version
61
- version: '0'
69
+ version: 10.4.0
62
70
  description: Capistrano tasks for managing Wordpress
63
71
  email:
64
72
  - trasgofurioso@gmail.com
@@ -70,7 +78,6 @@ files:
70
78
  - Gemfile
71
79
  - Gemfile.lock
72
80
  - LICENSE
73
- - LICENSE.txt
74
81
  - README.md
75
82
  - Rakefile
76
83
  - capistrano-wpcli.gemspec
@@ -84,26 +91,25 @@ files:
84
91
  homepage: https://github.com/lavmeiker/capistrano-wpcli
85
92
  licenses:
86
93
  - MIT
94
+ metadata: {}
87
95
  post_install_message:
88
96
  rdoc_options: []
89
97
  require_paths:
90
98
  - lib
91
99
  required_ruby_version: !ruby/object:Gem::Requirement
92
- none: false
93
100
  requirements:
94
- - - ! '>='
101
+ - - '>='
95
102
  - !ruby/object:Gem::Version
96
103
  version: '0'
97
104
  required_rubygems_version: !ruby/object:Gem::Requirement
98
- none: false
99
105
  requirements:
100
- - - ! '>='
106
+ - - '>='
101
107
  - !ruby/object:Gem::Version
102
108
  version: '0'
103
109
  requirements: []
104
110
  rubyforge_project:
105
- rubygems_version: 1.8.23
111
+ rubygems_version: 2.0.14
106
112
  signing_key:
107
- specification_version: 3
113
+ specification_version: 4
108
114
  summary: Simple Capistrano wrapper around WP-CLI
109
115
  test_files: []
@@ -1,22 +0,0 @@
1
- Copyright (c) 2014 Juancito Arias
2
-
3
- MIT License
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining
6
- a copy of this software and associated documentation files (the
7
- "Software"), to deal in the Software without restriction, including
8
- without limitation the rights to use, copy, modify, merge, publish,
9
- distribute, sublicense, and/or sell copies of the Software, and to
10
- permit persons to whom the Software is furnished to do so, subject to
11
- the following conditions:
12
-
13
- The above copyright notice and this permission notice shall be
14
- included in all copies or substantial portions of the Software.
15
-
16
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
17
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
18
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
19
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
20
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
21
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
22
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.