jasmine 1.0.1.1 → 1.0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (116) hide show
  1. data/.gitignore +11 -0
  2. data/.gitmodules +3 -0
  3. data/Gemfile +5 -0
  4. data/HOW_TO_TEST.markdown +11 -0
  5. data/README.markdown +42 -14
  6. data/RELEASE.markdown +22 -0
  7. data/Rakefile +76 -0
  8. data/generators/jasmine/jasmine_generator.rb +15 -13
  9. data/generators/jasmine/templates/spec/javascripts/support/jasmine_config.rb +23 -0
  10. data/install.rb +2 -0
  11. data/jasmine.gemspec +52 -0
  12. data/jasmine/Gemfile +6 -0
  13. data/jasmine/MIT.LICENSE +20 -0
  14. data/jasmine/README.markdown +28 -0
  15. data/jasmine/Rakefile +182 -0
  16. data/jasmine/cruise_config.rb +21 -0
  17. data/jasmine/example/spec/PlayerSpec.js +58 -0
  18. data/jasmine/example/spec/SpecHelper.js +9 -0
  19. data/jasmine/example/src/Player.js +22 -0
  20. data/jasmine/example/src/Song.js +7 -0
  21. data/jasmine/images/fail-16.png +0 -0
  22. data/jasmine/images/fail.png +0 -0
  23. data/jasmine/images/go-16.png +0 -0
  24. data/jasmine/images/go.png +0 -0
  25. data/jasmine/images/pending-16.png +0 -0
  26. data/jasmine/images/pending.png +0 -0
  27. data/jasmine/images/question-bk.png +0 -0
  28. data/jasmine/images/questionbk-16.png +0 -0
  29. data/jasmine/images/spinner.gif +0 -0
  30. data/jasmine/jsdoc-template/allclasses.tmpl +17 -0
  31. data/jasmine/jsdoc-template/allfiles.tmpl +56 -0
  32. data/jasmine/jsdoc-template/class.tmpl +646 -0
  33. data/jasmine/jsdoc-template/index.tmpl +39 -0
  34. data/jasmine/jsdoc-template/publish.js +184 -0
  35. data/jasmine/jsdoc-template/static/default.css +162 -0
  36. data/jasmine/jsdoc-template/static/header.html +2 -0
  37. data/jasmine/jsdoc-template/static/index.html +19 -0
  38. data/jasmine/jsdoc-template/symbol.tmpl +35 -0
  39. data/jasmine/spec/runner.html +80 -0
  40. data/jasmine/spec/suites/BaseSpec.js +27 -0
  41. data/jasmine/spec/suites/CustomMatchersSpec.js +97 -0
  42. data/jasmine/spec/suites/EnvSpec.js +158 -0
  43. data/jasmine/spec/suites/ExceptionsSpec.js +107 -0
  44. data/jasmine/spec/suites/JsApiReporterSpec.js +103 -0
  45. data/jasmine/spec/suites/MatchersSpec.js +795 -0
  46. data/jasmine/spec/suites/MockClockSpec.js +38 -0
  47. data/jasmine/spec/suites/MultiReporterSpec.js +45 -0
  48. data/jasmine/spec/suites/NestedResultsSpec.js +54 -0
  49. data/jasmine/spec/suites/PrettyPrintSpec.js +93 -0
  50. data/jasmine/spec/suites/QueueSpec.js +23 -0
  51. data/jasmine/spec/suites/ReporterSpec.js +56 -0
  52. data/jasmine/spec/suites/RunnerSpec.js +267 -0
  53. data/jasmine/spec/suites/SpecRunningSpec.js +1253 -0
  54. data/jasmine/spec/suites/SpecSpec.js +124 -0
  55. data/jasmine/spec/suites/SpySpec.js +201 -0
  56. data/jasmine/spec/suites/SuiteSpec.js +120 -0
  57. data/jasmine/spec/suites/TrivialReporterSpec.js +238 -0
  58. data/jasmine/spec/suites/UtilSpec.js +40 -0
  59. data/jasmine/spec/suites/WaitsForBlockSpec.js +87 -0
  60. data/jasmine/src/Block.js +22 -0
  61. data/jasmine/src/Env.js +264 -0
  62. data/jasmine/src/JsApiReporter.js +102 -0
  63. data/jasmine/src/Matchers.js +354 -0
  64. data/jasmine/src/MultiReporter.js +35 -0
  65. data/jasmine/src/NestedResults.js +80 -0
  66. data/jasmine/src/PrettyPrinter.js +122 -0
  67. data/jasmine/src/Queue.js +99 -0
  68. data/jasmine/src/Reporter.js +31 -0
  69. data/jasmine/src/Runner.js +77 -0
  70. data/jasmine/src/Spec.js +242 -0
  71. data/jasmine/src/Suite.js +82 -0
  72. data/jasmine/src/WaitsBlock.js +13 -0
  73. data/jasmine/src/WaitsForBlock.js +52 -0
  74. data/jasmine/src/base.js +589 -0
  75. data/jasmine/src/html/TrivialReporter.js +188 -0
  76. data/jasmine/src/html/jasmine.css +166 -0
  77. data/jasmine/src/mock-timeout.js +183 -0
  78. data/jasmine/src/util.js +67 -0
  79. data/jasmine/src/version.json +5 -0
  80. data/lib/generators/jasmine/examples/USAGE +11 -0
  81. data/lib/generators/jasmine/examples/examples_generator.rb +19 -0
  82. data/lib/generators/jasmine/examples/templates/public/javascripts/jasmine_examples/Player.js +22 -0
  83. data/lib/generators/jasmine/examples/templates/public/javascripts/jasmine_examples/Song.js +7 -0
  84. data/lib/generators/jasmine/examples/templates/spec/javascripts/helpers/SpecHelper.js +9 -0
  85. data/lib/generators/jasmine/examples/templates/spec/javascripts/jasmine_examples/PlayerSpec.js +58 -0
  86. data/lib/generators/jasmine/install/USAGE +11 -0
  87. data/lib/generators/jasmine/install/install_generator.rb +18 -0
  88. data/lib/generators/jasmine/install/templates/spec/javascripts/helpers/.gitkeep +0 -0
  89. data/lib/generators/jasmine/install/templates/spec/javascripts/support/jasmine.yml +81 -0
  90. data/lib/generators/jasmine/install/templates/spec/javascripts/support/jasmine_config.rb +23 -0
  91. data/lib/generators/jasmine/install/templates/spec/javascripts/support/jasmine_runner.rb +20 -0
  92. data/lib/generators/jasmine/jasmine_generator.rb +32 -0
  93. data/lib/generators/jasmine/templates/INSTALL +9 -0
  94. data/lib/generators/jasmine/templates/lib/tasks/jasmine.rake +2 -0
  95. data/lib/generators/jasmine/templates/spec/javascripts/support/jasmine-rails.yml +81 -0
  96. data/lib/generators/jasmine/templates/spec/javascripts/support/jasmine.yml +73 -0
  97. data/lib/generators/jasmine/templates/spec/javascripts/support/jasmine_config.rb +23 -0
  98. data/lib/generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb +32 -0
  99. data/lib/jasmine.rb +31 -6
  100. data/lib/jasmine/command_line_tool.rb +1 -0
  101. data/lib/jasmine/config.rb +16 -44
  102. data/lib/jasmine/generator.rb +9 -0
  103. data/lib/jasmine/selenium_driver.rb +18 -18
  104. data/lib/jasmine/server.rb +0 -24
  105. data/lib/jasmine/spec_builder.rb +4 -4
  106. data/lib/jasmine/tasks/jasmine.rake +2 -2
  107. data/lib/jasmine/version.rb +3 -0
  108. data/spec/config_spec.rb +174 -123
  109. data/spec/fixture/jasmine.erb.yml +4 -0
  110. data/spec/jasmine_pojs_spec.rb +51 -0
  111. data/spec/jasmine_rails2_spec.rb +93 -0
  112. data/spec/jasmine_rails3_spec.rb +71 -0
  113. data/spec/spec_helper.rb +8 -2
  114. metadata +215 -65
  115. data/spec/bug_fixes_spec.rb +0 -32
  116. data/spec/rails_generator_spec.rb +0 -31
