forked from jasmine/jasmine
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
32 changed files
with
16,189 additions
and
141 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 |
---|---|---|
|
@@ -5,3 +5,7 @@ site/ | |
.bundle/ | ||
.pairs | ||
.rvmrc | ||
*.gem | ||
.bundle | ||
Gemfile.lock | ||
pkg/* |
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,8 +1,3 @@ | ||
source :rubygems | ||
|
||
gem "json_pure", "~>1.4.3" | ||
gem "frank" | ||
gem "haml" | ||
gem "term-ansicolor" | ||
gem "ragaskar-jsdoc_helper" | ||
gem "rake", "0.8.7" | ||
gem "term-ansicolor", :require => "term/ansicolor" | ||
gemspec |
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
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# -*- encoding: utf-8 -*- | ||
$:.push File.expand_path("../lib", __FILE__) | ||
require "jasmine-core/version" | ||
|
||
Gem::Specification.new do |s| | ||
s.name = "jasmine-core" | ||
s.version = Jasmine::Core::VERSION | ||
s.platform = Gem::Platform::RUBY | ||
s.authors = ["Rajan Agaskar", "Davis Frank", "Christian Williams"] | ||
s.summary = %q{JavaScript BDD framework} | ||
s.description = %q{Test your JavaScript without any framework dependencies, in any environment, and with a nice descriptive syntax.} | ||
s.email = %q{jasmine-js@googlegroups.com} | ||
s.homepage = "http://pivotal.github.com/jasmine" | ||
s.rubyforge_project = "jasmine-core" | ||
|
||
s.files = Dir.glob("./lib/**/*") + Dir.glob("./lib/jasmine-core/spec/**/*.js") | ||
s.require_paths = ["lib"] | ||
s.add_development_dependency "term-ansicolor" | ||
s.add_development_dependency "json_pure", ">= 1.4.3" | ||
s.add_development_dependency "frank" | ||
s.add_development_dependency "haml" | ||
s.add_development_dependency "ragaskar-jsdoc_helper" | ||
end |
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,36 @@ | ||
module Jasmine | ||
module Core | ||
class << self | ||
def path | ||
File.join(File.dirname(__FILE__), "jasmine-core") | ||
end | ||
|
||
def js_files | ||
(["jasmine.js"] + Dir.glob(File.join(path, "*.js"))).map { |f| File.basename(f) }.uniq | ||
end | ||
|
||
SPEC_TYPES = ["core", "html", "node"] | ||
|
||
def core_spec_files | ||
spec_files("core") | ||
end | ||
|
||
def html_spec_files | ||
spec_files("html") | ||
end | ||
|
||
def node_spec_files | ||
spec_files("node") | ||
end | ||
|
||
def spec_files(type) | ||
raise ArgumentError.new("Unrecognized spec type") unless SPEC_TYPES.include?(type) | ||
(Dir.glob(File.join(path, "spec", type, "*.js"))).map { |f| File.join("spec", type, File.basename(f)) }.uniq | ||
end | ||
|
||
def css_files | ||
Dir.glob(File.join(path, "*.css")).map { |f| File.basename(f) } | ||
end | ||
end | ||
end | ||
end |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
../../spec |
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,8 @@ | ||
module Jasmine | ||
module Core | ||
require 'json' | ||
VERSION_HASH = JSON.parse(File.new(File.join(File.dirname(__FILE__), "..", "..", "src", "version.json")).read) | ||
VERSION = "#{VERSION_HASH['major']}.#{VERSION_HASH['minor']}.#{VERSION_HASH['build']}" | ||
VERSION << ".rc#{VERSION_HASH['release_candidate']}" if VERSION_HASH['release_candidate'] | ||
end | ||
end |
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 |
---|---|---|
|
@@ -2,5 +2,5 @@ | |
"major": 1, | ||
"minor": 1, | ||
"build": 0, | ||
"rc": 1 | ||
"release_candidate": 1 | ||
} |
Oops, something went wrong.