fezzik 0.6.3 → 0.6.4

Sign up to get free protection for your applications and to get access to all the features.
data/bin/fez CHANGED
@@ -9,9 +9,7 @@ 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
12
+ Fezzik.activated = true
15
13
 
16
14
  def usage
17
15
  <<-EOF
data/lib/fezzik/base.rb CHANGED
@@ -1,4 +1,7 @@
1
1
  module Fezzik
2
+ def self.activated=(value) @activated = value end
3
+ def self.activated?() @activated || false end
4
+
2
5
  def self.init(options={})
3
6
  @options = options
4
7
  @target_destination = ENV["fezzik_destination"].to_sym rescue nil
@@ -1,3 +1,3 @@
1
1
  module Fezzik
2
- VERSION = "0.6.3"
2
+ VERSION = "0.6.4"
3
3
  end
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.3
4
+ version: 0.6.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ date: 2012-05-17 00:00:00.000000000Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: rake
17
- requirement: &8889220 !ruby/object:Gem::Requirement
17
+ requirement: &12238520 !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: *8889220
25
+ version_requirements: *12238520
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: rake-remote_task
28
- requirement: &8887220 !ruby/object:Gem::Requirement
28
+ requirement: &12236440 !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: *8887220
36
+ version_requirements: *12236440
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: colorize
39
- requirement: &8886300 !ruby/object:Gem::Requirement
39
+ requirement: &12233680 !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: *8886300
47
+ version_requirements: *12233680
48
48
  description: A light deployment system that gets out of your way
49
49
  email: dmacdougall@gmail.com
50
50
  executables: