capistrano_database_yml 1.1.1 → 1.1.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +2 -2
- data/Gemfile.lock +0 -1
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/capistrano_database_yml.gemspec +6 -9
- data/lib/database_yml/tasks.rake +2 -1
- metadata +9 -25
data/Gemfile
CHANGED
data/Gemfile.lock
CHANGED
data/Rakefile
CHANGED
@@ -18,7 +18,7 @@ Jeweler::Tasks.new do |gem|
|
|
18
18
|
gem.description = %Q{Provides a couple of tasks for creating the database.yml configuration file dynamically when deploy:setup is run.}
|
19
19
|
gem.email = "amfranz@gmail.com"
|
20
20
|
gem.authors = ["Michael Franz Aigner", "Simone Carletti"]
|
21
|
-
gem.add_runtime_dependency 'capistrano', '
|
21
|
+
gem.add_runtime_dependency 'capistrano', '~> 2.0'
|
22
22
|
end
|
23
23
|
Jeweler::RubygemsDotOrgTasks.new
|
24
24
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.1.
|
1
|
+
1.1.2
|
@@ -5,11 +5,11 @@
|
|
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.2"
|
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"]
|
12
|
-
s.date = %q{2010-11-
|
12
|
+
s.date = %q{2010-11-30}
|
13
13
|
s.description = %q{Provides a couple of tasks for creating the database.yml configuration file dynamically when deploy:setup is run.}
|
14
14
|
s.email = %q{amfranz@gmail.com}
|
15
15
|
s.extra_rdoc_files = [
|
@@ -41,18 +41,15 @@ Gem::Specification.new do |s|
|
|
41
41
|
s.specification_version = 3
|
42
42
|
|
43
43
|
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
44
|
-
s.
|
45
|
-
s.add_runtime_dependency(%q<
|
46
|
-
s.add_runtime_dependency(%q<capistrano>, ["> 2.0"])
|
44
|
+
s.add_development_dependency(%q<jeweler>, ["~> 1.5.1"])
|
45
|
+
s.add_runtime_dependency(%q<capistrano>, ["~> 2.0"])
|
47
46
|
else
|
48
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
49
47
|
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
50
|
-
s.add_dependency(%q<capistrano>, ["
|
48
|
+
s.add_dependency(%q<capistrano>, ["~> 2.0"])
|
51
49
|
end
|
52
50
|
else
|
53
|
-
s.add_dependency(%q<bundler>, ["~> 1.0.0"])
|
54
51
|
s.add_dependency(%q<jeweler>, ["~> 1.5.1"])
|
55
|
-
s.add_dependency(%q<capistrano>, ["
|
52
|
+
s.add_dependency(%q<capistrano>, ["~> 2.0"])
|
56
53
|
end
|
57
54
|
end
|
58
55
|
|
data/lib/database_yml/tasks.rake
CHANGED
@@ -6,4 +6,5 @@ task :create_database_yml => "config/database.yml.example" do |task|
|
|
6
6
|
cp task.prerequisites.first, 'config/database.yml' unless File.exists? 'config/database.yml'
|
7
7
|
end
|
8
8
|
|
9
|
-
task
|
9
|
+
task 'environment' => :create_database_yml
|
10
|
+
task 'db:load_config' => :create_database_yml
|
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: 23
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 2
|
10
|
+
version: 1.1.2
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Michael Franz Aigner
|
@@ -16,27 +16,11 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2010-11-
|
19
|
+
date: 2010-11-30 00:00:00 -05:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|
23
23
|
version_requirements: &id001 !ruby/object:Gem::Requirement
|
24
|
-
none: false
|
25
|
-
requirements:
|
26
|
-
- - ~>
|
27
|
-
- !ruby/object:Gem::Version
|
28
|
-
hash: 23
|
29
|
-
segments:
|
30
|
-
- 1
|
31
|
-
- 0
|
32
|
-
- 0
|
33
|
-
version: 1.0.0
|
34
|
-
requirement: *id001
|
35
|
-
prerelease: false
|
36
|
-
type: :runtime
|
37
|
-
name: bundler
|
38
|
-
- !ruby/object:Gem::Dependency
|
39
|
-
version_requirements: &id002 !ruby/object:Gem::Requirement
|
40
24
|
none: false
|
41
25
|
requirements:
|
42
26
|
- - ~>
|
@@ -47,22 +31,22 @@ dependencies:
|
|
47
31
|
- 5
|
48
32
|
- 1
|
49
33
|
version: 1.5.1
|
50
|
-
requirement: *
|
34
|
+
requirement: *id001
|
51
35
|
prerelease: false
|
52
|
-
type: :
|
36
|
+
type: :development
|
53
37
|
name: jeweler
|
54
38
|
- !ruby/object:Gem::Dependency
|
55
|
-
version_requirements: &
|
39
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
56
40
|
none: false
|
57
41
|
requirements:
|
58
|
-
- -
|
42
|
+
- - ~>
|
59
43
|
- !ruby/object:Gem::Version
|
60
44
|
hash: 3
|
61
45
|
segments:
|
62
46
|
- 2
|
63
47
|
- 0
|
64
48
|
version: "2.0"
|
65
|
-
requirement: *
|
49
|
+
requirement: *id002
|
66
50
|
prerelease: false
|
67
51
|
type: :runtime
|
68
52
|
name: capistrano
|