newgem 0.13.0 → 0.13.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (32) hide show
  1. data/History.txt +10 -0
  2. data/Manifest.txt +8 -7
  3. data/app_generators/newgem/newgem_generator.rb +11 -9
  4. data/app_generators/newgem/templates/readme +5 -0
  5. data/app_generators/newgem/templates/script/destroy +3 -2
  6. data/lib/newgem/version.rb +1 -1
  7. data/newgem_generators/install_website/install_website_generator.rb +1 -1
  8. data/newgem_theme_generators/{plain → plain_theme}/USAGE +0 -0
  9. data/newgem_theme_generators/{plain/plain_generator.rb → plain_theme/plain_theme_generator.rb} +1 -1
  10. data/newgem_theme_generators/{plain → plain_theme}/templates/website/javascripts/rounded_corners_lite.inc.js +0 -0
  11. data/newgem_theme_generators/{plain → plain_theme}/templates/website/stylesheets/screen.css +0 -0
  12. data/newgem_theme_generators/{plain → plain_theme}/templates/website/template.rhtml +0 -0
  13. data/rubygems_generators/application_generator/templates/generator.rb +12 -1
  14. data/rubygems_generators/application_generator/templates/test.rb +3 -3
  15. data/rubygems_generators/application_generator/templates/test_generator_helper.rb +2 -1
  16. data/rubygems_generators/component_generator/templates/test_generator_helper.rb +2 -1
  17. data/rubygems_generators/executable/USAGE +0 -0
  18. data/script/destroy +1 -1
  19. data/test/test_application_generator_generator.rb +1 -1
  20. data/test/test_executable_generator.rb +5 -5
  21. data/test/test_generate_component_generator.rb +18 -18
  22. data/test/test_generator_helper.rb +2 -1
  23. data/test/test_install_jruby_generator.rb +2 -2
  24. data/test/test_install_rspec_generator.rb +2 -2
  25. data/test/test_install_website_generator.rb +4 -15
  26. data/test/{test_plain_generator.rb → test_plain_theme_generator.rb} +5 -5
  27. data/website/index.html +1 -1
  28. data/website/rubyforge.html +1 -1
  29. data/website/version-raw.js +1 -1
  30. data/website/version.js +1 -1
  31. metadata +11 -11
  32. data/test/test_newgem.rb +0 -11
@@ -1,3 +1,13 @@
1
+ == 0.13.1 2007-08-22
2
+
3
+ * Re-release as there seemed to be an incorrect Rakefile in 0.13.0
4
+ * Added :newgem as a source for destroy script
5
+ * application_generator
6
+ * test.rb passes APP_ROOT as parameter instead of a name, as APP_ROOT is already .../myproject
7
+ * add BASE_DIRs for a clean list of required folders
8
+ * plain_theme_generator
9
+ * Renamed from plain_generator
10
+
1
11
  == 0.13.0 2007-08-20
2
12
 
3
13
  * HIGHLIGHT - RubiGen integration - using a Rails-like generator
@@ -14,6 +14,7 @@ app_generators/newgem/templates/config/hoe.rb
14
14
  app_generators/newgem/templates/config/requirements.rb
15
15
  app_generators/newgem/templates/empty.log
16
16
  app_generators/newgem/templates/module.rb
17
+ app_generators/newgem/templates/readme
17
18
  app_generators/newgem/templates/script/destroy
18
19
  app_generators/newgem/templates/script/generate
19
20
  app_generators/newgem/templates/setup.rb
@@ -44,11 +45,11 @@ newgem_generators/install_website/templates/script/txt2html
44
45
  newgem_generators/install_website/templates/tasks/website.rake
45
46
  newgem_generators/install_website/templates/website/index.html
46
47
  newgem_generators/install_website/templates/website/index.txt