@@ -0,0 +1,4 @@
1
+ src_files:
2
+ <% 3.times do |i| %>
3
+ - <%= "file#{i}.js" %>
4
+ <% end %>
@@ -0,0 +1,51 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
2
+
3
+ describe "POJS jasmine install" do
4
+
5
+ before :each do
6
+ temp_dir_before
7
+ Dir::chdir @tmp
8
+ @install_directory = 'pojs-example'
9
+ Dir::mkdir @install_directory
10
+ Dir::chdir @install_directory
11
+ end
12
+
13
+ after :each do
14
+ temp_dir_after
15
+ end
16
+
17
+ context "when the Jasmine generators are available" do
18
+ before :each do
19
+ `jasmine init`
20
+ end
21
+
22
+ it "should find the Jasmine configuration files" do
23
+ File.exists?("spec/javascripts/support/jasmine.yml").should == true
24
+ File.exists?("spec/javascripts/support/jasmine_runner.rb").should == true
25
+ File.exists?("spec/javascripts/support/jasmine_config.rb").should == true
26
+ end
27
+
28
+ it "should find the Jasmine example files" do
29
+ File.exists?("public/javascripts/Player.js").should == true
30
+ File.exists?("public/javascripts/Song.js").should == true
31
+
32
+ File.exists?("spec/javascripts/PlayerSpec.js").should == true
33
+ File.exists?("spec/javascripts/helpers/SpecHelper.js").should == true
34
+
35
+ File.exists?("spec/javascripts/support/jasmine.yml").should == true
36
+ File.exists?("spec/javascripts/support/jasmine_runner.rb").should == true
37
+ File.exists?("spec/javascripts/support/jasmine_config.rb").should == true
38
+ end
39
+
40
+ it "should show jasmine rake task" do
41
+ output = `rake -T`
42
+ output.should include("jasmine ")
43
+ output.should include("jasmine:ci")
44
+ end
45
+
46
+ it "should successfully run rake jasmine:ci" do
47
+ output = `rake jasmine:ci`
48
+ end
49
+
50
+ end
51
+ end
@@ -0,0 +1,93 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
2
+
3
+ if rails2?
4
+
5
+ describe "A Rails 2 app" do
6
+
7
+ before :each do
8
+ temp_dir_before
9
+ Dir::chdir @tmp
10
+ create_rails 'rails-example'
11
+ Dir::chdir 'rails-example'
12
+ end
13
+
14
+ after :each do
15
+ temp_dir_after
16
+ end
17
+
18
+ context "before Jasmine has been installed" do
19
+
20
+ it "should not the jasmine:install generator" do
21
+ output = `./script/generate --help`
22
+ output.should_not include('jasmine:install')
23
+ end
24
+
25
+ it "should not show jasmine:install help" do
26
+ output = `rails g`
27
+ output.should_not include('This will create')
28
+ end
29
+
30
+ it "should not show jasmine rake task" do
31
+ output = `rake -T`
32
+ output.should_not include("jasmine ")
33
+ end
34
+
35
+ it "should not show jasmine:ci rake task" do
36
+ output = `rake -T`
37
+ output.should_not include("jasmine:ci")
38
+ end
39
+
40
+ end
41
+
42
+ context "when the Jasmine generators are available" do
43
+ before :each do
44
+ `mkdir -p lib/generators && cp -R #{@root}/generators/jasmine lib/generators`
45
+ end
46
+
47
+ it "should show the Jasmine generator" do
48
+ output = `./script/generate --help`
49
+ output.should include("Lib: jasmine")
50
+ end
51
+
52
+ it "should show jasmine:install help" do
53
+ output = `./script/generate jasmine --help`
54
+
55
+ output.should include("Usage: ./script/generate jasmine")
56
+ end
57
+
58
+ context "and been run" do
59
+ before :each do
60
+ `./script/generate jasmine`
61
+ end
62
+
63
+ it "should find the Jasmine configuration files" do
64
+ File.exists?("spec/javascripts/support/jasmine.yml").should == true
65
+ File.exists?("spec/javascripts/support/jasmine_runner.rb").should == true
66
+ File.exists?("spec/javascripts/support/jasmine_config.rb").should == true
67
+ end
68
+
69
+ it "should find the Jasmine example files" do
70
+ File.exists?("public/javascripts/Player.js").should == true
71
+ File.exists?("public/javascripts/Song.js").should == true
72
+
73
+ File.exists?("spec/javascripts/PlayerSpec.js").should == true
74
+ File.exists?("spec/javascripts/helpers/SpecHelper.js").should == true
75
+
76
+ File.exists?("spec/javascripts/support/jasmine.yml").should == true
77
+ File.exists?("spec/javascripts/support/jasmine_runner.rb").should == true
78
+ File.exists?("spec/javascripts/support/jasmine_config.rb").should == true
79
+ end
80
+
81
+ it "should show jasmine rake task" do
82
+ output = `rake -T`
83
+ output.should include("jasmine ")
84
+ end
85
+
86
+ it "should show jasmine:ci rake task" do
87
+ output = `rake -T`
88
+ output.should include("jasmine:ci")
89
+ end
90
+ end
91
+ end
92
+ end
93
+ end
@@ -0,0 +1,71 @@
1
+ require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))
2
+
3
+ if rails3?
4
+
5
+ describe "A Rails 3 app" do
6
+
7
+ before :each do
8
+ temp_dir_before
9
+ Dir::chdir @tmp
10
+
11
+ create_rails 'rails-example'
12
+ Dir::chdir 'rails-example'
13
+ open('Gemfile', 'a') { |f| f.puts "gem \"jasmine\", \"#{Jasmine::VERSION}\"" }
14
+ end
15
+
16
+ after :each do
17
+ temp_dir_after
18
+ end
19
+
20
+ context "when Jasmine has been required" do
21
+ it "should show the Jasmine generators" do
22
+ output = `rails g`
23
+ output.should include("jasmine:install")
24
+ output.should include("jasmine:examples")
25
+ end
26
+
27
+ it "should show jasmine:install help" do
28
+ output = `rails g jasmine:install --help`
29
+ output.should include("rails generate jasmine:install")
30
+ end
31
+
32
+ it "should have the jasmine rake task" do
33
+ output = `rake -T`
34
+ output.should include("jasmine ")
35
+ end
36
+
37
+ it "should have the jasmine:ci rake task" do
38
+ output = `rake -T`
39
+ output.should include("jasmine:ci")
40
+ end
41
+
42
+ context "and then installed" do
43
+ before :each do
44
+ @output = `rails g jasmine:install`
45
+ end
46
+
47
+ it "should have the Jasmine config files" do
48
+ @output.should include("create")
49
+
50
+ File.exists?("spec/javascripts/helpers/.gitkeep").should == true
51
+ File.exists?("spec/javascripts/support/jasmine.yml").should == true
52
+ File.exists?("spec/javascripts/support/jasmine_runner.rb").should == true
53
+ File.exists?("spec/javascripts/support/jasmine_config.rb").should == true
54
+ end
55
+ end
56
+
57
+ context "and the jasmine examples have been installed" do
58
+ it "should find the Jasmine example files" do
59
+ output = `rails g jasmine:examples`
60
+ output.should include("create")
61
+
62
+ File.exists?("public/javascripts/jasmine_examples/Player.js").should == true
63
+ File.exists?("public/javascripts/jasmine_examples/Song.js").should == true
64
+
65
+ File.exists?("spec/javascripts/jasmine_examples/PlayerSpec.js").should == true
66
+ File.exists?("spec/javascripts/helpers/SpecHelper.js").should == true
67
+ end
68
+ end
69
+ end
70
+ end
71
+ end
data/spec/spec_helper.rb CHANGED
@@ -3,12 +3,18 @@ require "bundler"
3
3
  require 'stringio'
4
4
  require 'tmpdir'
5
5
 
6
- Bundler.setup(:default, :test)
6
+ Bundler.setup(:default, :development)
7
+ #Using syck because of 1.9.2/bundler incompatibilites -- this will need to change with the next patch release of 1.9.2
8
+ YAML::ENGINE.yamler = 'syck' if defined?(YAML::ENGINE)
7
9
 
8
10
  def rspec2?
9
11
  Gem.available? "rspec", ">= 2.0"
10
12
  end
11
13
 
14
+ def rails2?
15
+ Gem.available? "rails", "~> 2.3"
16
+ end
17
+
12
18
  def rails3?
13
19
  Gem.available? "rails", ">= 3.0"
14
20
  end
@@ -32,7 +38,7 @@ def create_rails(name)
32
38
  end
33
39
 
34
40
  def create_temp_dir
35
- tmp = File.join(Dir.tmpdir, 'jasmine-gem-test')
41
+ tmp = File.join(Dir.tmpdir, "jasmine-gem-test_#{Time.now.to_f}")
36
42
  FileUtils.rm_r(tmp, :force => true)
37
43
  FileUtils.mkdir(tmp)
38
44
  tmp
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jasmine
3
3
  version: !ruby/object:Gem::Version
4
- hash: 89
5
4
  prerelease: false
6
5
  segments:
7
6
  - 1
8
7
  - 0
9
- - 1
10
- - 1
11
- version: 1.0.1.1
8
+ - 2
9
+ - 0
10
+ version: 1.0.2.0
12
11
  platform: ruby
13
12
  authors:
14
13
  - Rajan Agaskar
@@ -18,115 +17,172 @@ autorequire:
18
17
  bindir: bin
19
18
  cert_chain: []
20
19
 
21
- date: 2010-11-09 00:00:00 -05:00
20
+ date: 2011-04-02 00:00:00 -04:00
22
21
  default_executable: jasmine
23
22
  dependencies:
24
23
  - !ruby/object:Gem::Dependency
25
- type: :runtime
26
- prerelease: false
27
- name: rake
28
- version_requirements: &id001 !ruby/object:Gem::Requirement
24
+ name: rspec
25
+ requirement: &id001 !ruby/object:Gem::Requirement
29
26
  none: false
30
27
  requirements:
31
28
  - - ">="
32
29
  - !ruby/object:Gem::Version
33
- hash: 49
34
30
  segments:
31
+ - 2
32
+ - 5
35
33
  - 0
36
- - 8
37
- - 7
38
- version: 0.8.7
39
- requirement: *id001
34
+ version: 2.5.0
35
+ type: :development
36
+ prerelease: false
37
+ version_requirements: *id001
40
38
  - !ruby/object:Gem::Dependency
