Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
89 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
source "http://rubygems.org" | ||
|
||
v = { | ||
:bundler => '=0.9.26', | ||
:rake => '=0.8.7', | ||
:rspec => '=1.3.0' | ||
} | ||
|
||
group :gemspec do | ||
gem 'bundler', v[:bundler] | ||
end | ||
|
||
group :gemspec_dev do | ||
gem 'rspec', v[:rspec] | ||
end | ||
|
||
group :rake do | ||
gem 'rake', v[:rake], :require => %w(rake rake/gempackagetask) | ||
gem 'rspec', v[:rspec], :require => %w(spec/rake/spectask) | ||
end | ||
|
||
group :spec do | ||
end |
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
#!/usr/bin/env ruby | ||
|
||
require File.expand_path("#{File.dirname(__FILE__)}/../require") | ||
Require.bin! | ||
require File.expand_path(File.dirname(__FILE__) + "/../lib/gem_template") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
require File.expand_path("#{File.dirname(__FILE__)}/../require") | ||
Require.lib! | ||
require 'gem_template/version' |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
module GemTemplate | ||
VERSION = "0.1.0" unless defined?(::GemTemplate::VERSION) | ||
end |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,20 @@ | ||
require File.expand_path("#{File.dirname(__FILE__)}/../require") | ||
Require.spec_helper! | ||
require 'rubygems' | ||
require 'bundler' | ||
|
||
Bundler.require(:spec) | ||
|
||
require 'lib/gem_template' | ||
require 'pp' | ||
|
||
Spec::Runner.configure do |config| | ||
end | ||
end | ||
|
||
SPEC = File.expand_path("#{Bundler.root}/spec") | ||
$:.unshift File.expand_path("#{Bundler.root}/lib") | ||
|
||
# For use with rspec textmate bundle | ||
def debug(object) | ||
puts "<pre>" | ||
puts object.pretty_inspect.gsub('<', '<').gsub('>', '>') | ||
puts "</pre>" | ||
end |