Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Added Jeweler task

  • Loading branch information...
commit ff4b3f5b8223f48102b9ea5237f0640b85ecca36 1 parent 39fa219
Eloy Durán alloy authored

Showing 3 changed files with 144 additions and 0 deletions. Show diff stats Hide diff stats

  1. +1 0  .gitignore
  2. +12 0 Rakefile
  3. +131 0 js-test-san.gemspec
1  .gitignore
... ... @@ -0,0 +1 @@
  1 +pkg
12 Rakefile
@@ -12,4 +12,16 @@ end
12 12 desc "Run the regression tests"
13 13 task :ci do
14 14 sh "./bin/jstest #{Dir['test/regression/prototype/unit/*.html'].join(' ')}"
  15 +end
  16 +
  17 +begin
  18 + require 'jeweler'
  19 + Jeweler::Tasks.new do |gemspec|
  20 + gemspec.name = "js-test-san"
  21 + gemspec.summary = gemspec.description = "A JavaScript test runner which runs from the comfort of the terminal. OS X only."
  22 + gemspec.email = "eloy.de.enige@gmail.com"
  23 + gemspec.homepage = "http://github.com/alloy/js-test-san/tree/master"
  24 + gemspec.authors = ["Eloy Duran"]
  25 + end
  26 +rescue LoadError
