sprues: rename "template" to "sprue"

Also:
  * Move stuff around to a builtin/ folder
  * Separate out classes to follow my one-class-per-file convention
  * Samples are renamed to the underscore convention

I just like the word "sprue", and it's more descriptive than our original choice of "template". If I had to start Squib all over again, I would probably name it "Sprue" :P
This commit is contained in:
Andy Meneely
2017-07-17 14:48:43 -04:00
parent 36dc7ce4eb
commit 0d076b1e85
35 changed files with 127 additions and 285 deletions
+3
View File
@@ -6,6 +6,8 @@ describe Squib::Commands::New do
describe '#process' do
before(:all) do
@old_stderr = $stderr
@old_stdout = $stdout
$stdout = StringIO.new
$stderr = StringIO.new
@oldpwd = Dir.pwd
Dir.chdir(output_dir)
@@ -41,6 +43,7 @@ describe Squib::Commands::New do
after(:all) do
$stderr = @old_stderr
$stdout = @old_stdout
Dir.chdir(@oldpwd)
end
end