jeweler2 2.0.1 → 2.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (117) hide show
  1. data/lib/jeweler/version.rb +1 -1
  2. metadata +30 -145
  3. data/.document +0 -8
  4. data/Gemfile +0 -18
  5. data/Gemfile.lock +0 -47
  6. data/Rakefile +0 -80
  7. data/features/generator/cucumber.feature +0 -103
  8. data/features/generator/directory_layout.feature +0 -86
  9. data/features/generator/dotdocument.feature +0 -13
  10. data/features/generator/env_options.feature +0 -9
  11. data/features/generator/gemfile.feature +0 -71
  12. data/features/generator/git.feature +0 -102
  13. data/features/generator/license.feature +0 -20
  14. data/features/generator/rakefile.feature +0 -158
  15. data/features/generator/readme.feature +0 -12
  16. data/features/generator/test.feature +0 -54
  17. data/features/generator/test_helper.feature +0 -149
  18. data/features/placeholder.feature +0 -5
  19. data/features/step_definitions/debug_steps.rb +0 -6
  20. data/features/step_definitions/filesystem_steps.rb +0 -70
  21. data/features/step_definitions/generator_steps.rb +0 -380
  22. data/features/step_definitions/task_steps.rb +0 -6
  23. data/features/support/env.rb +0 -42
  24. data/features/tasks/build_gem.feature +0 -9
  25. data/features/tasks/version.feature +0 -31
  26. data/features/tasks/version_bumping.feature +0 -49
  27. data/jeweler.gemspec +0 -245
  28. data/jeweler2.gemspec +0 -233
  29. data/lib/jeweler/templates/.document +0 -5
  30. data/lib/jeweler/templates/.gitignore +0 -48
  31. data/lib/jeweler/templates/Gemfile +0 -12
  32. data/lib/jeweler/templates/LICENSE.txt +0 -20
  33. data/lib/jeweler/templates/README.rdoc +0 -19
  34. data/lib/jeweler/templates/Rakefile +0 -9
  35. data/lib/jeweler/templates/bacon/flunking.rb +0 -7
  36. data/lib/jeweler/templates/bacon/helper.rb +0 -9
  37. data/lib/jeweler/templates/bundler_setup.erb +0 -10
  38. data/lib/jeweler/templates/features/default.feature +0 -9
  39. data/lib/jeweler/templates/features/support/env.rb +0 -10
  40. data/lib/jeweler/templates/jeweler_tasks.erb +0 -31
  41. data/lib/jeweler/templates/micronaut/flunking.rb +0 -7
  42. data/lib/jeweler/templates/micronaut/helper.rb +0 -18
  43. data/lib/jeweler/templates/minitest/flunking.rb +0 -7
  44. data/lib/jeweler/templates/minitest/helper.rb +0 -12
  45. data/lib/jeweler/templates/other_tasks.erb +0 -86
  46. data/lib/jeweler/templates/riot/flunking.rb +0 -11
  47. data/lib/jeweler/templates/riot/helper.rb +0 -4
  48. data/lib/jeweler/templates/rspec/.rspec +0 -1
  49. data/lib/jeweler/templates/rspec/flunking.rb +0 -7
  50. data/lib/jeweler/templates/rspec/helper.rb +0 -12
  51. data/lib/jeweler/templates/shindo/flunking.rb +0 -8
  52. data/lib/jeweler/templates/shindo/helper.rb +0 -6
  53. data/lib/jeweler/templates/shoulda/flunking.rb +0 -7
  54. data/lib/jeweler/templates/shoulda/helper.rb +0 -11
  55. data/lib/jeweler/templates/testspec/flunking.rb +0 -7
  56. data/lib/jeweler/templates/testspec/helper.rb +0 -7
  57. data/lib/jeweler/templates/testunit/flunking.rb +0 -7
  58. data/lib/jeweler/templates/testunit/helper.rb +0 -10
  59. data/test/fixtures/bar/VERSION.yml +0 -4
  60. data/test/fixtures/bar/bin/foo_the_ultimate_bin +0 -1
  61. data/test/fixtures/bar/hey_include_me_in_gemspec +0 -0
  62. data/test/fixtures/bar/lib/foo_the_ultimate_lib.rb +0 -1
  63. data/test/fixtures/existing-project-with-version-constant/.document +0 -5
  64. data/test/fixtures/existing-project-with-version-constant/.gitignore +0 -5
  65. data/test/fixtures/existing-project-with-version-constant/LICENSE.txt +0 -20
  66. data/test/fixtures/existing-project-with-version-constant/README.rdoc +0 -7
  67. data/test/fixtures/existing-project-with-version-constant/Rakefile +0 -85
  68. data/test/fixtures/existing-project-with-version-constant/existing-project-with-version.gemspec +0 -29
  69. data/test/fixtures/existing-project-with-version-constant/lib/existing_project_with_version.rb +0 -0
  70. data/test/fixtures/existing-project-with-version-constant/test/existing_project_with_version_test.rb +0 -7
  71. data/test/fixtures/existing-project-with-version-constant/test/test_helper.rb +0 -10
  72. data/test/fixtures/existing-project-with-version-plaintext/.document +0 -5
  73. data/test/fixtures/existing-project-with-version-plaintext/.gitignore +0 -5
  74. data/test/fixtures/existing-project-with-version-plaintext/LICENSE.txt +0 -20
  75. data/test/fixtures/existing-project-with-version-plaintext/README.rdoc +0 -7
  76. data/test/fixtures/existing-project-with-version-plaintext/Rakefile +0 -84
  77. data/test/fixtures/existing-project-with-version-plaintext/VERSION +0 -1
  78. data/test/fixtures/existing-project-with-version-plaintext/existing-project-with-version.gemspec +0 -29
  79. data/test/fixtures/existing-project-with-version-plaintext/lib/existing_project_with_version.rb +0 -0
  80. data/test/fixtures/existing-project-with-version-plaintext/test/existing_project_with_version_test.rb +0 -7
  81. data/test/fixtures/existing-project-with-version-plaintext/test/test_helper.rb +0 -10
  82. data/test/fixtures/existing-project-with-version-yaml/.document +0 -5
  83. data/test/fixtures/existing-project-with-version-yaml/.gitignore +0 -5
  84. data/test/fixtures/existing-project-with-version-yaml/LICENSE.txt +0 -20
  85. data/test/fixtures/existing-project-with-version-yaml/README.rdoc +0 -7
  86. data/test/fixtures/existing-project-with-version-yaml/Rakefile +0 -84
  87. data/test/fixtures/existing-project-with-version-yaml/VERSION.yml +0 -4
  88. data/test/fixtures/existing-project-with-version-yaml/bin/foo_the_ultimate_bin +0 -0
  89. data/test/fixtures/existing-project-with-version-yaml/existing-project-with-version.gemspec +0 -29
  90. data/test/fixtures/existing-project-with-version-yaml/lib/existing_project_with_version.rb +0 -0
  91. data/test/fixtures/existing-project-with-version-yaml/test/existing_project_with_version_test.rb +0 -7
  92. data/test/fixtures/existing-project-with-version-yaml/test/test_helper.rb +0 -10
  93. data/test/geminstaller.yml +0 -12
  94. data/test/jeweler/commands/test_build_gem.rb +0 -103
  95. data/test/jeweler/commands/test_install_gem.rb +0 -35
  96. data/test/jeweler/commands/test_release_to_gemcutter.rb +0 -39
  97. data/test/jeweler/commands/test_release_to_git.rb +0 -198
  98. data/test/jeweler/commands/test_release_to_github.rb +0 -390
  99. data/test/jeweler/commands/test_validate_gemspec.rb +0 -27
  100. data/test/jeweler/commands/test_write_gemspec.rb +0 -101
  101. data/test/jeweler/commands/version/test_base.rb +0 -32
  102. data/test/jeweler/commands/version/test_bump_major.rb +0 -22
  103. data/test/jeweler/commands/version/test_bump_minor.rb +0 -19
  104. data/test/jeweler/commands/version/test_bump_patch.rb +0 -20
  105. data/test/jeweler/commands/version/test_write.rb +0 -22
  106. data/test/jeweler/generator/test_application.rb +0 -120
  107. data/test/jeweler/generator/test_options.rb +0 -225
  108. data/test/jeweler/test_gemspec_helper.rb +0 -44
  109. data/test/jeweler/test_generator.rb +0 -141
  110. data/test/jeweler/test_generator_initialization.rb +0 -164
  111. data/test/jeweler/test_generator_mixins.rb +0 -23
  112. data/test/jeweler/test_specification.rb +0 -237
  113. data/test/jeweler/test_tasks.rb +0 -50
  114. data/test/jeweler/test_version_helper.rb +0 -214
  115. data/test/shoulda_macros/jeweler_macros.rb +0 -35
  116. data/test/test_helper.rb +0 -178
  117. data/test/test_jeweler.rb +0 -175
