baptize 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/README.markdown +1 -5
- data/lib/baptize/helpers.rb +1 -1
- data/lib/baptize/install.rb +3 -2
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
YzE5NTg0ZDU5MmZmMDAzNWQzM2E4NDc5OTUwYjVlNGYyNjRhZWUzNQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZDM3MWI1OTQyMzQ1ZjJjMmU5ZDQzNzViOGYzNTg4ZWFiODY2ZmRlNQ==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZDJjNTA5YjI1MzZmNmYzZWQwZDE3M2FiMmIyOGEyYzk0ODE5NWFkZGU3MjU4
|
10
|
+
OTM0NDZjYWQwMjgyZTE0NzM3NjhjZmExODE0MjNkY2NlOWE0MGZlYmJmNzU4
|
11
|
+
ODdkYWQ2MTc3ZmI4Y2VhOWMxOTY5ODBkODE2ZmM1N2E4OGY2ZjM=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
OGQwZjFmOTE4ODE1N2NlNzEzMGNhNzdiNTFjNjY5NTYyNzIzMTNlMzcxMzMw
|
14
|
+
M2IxMjY2Njk2MTg5YzkyMjU5YjE1MTlkMmVmNzA3ZWM5ZWY2YmIyYTM1NjVk
|
15
|
+
ZmY1NmRkMTcxZmYzYTMzYmVhNjQxNDg1MDQzZWQ2NDQyNjZhMDA=
|
data/README.markdown
CHANGED
@@ -14,7 +14,7 @@ To get started, create a `Gemfile`:
|
|
14
14
|
|
15
15
|
```ruby
|
16
16
|
source 'https://rubygems.org'
|
17
|
-
gem 'capistrano'
|
17
|
+
gem 'capistrano', '~> 2.15'
|
18
18
|
gem 'baptize'
|
19
19
|
```
|
20
20
|
|
@@ -24,14 +24,10 @@ And a `Capfile`:
|
|
24
24
|
require 'bundler'
|
25
25
|
require 'capistrano'
|
26
26
|
require 'baptize'
|
27
|
-
set :capistrano_path, "#{root_path}/capistrano"
|
28
|
-
set :assets_path, "#{capistrano_path}/assets"
|
29
27
|
load_configuration :roles
|
30
|
-
|
31
28
|
Dir.glob("#{capistrano_path}/packages/**/*.rb").each do |package|
|
32
29
|
load(package)
|
33
30
|
end
|
34
|
-
|
35
31
|
Dir.glob("#{capistrano_path}/recipes/**/*.rb").each do |recipe|
|
36
32
|
load(recipe)
|
37
33
|
end
|
data/lib/baptize/helpers.rb
CHANGED
data/lib/baptize/install.rb
CHANGED
@@ -4,8 +4,9 @@ module Capistrano
|
|
4
4
|
# Defines all baptize top-level tasks
|
5
5
|
def self.install(scope)
|
6
6
|
scope.instance_eval do
|
7
|
-
set :root_path
|
8
|
-
set :capistrano_path
|
7
|
+
set :root_path { File.expand_path(Dir.pwd) }
|
8
|
+
set :capistrano_path { "#{root_path}/capistrano" }
|
9
|
+
|
9
10
|
# Can't run this here, since Capfile might want to redefine
|
10
11
|
# load_configuration :roles
|
11
12
|
|