47
- newgem_theme_generators/plain/USAGE
48
- newgem_theme_generators/plain/plain_generator.rb
49
- newgem_theme_generators/plain/templates/website/javascripts/rounded_corners_lite.inc.js
50
- newgem_theme_generators/plain/templates/website/stylesheets/screen.css
51
- newgem_theme_generators/plain/templates/website/template.rhtml
48
+ newgem_theme_generators/plain_theme/USAGE
49
+ newgem_theme_generators/plain_theme/plain_theme_generator.rb
50
+ newgem_theme_generators/plain_theme/templates/website/javascripts/rounded_corners_lite.inc.js
51
+ newgem_theme_generators/plain_theme/templates/website/stylesheets/screen.css
52
+ newgem_theme_generators/plain_theme/templates/website/template.rhtml
52
53
  rubygems_generators/application_generator/USAGE
53
54
  rubygems_generators/application_generator/application_generator_generator.rb
54
55
  rubygems_generators/application_generator/templates/bin
@@ -64,6 +65,7 @@ rubygems_generators/component_generator/templates/readme
64
65
  rubygems_generators/component_generator/templates/test.rb
65
66
  rubygems_generators/component_generator/templates/test_generator_helper.rb
66
67
  rubygems_generators/component_generator/templates/usage
68
+ rubygems_generators/executable/USAGE
67
69
  rubygems_generators/executable/executable_generator.rb
68
70
  rubygems_generators/executable/templates/app.rb
69
71
  rubygems_generators/install_jruby/USAGE
@@ -92,9 +94,8 @@ test/test_helper.rb
92
94
  test/test_install_jruby_generator.rb
93
95
  test/test_install_rspec_generator.rb
94
96
  test/test_install_website_generator.rb
95
- test/test_newgem.rb
96
97
  test/test_newgem_generator.rb
97
- test/test_plain_generator.rb
98
+ test/test_plain_theme_generator.rb
98
99
  website/images/beginning-ruby.jpg
99
100
  website/index.html
100
101
  website/index.txt
@@ -28,8 +28,8 @@ class NewgemGenerator < RubiGen::Base
28
28
  def initialize(runtime_args, runtime_options = {})
29
29
  super
30
30
  usage if args.empty?
31
- @destination_root = args.shift
32
- @gem_name = File.basename(File.expand_path(@destination_root))
31
+ @destination_root = File.expand_path(args.shift)
32
+ @gem_name = File.basename(destination_root)
33
33
  @module_name = gem_name.camelize
34
34
  extract_options
35
35
  end
@@ -37,7 +37,6 @@ class NewgemGenerator < RubiGen::Base
37
37
  def manifest
38
38
  # Use /usr/bin/env if no special shebang was specified
39
39
  script_options = { :chmod => 0755, :shebang => options[:shebang] == DEFAULT_SHEBANG ? nil : options[:shebang] }
40
- dispatcher_options = { :chmod => 0755, :shebang => options[:shebang] }
41
40
  windows = (RUBY_PLATFORM =~ /dos|win32|cygwin/i) || (RUBY_PLATFORM =~ /(:?mswin|mingw)/)
42
41
 
43
42
  record do |m|
@@ -59,11 +58,12 @@ class NewgemGenerator < RubiGen::Base
59
58
  m.template_copy_each %w( hoe.rb requirements.rb ), "config"
60
59
 
61
60
  # Scripts
62
- %w( generate destroy ).each do |file|
63
- m.template "script/#{file}", "script/#{file}", script_options
64
- m.template "script/win_script.cmd", "script/#{file}.cmd",
65
- :assigns => { :filename => file } if windows
66
- end
61
+ # %w( generate destroy ).each do |file|
62
+ # m.template "script/#{file}", "script/#{file}", script_options
63
+ # m.template "script/win_script.cmd", "script/#{file}.cmd",
64
+ # :assigns => { :filename => file } if windows
65
+ # end
66
+ m.dependency "install_rubigen_scripts", [destination_root, "rubygems", "newgem"], :shebang => options[:shebang]
67
67
 
68
68
  %w(debug).each { |file|
69
69
  m.file "empty.log", "log/#{file}.log", :chmod => 0666
@@ -94,6 +94,8 @@ class NewgemGenerator < RubiGen::Base
94
94
  end
95
95
 
96
96
  m.write_manifest "Manifest.txt"
97
+
98
+ m.readme "readme"
97
99
  end
98
100
  end
99
101
 
@@ -127,7 +129,7 @@ EOS
127
129
  "Default: ~/.rubyforge/user-config.yml[user_name]") { |options[:author]| }
128
130
  opts.on("-r", "--ruby=path", String,
129
131
  "Path to the Ruby binary of your choice (otherwise scripts use env, dispatchers current path).",
130
- "Default: #{DEFAULT_SHEBANG}") { |v| options[:shebang] = v }
132
+ "Default: #{DEFAULT_SHEBANG}") { |options[:shebang]| }
131
133
  opts.on("-T", "--test-with=TEST_FRAMEWORK", String,
132
134
  "Select your preferred testing framework.",
133
135
  "Options: test::unit (default), rspec.") { |options[:test_framework]| }
@@ -0,0 +1,5 @@
1
+ Important
2
+ =========
3
+
4
+ * Open config/hoe.rb
5
+ * Update missing details (gem description, dependent gems, etc.)
@@ -7,8 +7,9 @@ rescue LoadError
7
7
  require 'rubygems'
8
8
  require 'rubigen'
9
9
  end
10
- require 'rubigen/scripts/destroy'
10
+ require 'rubigen/scripts/destroy
11
+ '
11
12
 
12
13
  ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
- RubiGen::Base.use_component_sources! :rubygems
14
+ RubiGen::Base.use_component_sources! :rubygems, :newgem
14
15
  RubiGen::Scripts::Destroy.new.run(ARGV)
@@ -2,7 +2,7 @@ module Newgem #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 0
4
4
  MINOR = 13
5
- TINY = 0
5
+ TINY = 1
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
@@ -40,7 +40,7 @@ class InstallWebsiteGenerator < RubiGen::Base
40
40
 
41
41
  m.file_copy_each %w[ website.rake ], "tasks"
42
42
 
43
- m.dependency "plain", [], :destination => destination_root
43
+ m.dependency "plain_theme", [], :destination => destination_root
44
44
  end
45
45
  end
46
46
 
@@ -1,4 +1,4 @@
1
- class PlainGenerator < RubiGen::Base
1
+ class PlainThemeGenerator < RubiGen::Base
2
2
 
3
3
  default_options :author => "TODO",
4
4
  :email => "todo@todo.com"
@@ -14,7 +14,8 @@ class <%= class_name %> < RubiGen::Base
14
14
  def manifest
15
15
  record do |m|
16
16
  # Ensure appropriate folder(s) exists
17
- m.directory 'some_folder'
17
+ m.directory ''
18
+ BASEDIRS.each { |path| m.directory path }
18
19
 
19
20
  # Create stubs
20
21
  # m.template "template.rb", "some_file_after_erb.rb"
@@ -48,4 +49,14 @@ EOS
48
49
  # raw instance variable value.
49
50
  # @author = options[:author]
50
51
  end
52
+
53
+ # Installation skeleton. Intermediate directories are automatically
54
+ # created so don't sweat their absence here.
55
+ BASEDIRS = %w(
56
+ lib
57
+ log
58
+ script
59
+ test
60
+ tmp
61
+ )
51
62
  end
@@ -26,9 +26,9 @@ class Test<%= class_name %> < Test::Unit::TestCase
26
26
  # bare_teardown - place this in teardown method to destroy the TMP_ROOT or APP_ROOT folder after each test
27
27
 
28
28
  def test_generator_without_options
29
- name = "myapp"
30
- run_generator('<%= name %>', [name], sources)
31
- assert_generated_file("some_file")
29
+ run_generator('<%= name %>', [APP_ROOT], sources)
30
+ assert_directory_exists "path/to/included/folder"
31
+ assert_generated_file "path/to/included/folder/some_file"
32
32
  end
33
33
 
34
34
  private
@@ -3,7 +3,8 @@ require 'fileutils'
3
3
 
4
4
  # Must set before requiring generator libs.
5
5
  TMP_ROOT = File.dirname(__FILE__) + "/tmp" unless defined?(TMP_ROOT)
6
- app_root = File.join(TMP_ROOT, "myproject")
6
+ PROJECT_NAME = "myproject" unless defined?(PROJECT_NAME)
7
+ app_root = File.join(TMP_ROOT, PROJECT_NAME)
7
8
  if defined?(APP_ROOT)
8
9
  APP_ROOT.replace(app_root)
9
10
  else
@@ -3,7 +3,8 @@ require 'fileutils'
3
3
 
4
4
  # Must set before requiring generator libs.
5
5
  TMP_ROOT = File.dirname(__FILE__) + "/tmp" unless defined?(TMP_ROOT)
6
- app_root = File.join(TMP_ROOT, "myproject")
6
+ PROJECT_NAME = "myproject" unless defined?(PROJECT_NAME)
7
+ app_root = File.join(TMP_ROOT, PROJECT_NAME)
7
8
  if defined?(APP_ROOT)
8
9
  APP_ROOT.replace(app_root)
9
10
  else
File without changes
@@ -10,5 +10,5 @@ end
10
10
  require 'rubigen/scripts/destroy'
11
11
 
12
12
  ARGV.shift if ['--help', '-h'].include?(ARGV[0])
13
- RubiGen::Base.use_component_sources! :rubygems
13
+ RubiGen::Base.use_component_sources! :rubygems, :newgem
14
14
  RubiGen::Scripts::Destroy.new.run(ARGV)
@@ -26,7 +26,7 @@ class TestApplicationGeneratorGenerator < Test::Unit::TestCase
26
26
  # bare_teardown - place this in teardown method to destroy the TMP_ROOT or APP_ROOT folder after each test
27
27
 
28
28
  def test_generator_without_options
29
- name = "mygen"
29
+ name = "genname"
30
30
  run_generator('application_generator', [name], sources)
31
31
 
32
32
  assert_directory_exists "app_generators"
@@ -4,17 +4,17 @@ class TestExecutableGenerator < Test::Unit::TestCase
4
4
  include RubiGen::GeneratorTestHelper
5
5
 
6
6
  def setup
7
- rubygems_setup
7
+ bare_setup
8
8
  end
9
9
 
10
10
  def teardown
11
- rubygems_teardown
11
+ bare_teardown
12
12
  end
13
13
 
14
14
  def test_generator_without_options
15
- app_name = "myapp"
16
- run_generator('executable', [app_name], sources)
17
- assert_generated_file("bin/#{app_name}")
15
+ name = "name"
16
+ run_generator('executable', [name], sources)
17
+ assert_generated_file("bin/#{name}")
18
18
  end
19
19
 
20
20
  def sources
@@ -4,26 +4,26 @@ class TestGenerateComponentGenerator < Test::Unit::TestCase
4
4
  include RubiGen::GeneratorTestHelper
5
5
 
6
6
  def setup
7
- rubygems_setup
7
+ bare_setup
8
8
  end
9
9
 
10
10
  def teardown
11
- rubygems_teardown
11
+ bare_teardown
12
12
  end
13
13
 
14
14
  def test_generator_without_options
15
- app_name = "myapp"
16
- run_generator('component_generator', [app_name], sources)
17
- assert_generated_file("generators/#{app_name}/#{app_name}_generator.rb")
18
- assert_generated_file("generators/#{app_name}/USAGE")
19
- assert_generated_file("test/test_#{app_name}_generator.rb")
15
+ name = "genname"
16
+ run_generator('component_generator', [name], sources)
17
+ assert_generated_file("generators/#{name}/#{name}_generator.rb")
18
+ assert_generated_file("generators/#{name}/USAGE")
19
+ assert_generated_file("test/test_#{name}_generator.rb")
20
20
  assert_generated_file("test/test_generator_helper.rb")
