gen 0.27.0 → 0.28.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,7 @@
2
2
 
3
3
  TITLE : &title Gen
4
4
  NAME : &pkg gen
5
- VERSION : '0.27.0'
5
+ VERSION : '0.28.0'
6
6
  STATUS : beta
7
7
 
8
8
  AUTHOR : George Moschovitis
@@ -17,7 +17,7 @@ DESCRIPTION: >
17
17
  DISTRIBUTE: [ gem, tgz, zip ]
18
18
 
19
19
  DEPENDENCIES:
20
- - [ glue, '= 0.27.0' ]
20
+ - [ glue, '= 0.28.0' ]
21
21
 
22
22
  EXECUTABLES: [ gen ]
23
23
 
data/README CHANGED
@@ -1,4 +1,4 @@
1
- = Gen 0.27.0 README
1
+ = Gen 0.28.0 README
2
2
 
3
3
  A Ruby code generation framework.
4
4
 
data/lib/gen.rb CHANGED
@@ -2,8 +2,8 @@
2
2
  #
3
3
  # A flexible code generation system.
4
4
  #
5
- # Copyright (c) 2005, Navel Ltd (http://www.navel.gr)
6
- # Copyright (c) 2005, George Moschovitis (http://www.gmosx.com)
5
+ # Copyright (c) 2005-2006, George Moschovitis (http://www.gmosx.com)
6
+ # Copyright (c) 2005-2006, Navel Ltd (http://www.navel.gr)
7
7
  #
8
8
  # Gen (http://www.nitrohq.com) is copyrighted free software
9
9
  # created and maintained by George Moschovitis (mailto:gm@navel.gr)
@@ -14,7 +14,7 @@ class Gen
14
14
 
15
15
  # The version.
16
16
 
17
- Version = '0.27.0'
17
+ Version = '0.28.0'
18
18
 
19
19
  # Library path.
20
20
 
@@ -30,18 +30,26 @@ end
30
30
  class Gen
31
31
  attr_accessor :generator_dir
32
32
 
33
+ # Dump usage information for this controller.
34
+
33
35
  def usage
34
36
  filename = File.join(@generator_dir, 'USAGE')
35
37
  puts "\n#{File.read(filename)}"
36
38
  exit 1
37
39
  end
38
40
 
41
+ # Setup the generator.
42
+
39
43
  def setup
40
44
  end
41
-
45
+
46
+ # Perform the generator actions.
47
+
42
48
  def run
43
49
  end
44
-
50
+
51
+ # Shutdown the generator.
52
+
45
53
  def teardown
46
54
  end
47
55
  end
@@ -1,6 +1,6 @@
1
1
  $NITRO_NO_ENVIRONMENT = true
2
2
 
3
- require 'nano/dir/self/recurse'
3
+ require 'facet/dir/self/recurse'
4
4
 
5
5
  require 'gen'
6
6
  require 'nitro'
@@ -1,7 +1,7 @@
1
1
  $NITRO_NO_ENVIRONMENT = true
2
2
 
3
- require 'nano/kernel/constant'
4
- require 'nano/string/underscore'
3
+ require 'facet/kernel/constant'
4
+ require 'facet/string/underscore'
5
5
 
6
6
  require 'gen'
7
7
  require 'nitro'
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: gen
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.27.0
7
- date: 2006-01-16 00:00:00 +02:00
6
+ version: 0.28.0
7
+ date: 2006-02-06 00:00:00 +02:00
8
8
  summary: A simple code generation system.
9
9
  require_paths:
10
10
  - lib
@@ -15,7 +15,7 @@ description:
15
15
  autorequire:
16
16
  default_executable:
17
17
  bindir: bin
18
- has_rdoc: true
18
+ has_rdoc: false
19
19
  required_ruby_version: !ruby/object:Gem::Version::Requirement
20
20
  requirements:
21
21
  - - ">"
@@ -67,5 +67,5 @@ dependencies:
67
67
  requirements:
68
68
  - - "="
69
69
  - !ruby/object:Gem::Version
70
- version: 0.27.0
70
+ version: 0.28.0
71
71
  version: