capedia 0.0.2 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/Rakefile +6 -0
- data/lib/capedia.rb +2 -2
- data/lib/capedia/crontab.rb +1 -1
- data/lib/capedia/gems.rb +1 -1
- data/lib/capedia/rails_bundler_install.rb +18 -0
- data/lib/test/jeff_test.rb +10 -0
- data/lib/test/utils.rb +7 -0
- metadata +10 -6
data/lib/Rakefile
ADDED
data/lib/capedia.rb
CHANGED
data/lib/capedia/crontab.rb
CHANGED
data/lib/capedia/gems.rb
CHANGED
@@ -7,7 +7,7 @@ Capistrano::Configuration.instance.load do
|
|
7
7
|
desc 'One time gem install for gems that need to be installed before a gem autoinstaller can be invoked (i.e. bundler, rails db adapters, etc.)'
|
8
8
|
task :setup, :except => { :no_release => true } do
|
9
9
|
fetch(:setup_gems, {}).each do |gem_name, version|
|
10
|
-
|
10
|
+
capedia_gems.install gem_name, version
|
11
11
|
end
|
12
12
|
end
|
13
13
|
|
@@ -0,0 +1,18 @@
|
|
1
|
+
Capistrano::Configuration.instance.load do
|
2
|
+
|
3
|
+
namespace :deploy do
|
4
|
+
|
5
|
+
namespace :gems do
|
6
|
+
|
7
|
+
desc 'Installs all gems for the current release (uses bundler)'
|
8
|
+
task :bundle_install, :except => { :no_release => true } do
|
9
|
+
run "cd #{current_path}; bundle install --deployment"
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
13
|
+
|
14
|
+
end
|
15
|
+
|
16
|
+
after 'deploy:symlink', 'deploy:gems:bundle_install'
|
17
|
+
|
18
|
+
end
|
data/lib/test/utils.rb
ADDED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: capedia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
5
|
-
prerelease:
|
4
|
+
hash: 23
|
5
|
+
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 4
|
10
|
+
version: 0.0.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Ryan Wilson
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date:
|
18
|
+
date: 2011-02-09 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies: []
|
21
21
|
|
@@ -34,8 +34,12 @@ files:
|
|
34
34
|
- lib/capedia/gems.rb
|
35
35
|
- lib/capedia/passenger.rb
|
36
36
|
- lib/capedia/rails.rb
|
37
|
+
- lib/capedia/rails_bundler_install.rb
|
37
38
|
- lib/capedia/rails_gems_install.rb
|
38
39
|
- lib/capedia.rb
|
40
|
+
- lib/Rakefile
|
41
|
+
- lib/test/jeff_test.rb
|
42
|
+
- lib/test/utils.rb
|
39
43
|
has_rdoc: true
|
40
44
|
homepage: ""
|
41
45
|
licenses: []
|
@@ -66,7 +70,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
66
70
|
requirements: []
|
67
71
|
|
68
72
|
rubyforge_project: ""
|
69
|
-
rubygems_version: 1.
|
73
|
+
rubygems_version: 1.5.0
|
70
74
|
signing_key:
|
71
75
|
specification_version: 3
|
72
76
|
summary: Common capistrano plugins and recipes
|