newgem 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -1,3 +1,8 @@
1
+ +++ 0.9.1 16/4/2007
2
+
3
+ + 1 bugfix:
4
+ + I thoughtfully added an extra line (commented out) for sending the website to a subfolder... it caused grief at the 13th hour
5
+
1
6
  +++ 0.9.0 12/4/2007
2
7
 
3
8
  + 3 major enhancements:
data/bin/newgem CHANGED
@@ -121,7 +121,6 @@ Dir.mkdir bin
121
121
  if OPTIONS[:bin_name]
122
122
  bin_names_list = OPTIONS[:bin_name].split(',')
123
123
  template = File.open(templates + 'app.rb','r') {|f| f.readlines.join}
124
- p template
125
124
  bin_names_list.each do |bin_name|
126
125
  puts "creating: " + bin + '/' + bin_name
127
126
  File.open(bin + '/' + bin_name, 'w') do |file|
@@ -2,7 +2,7 @@ module Newgem #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 9
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
data/templates/Rakefile CHANGED
@@ -11,11 +11,11 @@ require 'hoe'
11
11
  include FileUtils
12
12
  require File.join(File.dirname(__FILE__), 'lib', '#{gem_name}', 'version')
13
13
 
14
- AUTHOR = "#{author}" # can also be an array of Authors
14
+ AUTHOR = '#{author}' # can also be an array of Authors
15
15
  EMAIL = "your contact email for bug fixes and info"
16
16
  DESCRIPTION = "description of gem"
17
- GEM_NAME = "#{gem_name}" # what ppl will type to install your gem
18
- RUBYFORGE_PROJECT = "#{gem_name}" # The unix name for your project
17
+ GEM_NAME = '#{gem_name}' # what ppl will type to install your gem
18
+ RUBYFORGE_PROJECT = '#{gem_name}' # The unix name for your project
19
19
  HOMEPATH = "http://\#{RUBYFORGE_PROJECT}.rubyforge.org"
20
20
 
21
21
 
@@ -23,7 +23,7 @@ NAME = "#{gem_name}"
23
23
  REV = nil # UNCOMMENT IF REQUIRED: File.read(".svn/entries")[/committed-rev="(\d+)"/, 1] rescue nil
24
24
  VERS = ENV['VERSION'] || (#{module_name}::VERSION::STRING + (REV ? ".\#{REV}" : ""))
25
25
  CLEAN.include ['**/.*.sw?', '*.gem', '.config', '**/.DS_Store']
26
- RDOC_OPTS = ['--quiet', '--title', "#{gem_name} documentation",
26
+ RDOC_OPTS = ['--quiet', '--title', '#{gem_name} documentation',
27
27
  "--opname", "index.html",
28
28
  "--line-numbers",
29
29
  "--main", "README",
@@ -66,7 +66,7 @@ task :website_upload do
66
66
  config = YAML.load(File.read(File.expand_path("~/.rubyforge/user-config.yml")))
67
67
  host = "\#{config["username"]}@rubyforge.org"
68
68
  remote_dir = "/var/www/gforge-projects/\#{RUBYFORGE_PROJECT}/"
69
- # remote_dir = "/var/www/gforge-projects/\#{RUBYFORGE_PROJECT}/#{GEM_NAME}"
69
+ # remote_dir = "/var/www/gforge-projects/\#{RUBYFORGE_PROJECT}/\#{GEM_NAME}"
70
70
  local_dir = 'website'
71
71
  sh %{rsync -av \#{local_dir}/ \#{host}:\#{remote_dir}}
72
72
  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 false'>
35
35
  Get Version
36
- <a href="" class="numbers">0.9.0</a>
36
+ <a href="" class="numbers">0.9.1</a>
37
37
  </div>
38
38
  <h1>&#x2192; &#8216;newgem&#8217;</h1>
39
39
 
@@ -247,6 +247,14 @@ NOW - update wizzo/Rakefile with gem description, etc
247
247
  <p>Remember, the Rakefile is yours to extend as you please with more rake tasks, such as the <code>website</code> tasks already added.</p>
248
248
 
249
249
 
250
+ <h2>Related articles</h2>
251
+
252
+
253
+ <ul>
254
+ <li><a href="http://drnicwilliams.com/2006/10/11/generating-new-gems/">Original blog article and tutorial</a></li>
255
+ </ul>
256
+
257
+
250
258
  <h2>Dr Nic&#8217;s Blog</h2>
251
259
 
252
260
 
@@ -271,7 +279,7 @@ other stories and things.</p>
271
279
 
272
280
  <p>Comments are welcome. Send an email to <a href="mailto:drnicwilliams@gmail.com">Dr Nic Williams</a>.</p>
273
281
  <p class="coda">
274
- <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 13th April 2007<br>
282
+ <a href="mailto:drnicwilliams@gmail.com">Dr Nic</a>, 15th April 2007<br>
275
283
  Theme extended from <a href="http://rb2js.rubyforge.org/">Paul Battley</a>
276
284
  </p>
277
285
  </div>
data/website/index.txt CHANGED
@@ -160,6 +160,10 @@ See them all with:
160
160
 
161
161
  Remember, the Rakefile is yours to extend as you please with more rake tasks, such as the <code>website</code> tasks already added.
162
162
 
163
+ h2. Related articles
164
+
165
+ * "Original blog article and tutorial":http://drnicwilliams.com/2006/10/11/generating-new-gems/
166
+
163
167
  h2. Dr Nic's Blog
164
168
 
165
169
  "http://www.drnicwilliams.com":http://www.drnicwilliams.com - for future announcements and
@@ -33,7 +33,7 @@
33
33
  <h1>New Gem Generator</h1>
34
34
  <div id="version" class="clickable" onclick='document.location = ""; return false'>
35
35
  Get Version
36
- <a href="" class="numbers">0.9.0</a>
36
+ <a href="" class="numbers">0.9.1</a>
37
37
  </div>
38
38
  <h1>&#x2192; using &#8216;rubyforge&#8217;</h1>
39
39
 
@@ -1,3 +1,3 @@
1
1
  // Announcement JS file
2
- var version = "0.9.0";
2
+ var version = "0.9.1";
3
3
  MagicAnnouncement.show('compositekeys', version);
data/website/version.js CHANGED
@@ -1,4 +1,4 @@
1
1
  // Version JS file
2
- var version = "0.9.0";
2
+ var version = "0.9.1";
3
3
 
4
4
  document.write(" - " + version);
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.2
3
3
  specification_version: 1
4
4
  name: newgem
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.9.0
7
- date: 2007-04-15 00:00:00 +02:00
6
+ version: 0.9.1
7
+ date: 2007-04-16 00:00:00 +02:00
8
8
  summary: Make your own gems at home
9
9
  require_paths:
10
10
  - lib