41
- type: :runtime
39
+ name: rails
40
+ requirement: &id002 !ruby/object:Gem::Requirement
41
+ none: false
42
+ requirements:
43
+ - - ">="
44
+ - !ruby/object:Gem::Version
45
+ segments:
46
+ - 3
47
+ - 0
48
+ - 3
49
+ version: 3.0.3
50
+ type: :development
42
51
  prerelease: false
43
- name: rspec
44
- version_requirements: &id002 !ruby/object:Gem::Requirement
52
+ version_requirements: *id002
53
+ - !ruby/object:Gem::Dependency
54
+ name: rack
55
+ requirement: &id003 !ruby/object:Gem::Requirement
45
56
  none: false
46
57
  requirements:
47
58
  - - ">="
48
59
  - !ruby/object:Gem::Version
49
- hash: 25
50
60
  segments:
51
61
  - 1
62
+ - 2
52
63
  - 1
53
- - 5
54
- version: 1.1.5
55
- requirement: *id002
64
+ version: 1.2.1
65
+ type: :development
66
+ prerelease: false
67
+ version_requirements: *id003
56
68
  - !ruby/object:Gem::Dependency
57
- type: :runtime
69
+ name: rack-test
70
+ requirement: &id004 !ruby/object:Gem::Requirement
71
+ none: false
72
+ requirements:
73
+ - - ">="
74
+ - !ruby/object:Gem::Version
75
+ segments:
76
+ - 0
77
+ version: "0"
78
+ type: :development
58
79
  prerelease: false
59
- name: rack
60
- version_requirements: &id003 !ruby/object:Gem::Requirement
80
+ version_requirements: *id004
81
+ - !ruby/object:Gem::Dependency
82
+ name: gem-release
83
+ requirement: &id005 !ruby/object:Gem::Requirement
61
84
  none: false
62
85
  requirements:
63
86
  - - ">="
64
87
  - !ruby/object:Gem::Version
65
- hash: 23
66
88
  segments:
67
- - 1
68
89
  - 0
69
90
  - 0
70
- version: 1.0.0
71
- requirement: *id003
72
- - !ruby/object:Gem::Dependency
73
- type: :runtime
91
+ - 16
92
+ version: 0.0.16
93
+ type: :development
74
94
  prerelease: false
75
- name: selenium-rc
76
- version_requirements: &id004 !ruby/object:Gem::Requirement
95
+ version_requirements: *id005
96
+ - !ruby/object:Gem::Dependency
97
+ name: ci_reporter
98
+ requirement: &id006 !ruby/object:Gem::Requirement
77
99
  none: false
78
100
  requirements:
79
101
  - - ">="
