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 CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- YjA0ODY3NjU4YjIzMzRkZjA1NjY5OTExY2YwZDFkZjFjYjI2NTU1NQ==
4
+ YzE5NTg0ZDU5MmZmMDAzNWQzM2E4NDc5OTUwYjVlNGYyNjRhZWUzNQ==
5
5
  data.tar.gz: !binary |-
6
- MjcxM2RiMjVhNzYwMDY1MDdiMjI5OWEzZTc3ZWUxOGQwMzVmOGU4OQ==
6
+ ZDM3MWI1OTQyMzQ1ZjJjMmU5ZDQzNzViOGYzNTg4ZWFiODY2ZmRlNQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- ZmYxMmMyN2Q1ZDU2ZmM1OWViMzYxYWQ4NzhkZmNmYzc2NTcxMGZhYjVlMjg1
10
- ODAyMjg4NWI4OGE1ZTUxZDFmYjA3OTM0N2EwMDFjYTNlNTYwYzY4MjY5MTQ3
11
- MWU0YjMxYmEzNTExMDkxNjY1ODJmMzUyZmVlODMwOGNlY2E2NGI=
9
+ ZDJjNTA5YjI1MzZmNmYzZWQwZDE3M2FiMmIyOGEyYzk0ODE5NWFkZGU3MjU4
10
+ OTM0NDZjYWQwMjgyZTE0NzM3NjhjZmExODE0MjNkY2NlOWE0MGZlYmJmNzU4
11
+ ODdkYWQ2MTc3ZmI4Y2VhOWMxOTY5ODBkODE2ZmM1N2E4OGY2ZjM=
12
12
  data.tar.gz: !binary |-
13
- NmEzZGEzZTFlMWYyMjU0ODI0ODgyMzhlYzgyNDBiZmYxMGNkNDc1MGE0Zjkx
14
- ODM2ZmZjYTBiYTA1OTM0ZWEwYjRmYjRlMjNiZjYwNWIwM2FlZGFhYTZlYjU4
15
- YWVlNTMzNjE3MWNjOWVjOWM0ODQzMTNjNDMwYWRiZTY5NmUwZGY=
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
@@ -3,7 +3,7 @@ module Capistrano
3
3
 
4
4
  module Helpers
5
5
  def asset_path(asset)
6
- File.join(fetch(:assets_path), asset)
6
+ File.join("#{capistrano_path}/assets", asset)
7
7
  end
8
8
 
9
9
  def remote_assert(command)
@@ -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, File.expand_path(Dir.pwd)
8
- set :capistrano_path, "#{root_path}/capistrano"
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: baptize
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Troels Knak-Nielsen