evergreen 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (84) hide show
  1. checksums.yaml +15 -0
  2. data/README.rdoc +8 -6
  3. data/lib/evergreen.rb +8 -6
  4. data/lib/evergreen/application.rb +2 -5
  5. data/lib/evergreen/helper.rb +33 -0
  6. data/lib/evergreen/runner.rb +1 -1
  7. data/lib/evergreen/server.rb +1 -0
  8. data/lib/evergreen/suite.rb +6 -0
  9. data/lib/evergreen/version.rb +1 -1
  10. data/lib/evergreen/views/run.erb +16 -6
  11. data/lib/jasmine/Contribute.markdown +8 -7
  12. data/lib/jasmine/Gemfile +0 -1
  13. data/lib/jasmine/README.markdown +1 -8
  14. data/lib/jasmine/Rakefile +26 -15
  15. data/lib/jasmine/Release.markdown +8 -6
  16. data/lib/jasmine/config.rb +29 -0
  17. data/lib/jasmine/jasmine-core.gemspec +9 -2
  18. data/lib/jasmine/jasmine_dev.thor +1 -0
  19. data/lib/jasmine/jshint/run.js +1 -1
  20. data/lib/jasmine/lib/jasmine-core/jasmine-html.js +427 -1
  21. data/lib/jasmine/lib/jasmine-core/jasmine.css +81 -166
  22. data/lib/jasmine/lib/jasmine-core/jasmine.js +245 -192
  23. data/lib/jasmine/lib/jasmine-core/version.rb +1 -1
  24. data/lib/jasmine/spec/core/MatchersSpec.js +273 -0
  25. data/lib/jasmine/spec/core/PrettyPrintSpec.js +7 -0
  26. data/lib/jasmine/spec/html/HTMLReporterSpec.js +209 -0
  27. data/lib/jasmine/spec/node_suite.js +2 -2
  28. data/lib/jasmine/spec/runner.html +10 -3
  29. data/lib/jasmine/spec/spec_helper.rb +51 -0
  30. data/lib/jasmine/spec/tasks/build_distribution_spec.rb +33 -0
  31. data/lib/jasmine/spec/tasks/build_github_pages_spec.rb +69 -0
  32. data/lib/jasmine/spec/tasks/build_standalone_distribution_spec.rb +109 -0
  33. data/lib/jasmine/spec/tasks/build_standalone_runner_spec.rb +63 -0
  34. data/lib/jasmine/spec/tasks/count_specs_spec.rb +26 -0
  35. data/lib/jasmine/spec/tasks/execute_specs_spec.rb +81 -0
  36. data/lib/jasmine/spec/tasks/jshint_spec.rb +39 -0
  37. data/lib/jasmine/spec/tasks/release_spec.rb +39 -0
  38. data/lib/jasmine/spec/tasks/version_spec.rb +55 -0
  39. data/lib/jasmine/spec/templates/runner.html.erb +3 -3
  40. data/lib/jasmine/src/core/Env.js +10 -2
  41. data/lib/jasmine/src/core/Matchers.js +33 -4
  42. data/lib/jasmine/src/core/PrettyPrinter.js +2 -2
  43. data/lib/jasmine/src/core/base.js +15 -0
  44. data/lib/jasmine/src/core/mock-timeout.js +0 -0
  45. data/lib/jasmine/src/html/HtmlReporter.js +101 -0
  46. data/lib/jasmine/src/html/HtmlReporterHelpers.js +60 -0
  47. data/lib/jasmine/src/html/ReporterView.js +164 -0
  48. data/lib/jasmine/src/html/SpecView.js +79 -0
  49. data/lib/jasmine/src/html/SuiteView.js +22 -0
  50. data/lib/jasmine/src/html/TrivialReporter.js +3 -1
  51. data/lib/jasmine/src/html/_HTMLReporter.scss +302 -0
  52. data/lib/jasmine/src/html/_TrivialReporter.scss +169 -0
  53. data/lib/jasmine/src/html/jasmine.css +81 -166
  54. data/lib/jasmine/src/html/jasmine.scss +2 -0
  55. data/lib/jasmine/src/templates/version.js.erb +1 -0
  56. data/lib/jasmine/src/version.js +3 -2
  57. data/lib/jasmine/src/version.json +1 -1
  58. data/lib/jasmine/tasks/jasmine_dev.rb +18 -0
  59. data/lib/jasmine/tasks/jasmine_dev/base.rb +54 -0
  60. data/lib/jasmine/tasks/jasmine_dev/build_distribution.rb +53 -0
  61. data/lib/jasmine/tasks/jasmine_dev/build_github_pages.rb +31 -0
  62. data/lib/jasmine/tasks/jasmine_dev/build_standalone_distribution.rb +49 -0
  63. data/lib/jasmine/tasks/jasmine_dev/build_standalone_runner.rb +59 -0
  64. data/lib/jasmine/tasks/jasmine_dev/count_specs.rb +29 -0
  65. data/lib/jasmine/tasks/jasmine_dev/execute_specs.rb +52 -0
  66. data/lib/jasmine/tasks/jasmine_dev/js_hint.rb +13 -0
  67. data/lib/jasmine/tasks/jasmine_dev/release.rb +16 -0
  68. data/lib/jasmine/tasks/jasmine_dev/sources.rb +32 -0
  69. data/lib/jasmine/tasks/jasmine_dev/version.rb +62 -0
  70. data/spec/helper_spec.rb +25 -0
  71. data/spec/suite1/spec/javascripts/{spec_helper.coffee → helpers/spec_helper.coffee} +0 -0
  72. data/spec/suite1/spec/javascripts/{spec_helper.js → helpers/spec_helper.js} +0 -0
  73. data/spec/suite1/spec/javascripts/templates_spec.js +6 -6
  74. data/spec/suite2/spec/awesome_spec.js +1 -1
  75. data/spec/suite_spec.rb +6 -0
  76. metadata +116 -52
  77. data/lib/jasmine/src/SourcesList.json +0 -7
  78. data/lib/jasmine/tasks/build_dist.rb +0 -48
  79. data/lib/jasmine/tasks/build_specs.rb +0 -50
  80. data/lib/jasmine/tasks/helpers.rb +0 -50
  81. data/lib/jasmine/tasks/pages.rb +0 -13
  82. data/lib/jasmine/tasks/spec.rb +0 -37
  83. data/lib/jasmine/tasks/standalone.rb +0 -91
  84. data/lib/jasmine/tasks/version.rb +0 -5
@@ -0,0 +1,59 @@
1
+ class JasmineDev < Thor
2
+ include Thor::Actions
3
+
4
+ desc "build_standalone_runner", "Build HTML spec runner for Jasmine standalone distribution"
5
+
6
+ def build_standalone_runner
7
+ say JasmineDev.spacer
8
+
9
+ say "Building standalone runner HTML...", :cyan
10
+
11
+ create_file File.join(standalone_temp_dir, 'SpecRunner.html') do
12
+ template = Tilt.new(File.join('spec', 'templates','runner.html.erb'))
13
+
14
+ scope = OpenStruct.new(:title => "Jasmine Spec Runner",
15
+ :favicon => example_favicon,
16
+ :jasmine_tags => example_jasmine_tags,
17
+ :source_tags => example_source_tags,
18
+ :spec_file_tags => example_spec_tags)
19
+ template.render(scope)
20
+ end
21
+ end
22
+
23
+ no_tasks do
24
+ def standalone_temp_dir
25
+ @standalone_temp_dir ||= File.join(Dir.tmpdir, 'jasmine_standalone', "jasmine-standalone-#{version_string}")
26
+ end
27
+
28
+ def example_path
29
+ File.join('lib', "jasmine-#{version_string}")
30
+ end
31
+
32
+ def example_favicon
33
+ %Q{<link rel="shortcut icon" type="image/png" href="#{example_path}/jasmine_favicon.png">}
34
+ end
35
+
36
+ def script_tags_for(files)
37
+ srcs = (files.is_a?(String) ? [files] : files)
38
+ srcs.inject([]) do |tags, file|
39
+ tags << %Q{<script type="text/javascript" src="#{file}"></script>}
40
+ tags
41
+ end.join("\n ")
42
+ end
43
+
44
+ def example_jasmine_tags
45
+ tags = %Q{<link rel="stylesheet" type="text/css" href="#{example_path}/jasmine.css">}
46
+ tags << "\n "
47
+ tags << script_tags_for(["#{example_path}/jasmine.js", "#{example_path}/jasmine-html.js"])
48
+ tags
49
+ end
50
+
51
+ def example_source_tags
52
+ script_tags_for ['spec/SpecHelper.js', 'spec/PlayerSpec.js']
53
+ end
54
+
55
+ def example_spec_tags
56
+ script_tags_for ['src/Player.js', 'src/Song.js']
57
+ end
58
+ end
59
+ end
@@ -0,0 +1,29 @@
1
+ class JasmineDev < Thor
2
+
3
+ desc "count_specs", "Count the number of specs for each test runner"
4
+ def count_specs
5
+ say JasmineDev.spacer
6
+ say "Counting specs...", :cyan
7
+
8
+ core_spec_count = count_specs_in(File.join('spec', 'core'))
9
+ console_spec_count = count_specs_in(File.join('spec', 'console'))
10
+ html_spec_count = count_specs_in(File.join('spec', 'html'))
11
+
12
+ say "#{(core_spec_count + console_spec_count).to_s} ", :yellow
13
+ say "specs for Node.js runner (exclude DOM-related specs)"
14
+ say "#{(core_spec_count + console_spec_count + html_spec_count).to_s} ", :yellow
15
+ say "specs for Browser runner (all specs)"
16
+ say "\n"
17
+ say "Please verify that these numbers match the runner output."
18
+ end
19
+
20
+ no_tasks do
21
+ def count_specs_in(relative_path)
22
+ files = Dir.glob(File.join(JasmineDev.project_root, relative_path, '*.js'))
23
+ files.inject(0) do |count, file|
24
+ File.read(file).scan(/\sit\s*\(/) { |s| count += 1 }
25
+ count
26
+ end
27
+ end
28
+ end
29
+ end
@@ -0,0 +1,52 @@
1
+ class JasmineDev < Thor
2
+
3
+ desc "execute_specs_in_node", "Run all relevant specs in Node.js"
4
+
5
+ def execute_specs_in_node
6
+ return unless node_installed?
7
+
8
+ invoke :build_distribution
9
+ invoke :count_specs
10
+
11
+ say JasmineDev.spacer
12
+
13
+ say "Running all appropriate specs via Node.js...", :cyan
14
+
15
+ with_color_option = STDOUT.isatty ? "--color" : "--noColor"
16
+
17
+ run_with_output "node spec/node_suite.js #{with_color_option}", :capture => true
18
+ end
19
+
20
+ desc "execute_specs_in_browser", "Run all relevent specs in your default browser"
21
+
22
+ def execute_specs_in_browser
23
+ invoke :build_distribution
24
+ invoke :count_specs
25
+
26
+ say JasmineDev.spacer
27
+
28
+ say "Running all appropriate specs via the default web browser...", :cyan
29
+
30
+ open_specs_in_browser
31
+ end
32
+
33
+ desc "execute_specs", "Run all of Jasmine's JavaScript specs"
34
+
35
+ def execute_specs
36
+ invoke :execute_specs_in_node
37
+ invoke :execute_specs_in_browser
38
+ end
39
+
40
+ no_tasks do
41
+ def open_specs_in_browser
42
+ require 'rbconfig'
43
+
44
+ case Object.const_get(defined?(RbConfig) ? :RbConfig : :Config)::CONFIG['host_os']
45
+ when /linux/
46
+ run "xdg-open spec/runner.html"
47
+ else
48
+ run "open spec/runner.html"
49
+ end
50
+ end
51
+ end
52
+ end
@@ -0,0 +1,13 @@
1
+ class JasmineDev < Thor
2
+
3
+ desc "js_hint", "Run Jasmine source through JSHint"
4
+ def js_hint
5
+ say JasmineDev.spacer
6
+
7
+ return unless node_installed?
8
+
9
+ say "Running JSHint on Jasmine source and specs...", :cyan
10
+
11
+ run_with_output "node jshint/run.js", :capture => true
12
+ end
13
+ end
@@ -0,0 +1,16 @@
1
+ class JasmineDev < Thor
2
+
3
+ desc 'release_prep', "Update version and build distributions"
4
+ def release_prep
5
+ say JasmineDev.spacer
6
+
7
+ say "Building Release...", :cyan
8
+
9
+ return unless pages_submodule_installed?
10
+
11
+ invoke :write_version_files
12
+ invoke :build_distribution
13
+ invoke :build_standalone_distribution
14
+ invoke :build_github_pages
15
+ end
16
+ end
@@ -0,0 +1,32 @@
1
+ class JasmineDev < Thor
2
+ JASMINE_SOURCES = {
3
+ :core => [
4
+ "base.js",
5
+ "util.js",
6
+ "Env.js",
7
+ "Reporter.js",
8
+ "Block.js",
9
+ "JsApiReporter.js",
10
+ "Matchers.js",
11
+ "mock-timeout.js",
12
+ "MultiReporter.js",
13
+ "NestedResults.js",
14
+ "PrettyPrinter.js",
15
+ "Queue.js",
16
+ "Runner.js",
17
+ "Spec.js",
18
+ "Suite.js",
19
+ "WaitsBlock.js",
20
+ "WaitsForBlock.js"
21
+ ],
22
+
23
+ :html => [
24
+ "HtmlReporterHelpers.js",
25
+ "HtmlReporter.js",
26
+ "ReporterView.js",
27
+ "SpecView.js",
28
+ "SuiteView.js",
29
+ "TrivialReporter.js"
30
+ ]
31
+ }
32
+ end
@@ -0,0 +1,62 @@
1
+ class JasmineDev < Thor
2
+
3
+ desc "write_version_files", "Write out version files"
4
+
5
+ def write_version_files
6
+ say JasmineDev.spacer
7
+
8
+ say "Building version files", :cyan
9
+
10
+ scope = OpenStruct.new(:major => version_object["major"],
11
+ :minor => version_object["minor"],
12
+ :build => version_object["build"],
13
+ :release_candidate => version_object["release_candidate"],
14
+ :revision => Time.now.to_i)
15
+
16
+ js_template = Tilt.new(File.join(JasmineDev.project_root, 'src', 'templates', 'version.js.erb'))
17
+ create_file File.join(JasmineDev.project_root, 'src', 'version.js'), :force => true do
18
+ js_template.render(scope)
19
+ end
20
+
21
+ rb_template = Tilt.new(File.join(JasmineDev.project_root, 'src', 'templates', 'version.rb.erb'))
22
+
23
+ create_file File.join(JasmineDev.project_root, 'lib', 'jasmine-core', 'version.rb'), :force => true do
24
+ rb_template.render(scope)
25
+ end
26
+ end
27
+
28
+ desc "display_version", "Display version currently stored in source"
29
+
30
+ def display_version
31
+
32
+ say "Current version information from src/version.json", :cyan
33
+
34
+ say "Display version: "
35
+ say "#{version_string}", :yellow
36
+
37
+ say "Version object: "
38
+ say "#{version_object_old}", :yellow
39
+ end
40
+
41
+ no_tasks do
42
+ def version
43
+ @version ||= File.read(File.join(JasmineDev.project_root, 'src', 'version.json'))
44
+ end
45
+
46
+ def version_string
47
+ display = "#{version_object['major']}.#{version_object['minor']}.#{version_object['build']}"
48
+ display += ".rc#{version_object['release_candidate']}" if version_object['release_candidate']
49
+ display
50
+ end
51
+
52
+ def version_object
53
+ @version_object ||= JSON.parse(version)
54
+ end
55
+
56
+ def version_object_old
57
+ version.gsub("\n", " ").
58
+ gsub(/\s+/, " ").
59
+ gsub(/\}\s+$/, "}")
60
+ end
61
+ end
62
+ end
@@ -0,0 +1,25 @@
1
+ require 'spec_helper'
2
+
3
+ describe Evergreen::Helper do
4
+ let(:suite) { Evergreen::Suite.new }
5
+ subject { Evergreen::Helper.new(suite, 'spec_helper.js') }
6
+
7
+ its(:name) { should == 'spec_helper.js' }
8
+ its(:root) { should == File.expand_path('suite1', File.dirname(__FILE__)) }
9
+ its(:full_path) { should == File.expand_path("spec/javascripts/helpers/spec_helper.js", Evergreen.root) }
10
+ its(:contents) { should =~ %r(var SpecHelper = { spec: 'helper' };) }
11
+
12
+ context "with coffeescript" do
13
+ subject { Evergreen::Helper.new(suite, 'spec_helper.coffee') }
14
+ its(:contents) { should =~ /window.CoffeeSpecHelper/ }
15
+ end
16
+
17
+ context "with existing spec file" do
18
+ it { should exist }
19
+ end
20
+
21
+ context "with missing spec file" do
22
+ subject { Evergreen::Helper.new(suite, 'does_not_exist.js') }
23
+ it { should_not exist }
24
+ end
25
+ end
@@ -1,10 +1,10 @@
1
1
  require('/jquery.js');