80
102
  - !ruby/object:Gem::Version
81
- hash: 11
82
103
  segments:
83
- - 2
84
- - 1
85
104
  - 0
86
- version: 2.1.0
87
- requirement: *id004
105
+ version: "0"
106
+ type: :development
107
+ prerelease: false
108
+ version_requirements: *id006
88
109
  - !ruby/object:Gem::Dependency
110
+ name: rack
111
+ requirement: &id007 !ruby/object:Gem::Requirement
112
+ none: false
113
+ requirements:
114
+ - - ">="
115
+ - !ruby/object:Gem::Version
116
+ segments:
117
+ - 1
118
+ - 1
119
+ version: "1.1"
89
120
  type: :runtime
90
121
  prerelease: false
91
- name: selenium-client
92
- version_requirements: &id005 !ruby/object:Gem::Requirement
122
+ version_requirements: *id007
123
+ - !ruby/object:Gem::Dependency
124
+ name: rspec
125
+ requirement: &id008 !ruby/object:Gem::Requirement
93
126
  none: false
94
127
  requirements:
95
128
  - - ">="
96
129
  - !ruby/object:Gem::Version
97
- hash: 61
98
130
  segments:
99
131
  - 1
100
- - 2
101
- - 17
102
- version: 1.2.17
103
- requirement: *id005
104
- - !ruby/object:Gem::Dependency
132
+ - 3
133
+ - 1
134
+ version: 1.3.1
105
135
  type: :runtime
106
136
  prerelease: false
137
+ version_requirements: *id008
138
+ - !ruby/object:Gem::Dependency
107
139
  name: json_pure
108
- version_requirements: &id006 !ruby/object:Gem::Requirement
140
+ requirement: &id009 !ruby/object:Gem::Requirement
109
141
  none: false
110
142
  requirements:
111
143
  - - ">="
112
144
  - !ruby/object:Gem::Version
113
- hash: 1
114
145
  segments:
115
146
  - 1
116
147
  - 4
117
148
  - 3
118
149
  version: 1.4.3
119
- requirement: *id006
120
- description: Javascript BDD test framework
150
+ type: :runtime
151
+ prerelease: false
152
+ version_requirements: *id009
153
+ - !ruby/object:Gem::Dependency
154
+ name: selenium-webdriver
155
+ requirement: &id010 !ruby/object:Gem::Requirement
156
+ none: false
157
+ requirements:
158
+ - - ">="
159
+ - !ruby/object:Gem::Version
160
+ segments:
161
+ - 0
162
+ - 1
163
+ - 3
164
+ version: 0.1.3
165
+ type: :runtime
166
+ prerelease: false
167
+ version_requirements: *id010
168
+ description: Test your JavaScript without any framework dependencies, in any environment, and with a nice descriptive syntax.
121
169
  email: jasmine-js@googlegroups.com
122
170
  executables:
123
171
  - jasmine
124
172
  extensions: []
125
173
 
126
- extra_rdoc_files:
127
- - README.markdown
174
+ extra_rdoc_files: []
175
+
128
176
  files:
177
+ - .gitignore
178
+ - .gitmodules
179
+ - Gemfile
180
+ - HOW_TO_TEST.markdown
129
181
  - MIT.LICENSE
182
+ - README.markdown
183
+ - RELEASE.markdown
184
+ - Rakefile
185
+ - bin/jasmine
130
186
  - generators/jasmine/jasmine_generator.rb
131
187
  - generators/jasmine/templates/INSTALL
132
188
  - generators/jasmine/templates/jasmine-example/SpecRunner.html
@@ -137,31 +193,123 @@ files:
137
193
  - generators/jasmine/templates/lib/tasks/jasmine.rake
138
194
  - generators/jasmine/templates/spec/javascripts/support/jasmine-rails.yml
139
195
  - generators/jasmine/templates/spec/javascripts/support/jasmine.yml
196
+ - generators/jasmine/templates/spec/javascripts/support/jasmine_config.rb
140
197
  - generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
141
- - jasmine/example/SpecRunner.html
142
- - jasmine/lib/jasmine-html.js
143
- - jasmine/lib/jasmine.css
144
- - jasmine/lib/jasmine.js
145
- - jasmine/lib/json2.js
198
+ - install.rb
199
+ - jasmine.gemspec
200
+ - lib/generators/jasmine/examples/USAGE
201
+ - lib/generators/jasmine/examples/examples_generator.rb
202
+ - lib/generators/jasmine/examples/templates/public/javascripts/jasmine_examples/Player.js
203
+ - lib/generators/jasmine/examples/templates/public/javascripts/jasmine_examples/Song.js
204
+ - lib/generators/jasmine/examples/templates/spec/javascripts/helpers/SpecHelper.js
205
+ - lib/generators/jasmine/examples/templates/spec/javascripts/jasmine_examples/PlayerSpec.js
206
+ - lib/generators/jasmine/install/USAGE
207
+ - lib/generators/jasmine/install/install_generator.rb
208
+ - lib/generators/jasmine/install/templates/spec/javascripts/helpers/.gitkeep
209
+ - lib/generators/jasmine/install/templates/spec/javascripts/support/jasmine.yml
210
+ - lib/generators/jasmine/install/templates/spec/javascripts/support/jasmine_config.rb
211
+ - lib/generators/jasmine/install/templates/spec/javascripts/support/jasmine_runner.rb
212
+ - lib/generators/jasmine/jasmine_generator.rb
213
+ - lib/generators/jasmine/templates/INSTALL
214
+ - lib/generators/jasmine/templates/lib/tasks/jasmine.rake
215
+ - lib/generators/jasmine/templates/spec/javascripts/support/jasmine-rails.yml
216
+ - lib/generators/jasmine/templates/spec/javascripts/support/jasmine.yml
217
+ - lib/generators/jasmine/templates/spec/javascripts/support/jasmine_config.rb
218
+ - lib/generators/jasmine/templates/spec/javascripts/support/jasmine_runner.rb
146
219
  - lib/jasmine.rb
147
220
  - lib/jasmine/base.rb
148
221
  - lib/jasmine/command_line_tool.rb
149
222
  - lib/jasmine/config.rb
223
+ - lib/jasmine/generator.rb
150
224
  - lib/jasmine/run.html.erb
151
225
  - lib/jasmine/selenium_driver.rb
152
226
  - lib/jasmine/server.rb
153
227
  - lib/jasmine/spec_builder.rb
154
228
  - lib/jasmine/tasks/jasmine.rake
155
- - README.markdown
156
- - spec/bug_fixes_spec.rb
229
+ - lib/jasmine/version.rb
157
230
  - spec/config_spec.rb
231
+ - spec/fixture/jasmine.erb.yml
158
232
  - spec/jasmine_command_line_tool_spec.rb
233
+ - spec/jasmine_pojs_spec.rb
234
+ - spec/jasmine_rails2_spec.rb
235
+ - spec/jasmine_rails3_spec.rb
159
236
  - spec/jasmine_self_test_config.rb
160
237
  - spec/jasmine_self_test_spec.rb
161
- - spec/rails_generator_spec.rb
162
238
  - spec/server_spec.rb
163
239
  - spec/spec_helper.rb