21
- assert_directory_exists("generators/#{app_name}/templates")
22
- assert_generated_class("generators/#{app_name}/#{app_name}_generator") do |body|
21
+ assert_directory_exists("generators/#{name}/templates")
22
+ assert_generated_class("generators/#{name}/#{name}_generator") do |body|
23
23
  # assert_has_method body, "initialize" # as_has_m cannot pickup initialize(...) only initialize
24
24
  assert_has_method body, "manifest"
25
25
  end
26
- assert_generated_class("test/test_#{app_name}_generator") do |body|
26
+ assert_generated_class("test/test_#{name}_generator") do |body|
27
27
  assert_has_method body, "setup"
28
28
  assert_has_method body, "teardown"
29
29
  assert_has_method body, "test_generator_without_options"
@@ -33,20 +33,20 @@ class TestGenerateComponentGenerator < Test::Unit::TestCase
33
33
  end
34
34
 
35
35
  def test_generator_with_generator_type
36
- app_name = "myapp"
36
+ name = "genname"
37
37
  gen_type = "fooapp"
38
- run_generator('component_generator', [app_name, gen_type], sources)
38
+ run_generator('component_generator', [name, gen_type], sources)
39
39
 
40
- assert_generated_file "#{gen_type}_generators/#{app_name}/#{app_name}_generator.rb"
41
- assert_generated_file "#{gen_type}_generators/#{app_name}/USAGE"
42
- assert_generated_file "test/test_#{app_name}_generator.rb"
40
+ assert_generated_file "#{gen_type}_generators/#{name}/#{name}_generator.rb"
41
+ assert_generated_file "#{gen_type}_generators/#{name}/USAGE"
42
+ assert_generated_file "test/test_#{name}_generator.rb"
43
43
  assert_generated_file "test/test_generator_helper.rb"
44
- assert_directory_exists "#{gen_type}_generators/#{app_name}/templates"
45
- assert_generated_class "#{gen_type}_generators/#{app_name}/#{app_name}_generator" do |body|
44
+ assert_directory_exists "#{gen_type}_generators/#{name}/templates"
45
+ assert_generated_class "#{gen_type}_generators/#{name}/#{name}_generator" do |body|
46
46
  # assert_has_method body, "initialize" # as_has_m cannot pickup initialize(...) only initialize
47
47
  assert_has_method body, "manifest"
48
48
  end
49
- assert_generated_class "test/test_#{app_name}_generator" do |body|
49
+ assert_generated_class "test/test_#{name}_generator" do |body|
50
50
  assert_has_method body, "setup"
51
51
  assert_has_method body, "teardown"
52
52
  assert_has_method body, "test_generator_without_options"
@@ -3,7 +3,8 @@ require 'fileutils'
3
3
 
4
4
  # Must set before requiring generator libs.
5
5
  TMP_ROOT = File.dirname(__FILE__) + "/tmp" unless defined?(TMP_ROOT)
6
- app_root = File.join(TMP_ROOT, "myproject")
6
+ PROJECT_NAME = "myproject" unless defined?(PROJECT_NAME)
7
+ app_root = File.join(TMP_ROOT, PROJECT_NAME)
7
8
  if defined?(APP_ROOT)
8
9
  APP_ROOT.replace(app_root)
9
10
  else
@@ -4,11 +4,11 @@ class TestInstallJrubyGenerator < Test::Unit::TestCase
4
4
  include RubiGen::GeneratorTestHelper
5
5
 
6
6
  def setup
7
- # see rubygems_setup
7
+ bare_setup
8
8
  end
9
9
 
10
10
  def teardown
11
- # see rubygems_teardown
11
+ bare_teardown
12
12
  end
13
13
 
14
14
  def test_generator_without_options
@@ -4,11 +4,11 @@ class TestInstallRspecGenerator < Test::Unit::TestCase
4
4
  include RubiGen::GeneratorTestHelper
5
5
 
6
6
  def setup
7
- rubygems_setup
7
+ bare_setup
8
8
  end
9
9
 
