jasmine 0.10.2.3 → 0.10.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,23 +1,30 @@
1
1
  namespace :jasmine do
2
- require 'jasmine'
2
+ task :require do
3
+ require 'jasmine'
4
+ end
3
5
 
4
6
  desc "Run continuous integration tests"
5
- require "spec"
6
- require 'spec/rake/spectask'
7
- Spec::Rake::SpecTask.new(:ci) do |t|
8
- t.spec_opts = ["--color", "--format", "specdoc"]
9
- t.verbose = true
10
- t.spec_files = ['spec/javascripts/support/jasmine_runner.rb']
11
- end
12
- task :server do
13
- jasmine_config_overrides = 'spec/javascripts/support/jasmine_config.rb'
14
- require jasmine_config_overrides if File.exists?(jasmine_config_overrides)
15
-
16
- puts "your tests are here:"
17
- puts " http://localhost:8888/run.html"
7
+ task :ci => "jasmine:require" do
8
+ require "spec"
9
+ require 'spec/rake/spectask'
18
10
 
19
- Jasmine::Config.new.start_server
11
+ Spec::Rake::SpecTask.new(:jasmine_continuous_integration_runner) do |t|
12
+ t.spec_opts = ["--color", "--format", "specdoc"]
13
+ t.verbose = true
14
+ t.spec_files = ['spec/javascripts/support/jasmine_runner.rb']
20
15
  end
16
+ Rake::Task["jasmine_continuous_integration_runner"].invoke
17
+ end
18
+
19
+ task :server => "jasmine:require" do
20
+ jasmine_config_overrides = 'spec/javascripts/support/jasmine_config.rb'
21
+ require jasmine_config_overrides if File.exists?(jasmine_config_overrides)
22
+
23
+ puts "your tests are here:"
24
+ puts " http://localhost:8888/run.html"
25
+
26
+ Jasmine::Config.new.start_server
27
+ end
21
28
  end
22
29
 
23
30
  desc "Run specs via server"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jasmine
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2.3
4
+ version: 0.10.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rajan Agaskar
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2010-03-20 00:00:00 -07:00
13
+ date: 2010-04-01 00:00:00 -07:00
14
14
  default_executable: jasmine
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency