newgem 0.16.1 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,9 @@
1
+ == 0.17.0 2008-02-03
2
+
3
+ * Updated generated config/hoe.rb for latest hoe 1.5 requirements
4
+ * Added #!/usr/bin/env ruby line to bin/newgem
5
+ * Fixed docco for -T option (was '-t' in docco) [uploaded on 2008-1-3]
6
+
1
7
  == 0.16.1 2007-11-13
2
8
 
3
9
  * Oops, removed .git* from the hoe clean list as that blows away the .git folder...
@@ -48,9 +48,8 @@ end
48
48
  # Generate all the Rake tasks
49
49
  # Run 'rake -T' to see list of generated tasks (from gem root directory)
50
50
  hoe = Hoe.new(GEM_NAME, VERS) do |p|
51
- p.author = AUTHOR
51
+ p.developer(AUTHOR, EMAIL)
52
52
  p.description = DESCRIPTION
53
- p.email = EMAIL
54
53
  p.summary = DESCRIPTION
55
54
  p.url = HOMEPATH
56
55
  p.rubyforge_name = RUBYFORGE_PROJECT if RUBYFORGE_PROJECT
data/bin/newgem CHANGED
@@ -1,3 +1,5 @@
1
+ #!/usr/bin/env ruby -wKU
2
+
1
3
  require 'rubygems'
2
4
  require 'rubigen'
3
5
 
data/config/hoe.rb CHANGED
@@ -36,9 +36,8 @@ CLEAN.include ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store']
36
36
  # Generate all the Rake tasks
37
37
  # Run 'rake -T' to see list of generated tasks (from gem root directory)
38
38
  hoe = Hoe.new(GEM_NAME, VERS) do |p|
39
- p.author = AUTHOR
39
+ p.developer(AUTHOR, EMAIL)
40
40
  p.description = DESCRIPTION
41
- p.email = EMAIL
42
41
  p.summary = DESCRIPTION
43
42
  p.url = HOMEPATH
44
43
  p.rubyforge_name = RUBYFORGE_PROJECT if RUBYFORGE_PROJECT
@@ -48,11 +47,11 @@ hoe = Hoe.new(GEM_NAME, VERS) do |p|
48
47
  # == Optional
49
48
  p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n")
50
49
  p.extra_deps = [
51
- ['hoe', '>=1.3.0'],
50
+ ['hoe', '>=1.5.0'],
52
51
  ['RedCloth','>=3.0.4'],
53
52
  ['syntax','>=1.0.0'],
54
- ['activesupport','>=1.4.2'],
55
- ['rubigen','>=1.1.0']
53
+ ['activesupport','>=2.0.2'],
54
+ ['rubigen','>=1.1.1']
56
55
  ]
57
56
  #p.spec_extras - A hash of extra values to set in the gemspec.
58
57
  end
@@ -1,8 +1,8 @@
1
1
  module Newgem #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
- MINOR = 16
5
- TINY = 1
4
+ MINOR = 17
5
+ TINY = 0
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/website/index.html CHANGED
@@ -33,7 +33,7 @@
33
33
  <h1>New Gem Generator</h1>
34
34
  <div id="version"> <!-- class="clickable" onclick='document.location = ""; return true' -->
35
35
  <p>Get Version</p>
36
- <a href="" class="numbers">0.16.1</a>
36
+ <a href="" class="numbers">0.17.0</a>
37
37
  <p>Featured in</p>
38
38
  <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FBeginning-Ruby-Novice-Professional-Experts%2Fdp%2F1590597664%2F&tag=drnic-20&linkCode=ur2&camp=1789&creative=9325" class="book"><img src="images/beginning-ruby.jpg" /></a>
39
39
  </div>
@@ -125,7 +125,7 @@ Important
125
125
  * Update missing details (gem description, dependent gems, etc.)
126
126
  </pre>
127
127
 
128
- <p>As of 0.10.0 &#8211; you can generate test::unit or rspec test stubs via the <code>-t</code> or <code>--test-with</code> options. For example, <code>-t rspec</code> generates a <code>spec</code> folder with some test stubs.</p>
128
+ <p>As of 0.10.0 &#8211; you can generate test::unit or rspec test stubs via the <code>-T</code> or <code>--test-with</code> options. For example, <code>-T rspec</code> generates a <code>spec</code> folder with some test stubs.</p>
129
129
 
130
130
 
131
131
  <h3>Setup</h3>
@@ -299,7 +299,7 @@ Important
299
299
  <ul>
300
300
  <li><a href="http://drnicwilliams.com/2006/10/11/generating-new-gems/">Original blog article and tutorial</a></li>
301
301
  <li><a href="http://nubyonrails.com/articles/2007/06/15/tutorial-publishing-rubygems-with-hoe">Tutorial: Publishing RubyGems with Hoe</a> by <a href="http://geoffreygrosenbach.com/">Geoffrey Grosenbach</a> </li>