10
10
  def teardown
11
- rubygems_teardown
11
+ bare_teardown
12
12
  end
13
13
 
14
14
  def test_generator_without_options
@@ -4,16 +4,16 @@ class TestInstallWebsiteGenerator < Test::Unit::TestCase
4
4
  include RubiGen::GeneratorTestHelper
5
5
 
6
6
  def setup
7
- rubygems_setup
7
+ bare_setup
8
8
  end
9
9
 
10
10
  def teardown
11
- rubygems_teardown
11
+ bare_teardown
12
12
  end
13
13
 
14
14
  def test_generator_without_options
15
15
  name = "myapp"
16
- run_generator(generator_name, ['.'], sources)
16
+ run_generator(generator_name, [name], sources)
17
17
 
18
18
  %w[index.txt index.html template.rhtml stylesheets/screen.css javascripts/rounded_corners_lite.inc.js].each do |file|
19
19
  assert_generated_file("website/#{file}")
@@ -22,20 +22,9 @@ class TestInstallWebsiteGenerator < Test::Unit::TestCase
22
22
  assert_generated_file("tasks/website.rake")
23
23
  end
24
24
 
25
- def test_generator_in_subfolder
26
- name = "myapp"
27
- subfolder = "subfolder"
28
- run_generator(generator_name, ['.'], sources, {:destination => "#{APP_ROOT}/#{subfolder}"})
29
-
30
- %w[index.txt index.html stylesheets/screen.css javascripts/rounded_corners_lite.inc.js].each do |file|
31
- assert_generated_file("#{subfolder}/website/#{file}")
32
- end
33
- assert_generated_file("#{subfolder}/script/txt2html")
34
- end
35
-
36
25
  private
37
26
  def sources
