delano-drydock 0.6.5 → 0.6.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/CHANGES.txt +12 -0
  2. data/drydock.gemspec +1 -1
  3. data/lib/drydock.rb +3 -3
  4. metadata +1 -1
data/CHANGES.txt CHANGED
@@ -5,6 +5,18 @@ DRYDOCK, CHANGES
5
5
  * Support putting descriptions into resource file (or __END__)
6
6
 
7
7
 
8
+ #### 0.6.6 (2009-06-24) #############################
9
+
10
+ NOTE: Because at_exit has been removed, Drydock scripts will no longer
11
+ run automatically. You can explicitly call the following at the bottom
12
+ of your scripts:
13
+
14
+ Drydock.run!(ARGV, STDIN) if Drydock.run?
15
+
16
+ * CHANGE: Removed at_exit
17
+ * CHANGE: Drydock.run? will now return false if Drydock hasl already run
18
+
19
+
8
20
  #### 0.6.5 (2009-05-21) #############################
9
21
 
10
22
  * ADDED: "with_args" support for default command. When specified,
data/drydock.gemspec CHANGED
@@ -1,6 +1,6 @@
1
1
  @spec = Gem::Specification.new do |s|
2
2
  s.name = %q{drydock}
3
- s.version = "0.6.5"
3
+ s.version = "0.6.6"
4
4
  s.specification_version = 1 if s.respond_to? :specification_version=
5
5
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
6
6
 
data/lib/drydock.rb CHANGED
@@ -78,7 +78,7 @@ module Drydock
78
78
  # end
79
79
  #
80
80
  class Command
81
- VERSION = 0.6
81
+ VERSION = "0.6.6"
82
82
  # The canonical name of the command (the one used in the command definition). If you
83
83
  # inherit from this class and add a method named +cmd+, you can leave omit the block
84
84
  # in the command definition. That method will be called instead. See bin/examples.
@@ -713,7 +713,7 @@ module Drydock
713
713
 
714
714
  # Returns true if automatic execution is enabled.
715
715
  def run?
716
- @@run
716
+ @@run && has_run? == false
717
717
  end
718
718
 
719
719
  # Disable automatic execution (enabled by default)
@@ -929,7 +929,7 @@ module Drydock
929
929
 
930
930
  end
931
931
 
932
-
932
+ __END__
933
933
 
934
934
  at_exit {
935
935
  begin
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delano-drydock
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.5
4
+ version: 0.6.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Delano Mandelbaum