15 27 end
131 js-test-san.gemspec
... ... @@ -0,0 +1,131 @@
  1 +# -*- encoding: utf-8 -*-
  2 +
  3 +Gem::Specification.new do |s|
  4 + s.name = %q{js-test-san}
  5 + s.version = "0.1.0"
  6 +
  7 + s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
  8 + s.authors = ["Eloy Duran"]
  9 + s.date = %q{2009-04-12}
  10 + s.default_executable = %q{jstest}
  11 + s.description = %q{A JavaScript test runner which runs from the comfort of the terminal. OS X only.}
  12 + s.email = %q{eloy.de.enige@gmail.com}
  13 + s.executables = ["jstest"]
  14 + s.extra_rdoc_files = [
  15 + "README.rdoc"
  16 + ]
  17 + s.files = [
  18 + "README.rdoc",
  19 + "Rakefile",
  20 + "VERSION.yml",
  21 + "bin/jstest",
  22 + "lib/js_test_san.rb",
  23 + "lib/js_test_san/runner.rb",
  24 + "lib/js_test_san/test.rb",
  25 + "lib/js_test_san/test_case.rb",
  26 + "test/fixtures/a_unit_test.html",
  27 + "test/fixtures/a_unit_test.js",
  28 + "test/regression/prototype/unit/ajax_test.html",
  29 + "test/regression/prototype/unit/array_test.html",
  30 + "test/regression/prototype/unit/assets/prototype.js",
  31 + "test/regression/prototype/unit/assets/unittest.css",
  32 + "test/regression/prototype/unit/assets/unittest.js",
  33 + "test/regression/prototype/unit/assets/unittest_transport.js",
  34 + "test/regression/prototype/unit/base_test.html",
  35 + "test/regression/prototype/unit/class_test.html",
  36 + "test/regression/prototype/unit/date_test.html",
  37 + "test/regression/prototype/unit/dom_test.html",
  38 + "test/regression/prototype/unit/element_mixins_test.html",
  39 + "test/regression/prototype/unit/enumerable_test.html",
  40 + "test/regression/prototype/unit/event_test.html",
  41 + "test/regression/prototype/unit/fixtures/ajax.html",
  42 + "test/regression/prototype/unit/fixtures/ajax.js",
  43 + "test/regression/prototype/unit/fixtures/array.html",
  44 + "test/regression/prototype/unit/fixtures/class.js",
  45 + "test/regression/prototype/unit/fixtures/content.html",
  46 + "test/regression/prototype/unit/fixtures/data.json",
  47 + "test/regression/prototype/unit/fixtures/dom.css",
  48 + "test/regression/prototype/unit/fixtures/dom.html",
  49 + "test/regression/prototype/unit/fixtures/dom.js",
  50 + "test/regression/prototype/unit/fixtures/element_mixins.html",
  51 + "test/regression/prototype/unit/fixtures/element_mixins.js",
  52 + "test/regression/prototype/unit/fixtures/empty.html",
  53 + "test/regression/prototype/unit/fixtures/empty.js",
  54 + "test/regression/prototype/unit/fixtures/enumerable.html",
  55 + "test/regression/prototype/unit/fixtures/enumerable.js",
  56 + "test/regression/prototype/unit/fixtures/event.html",
  57 + "test/regression/prototype/unit/fixtures/form.html",
  58 + "test/regression/prototype/unit/fixtures/function.js",
  59 + "test/regression/prototype/unit/fixtures/hash.js",
  60 + "test/regression/prototype/unit/fixtures/hello.js",
  61 + "test/regression/prototype/unit/fixtures/logo.gif",
  62 + "test/regression/prototype/unit/fixtures/object.html",
  63 + "test/regression/prototype/unit/fixtures/object.js",
  64 + "test/regression/prototype/unit/fixtures/position.html",
  65 + "test/regression/prototype/unit/fixtures/selector.html",
  66 + "test/regression/prototype/unit/fixtures/string.js",
  67 + "test/regression/prototype/unit/fixtures/unittest.html",
  68 + "test/regression/prototype/unit/form_test.html",
  69 + "test/regression/prototype/unit/function_test.html",
  70 + "test/regression/prototype/unit/hash_test.html",
  71 + "test/regression/prototype/unit/number_test.html",
  72 + "test/regression/prototype/unit/object_test.html",
  73 + "test/regression/prototype/unit/periodical_executer_test.html",
  74 + "test/regression/prototype/unit/position_test.html",
  75 + "test/regression/prototype/unit/prototype_test.html",
  76 + "test/regression/prototype/unit/range_test.html",
  77 + "test/regression/prototype/unit/regexp_test.html",
  78 + "test/regression/prototype/unit/selector_test.html",
  79 + "test/regression/prototype/unit/string_test.html",
  80 + "test/regression/prototype/unit/tests/ajax_test.js",
  81 + "test/regression/prototype/unit/tests/array_test.js",
  82 + "test/regression/prototype/unit/tests/base_test.js",
  83 + "test/regression/prototype/unit/tests/class_test.js",
  84 + "test/regression/prototype/unit/tests/date_test.js",
  85 + "test/regression/prototype/unit/tests/dom_test.js",
  86 + "test/regression/prototype/unit/tests/element_mixins_test.js",
  87 + "test/regression/prototype/unit/tests/enumerable_test.js",
  88 + "test/regression/prototype/unit/tests/event_test.js",
  89 + "test/regression/prototype/unit/tests/form_test.js",
  90 + "test/regression/prototype/unit/tests/function_test.js",
  91 + "test/regression/prototype/unit/tests/hash_test.js",
  92 + "test/regression/prototype/unit/tests/number_test.js",
  93 + "test/regression/prototype/unit/tests/object_test.js",
  94 + "test/regression/prototype/unit/tests/periodical_executer_test.js",
  95 + "test/regression/prototype/unit/tests/position_test.js",
  96 + "test/regression/prototype/unit/tests/prototype_test.js",
  97 + "test/regression/prototype/unit/tests/range_test.js",
  98 + "test/regression/prototype/unit/tests/regexp_test.js",
  99 + "test/regression/prototype/unit/tests/selector_test.js",
  100 + "test/regression/prototype/unit/tests/string_test.js",
  101 + "test/regression/prototype/unit/tests/unittest_test.js",
  102 + "test/regression/prototype/unit/unittest_test.html",
  103 + "test/regression/prototype/upstream",
  104 + "test/test_helper.rb",
  105 + "test/unit/runner_test.rb",
  106 + "test/unit/test_case_test.rb",
  107 + "test/unit/test_test.rb"
  108 + ]
  109 + s.has_rdoc = true
  110 + s.homepage = %q{http://github.com/alloy/js-test-san/tree/master}
  111 + s.rdoc_options = ["--charset=UTF-8"]
  112 + s.require_paths = ["lib"]
  113 + s.rubygems_version = %q{1.3.1}
  114 + s.summary = %q{A JavaScript test runner which runs from the comfort of the terminal. OS X only.}
  115 + s.test_files = [
  116 + "test/test_helper.rb",
  117 + "test/unit/runner_test.rb",
  118 + "test/unit/test_case_test.rb",
  119 + "test/unit/test_test.rb"
  120 + ]
  121 +
  122 + if s.respond_to? :specification_version then
  123 + current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
  124 + s.specification_version = 2
  125 +
  126 + if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
  127 + else
  128 + end
  129 + else
  130 + end
  131 +end

0 comments on commit ff4b3f5

Please sign in to comment.
Something went wrong with that request. Please try again.