@@ -1,5 +0,0 @@
1
- lib/**/*.rb
2
- bin/*
3
- -
4
- features/**/*.feature
5
- LICENSE.txt
@@ -1,48 +0,0 @@
1
- # rcov generated
2
- coverage
3
-
4
- # rdoc generated
5
- rdoc
6
-
7
- # yard generated
8
- doc
9
- .yardoc
10
-
11
- # bundler
12
- .bundle
13
-
14
- # jeweler generated
15
- pkg
16
-
17
- # Have editor/IDE/OS specific files you need to ignore? Consider using a global gitignore:
18
- #
19
- # * Create a file at ~/.gitignore
20
- # * Include files you want ignored
21
- # * Run: git config --global core.excludesfile ~/.gitignore
22
- #
23
- # After doing this, these files will be ignored in all your git projects,
24
- # saving you from having to 'pollute' every project you touch with them
25
- #
26
- # Not sure what to needs to be ignored for particular editors/OSes? Here's some ideas to get you started. (Remember, remove the leading # of the line)
27
- #
28
- # For MacOS:
29
- #
30
- #.DS_Store
31
-
32
- # For TextMate
33
- #*.tmproj
34
- #tmtags
35
-
36
- # For emacs:
37
- #*~
38
- #\#*
39
- #.\#*
40
-
41
- # For vim:
42
- #*.swp
43
-
44
- # For redcar:
45
- #.redcar
46
-
47
- # For rubinius:
48
- #*.rbc
@@ -1,12 +0,0 @@
1
- source "http://rubygems.org"
2
- # Add dependencies required to use your gem here.
3
- # Example:
4
- # gem "activesupport", ">= 2.3.5"
5
-
6
- # Add dependencies to develop your gem here.
7
- # Include everything needed to run rake, tests, features, etc.
8
- group :development do
9
- <% development_dependencies.each do |name, version| %>
10
- gem "<%= name %>", "<%= version %>"
11
- <% end %>
12
- end
@@ -1,20 +0,0 @@
1
- Copyright (c) <%= Time.now.year %> <%= user_name %>
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining
4
- a copy of this software and associated documentation files (the
5
- "Software"), to deal in the Software without restriction, including
6
- without limitation the rights to use, copy, modify, merge, publish,
7
- distribute, sublicense, and/or sell copies of the Software, and to
8
- permit persons to whom the Software is furnished to do so, subject to
9
- the following conditions:
10
-
11
- The above copyright notice and this permission notice shall be
12
- included in all copies or substantial portions of the Software.
13
-
14
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
15
- EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
16
- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
17
- NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
18
- LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
19
- OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
20
- WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,19 +0,0 @@
1
- = <%= project_name %>
2
-
3
- Description goes here.
4
-
5
- == Contributing to <%= project_name %>
6
-
7
- * Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
8
- * Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it
9
- * Fork the project
10
- * Start a feature/bugfix branch
11
- * Commit and push until you are happy with your contribution
12
- * Make sure to add tests for it. This is important so I don't break it in a future version unintentionally.
13
- * Please try not to mess with the Rakefile, version, or history. If you want to have your own version, or is otherwise necessary, that is fine, but please isolate to its own commit so I can cherry-pick around it.
14
-
15
- == Copyright
16
-
17
- Copyright (c) <%= Time.now.year %> <%= user_name %>. See LICENSE.txt for
18
- further details.
19
-
@@ -1,9 +0,0 @@
1
- # encoding: utf-8
2
-
3
- require 'rubygems'
4
- <%= render_template 'bundler_setup.erb' %>
5
- require 'rake'
6
-
7
- <%= render_template 'jeweler_tasks.erb' %>
8
-
9
- <%= render_template 'other_tasks.erb' %>
@@ -1,7 +0,0 @@
1
- require 'spec_helper'
2
-
3
- describe "<%= constant_name %>" do
4
- it "fails" do
5
- should.flunk "hey buddy, you should probably rename this file and start specing for real"
6
- end
7
- end
@@ -1,9 +0,0 @@
1
- require 'rubygems'
2
- <%= render_template 'bundler_setup.erb' %>
3
- require 'bacon'
4
-
5
- $LOAD_PATH.unshift(File.dirname(__FILE__))
6
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
7
- require '<%= require_name %>'
8
-
9
- Bacon.summary_on_exit
@@ -1,10 +0,0 @@
1
- <% if should_use_bundler %>
2
- require 'bundler'
3
- begin
4
- Bundler.setup(:default, :development)
5
- rescue Bundler::BundlerError => e
6
- $stderr.puts e.message
7
- $stderr.puts "Run `bundle install` to install missing gems"
8
- exit e.status_code
9
- end
10
- <% end %>
@@ -1,9 +0,0 @@
1
- Feature: something something
2
- In order to something something
3
- A user something something
4
- something something something
5
-
6
- Scenario: something something
7
- Given inspiration
8
- When I create a sweet new gem
9
- Then everyone should see how awesome I am
@@ -1,10 +0,0 @@
1
- <%= render_template 'bundler_setup.erb' %>
2
-
3
- $LOAD_PATH.unshift(File.dirname(__FILE__) + '/../../lib')
4
- require '<%= require_name %>'
5
-
6
- require '<%= feature_support_require %>'
7
- <% if feature_support_extend %>
8
-
9
- World(<%= feature_support_extend %>)
10
- <% end %>
@@ -1,31 +0,0 @@
1
- require 'jeweler'
2
- Jeweler::Tasks.new do |gem|
3
- # gem is a Gem::Specification... see http://docs.rubygems.org/read/chapter/20 for more options
4
- gem.name = "<%= project_name %>"
5
- gem.homepage = "<%= homepage %>"
6
- gem.license = "MIT"
7
- gem.summary = %Q{<%= summary %>}
8
- gem.description = %Q{<%= description %>}
9
- gem.email = "<%= user_email %>"
10
- gem.authors = ["<%= user_name %>"]
11
- <% if should_setup_rubyforge %>
12
- gem.rubyforge_project = "<%= project_name %>"
13
- <% end %>
14
- <% if should_use_bundler %>
15
- # dependencies defined in Gemfile
16
- <% else %>
17
- <% development_dependencies.each do |name, version| %>
18
- # Include your dependencies below. Runtime dependencies are required when using your gem,
19
- # and development dependencies are only needed for development (ie running rake tasks, tests, etc)
20
- # gem.add_runtime_dependency 'jabber4r', '> 0.1'
21
- # gem.add_development_dependency 'rspec', '> 1.2.3'
22
- gem.add_development_dependency "<%= name %>", "<%= version %>"
23
- <% end %>
24
- <% end %>
25
- end
26
- Jeweler::RubygemsDotOrgTasks.new
27
- <% if should_setup_rubyforge %>
28
- Jeweler::RubyforgeTasks.new do |rubyforge|
29
- rubyforge.doc_task = "<%= doc_task %>"
30
- end
31
- <% end %>
@@ -1,7 +0,0 @@
1
- require 'example_helper'
2
-
3
- describe "<%= constant_name %>" do
4
- it "fails" do
5
- fail "hey buddy, you should probably rename this file and start specing for real"
6
- end
7
- end
@@ -1,18 +0,0 @@
1
- require 'rubygems'
2
- <%= render_template 'bundler_setup.erb' %>
3
- require 'micronaut'
4
-
5
- $LOAD_PATH.unshift(File.dirname(__FILE__))
6
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
7
-
8
- require '<%= require_name %>'
9
-
10
- def not_in_editor?
11
- !(ENV.has_key?('TM_MODE') || ENV.has_key?('EMACS') || ENV.has_key?('VIM'))
12
- end
13
-
14
- Micronaut.configure do |c|
15
- c.color_enabled = not_in_editor?
16
- c.filter_run :focused => true
17
- end
18
-
@@ -1,7 +0,0 @@
1
- require 'helper'
2
-
3
- class Test<%= constant_name %> < MiniTest::Unit::TestCase
4
- def test_something_for_real
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
6
- end
7
- end
@@ -1,12 +0,0 @@
1
- require 'rubygems'
2
- <%= render_template 'bundler_setup.erb' %>
3
- require 'minitest/unit'
4
-
5
- $LOAD_PATH.unshift(File.dirname(__FILE__))
6
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
7
- require '<%= require_name %>'
8
-
9
- class MiniTest::Unit::TestCase
10
- end
11
-
12
- MiniTest::Unit.autorun
@@ -1,86 +0,0 @@
1
- <% case testing_framework %>
2
- <% when :rspec %>
3
- require 'rspec/core'
4
- require 'rspec/core/rake_task'
5
- RSpec::Core::RakeTask.new(:<%= test_task %>) do |<%= test_task %>|
6
- <%= test_task %>.pattern = FileList['<%= test_pattern %>']
7
- end
8
- <% when :micronaut %>
9
- require 'micronaut/rake_task'
10
- Micronaut::RakeTask.new(:<%= test_task %>) do |<%= test_task %>|
11
- <%= test_task %>.pattern = '<%= test_pattern %>'
12
- <%= test_task %>.ruby_opts << '-Ilib -I<%= test_dir %>'
13
- end
14
- <% when :shindo %>
15
- require 'shindo/rake'
16
- Shindo::Rake.new
17
- <% else %>
18
- require 'rake/testtask'
19
- Rake::TestTask.new(:<%= test_task %>) do |<%= test_task %>|
20
- <%= test_task %>.libs << 'lib' << '<%= test_dir %>'
21
- <%= test_task %>.pattern = '<%= test_pattern %>'
22
- <%= test_task %>.verbose = true
23
- end
24
- <% end %>
25
-
26
- <% case testing_framework %>
27
- <% when :rspec %>
28
- RSpec::Core::RakeTask.new(:rcov) do |spec|
29
- spec.pattern = '<%= test_pattern %>'
30
- spec.rcov = true
31
- end
32
- <% when :micronaut %>
33
- Micronaut::RakeTask.new(:rcov) do |examples|
34
- examples.pattern = '<%= test_pattern %>'
35
- examples.rcov_opts = '-Ilib -I<%= test_dir %>'
36
- examples.rcov = true
37
- end
38
- <% else %>
39
- require 'rcov/rcovtask'
40
- Rcov::RcovTask.new do |<%= test_task %>|
41
- <%= test_task %>.libs << '<%= test_dir %>'
42
- <%= test_task %>.pattern = '<%= test_pattern %>'
43
- <%= test_task %>.verbose = true
44
- <%= test_task %>.rcov_opts << '--exclude "gems/*"'
45
- end
46
- <% end %>
47
-
48
- <% if should_use_cucumber %>
49
- require 'cucumber/rake/task'
50
- Cucumber::Rake::Task.new(:features)
51
- <% end %>
52
-
53
- <% if should_use_reek %>
54
- require 'reek/rake/task'
55
- Reek::Rake::Task.new do |t|
56
- t.fail_on_error = true
57
- t.verbose = false
58
- t.source_files = 'lib/**/*.rb'
59
- end
60
- <% end %>
61
-
62
- <% if should_use_roodi %>
63
- require 'roodi'
64
- require 'roodi_task'
65
- RoodiTask.new do |t|
66
- t.verbose = false
67
- end
68
- <% end %>
69
-
70
- task :default => :<%= default_task %>
71
-
72
- <% case documentation_framework %>
73
- <% when :rdoc %>
74
- require 'rake/rdoctask'
75
- Rake::RDocTask.new do |rdoc|
76
- version = File.exist?('VERSION') ? File.read('VERSION') : ""
77
-
78
- rdoc.rdoc_dir = 'rdoc'
79
- rdoc.title = "<%= project_name %> #{version}"
80
- rdoc.rdoc_files.include('README*')
81
- rdoc.rdoc_files.include('lib/**/*.rb')
82
- end
83
- <% when :yard %>
84
- require 'yard'
85
- YARD::Rake::YardocTask.new
86
- <% end %>
@@ -1,11 +0,0 @@
1
- require 'teststrap'
2
-
3
- context "<%= require_name %>" do
4
- setup do
5
- false
6
- end
7
-
8
- asserts "i'm a failure :(" do
9
- topic
10
- end
11
- end
@@ -1,4 +0,0 @@
1
- require 'rubygems'
2
- <%= render_template 'bundler_setup.erb' %>
3
- require 'riot'
4
- require '<%= require_name %>'
@@ -1 +0,0 @@
1
- --color
@@ -1,7 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/spec_helper')
2
-
3
- describe "<%= constant_name %>" do
4
- it "fails" do
5
- fail "hey buddy, you should probably rename this file and start specing for real"
6
- end
7
- end
@@ -1,12 +0,0 @@
1
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
- $LOAD_PATH.unshift(File.dirname(__FILE__))
3
- require 'rspec'
4
- require '<%= require_name %>'
5
-
6
- # Requires supporting files with custom matchers and macros, etc,
7
- # in ./support/ and its subdirectories.
8
- Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
9
-
10
- RSpec.configure do |config|
11
-
12
- end
@@ -1,8 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/tests_helper')
2
-
3
- Shindo.tests("<%= constant_name %>") do
4
- test("fails") do
5
- "hey buddy, you should probably rename this file and start specing for real"
6
- false
7
- end
8
- end
@@ -1,6 +0,0 @@
1
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
2
- $LOAD_PATH.unshift(File.dirname(__FILE__))
3
- require '<%= require_name %>'
4
- require 'rubygems'
5
- <%= render_template 'bundler_setup.erb' %>
6
- require 'shindo'
@@ -1,7 +0,0 @@
1
- require 'helper'
2
-
3
- class Test<%= constant_name %> < Test::Unit::TestCase
4
- should "probably rename this file and start testing for real" do
5
- flunk "hey buddy, you should probably rename this file and start testing for real"
6
- end
7
- end
@@ -1,11 +0,0 @@
1
- require 'rubygems'
2
- <%= render_template 'bundler_setup.erb' %>
3
- require 'test/unit'
4
- require 'shoulda'
5
-
6
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
7
- $LOAD_PATH.unshift(File.dirname(__FILE__))
8
- require '<%= require_name %>'
9
-
10
- class Test::Unit::TestCase
11
- end
@@ -1,7 +0,0 @@
1
- require File.expand_path(File.dirname(__FILE__) + '/test_helper')
2
-
3
- describe "<%= constant_name %>" do
4
- it "fails" do
5
- fail "hey buddy, you should probably rename this file and start specing for real"
6
- end
7
- end
@@ -1,7 +0,0 @@
1
-
2
- require 'rubygems'
3
- require 'test/spec'
4
-
5
- $LOAD_PATH.unshift(File.dirname(__FILE__))
6
- $LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
7
- require '<%= require_name %>'