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 CHANGED
@@ -1 +1 @@
1
- 1.1.0
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.0"
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 = <<-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
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: 19
4
+ hash: 17
5
5
  prerelease: false
6
6
  segments:
7
7
  - 1
8
8
  - 1
9
- - 0
10
- version: 1.1.0
9
+ - 1
10
+ version: 1.1.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Michael Franz Aigner