capistrano-bedrock-mysql 0.0.6 → 0.0.8
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 +2 -2
- data/capistrano-bedrock-mysql.gemspec +1 -1
- data/lib/capistrano/tasks/mysql.rake +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: 02e0132c794a40c9d37a1d510b075288c5486010
|
|
4
|
+
data.tar.gz: 8648667b85a7bccf586527985cff44c46c481e27
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 80c0f25d8698932d99f09dca84959fc9eb84a378b312b4e8ff420aad1ee77ad1a3d1d05fbd5622f00f47fc224ad6bb5eb671620dce8e05a00a6e8445c5b55ee3
|
|
7
|
+
data.tar.gz: 865b8db01d13c73dc5563692a3aa1178a1a4c770ddafd18298b83a6485db5102e360ed34cbb713a59d096d64dbb36e89dd561bc14531dfcef80d96b143d93d9c
|
data/README.md
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
Add this line to your application's Gemfile:
|
|
6
6
|
|
|
7
7
|
```ruby
|
|
8
|
-
gem 'capistrano-bedrock-mysql', '~> 0.0.
|
|
8
|
+
gem 'capistrano-bedrock-mysql', '~> 0.0.8'
|
|
9
9
|
```
|
|
10
10
|
|
|
11
11
|
And then execute:
|
|
@@ -34,7 +34,7 @@ Important! You need to disable the fix for tty mentioned here: https://github.co
|
|
|
34
34
|
Require the module in your `Capfile`:
|
|
35
35
|
|
|
36
36
|
```ruby
|
|
37
|
-
require 'capistrano
|
|
37
|
+
require 'capistrano/bedrock/mysql'
|
|
38
38
|
```
|
|
39
39
|
|
|
40
40
|
`capistrano-bedrock-mysql` comes with five tasks:
|
|
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
|
|
4
4
|
|
|
5
5
|
Gem::Specification.new do |spec|
|
|
6
6
|
spec.name = 'capistrano-bedrock-mysql'
|
|
7
|
-
spec.version = '0.0.
|
|
7
|
+
spec.version = '0.0.8'
|
|
8
8
|
spec.authors = ['Fredrik Sundström']
|
|
9
9
|
spec.email = ['fredrik.sundstrom@norkay.se']
|
|
10
10
|
spec.description = %q{MySQL tasks for roots/bedrock, using Capistrano 3.x}
|
|
@@ -67,7 +67,7 @@ def create_dir(path)
|
|
|
67
67
|
end
|
|
68
68
|
|
|
69
69
|
def create_backup(host, user, password, name, timestamp)
|
|
70
|
-
execute "mysqldump -h #{host} -u#{user} -p#{password} #{name} > #{shared_path}/db_backups/#{timestamp}.sql"
|
|
70
|
+
execute "mysqldump -h #{host} -u#{user} -p'#{password}' #{name} > #{shared_path}/db_backups/#{timestamp}.sql"
|
|
71
71
|
end
|
|
72
72
|
|
|
73
73
|
def remove_old_backups(path)
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: capistrano-bedrock-mysql
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.8
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Fredrik Sundström
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2016-
|
|
11
|
+
date: 2016-05-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: capistrano
|