2
- stylesheet('/styles.css')
2
+ stylesheet('/styles.css');
3
3
 
4
4
  describe('templates', function() {
5
5
 
6
6
  describe('with template', function() {
7
- template('one_template.html')
7
+ template('one_template.html');
8
8
 
9
9
  it("should append the template to the test div", function() {
10
10
  expect($('#test h1#from-template').length).toEqual(1);
@@ -26,7 +26,7 @@ describe('templates', function() {
26
26
  });
27
27
 
28
28
  describe('with another template', function() {
29
- template('another_template.html')
29
+ template('another_template.html');
30
30
 
31
31
  it("should append the template to the test div", function() {
32
32
  expect($('#test h1#another-template').length).toEqual(1);
@@ -34,7 +34,7 @@ describe('templates', function() {
34
34
  });
35
35
 
36
36
  describe('with template with script tags', function() {
37
- template('script_tags.html')
37
+ template('script_tags.html');
38
38
 
39
39
  it("should append the template to the test div", function() {
40
40
  expect($('#test h1#script-tags').length).toEqual(1);
@@ -44,9 +44,9 @@ describe('templates', function() {
44
44
  });
45
45
 
46
46
  describe('stylesheet', function() {
47
- template('one_template.html')
47
+ template('one_template.html');
48
48
 
49
49
  it("should style the template", function() {
50
- expect(document.getElementById('from-template').offsetWidth).toEqual(300)
50
+ expect($('#from-template').css('width')).toEqual('300px');
51
51
  });
52
52
  });
@@ -1,4 +1,4 @@
1
- require('/foo.js')
1
+ require('/foo.js');
2
2
 
3
3
  describe('awesome', function() {
4
4
  template('foo.html');
@@ -22,4 +22,10 @@ describe Evergreen::Suite do
22
22
  subject.templates.map(&:name).should include('one_template.html', 'another_template.html')
23
23
  end
24
24
  end
25
+
26
+ describe '#spec_helpers' do
27
+ it "should find all spec helpers in the given helpers directory" do
28
+ subject.helpers.map(&:name).should include('spec_helper.js', 'spec_helper.coffee')
29
+ end
30
+ end
25
31
  end
metadata CHANGED
@@ -1,107 +1,145 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: evergreen
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
5
- prerelease:
4
+ version: 1.0.1
6
5
  platform: ruby
7
6
  authors:
8
7
  - Jonas Nicklas
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2011-11-02 00:00:00.000000000Z
11
+ date: 2013-05-30 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: capybara
16
- requirement: &2181151940 !ruby/object:Gem::Requirement
17
- none: false
15
+ requirement: !ruby/object:Gem::Requirement
18
16
  requirements:
19
17
  - - ~>
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.0'
22
20
  type: :runtime
23
21
  prerelease: false
24
- version_requirements: *2181151940
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - ~>
25
+ - !ruby/object:Gem::Version
26
+ version: '1.0'
25
27
  - !ruby/object:Gem::Dependency
26
28
  name: launchy
27
- requirement: &2181151500 !ruby/object:Gem::Requirement
28
- none: false
29
+ requirement: !ruby/object:Gem::Requirement
29
30
  requirements:
30
31
  - - ! '>='
31
32
  - !ruby/object:Gem::Version
32
33
  version: '0'
33
34
  type: :runtime
34
35
  prerelease: false
35
- version_requirements: *2181151500
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ! '>='
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
36
41
  - !ruby/object:Gem::Dependency
37
42
  name: sinatra
38
- requirement: &2181150920 !ruby/object:Gem::Requirement
39
- none: false
43
+ requirement: !ruby/object:Gem::Requirement
40
44
  requirements:
41
45
  - - ~>
42
46
  - !ruby/object:Gem::Version
43
47
  version: '1.1'
44
48
  type: :runtime
45
49
  prerelease: false
46
- version_requirements: *2181150920
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ~>
53
+ - !ruby/object:Gem::Version
54
+ version: '1.1'
47
55
  - !ruby/object:Gem::Dependency
48
56
  name: json_pure
49
- requirement: &2181150480 !ruby/object:Gem::Requirement
50
- none: false
57
+ requirement: !ruby/object:Gem::Requirement
51
58
  requirements:
52
59
  - - ! '>='
53
60
  - !ruby/object:Gem::Version
54
61
  version: '0'
55
62
  type: :runtime
56
63
  prerelease: false
57
- version_requirements: *2181150480
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - ! '>='
67
+ - !ruby/object:Gem::Version
68
+ version: '0'
58
69
  - !ruby/object:Gem::Dependency
59
70
  name: coffee-script
60
- requirement: &2181150020 !ruby/object:Gem::Requirement
61
- none: false
71
+ requirement: !ruby/object:Gem::Requirement
62
72
  requirements:
63
73
  - - ! '>='
64
74
  - !ruby/object:Gem::Version
65
75
  version: '0'
66
76
  type: :runtime
67
77
  prerelease: false
68
- version_requirements: *2181150020
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - ! '>='
81
+ - !ruby/object:Gem::Version
82
+ version: '0'
69
83
  - !ruby/object:Gem::Dependency
70
84
  name: rspec
71
- requirement: &2181149500 !ruby/object:Gem::Requirement
72
- none: false
85
+ requirement: !ruby/object:Gem::Requirement
73
86
  requirements:
74
87
  - - ~>
75
88
  - !ruby/object:Gem::Version
76
89
  version: '2.0'
77
90
  type: :development
78
91
  prerelease: false
79
- version_requirements: *2181149500
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - ~>
95
+ - !ruby/object:Gem::Version
96
+ version: '2.0'
80
97
  - !ruby/object:Gem::Dependency
81
98
  name: capybara-webkit
82
- requirement: &2181148940 !ruby/object:Gem::Requirement
83
- none: false
99
+ requirement: !ruby/object:Gem::Requirement
84
100
  requirements:
85
- - - ! '>='
101
+ - - ~>
86
102
  - !ruby/object:Gem::Version
87
- version: 1.0.0.beta4
103
+ version: '0.7'
88
104
  type: :development
89
105
  prerelease: false
90
- version_requirements: *2181148940
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - ~>
109
+ - !ruby/object:Gem::Version
110
+ version: '0.7'
91
111
  - !ruby/object:Gem::Dependency
92
112
  name: therubyracer
93
- requirement: &2181148460 !ruby/object:Gem::Requirement
94
- none: false
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - ~>
116
+ - !ruby/object:Gem::Version
117
+ version: '0.9'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
95
121
  requirements:
96
122
  - - ~>
97
123
  - !ruby/object:Gem::Version
98
124
  version: '0.9'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rake
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - ! '>='
130
+ - !ruby/object:Gem::Version
131
+ version: '0'
99
132
  type: :development
100
133
  prerelease: false
101
- version_requirements: *2181148460
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - ! '>='
137
+ - !ruby/object:Gem::Version
138
+ version: '0'
102
139
  description: Run Jasmine JavaScript unit tests, integrate them into Ruby applications.
103
140
  email:
104
141
  - jonas.nicklas@gmail.com
142
+ - abe.petrillo@gmail.com
105
143
  executables:
106
144
  - evergreen
107
145
  extensions: []
@@ -111,6 +149,7 @@ files:
111
149
  - bin/evergreen
112
150
  - lib/evergreen/application.rb
113
151
  - lib/evergreen/cli.rb
152
+ - lib/evergreen/helper.rb
114
153
  - lib/evergreen/rails.rb
115
154
  - lib/evergreen/resources/elabs.png
116
155
  - lib/evergreen/resources/evergreen.css
@@ -132,8 +171,14 @@ files:
132
171
  - lib/evergreen.rb
133
172
  - lib/jasmine/Contribute.markdown
134
173
  - lib/jasmine/Gemfile
174
+ - lib/jasmine/MIT.LICENSE
175
+ - lib/jasmine/README.markdown
176
+ - lib/jasmine/Rakefile
177
+ - lib/jasmine/Release.markdown
178
+ - lib/jasmine/config.rb
135
179
  - lib/jasmine/images/jasmine_favicon.png
136
180
  - lib/jasmine/jasmine-core.gemspec
181
+ - lib/jasmine/jasmine_dev.thor
137
182
  - lib/jasmine/jsdoc-template/allclasses.tmpl
138
183
  - lib/jasmine/jsdoc-template/allfiles.tmpl
139
184
  - lib/jasmine/jsdoc-template/class.tmpl
@@ -145,9 +190,9 @@ files:
145
190
  - lib/jasmine/jsdoc-template/symbol.tmpl
146
191
  - lib/jasmine/jshint/jshint.js
147
192
  - lib/jasmine/jshint/run.js
193
+ - lib/jasmine/lib/jasmine-core/example/SpecRunner.html
148
194
  - lib/jasmine/lib/jasmine-core/example/spec/PlayerSpec.js
149
195
  - lib/jasmine/lib/jasmine-core/example/spec/SpecHelper.js
150
- - lib/jasmine/lib/jasmine-core/example/SpecRunner.html
151
196
  - lib/jasmine/lib/jasmine-core/example/src/Player.js
152
197
  - lib/jasmine/lib/jasmine-core/example/src/Song.js
153
198
  - lib/jasmine/lib/jasmine-core/jasmine-html.js
@@ -156,10 +201,6 @@ files:
156
201
  - lib/jasmine/lib/jasmine-core/json2.js
157
202
  - lib/jasmine/lib/jasmine-core/version.rb
158
203
  - lib/jasmine/lib/jasmine-core.rb
159
- - lib/jasmine/MIT.LICENSE
160
- - lib/jasmine/Rakefile
161
- - lib/jasmine/README.markdown
162
- - lib/jasmine/Release.markdown
163
204
  - lib/jasmine/spec/console/ConsoleReporterSpec.js
164
205
  - lib/jasmine/spec/core/BaseSpec.js
165
206
  - lib/jasmine/spec/core/CustomMatchersSpec.js
@@ -180,20 +221,29 @@ files:
180
221
  - lib/jasmine/spec/core/SuiteSpec.js
181
222
  - lib/jasmine/spec/core/UtilSpec.js
182
223
  - lib/jasmine/spec/core/WaitsForBlockSpec.js
224
+ - lib/jasmine/spec/html/HTMLReporterSpec.js
183
225
  - lib/jasmine/spec/html/MatchersHtmlSpec.js
184
226
  - lib/jasmine/spec/html/PrettyPrintHtmlSpec.js
185
227
  - lib/jasmine/spec/html/TrivialReporterSpec.js
186
228
  - lib/jasmine/spec/node_suite.js
187
229
  - lib/jasmine/spec/runner.html
230
+ - lib/jasmine/spec/spec_helper.rb
231
+ - lib/jasmine/spec/tasks/build_distribution_spec.rb
232
+ - lib/jasmine/spec/tasks/build_github_pages_spec.rb
233
+ - lib/jasmine/spec/tasks/build_standalone_distribution_spec.rb
234
+ - lib/jasmine/spec/tasks/build_standalone_runner_spec.rb
235
+ - lib/jasmine/spec/tasks/count_specs_spec.rb
236
+ - lib/jasmine/spec/tasks/execute_specs_spec.rb
237
+ - lib/jasmine/spec/tasks/jshint_spec.rb
238
+ - lib/jasmine/spec/tasks/release_spec.rb
239
+ - lib/jasmine/spec/tasks/version_spec.rb
188
240
  - lib/jasmine/spec/templates/runner.html.erb
189
241
  - lib/jasmine/spec/templates/script_tag.html.erb
190
242
  - lib/jasmine/src/console/ConsoleReporter.js
191
- - lib/jasmine/src/core/base.js
192
243
  - lib/jasmine/src/core/Block.js
193
244
  - lib/jasmine/src/core/Env.js
194
245
  - lib/jasmine/src/core/JsApiReporter.js
195
246
  - lib/jasmine/src/core/Matchers.js
196
- - lib/jasmine/src/core/mock-timeout.js
197
247
  - lib/jasmine/src/core/MultiReporter.js
198
248
  - lib/jasmine/src/core/NestedResults.js
199
249
  - lib/jasmine/src/core/PrettyPrinter.js
@@ -202,27 +252,42 @@ files:
202
252
  - lib/jasmine/src/core/Runner.js
203
253
  - lib/jasmine/src/core/Spec.js
204
254
  - lib/jasmine/src/core/Suite.js
205
- - lib/jasmine/src/core/util.js
206
255
  - lib/jasmine/src/core/WaitsBlock.js
207
256
  - lib/jasmine/src/core/WaitsForBlock.js
208
- - lib/jasmine/src/html/jasmine.css
257
+ - lib/jasmine/src/core/base.js
258
+ - lib/jasmine/src/core/mock-timeout.js
259
+ - lib/jasmine/src/core/util.js
260
+ - lib/jasmine/src/html/HtmlReporter.js
261
+ - lib/jasmine/src/html/HtmlReporterHelpers.js
262
+ - lib/jasmine/src/html/ReporterView.js
263
+ - lib/jasmine/src/html/SpecView.js
264
+ - lib/jasmine/src/html/SuiteView.js
209
265
  - lib/jasmine/src/html/TrivialReporter.js
210
- - lib/jasmine/src/SourcesList.json
266
+ - lib/jasmine/src/html/_HTMLReporter.scss
267
+ - lib/jasmine/src/html/_TrivialReporter.scss
268
+ - lib/jasmine/src/html/jasmine.css
269
+ - lib/jasmine/src/html/jasmine.scss
211
270
  - lib/jasmine/src/templates/example_project_jasmine_tags.html.erb
212
271
  - lib/jasmine/src/templates/version.js.erb
213
272
  - lib/jasmine/src/templates/version.rb.erb
214
273
  - lib/jasmine/src/version.js
215
274
  - lib/jasmine/src/version.json
216
- - lib/jasmine/tasks/build_dist.rb
217
- - lib/jasmine/tasks/build_specs.rb
218
275
  - lib/jasmine/tasks/docs.rb
219
- - lib/jasmine/tasks/helpers.rb
220
- - lib/jasmine/tasks/pages.rb
221
- - lib/jasmine/tasks/spec.rb
222
- - lib/jasmine/tasks/standalone.rb
223
- - lib/jasmine/tasks/version.rb
276
+ - lib/jasmine/tasks/jasmine_dev/base.rb
277
+ - lib/jasmine/tasks/jasmine_dev/build_distribution.rb
278
+ - lib/jasmine/tasks/jasmine_dev/build_github_pages.rb
279
+ - lib/jasmine/tasks/jasmine_dev/build_standalone_distribution.rb
280
+ - lib/jasmine/tasks/jasmine_dev/build_standalone_runner.rb
281
+ - lib/jasmine/tasks/jasmine_dev/count_specs.rb
282
+ - lib/jasmine/tasks/jasmine_dev/execute_specs.rb
283
+ - lib/jasmine/tasks/jasmine_dev/js_hint.rb
284
+ - lib/jasmine/tasks/jasmine_dev/release.rb
285
+ - lib/jasmine/tasks/jasmine_dev/sources.rb
286
+ - lib/jasmine/tasks/jasmine_dev/version.rb
287
+ - lib/jasmine/tasks/jasmine_dev.rb
224
288
  - lib/tasks/evergreen.rake
225
289
  - spec/evergreen_spec.rb
290
+ - spec/helper_spec.rb
226
291
  - spec/meta_spec.rb
227
292
  - spec/runner_spec.rb
228
293
  - spec/spec_helper.rb
@@ -233,12 +298,12 @@ files:
233
298
  - spec/suite1/spec/javascripts/coffeescript_spec.coffee
234
299
  - spec/suite1/spec/javascripts/failing_spec.js
235
300
  - spec/suite1/spec/javascripts/foo_spec.js
301
+ - spec/suite1/spec/javascripts/helpers/spec_helper.coffee
302
+ - spec/suite1/spec/javascripts/helpers/spec_helper.js
236
303
  - spec/suite1/spec/javascripts/invalid_coffee_spec.coffee
237
304
  - spec/suite1/spec/javascripts/libs/lucid_spec.js
238
305
  - spec/suite1/spec/javascripts/models/game_spec.js
239
306
  - spec/suite1/spec/javascripts/slow_spec.coffee
240
- - spec/suite1/spec/javascripts/spec_helper.coffee
241
- - spec/suite1/spec/javascripts/spec_helper.js
242
307
  - spec/suite1/spec/javascripts/templates/another_template.html
243
308
  - spec/suite1/spec/javascripts/templates/escape.html
244
309
  - spec/suite1/spec/javascripts/templates/one_template.html
@@ -258,6 +323,7 @@ files:
258
323
  - README.rdoc
259
324
  homepage: http://github.com/jnicklas/evergreen
260
325
  licenses: []
326
+ metadata: {}
261
327
  post_install_message:
262
328
  rdoc_options:
263
329
  - --main
@@ -265,21 +331,19 @@ rdoc_options:
265
331
  require_paths:
266
332
  - lib
267
333
  required_ruby_version: !ruby/object:Gem::Requirement
268
- none: false
269
334
  requirements:
270
335
  - - ! '>='
271
336
  - !ruby/object:Gem::Version
272
337
  version: '0'
273
338
  required_rubygems_version: !ruby/object:Gem::Requirement
274
- none: false
275
339
  requirements:
276
340
  - - ! '>='
277
341
  - !ruby/object:Gem::Version
278
342
  version: '0'
279
343
  requirements: []
280
344
  rubyforge_project: evergreen
281
- rubygems_version: 1.8.6
345
+ rubygems_version: 2.0.3
282
346
  signing_key:
283
- specification_version: 3
347
+ specification_version: 4
284
348
  summary: Run Jasmine JavaScript unit tests, integrate them into Ruby applications.
285
349
  test_files: []