shenandoah 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/.gitignore CHANGED
@@ -4,3 +4,4 @@ coverage
4
4
  rdoc
5
5
  pkg
6
6
  spec/tmp
7
+ *.gemspec
data/ChangeLog.markdown CHANGED
@@ -1,3 +1,9 @@
1
+ 0.1.3
2
+ =====
3
+
4
+ * Correct generator-related bug that made rails mode not work
5
+ * Publish with/on Gemcutter
6
+
1
7
  0.1.2
2
8
  =====
3
9
 
data/README.markdown CHANGED
@@ -28,7 +28,23 @@ The following sections describe how to invoke Shenandoah with various build syst
28
28
  Installing and Running
29
29
  ----------------------
30
30
 
31
- To install:
31
+ The Shenandoah gem is hosted at [Gemcutter](http://gemcutter.org/). If you haven't yet, set up your gem environment to use Gemcutter:
32
+
33
+ $ gem install gemcutter
34
+ $ gem tumble
35
+
36
+ You can verify that this worked like so:
37
+
38
+ $ gem sources
39
+ *** CURRENT SOURCES ***
40
+
41
+ http://gemcutter.org
42
+ http://gems.rubyforge.org/
43
+ http://gems.github.com/
44
+
45
+ If the gemcutter URL isn't present, run `gem tumble` again or check [Gemcutter's docs](http://gemcutter.org/pages/docs) for advice.
46
+
47
+ When that's square, install Shenandoah:
32
48
 
33
49
  $ gem install shenandoah
34
50
 
data/Rakefile CHANGED
@@ -41,6 +41,7 @@ begin
41
41
  gem.add_development_dependency('archive-tar-minitar', '= 0.5.2')
42
42
  end
43
43
 
44
+ Jeweler::GemcutterTasks.new
44
45
  Jeweler::RubyforgeTasks.new
45
46
  rescue LoadError
46
47
  puts "Jeweler (or a dependency) not available. Install it with: sudo gem install jeweler"
@@ -85,5 +86,8 @@ task :uninstall do |t|
85
86
  system("sudo gem uninstall shenandoah -v #{version}")
86
87
  end
87
88
 
89
+ # Disable github release since I don't want to commit the gemspec
90
+ Rake::Task[:release].prerequisites.delete 'github:release'
91
+
88
92
  task :build => [:gemspec]
89
93
  task :install => [:uninstall]
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  :major: 0
3
3
  :minor: 1
4
- :patch: 2
4
+ :patch: 3
@@ -5,7 +5,7 @@ module Shenandoah # :nodoc:
5
5
  class Locator < DefaultLocator
6
6
  def initialize(project)
7
7
  super(
8
- :main_path => project.test.options[:main_path] ||
8
+ :main_path => project.test.options[:main_path] ||
9
9
  project.path_to(:source, :main, :javascript),
10
10
  :spec_path => project.path_to(:source, :spec, :javascript),
11
11
  :tmp_path => project.path_to(:target, :shenandoah)
@@ -19,7 +19,7 @@ module Buildr # :nodoc:
19
19
  def tests(dependencies)
20
20
  @locator.spec_files
21
21
  end
22
-
22
+
23
23
  def run(tests, dependencies)
24
24
  @runner.run_console(tests)
25
25
  end
@@ -9,7 +9,7 @@ function require_main(url, options) {
9
9
 
10
10
  function require_absolute(url, options) {
11
11
  // Use synchronous XmlHttpRequests instead of dynamically
12
- // appended <SCRIPT> tags for IE compatibility.
12
+ // appended <SCRIPT> tags for IE compatibility.
13
13
  // (IE doesn't guarantee that the tags will be evaluated in order.)
14
14
  jQuery.ajax({
15
15
  dataType: 'script',
@@ -9,7 +9,7 @@
9
9
  }
10
10
 
11
11
  $('.it')
12
- .bind('passed', function(){
12
+ .bind('passed', function(){
13
13
  java.lang.System.out.print(".");
14
14
  })
15
15
  .bind('failed', function(e, reason){
@@ -22,11 +22,11 @@
22
22
  var testCount = $('.passed').length + $('.failed').length;
23
23
  var failures = $('.failed').length;
24
24
  var elapsedTime = ((new Date() - Screw.suite_start_time)/1000.0);
25
-
25
+
26
26
  print("\n")
27
27
  print(testCount + ' test(s), ' + failures + ' failure(s)');
28
28
  print(elapsedTime.toString() + " seconds elapsed");
29
-
29
+
30
30
  if(failures > 0) { java.lang.System.exit(1) };
31
31
  });
32
32
  })(jQuery);
@@ -8,11 +8,11 @@ var MAIN_PATH = arguments[1]
8
8
  var SPEC_PATH = arguments[2]
9
9
  var SPEC_FILE = arguments[3]
10
10
 
11
- function require_main(file) {
11
+ function require_main(file) {
12
12
  require_absolute(MAIN_PATH + '/' + file)
13
13
  }
14
14
 
15
- function require_spec(file) {
15
+ function require_spec(file) {
16
16
  require_absolute(SPEC_PATH + '/' + file)
17
17
  }
18
18
 
@@ -2,7 +2,7 @@
2
2
  var _old_quit = this.quit;
3
3
  this.__defineGetter__("exit", function(){ _old_quit() });
4
4
  this.__defineGetter__("quit", function(){ _old_quit() });
5
-
5
+
6
6
  print("=================================================");
7
7
  print(" Rhino JavaScript Shell");
8
8
  print(" To exit type 'exit', 'quit', or 'quit()'.");
@@ -13,7 +13,7 @@ module Shenandoah
13
13
  def spec_files
14
14
  FileList["#{spec_path}/**/*_spec.js"]
15
15
  end
16
-
17
- private
16
+
17
+ private
18
18
  end
19
19
  end
@@ -19,7 +19,7 @@ module Shenandoah
19
19
  return "#{candidate}/javascript"
20
20
  end
21
21
  end
22
-
22
+
23
23
  "test/javascript" # default
24
24
  end
25
25
  end
@@ -1,13 +1,15 @@
1
- # This class is just sugar for initing Shenandoah::Tasks with a rails locator
2
-
3
1
  require 'shenandoah/tasks'
4
2
  require 'shenandoah/rails/locator'
5
3
 
6
4
  module Shenandoah
7
5
  module Rails
8
6
  class Tasks < Shenandoah::Tasks
7
+ def initialize(options = {})
8
+ super(options.merge(:generate_task => false))
9
+ end
10
+
9
11
  protected
10
-
12
+
11
13
  def default_locator_type
12
14
  Locator
13
15
  end
@@ -5,7 +5,7 @@ module Shenandoah
5
5
  # The server which enables in-browser execution of Screw.Unit specs in
6
6
  # Shenandoah.
7
7
  #
8
- # It exposes a list of all the specs at the root of the server,
8
+ # It exposes a list of all the specs at the root of the server,
9
9
  # organized by subdirectory, with links to individual test fixtures.
10
10
  # The contents of the +main_path+ and +spec_path+ in the configured locator
11
11
  # are exposed under <tt>/main</tt> and <tt>/spec</tt> respectively.
@@ -20,10 +20,10 @@ module Shenandoah
20
20
  collect { |t| [File.dirname(t), File.basename(t).sub(/_spec.js$/, '.html')] }.
21
21
  inject({}) { |h, (dir, file)| h[dir] ||= []; h[dir] << file; h }
22
22
  @sections = section_map.collect { |dir, files| [dir, files.sort] }.sort
23
-
23
+
24
24
  haml :index
25
25
  end
26
-
26
+
27
27
  get '/main/*' do
28
28
  map_file(options.locator.main_path, params[:splat].first, "Main")
29
29
  end
@@ -2,13 +2,11 @@ require 'rake'
2
2
  require 'shenandoah/locator'
3
3
  require 'shenandoah/runner'
4
4
  require 'shenandoah/server'
5
- require 'rails_generator'
6
- require 'rails_generator/scripts/generate'
7
5
 
8
6
  module Shenandoah
9
7
  class Tasks
10
8
  attr_accessor :locator, :options, :runner
11
-
9
+
12
10
  def initialize(options = {})
13
11
  @options = options
14
12
  @locator =
@@ -21,9 +19,9 @@ module Shenandoah
21
19
  create_serve_task
22
20
  create_shell_task
23
21
  create_run_task
24
- create_gen_task
22
+ create_gen_task unless options[:generate_task] == false
25
23
  end
26
-
24
+
27
25
  def run_specs(pattern=nil)
28
26
  files = @locator.spec_files
29
27
  if ENV['SHEN_SPEC']
@@ -40,10 +38,12 @@ module Shenandoah
40
38
  raise "Shenandoah specs failed!"
41
39
  end
42
40
  end
43
-
41
+
44
42
  def generate_spec(name)
45
43
  raise "Please specify a spec name. E.g., shen:generate[foo]." unless name
46
- ::Rails::Generator::Base::prepend_sources(
44
+ require 'rails_generator'
45
+ require 'rails_generator/scripts/generate'
46
+ ::Rails::Generator::Base::prepend_sources(
47
47
  ::Rails::Generator::PathSource.new(
48
48
  :shenandoah, File.join(File.dirname(__FILE__), '../../rails_generators'))
49
49
  )
@@ -60,17 +60,17 @@ module Shenandoah
60
60
  ['shen_spec', '-t', name], :destination => dest,
61
61
  :quiet => Rake.application.options.quiet)
62
62
  end
63
-
63
+
64
64
  protected
65
-
65
+
66
66
  def trace(msg)
67
67
  $stderr.puts msg if Rake.application.options.trace
68
68
  end
69
-
69
+
70
70
  def default_locator_type
71
71
  DefaultLocator
72
72
  end
73
-
73
+
74
74
  def create_serve_task
75
75
  desc "Start the in-browser JavaScript spec runner on http://localhost:4410/"
76
76
  task('shen:serve') do |t|
@@ -81,21 +81,21 @@ module Shenandoah
81
81
  Shenandoah::Server.run!
82
82
  end
83
83
  end
84
-
84
+
85
85
  def create_shell_task
86
86
  desc "Start the Shenandoah interactive JavaScript shell"
87
87
  task('shen:shell') do |t|
88
88
  @runner.run_shell
89
89
  end
90
90
  end
91
-
91
+
92
92
  def create_run_task
93
93
  desc "Run the JavaScript specs"
94
94
  task('shen:spec', :pattern) do |t, args|
95
95
  run_specs args.pattern
96
96
  end
97
97
  end
98
-
98
+
99
99
  def create_gen_task
100
100
  desc "Generate a skeleton spec. Give the spec name as a task arg -- i.e. shen:generate[commands]."
101
101
  task('shen:generate', :basename) do |t, args|
@@ -25,7 +25,7 @@ module Shenandoah
25
25
  mod_spec = mods_rev.reverse.collect { |m| m.downcase }.join('.')
26
26
  [mod_spec, klass].reject { |p| p == "" }.join '.'
27
27
  end
28
-
28
+
29
29
  def spec_helper?
30
30
  File.exist?("#{destination_root}/#{spec_path}/spec_helper.js")
31
31
  end
@@ -9,7 +9,7 @@ module Shenandoah
9
9
  record do |m|
10
10
  m.directory "lib/tasks"
11
11
  m.file "shenandoah.rake", "lib/tasks/shenandoah.rake"
12
-
12
+
13
13
  m.directory spec_path
14
14
  m.file "spec_helper.js", "#{spec_path}/spec_helper.js"
15
15
  m.file "application_spec.js", "#{spec_path}/application_spec.js"
@@ -3,7 +3,7 @@
3
3
 
4
4
  <head>
5
5
  <title>Application | JavaScript Testing Results</title>
6
- <link rel="stylesheet" href="/screw.css" type="text/css" charset="utf-8" />
6
+ <link rel="stylesheet" href="/screw.css" type="text/css" charset="utf-8" />
7
7
  <script type="text/javascript" src="/shenandoah/browser-runner.js"></script>
8
8
  </head>
9
9
 
@@ -60,7 +60,7 @@ describe "shen_spec generator" do
60
60
  @input = input
61
61
  @filename = expected_filename
62
62
  end
63
-
63
+
64
64
  def js
65
65
  @js ||= begin
66
66
  generate(@input)
@@ -16,7 +16,7 @@ describe "shenandoah generator" do
16
16
  generate
17
17
  @path = "#{RAILS_ROOT}/lib/tasks/shenandoah.rake"
18
18
  end
19
-
19
+
20
20
  it "happens" do
21
21
  File.exist?(@path).should be_true
22
22
  end
@@ -14,20 +14,20 @@ describe Shenandoah::Buildr::Locator do
14
14
  it "resolves the specs from the base dir" do
15
15
  @loc.spec_path.should == "#{tmpdir}/src/spec/javascript"
16
16
  end
17
-
17
+
18
18
  it "resolves the main source from src main" do
19
19
  @loc.main_path.should == "#{tmpdir}/src/main/javascript"
20
20
  end
21
-
21
+
22
22
  it "uses a path under target for tmp" do
23
23
  @loc.tmp_path.should == "#{tmpdir}/target/shenandoah"
24
24
  end
25
-
25
+
26
26
  it "allows main to be overriden with test.using" do |variable|
27
27
  p = define('another', :base_dir => tmpdir) do
28
28
  test.using :main_path => "/foo"
29
29
  end
30
-
30
+
31
31
  Shenandoah::Buildr::Locator.new(p).main_path.should == "/foo"
32
32
  end
33
33
  end
@@ -46,7 +46,7 @@ describe Shenandoah::DefaultLocator do
46
46
  %w(main_path spec_path tmp_path).each do |kind|
47
47
  k = kind.to_sym
48
48
  it "absolutizes #{kind} against the working directory" do
49
- Shenandoah::DefaultLocator.new(k => 'bar').send(k).should ==
49
+ Shenandoah::DefaultLocator.new(k => 'bar').send(k).should ==
50
50
  File.join(FileUtils.pwd, 'bar')
51
51
  end
52
52
  end
@@ -4,30 +4,30 @@ require 'shenandoah/rails/locator'
4
4
 
5
5
  describe Shenandoah::Rails::Locator do
6
6
  include Shenandoah::Spec::Tmpfile
7
-
7
+
8
8
  before do
9
9
  RAILS_ROOT = tmpdir('rails-root')
10
10
  end
11
-
11
+
12
12
  after do
13
13
  Object.instance_eval { remove_const :RAILS_ROOT }
14
14
  end
15
-
15
+
16
16
  def loc(*args)
17
17
  Shenandoah::Rails::Locator.new(*args)
18
18
  end
19
-
19
+
20
20
  describe "#main_path" do
21
21
  it "uses public/javascripts by default" do
22
22
  loc.main_path.should == "#{tmpdir}/rails-root/public/javascripts"
23
23
  end
24
-
24
+
25
25
  it "accepts an override relative to root" do
26
26
  loc(:main_path => "app/javascript").main_path.
27
27
  should == "#{tmpdir}/rails-root/app/javascript"
28
28
  end
29
29
  end
30
-
30
+
31
31
  describe "#spec_path" do
32
32
  it "uses test/javascript for spec by default" do
33
33
  loc.spec_path.should == "#{tmpdir}/rails-root/test/javascript"
@@ -42,13 +42,13 @@ describe Shenandoah::Rails::Locator do
42
42
  tmpdir('rails-root/examples')
43
43
  loc.spec_path.should == "#{tmpdir}/rails-root/examples/javascript"
44
44
  end
45
-
45
+
46
46
  it "accepts an override relative to root" do
47
47
  loc(:spec_path => "features/javascript").spec_path.
48
48
  should == "#{tmpdir}/rails-root/features/javascript"
49
49
  end
50
50
  end
51
-
51
+
52
52
  describe "#tmp_path" do
53
53
  it "uses the rails tmp directory" do
54
54
  loc.tmp_path.should == "#{tmpdir}/rails-root/tmp/shenandoah"
@@ -6,7 +6,7 @@ require 'shenandoah/rails/tasks'
6
6
 
7
7
  describe Shenandoah::Rails::Tasks do
8
8
  include Shenandoah::Spec::Tmpfile
9
-
9
+
10
10
  before do
11
11
  RAILS_ROOT = tmpdir('rails')
12
12
  end
@@ -73,7 +73,7 @@ describe Shenandoah::Server do
73
73
  %w(main spec).each do |kind|
74
74
  describe "/#{kind}/*" do
75
75
  before do
76
- app.set :locator,
76
+ app.set :locator,
77
77
  Shenandoah::DefaultLocator.new(
78
78
  :"#{kind}_path" => "#{self.tmpdir}/#{kind.hash}")
79
79
  end
@@ -141,7 +141,7 @@ describe Shenandoah::Server do
141
141
 
142
142
  describe "when overridden" do
143
143
  before do
144
- app.set :locator,
144
+ app.set :locator,
145
145
  Shenandoah::DefaultLocator.new(:spec_path => self.tmpdir)
146
146
  tmpfile "screw.css", ".passed { color: blue }"
147
147
  get '/screw.css'
@@ -170,7 +170,7 @@ describe Shenandoah::Server do
170
170
  include RspecHpricotMatchers
171
171
 
172
172
  before do
173
- app.set :locator,
173
+ app.set :locator,
174
174
  Shenandoah::DefaultLocator.new(:spec_path => File.join(self.tmpdir, 'spec'))
175
175
  tmpfile "spec/common_spec.js", "DC"
176
176
  tmpfile "spec/some/thing_spec.js", "DC"
data/spec/spec_helper.rb CHANGED
@@ -6,7 +6,7 @@ SHEN_RAKE_VERSION = '0.8.4'
6
6
  gem 'rake', "= #{SHEN_RAKE_VERSION}"
7
7
 
8
8
  Spec::Runner.configure do |config|
9
-
9
+
10
10
  end
11
11
 
12
12
  module Shenandoah
@@ -17,24 +17,24 @@ module Shenandoah
17
17
  File.join(File.dirname(__FILE__), '..', 'lib')
18
18
  ]
19
19
  end
20
-
20
+
21
21
  module Tmpfile
22
22
  attr_writer :tmpdir
23
-
23
+
24
24
  def tmpfile(name, contents="contents not important")
25
25
  n = "#{tmpdir}/#{name}"
26
26
  FileUtils.mkdir_p File.dirname(n)
27
27
  File.open(n, 'w') { |f| f.write contents }
28
28
  n
29
29
  end
30
-
30
+
31
31
  def tmpscript(name, contents)
32
- tmpfile name,
32
+ tmpfile name,
33
33
  Shenandoah::Spec.load_path_additions.
34
34
  map { |a| "$LOAD_PATH.unshift(#{a.inspect})" }.
35
35
  join("\n") + "\n" + contents
36
36
  end
37
-
37
+
38
38
  def tmpdir(name=nil)
39
39
  n = @tmpdir
40
40
  if (name)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shenandoah
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rhett Sutphin
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-07-14 00:00:00 -05:00
12
+ date: 2009-11-23 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -284,7 +284,6 @@ files:
284
284
  - rails_generators/shenandoah/templates/application_spec.js
285
285
  - rails_generators/shenandoah/templates/shenandoah.rake
286
286
  - rails_generators/shenandoah/templates/spec_helper.js
287
- - shenandoah.gemspec
288
287
  - spec/rails_generators/shen_spec_generator_spec.rb
289
288
  - spec/rails_generators/shenandoah_generator_spec.rb
290
289
  - spec/rails_generators/spec_helper.rb
@@ -323,7 +322,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
323
322
  requirements: []
324
323
 
325
324
  rubyforge_project: detailedbalance
326
- rubygems_version: 1.3.4
325
+ rubygems_version: 1.3.5
327
326
  signing_key:
328
327
  specification_version: 3
329
328
  summary: A javascript test framework for buildr, rails, and other ruby-built projects
data/shenandoah.gemspec DELETED
@@ -1,179 +0,0 @@
1
- # -*- encoding: utf-8 -*-
2
-
3
- Gem::Specification.new do |s|
4
- s.name = %q{shenandoah}
5
- s.version = "0.1.2"
6
-
7
- s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
- s.authors = ["Rhett Sutphin"]
9
- s.date = %q{2009-07-14}
10
- s.email = %q{rhett@detailedbalance.net}
11
- s.extra_rdoc_files = [
12
- "ChangeLog.markdown",
13
- "LICENSE",
14
- "LICENSE-Blue-Ridge",
15
- "LICENSE-Screw.Unit",
16
- "LICENSE-Smoke",
17
- "README.markdown"
18
- ]
19
- s.files = [
20
- ".braids",
21
- ".document",
22
- ".gitignore",
23
- "ChangeLog.markdown",
24
- "LICENSE",
25
- "LICENSE-Blue-Ridge",
26
- "LICENSE-Screw.Unit",
27
- "LICENSE-Smoke",
28
- "README.markdown",
29
- "Rakefile",
30
- "VERSION.yml",
31
- "lib/shenandoah/buildr.rb",
32
- "lib/shenandoah/buildr/locator.rb",
33
- "lib/shenandoah/buildr/shenandoah_tasks.rb",
34
- "lib/shenandoah/buildr/test_framework.rb",
35
- "lib/shenandoah/css/screw.css",
36
- "lib/shenandoah/javascript/browser/runner.js",
37
- "lib/shenandoah/javascript/common/jquery-1.3.2.js",
38
- "lib/shenandoah/javascript/common/jquery.fn.js",
39
- "lib/shenandoah/javascript/common/jquery.print.js",
40
- "lib/shenandoah/javascript/common/screw.behaviors.js",
41
- "lib/shenandoah/javascript/common/screw.builder.js",
42
- "lib/shenandoah/javascript/common/screw.events.js",
43
- "lib/shenandoah/javascript/common/screw.matchers.js",
44
- "lib/shenandoah/javascript/common/screw.mocking.js",
45
- "lib/shenandoah/javascript/common/smoke.core.js",
46
- "lib/shenandoah/javascript/common/smoke.mock.js",
47
- "lib/shenandoah/javascript/common/smoke.stub.js",
48
- "lib/shenandoah/javascript/console/consoleReportForRake.js",
49
- "lib/shenandoah/javascript/console/env.rhino.js",
50
- "lib/shenandoah/javascript/console/js.jar",
51
- "lib/shenandoah/javascript/console/runner.js",
52
- "lib/shenandoah/javascript/console/shell.js.erb",
53
- "lib/shenandoah/locator.rb",
54
- "lib/shenandoah/rails/locator.rb",
55
- "lib/shenandoah/rails/tasks.rb",
56
- "lib/shenandoah/runner.rb",
57
- "lib/shenandoah/server.rb",
58
- "lib/shenandoah/server/views/index.haml",
59
- "lib/shenandoah/tasks.rb",
60
- "rails_generators/shen_spec/shen_spec_generator.rb",
61
- "rails_generators/shen_spec/templates/fixture.html.erb",
62
- "rails_generators/shen_spec/templates/javascript_spec.js.erb",
63
- "rails_generators/shenandoah/shenandoah_generator.rb",
64
- "rails_generators/shenandoah/templates/application.html",
65
- "rails_generators/shenandoah/templates/application_spec.js",
66
- "rails_generators/shenandoah/templates/shenandoah.rake",
67
- "rails_generators/shenandoah/templates/spec_helper.js",
68
- "shenandoah.gemspec",
69
- "spec/rails_generators/shen_spec_generator_spec.rb",
70
- "spec/rails_generators/shenandoah_generator_spec.rb",
71
- "spec/rails_generators/spec_helper.rb",
72
- "spec/shenandoah/buildr/locator_spec.rb",
73
- "spec/shenandoah/buildr/shenandoah_tasks_spec.rb",
74
- "spec/shenandoah/buildr/spec_helper.rb",
75
- "spec/shenandoah/buildr/test_framework_spec.rb",
76
- "spec/shenandoah/locator_spec.rb",
77
- "spec/shenandoah/rails/locator_spec.rb",
78
- "spec/shenandoah/rails/tasks_spec.rb",
79
- "spec/shenandoah/runner_spec.rb",
80
- "spec/shenandoah/server_spec.rb",
81
- "spec/shenandoah/tasks_spec.rb",
82
- "spec/spec_helper.rb"
83
- ]
84
- s.homepage = %q{http://github.com/rsutphin/shenandoah}
85
- s.rdoc_options = ["--charset=UTF-8"]
86
- s.require_paths = ["lib"]
87
- s.rubyforge_project = %q{detailedbalance}
88
- s.rubygems_version = %q{1.3.4}
89
- s.summary = %q{A javascript test framework for buildr, rails, and other ruby-built projects}
90
- s.test_files = [
91
- "spec/rails_generators/shen_spec_generator_spec.rb",
92
- "spec/rails_generators/shenandoah_generator_spec.rb",
93
- "spec/rails_generators/spec_helper.rb",
94
- "spec/shenandoah/buildr/locator_spec.rb",
95
- "spec/shenandoah/buildr/shenandoah_tasks_spec.rb",
96
- "spec/shenandoah/buildr/spec_helper.rb",
97
- "spec/shenandoah/buildr/test_framework_spec.rb",
98
- "spec/shenandoah/locator_spec.rb",
99
- "spec/shenandoah/rails/locator_spec.rb",
100
- "spec/shenandoah/rails/tasks_spec.rb",
101
- "spec/shenandoah/runner_spec.rb",
102
- "spec/shenandoah/server_spec.rb",
103
- "spec/shenandoah/tasks_spec.rb",
104
- "spec/spec_helper.rb"
105
- ]
106
-
107
- if s.respond_to? :specification_version then
108
- current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
109
- s.specification_version = 3
110
-
111
- if Gem::Version.new(Gem::RubyGemsVersion) >= Gem::Version.new('1.2.0') then
112
- s.add_runtime_dependency(%q<sinatra>, [">= 0.9.2"])
113
- s.add_runtime_dependency(%q<haml>, [">= 2.0.9"])
114
- s.add_runtime_dependency(%q<rake>, [">= 0"])
115
- s.add_runtime_dependency(%q<rails>, [">= 2.1.0"])
116
- s.add_development_dependency(%q<rspec>, ["= 1.2.4"])
117
- s.add_development_dependency(%q<rack-test>, [">= 0.3.0"])
118
- s.add_development_dependency(%q<hpricot>, [">= 0.8.1"])
119
- s.add_development_dependency(%q<rspec_hpricot_matchers>, [">= 1.0.0"])
120
- s.add_development_dependency(%q<braid>, [">= 0.5.0"])
121
- s.add_development_dependency(%q<rake>, ["= 0.8.4"])
122
- s.add_development_dependency(%q<net-ssh>, ["= 2.0.11"])
123
- s.add_development_dependency(%q<net-sftp>, ["= 2.0.2"])
124
- s.add_development_dependency(%q<highline>, ["= 1.5.0"])
125
- s.add_development_dependency(%q<hoe>, ["= 1.12.2"])
126
- s.add_development_dependency(%q<rubyzip>, ["= 0.9.1"])
127
- s.add_development_dependency(%q<builder>, ["= 2.1.2"])
128
- s.add_development_dependency(%q<rubyforge>, ["= 1.0.3"])
129
- s.add_development_dependency(%q<rjb>, ["= 1.1.6"])
130
- s.add_development_dependency(%q<Antwrap>, ["= 0.7.0"])
131
- s.add_development_dependency(%q<xml-simple>, ["= 1.0.12"])
132
- s.add_development_dependency(%q<archive-tar-minitar>, ["= 0.5.2"])
133
- else
134
- s.add_dependency(%q<sinatra>, [">= 0.9.2"])
135
- s.add_dependency(%q<haml>, [">= 2.0.9"])
136
- s.add_dependency(%q<rake>, [">= 0"])
137
- s.add_dependency(%q<rails>, [">= 2.1.0"])
138
- s.add_dependency(%q<rspec>, ["= 1.2.4"])
139
- s.add_dependency(%q<rack-test>, [">= 0.3.0"])
140
- s.add_dependency(%q<hpricot>, [">= 0.8.1"])
141
- s.add_dependency(%q<rspec_hpricot_matchers>, [">= 1.0.0"])
142
- s.add_dependency(%q<braid>, [">= 0.5.0"])
143
- s.add_dependency(%q<rake>, ["= 0.8.4"])
144
- s.add_dependency(%q<net-ssh>, ["= 2.0.11"])
145
- s.add_dependency(%q<net-sftp>, ["= 2.0.2"])
146
- s.add_dependency(%q<highline>, ["= 1.5.0"])
147
- s.add_dependency(%q<hoe>, ["= 1.12.2"])
148
- s.add_dependency(%q<rubyzip>, ["= 0.9.1"])
149
- s.add_dependency(%q<builder>, ["= 2.1.2"])
150
- s.add_dependency(%q<rubyforge>, ["= 1.0.3"])
151
- s.add_dependency(%q<rjb>, ["= 1.1.6"])
152
- s.add_dependency(%q<Antwrap>, ["= 0.7.0"])
153
- s.add_dependency(%q<xml-simple>, ["= 1.0.12"])
154
- s.add_dependency(%q<archive-tar-minitar>, ["= 0.5.2"])
155
- end
156
- else
157
- s.add_dependency(%q<sinatra>, [">= 0.9.2"])
158
- s.add_dependency(%q<haml>, [">= 2.0.9"])
159
- s.add_dependency(%q<rake>, [">= 0"])
160
- s.add_dependency(%q<rails>, [">= 2.1.0"])
161
- s.add_dependency(%q<rspec>, ["= 1.2.4"])
162
- s.add_dependency(%q<rack-test>, [">= 0.3.0"])
163
- s.add_dependency(%q<hpricot>, [">= 0.8.1"])
164
- s.add_dependency(%q<rspec_hpricot_matchers>, [">= 1.0.0"])
165
- s.add_dependency(%q<braid>, [">= 0.5.0"])
166
- s.add_dependency(%q<rake>, ["= 0.8.4"])
167
- s.add_dependency(%q<net-ssh>, ["= 2.0.11"])
168
- s.add_dependency(%q<net-sftp>, ["= 2.0.2"])
169
- s.add_dependency(%q<highline>, ["= 1.5.0"])
170
- s.add_dependency(%q<hoe>, ["= 1.12.2"])
171
- s.add_dependency(%q<rubyzip>, ["= 0.9.1"])
172
- s.add_dependency(%q<builder>, ["= 2.1.2"])
173
- s.add_dependency(%q<rubyforge>, ["= 1.0.3"])
174
- s.add_dependency(%q<rjb>, ["= 1.1.6"])
175
- s.add_dependency(%q<Antwrap>, ["= 0.7.0"])
176
- s.add_dependency(%q<xml-simple>, ["= 1.0.12"])
177
- s.add_dependency(%q<archive-tar-minitar>, ["= 0.5.2"])
178
- end
179
- end