capistrano-database 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- data/capistrano-database.gemspec +1 -1
- data/lib/capistrano/ext/database.rb +8 -0
- metadata +2 -2
data/capistrano-database.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |gem|
|
|
13
13
|
gem.test_files = gem.files.grep(%r{^(test|spec|features)/})
|
14
14
|
gem.name = 'capistrano-database'
|
15
15
|
gem.require_paths = ['lib']
|
16
|
-
gem.version = '0.0.
|
16
|
+
gem.version = '0.0.3'
|
17
17
|
|
18
18
|
# Runtime dependencies
|
19
19
|
gem.add_dependency 'rake'
|
@@ -6,6 +6,14 @@ unless Capistrano::Configuration.respond_to?(:instance)
|
|
6
6
|
end
|
7
7
|
|
8
8
|
Capistrano::Configuration.instance(:must_exist).load do
|
9
|
+
|
10
|
+
_cset :db_credentials_host_regex, /hostname: (.*)$/o
|
11
|
+
_cset :db_credentials_host_regex_match, 1
|
12
|
+
_cset :db_credentials_port_regex, /port: (.*)$/o
|
13
|
+
_cset :db_credentials_port_regex_match, 1
|
14
|
+
_cset :db_credentials_user_regex, /username: (.*)$/o
|
15
|
+
_cset :db_credentials_user_regex_match, 1
|
16
|
+
|
9
17
|
namespace :db do
|
10
18
|
desc 'Backup the database'
|
11
19
|
task :backup, :roles => :db do
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano-database
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
94
94
|
version: '0'
|
95
95
|
segments:
|
96
96
|
- 0
|
97
|
-
hash:
|
97
|
+
hash: 1175989333225565899
|
98
98
|
requirements: []
|
99
99
|
rubyforge_project:
|
100
100
|
rubygems_version: 1.8.23
|