deployer 0.1.0 → 0.1.1
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.
- data/Rakefile +1 -1
- data/VERSION +1 -1
- data/bin/enhancify +3 -3
- data/deployer.gemspec +2 -3
- data/lib/tasks/db.rb +2 -0
- metadata +3 -3
data/Rakefile
CHANGED
|
@@ -8,7 +8,7 @@ begin
|
|
|
8
8
|
gem.summary = %Q{Deployer is a deployment engine (Ruby Gem) that enhances Capistrano with a set of useful automated deployment tasks. It favors convention over configuration, and it simplifies Rails Application Deployment with Capistrano.}
|
|
9
9
|
gem.description = %Q{Deployer is a deployment engine (Ruby Gem) that enhances Capistrano with a set of useful automated deployment tasks. It favors convention over configuration, and it simplifies Rails Application Deployment with Capistrano.}
|
|
10
10
|
gem.email = "meskyanichi@gmail.com"
|
|
11
|
-
gem.homepage = "http://github.com/meskyanichi/deployer"
|
|
11
|
+
#gem.homepage = "http://github.com/meskyanichi/deployer"
|
|
12
12
|
gem.authors = ["Michael van Rooijen"]
|
|
13
13
|
gem.add_dependency "capistrano", ">= 2.5.13"
|
|
14
14
|
end
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.1.
|
|
1
|
+
0.1.1
|
data/bin/enhancify
CHANGED
|
@@ -3,15 +3,15 @@
|
|
|
3
3
|
options = {}
|
|
4
4
|
|
|
5
5
|
optparse = OptionParser.new do |opts|
|
|
6
|
-
opts.banner = "
|
|
6
|
+
opts.banner = "Usage: enhancify [path]"
|
|
7
7
|
end
|
|
8
8
|
|
|
9
9
|
begin
|
|
10
10
|
optparse.parse!
|
|
11
11
|
rescue OptionParser::InvalidOption
|
|
12
|
-
puts "
|
|
12
|
+
puts "Invalid Option. There are no options. Please specify the path in which the Capfile resides."
|
|
13
|
+
puts "e.g. => enhancify /Users/Michael/Desktop/RAILS_ROOT"
|
|
13
14
|
puts optparse
|
|
14
|
-
puts "\n "
|
|
15
15
|
exit
|
|
16
16
|
end
|
|
17
17
|
|
data/deployer.gemspec
CHANGED
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{deployer}
|
|
8
|
-
s.version = "0.1.
|
|
8
|
+
s.version = "0.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 van Rooijen"]
|
|
12
|
-
s.date = %q{2010-01-
|
|
12
|
+
s.date = %q{2010-01-12}
|
|
13
13
|
s.default_executable = %q{enhancify}
|
|
14
14
|
s.description = %q{Deployer is a deployment engine (Ruby Gem) that enhances Capistrano with a set of useful automated deployment tasks. It favors convention over configuration, and it simplifies Rails Application Deployment with Capistrano.}
|
|
15
15
|
s.email = %q{meskyanichi@gmail.com}
|
|
@@ -43,7 +43,6 @@ Gem::Specification.new do |s|
|
|
|
43
43
|
"lib/tasks/repository.rb",
|
|
44
44
|
"setup/deploy.rb"
|
|
45
45
|
]
|
|
46
|
-
s.homepage = %q{http://github.com/meskyanichi/deployer}
|
|
47
46
|
s.rdoc_options = ["--charset=UTF-8"]
|
|
48
47
|
s.require_paths = ["lib"]
|
|
49
48
|
s.rubygems_version = %q{1.3.5}
|
data/lib/tasks/db.rb
CHANGED
|
@@ -29,6 +29,7 @@ namespace :deploy do
|
|
|
29
29
|
task :reset do
|
|
30
30
|
log "Resetting the Production Database"
|
|
31
31
|
run "cd #{current_path}; rake db:migrate:reset #{env}"
|
|
32
|
+
system "cap deploy:set_permissions"
|
|
32
33
|
end
|
|
33
34
|
|
|
34
35
|
end
|
|
@@ -43,6 +44,7 @@ namespace :deploy do
|
|
|
43
44
|
task :seed do
|
|
44
45
|
log "Populating the Production Database"
|
|
45
46
|
run "cd #{current_path}; rake db:seed #{env}"
|
|
47
|
+
system "cap deploy:set_permissions"
|
|
46
48
|
end
|
|
47
49
|
|
|
48
50
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: deployer
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.1.
|
|
4
|
+
version: 0.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Michael van Rooijen
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-01-
|
|
12
|
+
date: 2010-01-12 00:00:00 +01:00
|
|
13
13
|
default_executable: enhancify
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|
|
@@ -56,7 +56,7 @@ files:
|
|
|
56
56
|
- lib/tasks/repository.rb
|
|
57
57
|
- setup/deploy.rb
|
|
58
58
|
has_rdoc: true
|
|
59
|
-
homepage:
|
|
59
|
+
homepage:
|
|
60
60
|
licenses: []
|
|
61
61
|
|
|
62
62
|
post_install_message:
|