rubigen 1.5.4 → 1.5.5
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +4 -0
- data/Rakefile +1 -1
- data/bin/rubigen +1 -1
- data/lib/rubigen.rb +2 -2
- data/website/index.html +6 -7
- metadata +101 -27
data/History.txt
CHANGED
data/Rakefile
CHANGED
@@ -12,7 +12,7 @@ Hoe.plugin :git
|
|
12
12
|
Hoe.spec 'rubigen' do
|
13
13
|
developer 'Dr Nic Williams', 'drnicwilliams@gmail.com'
|
14
14
|
developer 'Jeremy Kemper', 'jeremy@bitsweat.net'
|
15
|
-
extra_deps << ['activesupport','2.3.5']
|
15
|
+
extra_deps << ['activesupport','~> 2.3.5']
|
16
16
|
extra_dev_deps << ['mocha','>= 0.9.8']
|
17
17
|
extra_dev_deps << ['cucumber','>= 0.6.2']
|
18
18
|
extra_dev_deps << ['shoulda','>= 2.10.3']
|
data/bin/rubigen
CHANGED
data/lib/rubigen.rb
CHANGED
@@ -3,14 +3,14 @@ $:.unshift(File.dirname(__FILE__)) unless
|
|
3
3
|
|
4
4
|
begin
|
5
5
|
# if you are using rubygems, fix to 2.3.5
|
6
|
-
gem 'activesupport', '2.3.5'
|
6
|
+
gem 'activesupport', '~> 2.3.5'
|
7
7
|
rescue
|
8
8
|
end
|
9
9
|
|
10
10
|
require 'active_support'
|
11
11
|
|
12
12
|
module RubiGen
|
13
|
-
VERSION = '1.5.
|
13
|
+
VERSION = '1.5.5'
|
14
14
|
end
|
15
15
|
|
16
16
|
require 'rubigen/base'
|
data/website/index.html
CHANGED
@@ -35,7 +35,7 @@
|
|
35
35
|
<div class="sidebar">
|
36
36
|
<div id="version" class="clickable" onclick='document.location = "http://rubyforge.org/projects/rubigen"; return false'>
|
37
37
|
<p>Get Version</p>
|
38
|
-
<a href="http://rubyforge.org/projects/rubigen" class="numbers">1.5.
|
38
|
+
<a href="http://rubyforge.org/projects/rubigen" class="numbers">1.5.5</a>
|
39
39
|
</div>
|
40
40
|
|
41
41
|
<div id="twitter_search">
|
@@ -71,7 +71,7 @@ If you are developing a RubyGem, then you will want a different set of generator
|
|
71
71
|
<p>RubiGen will be normally integrated into another RubyGem, such as <code>newgem</code> or <code>rails</code> or <code>camping</code>, rather than be used on its own.</p>
|
72
72
|
<p>These frameworks might use RubiGen for two reasons:</p>
|
73
73
|
<ol>
|
74
|
-
<li>To generate an initial stub for developers, e.g. <code>rails</code> generated a stub to write a Rails application. <code>newgem</code> generates a stub to write a RubyGem. <br
|
74
|
+
<li>To generate an initial stub for developers, e.g. <code>rails</code> generated a stub to write a Rails application. <code>newgem</code> generates a stub to write a RubyGem. <br/>
|
75
75
|
<span class="caps">BTW</span> – RubiGen has a builtin application <code>ruby_app</code> which generates a bare-bones Ruby application stub (lib, test, and script folders, plus a Rakefile, and a script/generate script)</li>
|
76
76
|
<li>To generate components within their development areas, e.g. Rails had its <code>script/generate</code> script within each Rails application, which hooked back into the rails_generator to lookup and execute generators.</li>
|
77
77
|
</ol>
|
@@ -81,7 +81,7 @@ If you are developing a RubyGem, then you will want a different set of generator
|
|
81
81
|
(<code>lib/app</code>, <code>test</code>, <code>script</code>, <code>doc</code>, <code>log</code>, etc) and starting files (<code>Rakefile</code>, <br />
|
82
82
|
<code>README.txt</code>, <code>test/test_helper.rb</code> etc). Importantly, it would generate a <code>script/generate</code> file.<br />
|
83
83
|
The <code>script/generate</code> file (example below) will allow developers of your framework to <br />
|
84
|
-
generate components/extensions within the framework. <br
|
84
|
+
generate components/extensions within the framework. <br />
|
85
85
|
RubiGen allows you to restrict which generators are available. For example, within<br />
|
86
86
|
RubyGem development environment (as generated by <code>newgem</code>), the <code>script/generator</code><br />
|
87
87
|
only shows <code>rubygem</code>-related generators. Rails could restrict <code>script/generator</code><br />
|
@@ -248,9 +248,8 @@ script/generate component_generator
|
|
248
248
|
<p><a href="http://groups.google.com/group/rubigen">http://groups.google.com/group/rubigen</a></p>
|
249
249
|
<h2>How to submit patches</h2>
|
250
250
|
<p>Read the <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/">8 steps for fixing other people’s code</a> and for section <a href="http://drnicwilliams.com/2007/06/01/8-steps-for-fixing-other-peoples-code/#8b-google-groups">8b: Submit patch to Google Groups</a>, use the Google Group above.</p>
|
251
|
-
<p>The source for this project is available via git. You can <a href="http://github.com/drnic/rubigen/tree/master">browse and/or fork the source</a>, or to clone the project locally
|
252
|
-
|
253
|
-
<pre>git clone git://github.com/drnic/rubigen.git</pre></p>
|
251
|
+
<p>The source for this project is available via git. You can <a href="http://github.com/drnic/rubigen/tree/master">browse and/or fork the source</a>, or to clone the project locally:</p>
|
252
|
+
<pre>git clone git://github.com/drnic/rubigen.git</pre>
|
254
253
|
<p>The original Subversion repository is <code>svn://rubyforge.org/var/svn/rubigen/trunk</code> for anonymous access.</p>
|
255
254
|
<h2>Thanks go to…</h2>
|
256
255
|
<p><a href="http://bitsweat.net/">Jeremy Kemper</a> (bitsweat) who wrote the original <a href="http://dev.rubyonrails.org">Rails Generator</a>.</p>
|
@@ -259,7 +258,7 @@ script/generate component_generator
|
|
259
258
|
<h2>Contact</h2>
|
260
259
|
<p>Comments are welcome. Send an email to <a href="mailto:drnicwilliams@gmail.com">Dr Nic Williams</a> via the <a href="http://groups.google.com/group/rubigen">forum</a></p>
|
261
260
|
<p class="coda">
|
262
|
-
<a href="drnicwilliams@gmail.com">Dr Nic Williams</a>,
|
261
|
+
<a href="drnicwilliams@gmail.com">Dr Nic Williams</a>, 28th December 2008<br>
|
263
262
|
Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
|
264
263
|
</p>
|
265
264
|
</div>
|
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubigen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 9
|
5
|
+
prerelease: false
|
6
|
+
segments:
|
7
|
+
- 1
|
8
|
+
- 5
|
9
|
+
- 5
|
10
|
+
version: 1.5.5
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Dr Nic Williams
|
@@ -10,59 +16,121 @@ autorequire:
|
|
10
16
|
bindir: bin
|
11
17
|
cert_chain: []
|
12
18
|
|
13
|
-
date: 2010-
|
19
|
+
date: 2010-05-25 00:00:00 +02:00
|
14
20
|
default_executable:
|
15
21
|
dependencies:
|
16
22
|
- !ruby/object:Gem::Dependency
|
17
23
|
name: activesupport
|
18
|
-
|
19
|
-
|
20
|
-
|
24
|
+
prerelease: false
|
25
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
21
27
|
requirements:
|
22
|
-
- -
|
28
|
+
- - ~>
|
23
29
|
- !ruby/object:Gem::Version
|
30
|
+
hash: 9
|
31
|
+
segments:
|
32
|
+
- 2
|
33
|
+
- 3
|
34
|
+
- 5
|
24
35
|
version: 2.3.5
|
25
|
-
|
36
|
+
type: :runtime
|
37
|
+
version_requirements: *id001
|
26
38
|
- !ruby/object:Gem::Dependency
|
27
|
-
name:
|
39
|
+
name: rubyforge
|
40
|
+
prerelease: false
|
41
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
hash: 9
|
47
|
+
segments:
|
48
|
+
- 2
|
49
|
+
- 0
|
50
|
+
- 3
|
51
|
+
version: 2.0.3
|
52
|
+
type: :development
|
53
|
+
version_requirements: *id002
|
54
|
+
- !ruby/object:Gem::Dependency
|
55
|
+
name: gemcutter
|
56
|
+
prerelease: false
|
57
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
hash: 15
|
63
|
+
segments:
|
64
|
+
- 0
|
65
|
+
- 4
|
66
|
+
- 0
|
67
|
+
version: 0.4.0
|
28
68
|
type: :development
|
29
|
-
|
30
|
-
|
69
|
+
version_requirements: *id003
|
70
|
+
- !ruby/object:Gem::Dependency
|
71
|
+
name: mocha
|
72
|
+
prerelease: false
|
73
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
31
75
|
requirements:
|
32
76
|
- - ">="
|
33
77
|
- !ruby/object:Gem::Version
|
78
|
+
hash: 43
|
79
|
+
segments:
|
80
|
+
- 0
|
81
|
+
- 9
|
82
|
+
- 8
|
34
83
|
version: 0.9.8
|
35
|
-
|
84
|
+
type: :development
|
85
|
+
version_requirements: *id004
|
36
86
|
- !ruby/object:Gem::Dependency
|
37
87
|
name: cucumber
|
38
|
-
|
39
|
-
|
40
|
-
|
88
|
+
prerelease: false
|
89
|
+
requirement: &id005 !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
41
91
|
requirements:
|
42
92
|
- - ">="
|
43
93
|
- !ruby/object:Gem::Version
|
94
|
+
hash: 3
|
95
|
+
segments:
|
96
|
+
- 0
|
97
|
+
- 6
|
98
|
+
- 2
|
44
99
|
version: 0.6.2
|
45
|
-
|
100
|
+
type: :development
|
101
|
+
version_requirements: *id005
|
46
102
|
- !ruby/object:Gem::Dependency
|
47
103
|
name: shoulda
|
48
|
-
|
49
|
-
|
50
|
-
|
104
|
+
prerelease: false
|
105
|
+
requirement: &id006 !ruby/object:Gem::Requirement
|
106
|
+
none: false
|
51
107
|
requirements:
|
52
108
|
- - ">="
|
53
109
|
- !ruby/object:Gem::Version
|
110
|
+
hash: 33
|
111
|
+
segments:
|
112
|
+
- 2
|
113
|
+
- 10
|
114
|
+
- 3
|
54
115
|
version: 2.10.3
|
55
|
-
|
116
|
+
type: :development
|
117
|
+
version_requirements: *id006
|
56
118
|
- !ruby/object:Gem::Dependency
|
57
119
|
name: hoe
|
58
|
-
|
59
|
-
|
60
|
-
|
120
|
+
prerelease: false
|
121
|
+
requirement: &id007 !ruby/object:Gem::Requirement
|
122
|
+
none: false
|
61
123
|
requirements:
|
62
124
|
- - ">="
|
63
125
|
- !ruby/object:Gem::Version
|
64
|
-
|
65
|
-
|
126
|
+
hash: 27
|
127
|
+
segments:
|
128
|
+
- 2
|
129
|
+
- 5
|
130
|
+
- 0
|
131
|
+
version: 2.5.0
|
132
|
+
type: :development
|
133
|
+
version_requirements: *id007
|
66
134
|
description: |-
|
67
135
|
A framework to allow Ruby applications to generate file/folder stubs
|
68
136
|
(like the `rails` command does for Ruby on Rails, and the 'script/generate'
|
@@ -183,21 +251,27 @@ rdoc_options:
|
|
183
251
|
require_paths:
|
184
252
|
- lib
|
185
253
|
required_ruby_version: !ruby/object:Gem::Requirement
|
254
|
+
none: false
|
186
255
|
requirements:
|
187
256
|
- - ">="
|
188
257
|
- !ruby/object:Gem::Version
|
258
|
+
hash: 3
|
259
|
+
segments:
|
260
|
+
- 0
|
189
261
|
version: "0"
|
190
|
-
version:
|
191
262
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
263
|
+
none: false
|
192
264
|
requirements:
|
193
265
|
- - ">="
|
194
266
|
- !ruby/object:Gem::Version
|
267
|
+
hash: 3
|
268
|
+
segments:
|
269
|
+
- 0
|
195
270
|
version: "0"
|
196
|
-
version:
|
197
271
|
requirements: []
|
198
272
|
|
199
273
|
rubyforge_project: rubigen
|
200
|
-
rubygems_version: 1.3.
|
274
|
+
rubygems_version: 1.3.7
|
201
275
|
signing_key:
|
202
276
|
specification_version: 3
|
203
277
|
summary: A framework to allow Ruby applications to generate file/folder stubs (like the `rails` command does for Ruby on Rails, and the 'script/generate' command within a Rails application during development).
|