fezzik 0.6.2 → 0.6.3

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -1,9 +1,9 @@
1
1
  # Fezzik
2
2
 
3
3
  Fezzik (or fez) is a slim and snappy way to run commands on servers.
4
- This is useful for many things, including deployment.
4
+ This is useful for many tasks, including deployment.
5
5
 
6
- It wraps a rake-based rsync workflow and tries to keep it simple.
6
+ It wraps a rake-based rsync workflow and tries to keep things simple.
7
7
 
8
8
  ## Install
9
9
 
data/bin/fez CHANGED
@@ -9,6 +9,10 @@ require "fezzik"
9
9
  # TODO: Think about how to do domain overrides better
10
10
  # TODO: Add Fezzik::DSL so you can say env or destination instead of Fezzik.env, Fezzik.destination
11
11
 
12
+ # This constant can be used to determine whether fezzik is being used. You can use this, for example, to only
13
+ # load fezzik tasks in your Rakefile when running `fez ...` and not `rake ...`.
14
+ FEZZIK_ACTIVATED = true
15
+
12
16
  def usage
13
17
  <<-EOF
14
18
  Version #{Fezzik::VERSION}
@@ -81,7 +85,7 @@ def run_fezzik_tasks
81
85
  end
82
86
 
83
87
  case ARGV[0]
84
- when nil then print_usage_and_exit
88
+ when nil, "-h" then print_usage_and_exit
85
89
  when "-T" then display_tasks_and_exit
86
90
  when "get" then download_tasks_and_exit
87
91
  else run_fezzik_tasks
@@ -1,3 +1,3 @@
1
1
  module Fezzik
2
- VERSION = "0.6.2"
2
+ VERSION = "0.6.3"
3
3
  end
@@ -32,7 +32,7 @@ namespace :fezzik do
32
32
  desc "runs the executable in project/bin"
33
33
  remote_task :start do
34
34
  puts "starting from #{Fezzik::Util.capture_output { run "readlink #{current_path}" }}"
35
- run "cd #{current_path} && (source config/environment.sh || true) && ./bin/run_app.sh"
35
+ run "cd #{current_path} && (source environment.sh || true) && ./bin/run_app.sh"
36
36
  end
37
37
 
38
38
  desc "kills the application by searching for the specified process name"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fezzik
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.2
4
+ version: 0.6.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,11 +10,11 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2012-02-16 00:00:00.000000000Z
13
+ date: 2012-05-17 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
17
- requirement: &2152461580 !ruby/object:Gem::Requirement
17
+ requirement: &8889220 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 0.8.7
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *2152461580
25
+ version_requirements: *8889220
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rake-remote_task
28
- requirement: &2152461120 !ruby/object:Gem::Requirement
28
+ requirement: &8887220 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 2.0.2
34
34
  type: :runtime
35
35
  prerelease: false
36
- version_requirements: *2152461120
36
+ version_requirements: *8887220
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: colorize
39
- requirement: &2152460660 !ruby/object:Gem::Requirement
39
+ requirement: &8886300 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ! '>='
@@ -44,7 +44,7 @@ dependencies:
44
44
  version: 0.5.8
45
45
  type: :runtime
46
46
  prerelease: false
47
- version_requirements: *2152460660
47
+ version_requirements: *8886300
48
48
  description: A light deployment system that gets out of your way
49
49
  email: dmacdougall@gmail.com
50
50
  executables:
@@ -90,7 +90,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
90
90
  version: '0'
91
91
  requirements: []
92
92
  rubyforge_project: fezzik
93
- rubygems_version: 1.8.7
93
+ rubygems_version: 1.8.10
94
94
  signing_key:
95
95
  specification_version: 2
96
96
  summary: Fezzik is a small wrapper around rake/remote_task. It simplifies running