38
- [ RubiGen::PathSource.new(:test, File.join(File.dirname(__FILE__),"..", generator_path)),
27
+ [ RubiGen::PathSource.new(:test, File.join(File.dirname(__FILE__), "..", generator_path)),
39
28
  RubiGen::PathSource.new(:test, File.join(File.dirname(__FILE__), "..", "newgem_theme_generators"))
40
29
  ]
41
30
  end
@@ -1,25 +1,25 @@
1
1
  require File.join(File.dirname(__FILE__), "test_generator_helper.rb")
2
2
 
3
- class TestPlainGenerator < Test::Unit::TestCase
3
+ class TestPlainThemeGenerator < Test::Unit::TestCase
4
4
  include RubiGen::GeneratorTestHelper
5
5
 
6
6
  def setup
7
- rubygems_setup
7
+ bare_setup
8
8
  end
9
9
 
10
10
  def teardown
11
- rubygems_teardown
11
+ bare_teardown
12
12
  end
13
13
 
14
14
  def test_generator_without_options
15
- run_generator('plain', [], sources)
15
+ run_generator('plain_theme', [], sources)
16
16
  %w[template.rhtml stylesheets/screen.css javascripts/rounded_corners_lite.inc.js].each do |file|
17
17
  assert_generated_file("website/#{file}")
18
18
  end
19
19
  end
20
20
 
21
21
  def test_generator_with_author_and_email
22
- run_generator('plain', [], sources, {:author => "AUTHOR", :email => "EMAIL"})
22
+ run_generator('plain_theme', [], sources, {:author => "AUTHOR", :email => "EMAIL"})
23
23
  %w[template.rhtml stylesheets/screen.css javascripts/rounded_corners_lite.inc.js].each do |file|
24
24
  assert_generated_file("website/#{file}")
25
25
  end
@@ -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.13.0</a>
36
+ <a href="" class="numbers">0.13.1</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>
@@ -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.13.0</a>
36
+ <a href="" class="numbers">0.13.1</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.13.0";
2
+ var version = "0.13.1";
3
3
  MagicAnnouncement.show('compositekeys', version);
@@ -1,4 +1,4 @@
1
1
  // Version JS file
2
- var version = "0.13.0";
2
+ var version = "0.13.1";
3
3
 
4
4
  document.write(" - " + version);
metadata CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4.3
3
3
  specification_version: 1
4
4
  name: newgem
5
5
  version: !ruby/object:Gem::Version
6
- version: 0.13.0
7
- date: 2007-08-20 00:00:00 +02:00
6
+ version: 0.13.1
7
+ date: 2007-08-22 00:00:00 +02:00
8
8
  summary: Make your own gems at home
9
9
  require_paths:
10
10
  - lib
@@ -45,6 +45,7 @@ files:
45
45
  - app_generators/newgem/templates/config/requirements.rb
46
46
  - app_generators/newgem/templates/empty.log
47
47
  - app_generators/newgem/templates/module.rb
48
+ - app_generators/newgem/templates/readme
48
49
  - app_generators/newgem/templates/script/destroy
49
50
  - app_generators/newgem/templates/script/generate
50
51
  - app_generators/newgem/templates/setup.rb
@@ -75,11 +76,11 @@ files:
75
76
  - newgem_generators/install_website/templates/tasks/website.rake
76
77
  - newgem_generators/install_website/templates/website/index.html
77
78
  - newgem_generators/install_website/templates/website/index.txt
78
- - newgem_theme_generators/plain/USAGE
79
- - newgem_theme_generators/plain/plain_generator.rb
80
- - newgem_theme_generators/plain/templates/website/javascripts/rounded_corners_lite.inc.js
81
- - newgem_theme_generators/plain/templates/website/stylesheets/screen.css
82
- - newgem_theme_generators/plain/templates/website/template.rhtml
79
+ - newgem_theme_generators/plain_theme/USAGE
80
+ - newgem_theme_generators/plain_theme/plain_theme_generator.rb
81
+ - newgem_theme_generators/plain_theme/templates/website/javascripts/rounded_corners_lite.inc.js
82
+ - newgem_theme_generators/plain_theme/templates/website/stylesheets/screen.css
83
+ - newgem_theme_generators/plain_theme/templates/website/template.rhtml
83
84
  - rubygems_generators/application_generator/USAGE
84
85
  - rubygems_generators/application_generator/application_generator_generator.rb
85
86
  - rubygems_generators/application_generator/templates/bin
@@ -95,6 +96,7 @@ files:
95
96
  - rubygems_generators/component_generator/templates/test.rb
96
97
  - rubygems_generators/component_generator/templates/test_generator_helper.rb
97
98
  - rubygems_generators/component_generator/templates/usage
99
+ - rubygems_generators/executable/USAGE
98
100
  - rubygems_generators/executable/executable_generator.rb
99
101
  - rubygems_generators/executable/templates/app.rb
100
102
  - rubygems_generators/install_jruby/USAGE
@@ -123,9 +125,8 @@ files:
123
125
  - test/test_install_jruby_generator.rb
124
126
  - test/test_install_rspec_generator.rb
125
127
  - test/test_install_website_generator.rb
126
- - test/test_newgem.rb
127
128
  - test/test_newgem_generator.rb
128
- - test/test_plain_generator.rb
129
+ - test/test_plain_theme_generator.rb
129
130
  - website/images/beginning-ruby.jpg
130
131
  - website/index.html
131
132
  - website/index.txt
@@ -148,9 +149,8 @@ test_files:
148
149
  - test/test_install_jruby_generator.rb
149
150
  - test/test_install_rspec_generator.rb
150
151
  - test/test_install_website_generator.rb
151
- - test/test_newgem.rb
152
152
  - test/test_newgem_generator.rb
153
- - test/test_plain_generator.rb
153
+ - test/test_plain_theme_generator.rb
154
154
  rdoc_options:
155
155
  - --main
156
156
  - README.txt
@@ -1,11 +0,0 @@
1
- require File.dirname(__FILE__) + '/test_helper.rb'
2
-
3
- class NewgemTest < Test::Unit::TestCase
4
-
5
- def setup
6
- end
7
-
8
- def test_truth
9
- assert true
10
- end
11
- end