302
- <li><a href="http://codeconversations.blogspot.com/2007/07/using-new-gem-generator-in-windows_09.html">Using New Gem Generator in Windows</a> by <a href="http://codeconversations.blogspot.com/">Jorge Cangas</a></li>
302
+ <li><a href="http://codeconversations.blogspot.com/2007/07/using-new-gem-generator-in-windows_8009.html">Using New Gem Generator in Windows</a> by <a href="http://codeconversations.blogspot.com/">Jorge Cangas</a></li>
303
303
  </ul>
304
304
 
305
305
 
@@ -336,7 +336,7 @@ other stories and things.</p>
336
336
 
337
337
  <p>Comments are welcome. Send an email to <a href="mailto:drnicwilliams@gmail.com">Dr Nic Williams</a>.</p>
338
338
  <p class="coda">
339
- <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 17th October 2007<br>
339
+ <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 16th January 2008<br>
340
340
  Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
341
341
  </p>
342
342
  </div>
data/website/index.txt CHANGED
@@ -77,7 +77,7 @@ Important
77
77
  * Update missing details (gem description, dependent gems, etc.)
78
78
  </pre>
79
79
 
80
- As of 0.10.0 - you can generate test::unit or rspec test stubs via the <code>-t</code> or <code>--test-with</code> options. For example, <code>-t rspec</code> generates a <code>spec</code> folder with some test stubs.
80
+ As of 0.10.0 - you can generate test::unit or rspec test stubs via the <code>-T</code> or <code>--test-with</code> options. For example, <code>-T rspec</code> generates a <code>spec</code> folder with some test stubs.
81
81
 
82
82
  h3. Setup
83
83
 
@@ -199,7 +199,7 @@ h2. Related articles
199
199
 
200
200
  * "Original blog article and tutorial":http://drnicwilliams.com/2006/10/11/generating-new-gems/
201
201
  * "Tutorial: Publishing RubyGems with Hoe":http://nubyonrails.com/articles/2007/06/15/tutorial-publishing-rubygems-with-hoe by "Geoffrey Grosenbach":http://geoffreygrosenbach.com/
202
- * "Using New Gem Generator in Windows":http://codeconversations.blogspot.com/2007/07/using-new-gem-generator-in-windows_09.html by "Jorge Cangas":http://codeconversations.blogspot.com/
202
+ * "Using New Gem Generator in Windows":http://codeconversations.blogspot.com/2007/07/using-new-gem-generator-in-windows_8009.html by "Jorge Cangas":http://codeconversations.blogspot.com/
203
203
 
204
204
  h2. Dr Nic's Blog
205
205
 
@@ -33,7 +33,7 @@
33
33
  <h1>New Gem Generator</h1>
34
34
  <div id="version"> <!-- class="clickable" onclick='document.location = ""; return true' -->
35
35
  <p>Get Version</p>
36
- <a href="" class="numbers">0.16.1</a>
36
+ <a href="" class="numbers">0.17.0</a>
37
37
  <p>Featured in</p>
38
38
  <a href="http://www.amazon.com/gp/redirect.html?ie=UTF8&location=http%3A%2F%2Fwww.amazon.com%2FBeginning-Ruby-Novice-Professional-Experts%2Fdp%2F1590597664%2F&tag=drnic-20&linkCode=ur2&camp=1789&creative=9325" class="book"><img src="images/beginning-ruby.jpg" /></a>
39
39
  </div>
@@ -1,3 +1,3 @@
1
1
  // Announcement JS file
2
- var version = "0.16.1";
2
+ var version = "0.17.0";
3
3
  MagicAnnouncement.show('compositekeys', version);
data/website/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // Version JS file
2
- var version = "0.16.1";
2
+ var version = "0.17.0";
3
3
 
4
4
  document.write(" - " + version);
metadata CHANGED
@@ -1,33 +1,92 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.4.3
3
- specification_version: 1
4
2
  name: newgem
5
3
  version: !ruby/object:Gem::Version
6
- version: 0.16.1
7
- date: 2007-11-13 00:00:00 +10:00
8
- summary: Make your own gems at home
9
- require_paths:
10
- - lib
11
- email: drnicwilliams@gmail.com
12
- homepage: http://newgem.rubyforge.org
13
- rubyforge_project: newgem
14
- description: Make your own gems at home
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 0.17.0
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
7
  - Dr Nic Williams
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-02-03 00:00:00 +10:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: hoe
17
+ version_requirement:
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.5.0
23
+ version:
24
+ - !ruby/object:Gem::Dependency
25
+ name: RedCloth
26
+ version_requirement:
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 3.0.4
32
+ version:
33
+ - !ruby/object:Gem::Dependency
34
+ name: syntax
35
+ version_requirement:
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: 1.0.0
41
+ version:
42
+ - !ruby/object:Gem::Dependency
43
+ name: activesupport
44
+ version_requirement:
45
+ version_requirements: !ruby/object:Gem::Requirement
46
+ requirements:
47
+ - - ">="
48
+ - !ruby/object:Gem::Version
49
+ version: 2.0.2
50
+ version:
51
+ - !ruby/object:Gem::Dependency
52
+ name: rubigen
53
+ version_requirement:
54
+ version_requirements: !ruby/object:Gem::Requirement
55
+ requirements:
56
+ - - ">="
57
+ - !ruby/object:Gem::Version
58
+ version: 1.1.1
59
+ version:
60
+ - !ruby/object:Gem::Dependency
61
+ name: hoe
62
+ version_requirement:
63
+ version_requirements: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: 1.5.0
68
+ version:
69
+ description: Make your own gems at home
70
+ email:
71
+ - drnicwilliams@gmail.com
72
+ executables:
73
+ - newgem
74
+ extensions: []
75
+
76
+ extra_rdoc_files:
77
+ - History.txt
78
+ - License.txt
79
+ - Manifest.txt
80
+ - README.txt
81
+ - Todo.txt
82
+ - app_generators/newgem/templates/History.txt
83
+ - app_generators/newgem/templates/License.txt
84
+ - app_generators/newgem/templates/README.txt
85
+ - newgem_generators/install_website/templates/website/index.txt
86
+ - website/index.txt
87
+ - website/rubyforge.txt
88
+ - website/version-raw.txt
89
+ - website/version.txt
31
90
  files:
