gen 0.28.0 → 0.29.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (6) hide show
  1. data/ProjectInfo +2 -2
  2. data/README +1 -1
  3. data/bin/gen +14 -5
  4. data/lib/gen.rb +1 -1
  5. data/lib/gen/form/gen.rb +1 -1
  6. metadata +4 -4
@@ -2,7 +2,7 @@
2
2
 
3
3
  TITLE : &title Gen
4
4
  NAME : &pkg gen
5
- VERSION : '0.28.0'
5
+ VERSION : '0.29.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.28.0' ]
20
+ - [ glue, '= 0.29.0' ]
21
21
 
22
22
  EXECUTABLES: [ gen ]
23
23
 
data/README CHANGED
@@ -1,4 +1,4 @@
1
- = Gen 0.28.0 README
1
+ = Gen 0.29.0 README
2
2
 
3
3
  A Ruby code generation framework.
4
4
 
data/bin/gen CHANGED
@@ -18,13 +18,22 @@ DESCRIPTION
18
18
 
19
19
  app:
20
20
  This will create some basic files to get you
21
- started fleshing out your Nitro web application.
21
+ started fleshing out your Nitro web application.
22
+
23
+ form:
24
+ This will create an html representation of a model.
22
25
 
23
26
  EXAMPLE
24
- nitrogen app ~/my_application
27
+ gen app ~/my_application
28
+
29
+ This will generate a new Nitro application in the
30
+ ~/my_application folder.
31
+
32
+ gen form model.rb Model _model.html
25
33
 
26
- This will generate a new Nitro application in the
27
- ~/my_application folder.
34
+ This will generate an html form of the class Model
35
+ defined in model.rb. The html form will be output
36
+ to _model.html
28
37
  USAGE
29
38
  exit 1
30
39
  end
@@ -40,4 +49,4 @@ end
40
49
 
41
50
  $generator.generator_dir = File.join(Gen::LibPath, 'gen', generator)
42
51
  $generator.setup
43
- $generator.run
52
+ $generator.run
data/lib/gen.rb CHANGED
@@ -14,7 +14,7 @@ class Gen
14
14
 
15
15
  # The version.
16
16
 
17
- Version = '0.28.0'
17
+ Version = '0.29.0'
18
18
 
19
19
  # Library path.
20
20
 
@@ -19,7 +19,7 @@ require 'og'
19
19
  # gen form model/user
20
20
 
21
21
  class FormGen < Gen
22
- include Nitro::FormMixin
22
+ include Nitro::FormHelper
23
23
 
24
24
  def setup
25
25
  @def_filename = ARGV[0] || usage()
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.28.0
7
- date: 2006-02-06 00:00:00 +02:00
6
+ version: 0.29.0
7
+ date: 2006-03-07 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: false
18
+ has_rdoc: true
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.28.0
70
+ version: 0.29.0
71
71
  version: