should fix red build

This commit is contained in:
Davis W. Frank
2011-06-16 08:33:59 -07:00
parent ae24e00c0f
commit 75dd391d57
4 changed files with 8 additions and 10 deletions

View File

@@ -1,10 +1,7 @@
## Release ## Release
__Jasmine Core Maintainers Only__
- ZIP The current version lives in the file `src/version.json`. We attempt to stick to Semantic Versioning
- REPO
- GEM
- Docs
- Pages
## The Github Pages ## The Github Pages

View File

@@ -2471,6 +2471,6 @@ jasmine.version_= {
"major": 1, "major": 1,
"minor": 1, "minor": 1,
"build": 0, "build": 0,
"revision": 1308187385, "revision": 1308238364,
"rc": 1 "rc": 1
} };

View File

@@ -2,6 +2,6 @@ jasmine.version_= {
"major": 1, "major": 1,
"minor": 1, "minor": 1,
"build": 0, "build": 0,
"revision": 1308187385, "revision": 1308238364,
"rc": 1 "rc": 1
} };

View File

@@ -41,7 +41,8 @@ end
def script_tags_for(files) def script_tags_for(files)
script_tag = Tilt::new('spec/templates/script_tag.html.erb') script_tag = Tilt::new('spec/templates/script_tag.html.erb')
files.inject([]) do |tags, f| srcs = (files.is_a?(String) ? [files] : files)
srcs.inject([]) do |tags, f|
scope = OpenStruct.new :file => f scope = OpenStruct.new :file => f
tags << script_tag.render(scope) tags << script_tag.render(scope)
tags tags