32
91
  - History.txt
33
92
  - License.txt
@@ -134,6 +193,33 @@ files:
134
193
  - website/version-raw.txt
135
194
  - website/version.js
136
195
  - website/version.txt
196
+ has_rdoc: true
197
+ homepage: http://newgem.rubyforge.org
198
+ post_install_message:
199
+ rdoc_options:
200
+ - --main
201
+ - README.txt
202
+ require_paths:
203
+ - lib
204
+ required_ruby_version: !ruby/object:Gem::Requirement
205
+ requirements:
206
+ - - ">="
207
+ - !ruby/object:Gem::Version
208
+ version: "0"
209
+ version:
210
+ required_rubygems_version: !ruby/object:Gem::Requirement
211
+ requirements:
212
+ - - ">="
213
+ - !ruby/object:Gem::Version
214
+ version: "0"
215
+ version:
216
+ requirements: []
217
+
218
+ rubyforge_project: newgem
219
+ rubygems_version: 1.0.1
220
+ signing_key:
221
+ specification_version: 2
222
+ summary: Make your own gems at home
137
223
  test_files:
138
224
  - test/test_executable_generator.rb
139
225
  - test/test_generator_helper.rb
@@ -144,81 +230,3 @@ test_files:
144
230
  - test/test_newgem_generator.rb
145
231
  - test/test_newgem_simple_generator.rb
146
232
  - test/test_plain_theme_generator.rb
147
- rdoc_options:
148
- - --main
149
- - README.txt
150
- extra_rdoc_files:
151
- - History.txt
152
- - License.txt
153
- - Manifest.txt
154
- - README.txt
155
- - Todo.txt
156
- - app_generators/newgem/templates/History.txt
157
- - app_generators/newgem/templates/License.txt
158
- - app_generators/newgem/templates/README.txt
159
- - newgem_generators/install_website/templates/website/index.txt
160
- - website/index.txt
161
- - website/rubyforge.txt
162
- - website/version-raw.txt
163
- - website/version.txt
164
- executables:
165
- - newgem
166
- extensions: []
167
-
168
- requirements: []
169
-
170
- dependencies:
171
- - !ruby/object:Gem::Dependency
172
- name: hoe
173
- version_requirement:
174
- version_requirements: !ruby/object:Gem::Version::Requirement
175
- requirements:
176
- - - ">="
177
- - !ruby/object:Gem::Version
178
- version: 1.3.0
179
- version:
180
- - !ruby/object:Gem::Dependency
181
- name: RedCloth
182
- version_requirement:
183
- version_requirements: !ruby/object:Gem::Version::Requirement
184
- requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- version: 3.0.4
188
- version:
189
- - !ruby/object:Gem::Dependency
190
- name: syntax
191
- version_requirement:
192
- version_requirements: !ruby/object:Gem::Version::Requirement
193
- requirements:
194
- - - ">="
195
- - !ruby/object:Gem::Version
196
- version: 1.0.0
197
- version:
198
- - !ruby/object:Gem::Dependency
199
- name: activesupport
200
- version_requirement:
201
- version_requirements: !ruby/object:Gem::Version::Requirement
202
- requirements:
203
- - - ">="
204
- - !ruby/object:Gem::Version
205
- version: 1.4.2
206
- version:
207
- - !ruby/object:Gem::Dependency
208
- name: rubigen
209
- version_requirement:
210
- version_requirements: !ruby/object:Gem::Version::Requirement
211
- requirements:
212
- - - ">="
213
- - !ruby/object:Gem::Version
214
- version: 1.1.0
215
- version:
216
- - !ruby/object:Gem::Dependency
217
- name: hoe
218
- version_requirement:
219
- version_requirements: !ruby/object:Gem::Version::Requirement
220
- requirements:
221
- - - ">="
222
- - !ruby/object:Gem::Version
223
- version: 1.3.0
224
- version: