-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the behavior of helper/macro, get test script working
- Loading branch information
1 parent
1a1df9a
commit e83379e
Showing
10 changed files
with
154 additions
and
24 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
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,10 +1,12 @@ | ||
require "bundler/gem_tasks" | ||
require "rake/testtask" | ||
require "bundler" | ||
|
||
Bundler.setup | ||
|
||
Rake::TestTask.new(:test) do |t| | ||
t.libs << "test" | ||
t.libs << "lib" | ||
t.test_files = FileList["test/**/test_*.rb"] | ||
t.test_files = FileList["test/test.rb"] | ||
t.warning = false | ||
end | ||
|
||
task :default => :test |
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
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
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
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 |
---|---|---|
@@ -0,0 +1,95 @@ | ||
The title is: I'm a title! :) | ||
Categories: ["category1", "category2"] | ||
|
||
This is totally great | ||
Um… | ||
|
||
1357 | ||
Whoa | ||
|
||
Here we go! ((SO GOOD(WILD)lala)) Yay! 123.0 Done. | ||
|
||
---- | ||
|
||
|
||
```ruby | ||
{%= form classes: "raw" do %} | ||
<input /> {{ blah blah | blee }} | ||
{% end %} | ||
``` | ||
|
||
|
||
{%= "another raw example" %} | ||
|
||
---- | ||
|
||
<form class="checkoout"> | ||
<div class="error"><input type="text" name="first_name" required /></div> | ||
</form> | ||
---- | ||
|
||
groovy not defined :( | ||
|
||
|
||
yipee! | ||
|
||
---- | ||
|
||
Groovy? Groovy! | groovy! :) | ||
|
||
---- | ||
|
||
<input value=""Totally 'wild" /> | ||
Selected? true | ||
|
||
---- | ||
|
||
|
||
Whoa OMG! T h i s i s A M A Z I N G ! ;-D | ||
|
||
Prepend permanent? | ||
T h i s i s A M A Z I N G ! | ||
|
||
---- | ||
|
||
aha! | ||
This is **dope!** | ||
aha! | ||
So great. | ||
yes! cool cats yes! cool beans yeah | ||
aha! yes! cool boxes | ||
|
||
<p> | ||
Multiply! [10, 30, 60, 90] | ||
</p> | ||
|
||
ARGH! FIRST_NAME: BAD!! | ||
|
||
---- | ||
Totally grand, ya! Is,this,a,thing??,Totally,grand;,ya!,I;hope;so!,Wee! | ||
Totally grand, dude! Best,helper,ever! | ||
Totally grand, ya! | ||
|
||
Let's not <em>escape</em> this! | ||
Now let's <em>escape</em> by default! | ||
Now let's NOT <em>escape</em> by default! | ||
|
||
Component! < | ||
<p>component 1!</p> | ||
> | ||
Component! < | ||
<p>component 2!</p> | ||
> | ||
Component! < > | ||
|
||
|
||
Array length: 2 | ||
|
||
1,2,3 | ||
ha1heha2heha3he | ||
|
||
5.10 | ||
|
||
1-3-6-2-9 Foo | xx! | ||
|
||
Name: lambda test, output: 200 |