capistrano_database_yml 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/capistrano_database_yml.gemspec +1 -1
- data/lib/database_yml/capistrano.rb +14 -14
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.1
|
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{capistrano_database_yml}
|
8
|
-
s.version = "1.1.
|
8
|
+
s.version = "1.1.1"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Michael Franz Aigner", "Simone Carletti"]
|
@@ -39,20 +39,20 @@ Capistrano::Configuration.instance.load do
|
|
39
39
|
DESC
|
40
40
|
task :setup, :except => { :no_release => true } do
|
41
41
|
|
42
|
-
default_template =
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
42
|
+
default_template = <<EOF
|
43
|
+
base: &base
|
44
|
+
adapter: sqlite3
|
45
|
+
timeout: 5000
|
46
|
+
development:
|
47
|
+
database: #{shared_path}/db/development.sqlite3
|
48
|
+
<<: *base
|
49
|
+
test:
|
50
|
+
database: #{shared_path}/db/test.sqlite3
|
51
|
+
<<: *base
|
52
|
+
production:
|
53
|
+
database: #{shared_path}/db/production.sqlite3
|
54
|
+
<<: *base
|
55
|
+
EOF
|
56
56
|
|
57
57
|
location = fetch(:template_dir, "config/deploy") + '/database.yml.erb'
|
58
58
|
template = File.file?(location) ? File.read(location) : default_template
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capistrano_database_yml
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 1
|
10
|
+
version: 1.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Franz Aigner
|