164
- - bin/jasmine
240
+ - jasmine/cruise_config.rb
241
+ - jasmine/example/spec/PlayerSpec.js
242
+ - jasmine/example/spec/SpecHelper.js
243
+ - jasmine/example/SpecRunner.html
244
+ - jasmine/example/src/Player.js
245
+ - jasmine/example/src/Song.js
246
+ - jasmine/Gemfile
247
+ - jasmine/images/fail-16.png
248
+ - jasmine/images/fail.png
249
+ - jasmine/images/go-16.png
250
+ - jasmine/images/go.png
251
+ - jasmine/images/pending-16.png
252
+ - jasmine/images/pending.png
253
+ - jasmine/images/question-bk.png
254
+ - jasmine/images/questionbk-16.png
255
+ - jasmine/images/spinner.gif
256
+ - jasmine/jsdoc-template/allclasses.tmpl
257
+ - jasmine/jsdoc-template/allfiles.tmpl
258
+ - jasmine/jsdoc-template/class.tmpl
259
+ - jasmine/jsdoc-template/index.tmpl
260
+ - jasmine/jsdoc-template/publish.js
261
+ - jasmine/jsdoc-template/static/default.css
262
+ - jasmine/jsdoc-template/static/header.html
263
+ - jasmine/jsdoc-template/static/index.html
264
+ - jasmine/jsdoc-template/symbol.tmpl
265
+ - jasmine/lib/jasmine-html.js
266
+ - jasmine/lib/jasmine.css
267
+ - jasmine/lib/jasmine.js
268
+ - jasmine/lib/json2.js
269
+ - jasmine/MIT.LICENSE
270
+ - jasmine/Rakefile
271
+ - jasmine/README.markdown
272
+ - jasmine/spec/runner.html
273
+ - jasmine/spec/suites/BaseSpec.js
274
+ - jasmine/spec/suites/CustomMatchersSpec.js
275
+ - jasmine/spec/suites/EnvSpec.js
276
+ - jasmine/spec/suites/ExceptionsSpec.js
277
+ - jasmine/spec/suites/JsApiReporterSpec.js
278
+ - jasmine/spec/suites/MatchersSpec.js
279
+ - jasmine/spec/suites/MockClockSpec.js
280
+ - jasmine/spec/suites/MultiReporterSpec.js
281
+ - jasmine/spec/suites/NestedResultsSpec.js
282
+ - jasmine/spec/suites/PrettyPrintSpec.js
283
+ - jasmine/spec/suites/QueueSpec.js
284
+ - jasmine/spec/suites/ReporterSpec.js
285
+ - jasmine/spec/suites/RunnerSpec.js
286
+ - jasmine/spec/suites/SpecRunningSpec.js
287
+ - jasmine/spec/suites/SpecSpec.js
288
+ - jasmine/spec/suites/SpySpec.js
289
+ - jasmine/spec/suites/SuiteSpec.js
290
+ - jasmine/spec/suites/TrivialReporterSpec.js
291
+ - jasmine/spec/suites/UtilSpec.js
292
+ - jasmine/spec/suites/WaitsForBlockSpec.js
293
+ - jasmine/src/base.js
294
+ - jasmine/src/Block.js
295
+ - jasmine/src/Env.js
296
+ - jasmine/src/html/jasmine.css
297
+ - jasmine/src/html/TrivialReporter.js
298
+ - jasmine/src/JsApiReporter.js
299
+ - jasmine/src/Matchers.js
300
+ - jasmine/src/mock-timeout.js
301
+ - jasmine/src/MultiReporter.js
302
+ - jasmine/src/NestedResults.js
303
+ - jasmine/src/PrettyPrinter.js
304
+ - jasmine/src/Queue.js
305
+ - jasmine/src/Reporter.js
306
+ - jasmine/src/Runner.js
307
+ - jasmine/src/Spec.js
308
+ - jasmine/src/Suite.js
309
+ - jasmine/src/util.js
310
+ - jasmine/src/version.json
311
+ - jasmine/src/WaitsBlock.js
312
+ - jasmine/src/WaitsForBlock.js
165
313
  has_rdoc: true
166
314
  homepage: http://pivotal.github.com/jasmine
167
315
  licenses: []
@@ -176,7 +324,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
176
324
  requirements:
177
325
  - - ">="
178
326
  - !ruby/object:Gem::Version
179
- hash: 3
327
+ hash: 92967853
180
328
  segments:
181
329
  - 0
182
330
  version: "0"
@@ -185,7 +333,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
185
333
  requirements:
186
334
  - - ">="
187
335
  - !ruby/object:Gem::Version
188
- hash: 3
336
+ hash: 92967853
189
337
  segments:
190
338
  - 0
191
339
  version: "0"
@@ -195,13 +343,15 @@ rubyforge_project:
195
343
  rubygems_version: 1.3.7
196
344
  signing_key:
197
345
  specification_version: 3
198
- summary: Jasmine Runner for Ruby
346
+ summary: JavaScript BDD framework
199
347
  test_files:
200
- - spec/bug_fixes_spec.rb
201
348
  - spec/config_spec.rb
349
+ - spec/fixture/jasmine.erb.yml
202
350
  - spec/jasmine_command_line_tool_spec.rb
351
+ - spec/jasmine_pojs_spec.rb
352
+ - spec/jasmine_rails2_spec.rb
353
+ - spec/jasmine_rails3_spec.rb
203
354
  - spec/jasmine_self_test_config.rb
204
355
  - spec/jasmine_self_test_spec.rb
205
- - spec/rails_generator_spec.rb
206
356
  - spec/server_spec.rb
207
357
  - spec/spec_helper.rb