guard-jasmine-headless-webkit 0.3.2 → 0.4.0.rc1
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.
- data/Gemfile +11 -4
- data/Guardfile +6 -8
- data/README.md +17 -24
- data/Rakefile +3 -2
- data/features/runner.feature +33 -0
- data/features/step_definitions/given/i_am_going_to_call_a_runner.rb +13 -0
- data/features/step_definitions/given/i_am_going_to_get_a_notification.rb +3 -0
- data/features/step_definitions/then/i_should_get_reporters.rb +3 -0
- data/features/step_definitions/then/reporter_string_should_not_have_changed.rb +3 -0
- data/features/step_definitions/when/i_dont_specify_a_reporter.rb +3 -0
- data/features/step_definitions/when/i_run_the_runner.rb +3 -0
- data/features/step_definitions/when/i_specify_reporter.rb +6 -0
- data/features/support/env.rb +30 -0
- data/guard-jasmine-headless-webkit.gemspec +1 -1
- data/lib/guard/jasmine-headless-webkit.rb +8 -33
- data/lib/guard/jasmine-headless-webkit/runner.rb +48 -30
- data/lib/guard/jasmine-headless-webkit/templates/Guardfile +3 -5
- data/spec/lib/guard/jasmine-headless-webkit/runner_spec.rb +31 -1
- data/spec/lib/guard/jasmine-headless-webkit_spec.rb +0 -38
- metadata +30 -9
data/Gemfile
CHANGED
@@ -2,12 +2,19 @@ source "http://rubygems.org"
|
|
2
2
|
|
3
3
|
# Specify your gem's dependencies in guard-jasmine-headless-webkit.gemspec
|
4
4
|
gemspec
|
5
|
-
gem '
|
5
|
+
gem 'rake', '0.9.2'
|
6
|
+
|
6
7
|
gem 'rspec'
|
8
|
+
gem 'cucumber'
|
7
9
|
gem 'mocha'
|
8
|
-
gem 'rake', '0.9.2'
|
9
|
-
gem 'growl'
|
10
10
|
gem 'fakefs', :require => nil
|
11
|
+
|
11
12
|
gem 'jasmine-headless-webkit', :path => '../jasmine-headless-webkit'
|
12
|
-
|
13
|
+
|
14
|
+
gem 'guard', :git => 'git://github.com/guard/guard.git'
|
13
15
|
gem 'guard-rspec'
|
16
|
+
gem 'guard-cucumber'
|
17
|
+
|
18
|
+
gem 'growl'
|
19
|
+
gem 'rb-fsevent'
|
20
|
+
|
data/Guardfile
CHANGED
@@ -5,13 +5,11 @@ guard 'rspec', :cli => '-c', :version => 2 do
|
|
5
5
|
watch(%r{^spec/.+_spec\.rb})
|
6
6
|
watch(%r{^lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
7
7
|
watch('spec/spec_helper.rb') { "spec" }
|
8
|
+
end
|
8
9
|
|
9
|
-
|
10
|
-
watch(
|
11
|
-
watch(
|
12
|
-
watch(
|
13
|
-
watch(%r{^spec/.+_spec\.rb})
|
14
|
-
watch(%r{^app/(.+)\.rb}) { |m| "spec/#{m[1]}_spec.rb" }
|
15
|
-
watch(%r{^lib/(.+)\.rb}) { |m| "spec/lib/#{m[1]}_spec.rb" }
|
16
|
-
watch(%r{^app/controllers/(.+)_(controller)\.rb}) { |m| ["spec/routing/#{m[1]}_routing_spec.rb", "spec/#{m[2]}s/#{m[1]}_#{m[2]}_spec.rb", "spec/acceptance/#{m[1]}_spec.rb"] }
|
10
|
+
guard 'cucumber', :cli => '-f pretty' do
|
11
|
+
watch(%r{^features/.+\.feature$})
|
12
|
+
watch(%r{^features/support/.+$}) { 'features' }
|
13
|
+
watch(%r{^features/step_definitions/(.+)_steps\.rb$}) { |m| Dir[File.join("**/#{m[1]}.feature")][0] || 'features' }
|
17
14
|
end
|
15
|
+
|
data/README.md
CHANGED
@@ -2,9 +2,11 @@
|
|
2
2
|
|
3
3
|
Add running your Jasmine specs to your `Guardfile` via [`jasmine-headless-webkit`](http://github.com/johnbintz/jasmine-headless-webkit/). Nice!
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
``` ruby
|
6
|
+
guard 'jasmine-headless-webkit' do
|
7
|
+
watch(%r{^app/assets/javascripts/(.*)\..*}) { |m| newest_js_file("spec/javascripts/#{m[1]}_spec") }
|
8
|
+
end
|
9
|
+
```
|
8
10
|
|
9
11
|
`gem install guard-jasmine-headless-webkit` and then `guard init jasmine-headless-webkit` in your project directory to get started.
|
10
12
|
You should also put it in your `Gemfile` because, hey, why not, right?
|
@@ -18,22 +20,22 @@ home folder's `.jasmine-headless-webkit` file.
|
|
18
20
|
* `:valid_extensions => %w{js coffee}` to only trigger `run_on_change` events for files with these extensions. Forces Guard to re-run all tests when any other matched file changes.
|
19
21
|
* All other options from `Jasmine::Headless::Runner`: (see the [list of available options](https://github.com/johnbintz/jasmine-headless-webkit/blob/master/lib/jasmine/headless/options.rb#L11A))
|
20
22
|
|
21
|
-
|
22
|
-
* `:run_before => "<command to run>"` to run a command before running specs. If the command fails, the test run stops.
|
23
|
+
## Using with .erb files in the Rails 3.1 Asset Pipeline and/or Jammit
|
23
24
|
|
24
|
-
|
25
|
-
|
26
|
-
Use [`guard-rails-assets`](https://github.com/dnagir/guard-rails-assets) chained in before `guard-jasmine-headless-webkit` to precompile your application
|
25
|
+
If your code required Jammit or ERB templates, which aren't directly supported by `jasmine-headledd-webkit`,
|
26
|
+
use [`guard-rails-assets`](https://github.com/dnagir/guard-rails-assets) chained in before `guard-jasmine-headless-webkit` to precompile your application
|
27
27
|
code for testing:
|
28
28
|
|
29
|
-
|
30
|
-
|
31
|
-
|
29
|
+
``` ruby
|
30
|
+
guard 'rails-assets' do
|
31
|
+
watch(%r{^app/assets/javascripts/.*})
|
32
|
+
end
|
32
33
|
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
34
|
+
guard 'jasmine-headless-webkit' do
|
35
|
+
watch(%r{^public/assets/.*\.js})
|
36
|
+
... specs ...
|
37
|
+
end
|
38
|
+
```
|
37
39
|
|
38
40
|
Do the same for Jammit, using [`guard-jammit`](http://github.com/guard/guard-jammit).
|
39
41
|
|
@@ -51,12 +53,3 @@ file is a little more complicated. `newest_js_file` extends the Guard DSL to sea
|
|
51
53
|
|
52
54
|
If you 100% know you won't need that support, modify your `Guardfile` as appropriate.
|
53
55
|
|
54
|
-
## ...and the `.jst` file search?
|
55
|
-
|
56
|
-
I use [Backbone.js](http://documentcloud.github.com/backbone/) a lot, and I put my Underscore view templates in `app/views/*.jst`
|
57
|
-
and mash them all together with [Jammit](https://github.com/documentcloud/jammit) for use in my apps. Feel free to change that, it's your `Guardfile` after all.
|
58
|
-
Or, try it. It's easy to do in your `assets.yml` file:
|
59
|
-
|
60
|
-
templates:
|
61
|
-
- app/views/*.jst
|
62
|
-
|
data/Rakefile
CHANGED
@@ -13,11 +13,11 @@ require 'rspec/core/rake_task'
|
|
13
13
|
|
14
14
|
RSpec::Core::RakeTask.new(:spec)
|
15
15
|
|
16
|
-
PLATFORMS = %w{1.8.7 1.9.2 ree 1.9.3
|
16
|
+
PLATFORMS = %w{1.8.7 1.9.2 ree 1.9.3}
|
17
17
|
|
18
18
|
def rvm_bundle(command = '')
|
19
19
|
Bundler.with_clean_env do
|
20
|
-
system %{bash -c 'unset BUNDLE_BIN_PATH && unset BUNDLE_GEMFILE && rvm #{PLATFORMS.join(',')} do bundle #{command}'}
|
20
|
+
system %{bash -c 'unset BUNDLE_BIN_PATH && unset BUNDLE_GEMFILE && rvm #{PLATFORMS.join(',')} do bundle #{command}'}
|
21
21
|
end
|
22
22
|
end
|
23
23
|
|
@@ -29,6 +29,7 @@ namespace :spec do
|
|
29
29
|
task :platforms do
|
30
30
|
rvm_bundle "update"
|
31
31
|
rvm_bundle "exec rspec spec"
|
32
|
+
rvm_bundle "exec cucumber"
|
32
33
|
raise SpecError.new if $?.exitstatus != 0
|
33
34
|
end
|
34
35
|
end
|
@@ -0,0 +1,33 @@
|
|
1
|
+
Feature: Runner
|
2
|
+
Scenario: Don't specify a reporter
|
3
|
+
Given I am going to call a JHW runner with the following reporters:
|
4
|
+
| name | file |
|
5
|
+
| Console | |
|
6
|
+
| File | notify-file |
|
7
|
+
And I am going to get a notification file
|
8
|
+
When I don't specify a reporter
|
9
|
+
And I run the runner
|
10
|
+
Then I should get the reporters
|
11
|
+
|
12
|
+
Scenario: Specify another console reporter
|
13
|
+
Given I am going to call a JHW runner with the following reporters:
|
14
|
+
| name | file |
|
15
|
+
| Verbose | |
|
16
|
+
| File | notify-file |
|
17
|
+
And I am going to get a notification file
|
18
|
+
When I specify the reporter "Verbose"
|
19
|
+
And I run the runner
|
20
|
+
Then I should get the reporters
|
21
|
+
And the reporter string should not have changed
|
22
|
+
|
23
|
+
Scenario: Specify two reporters
|
24
|
+
Given I am going to call a JHW runner with the following reporters:
|
25
|
+
| name | file |
|
26
|
+
| Verbose | |
|
27
|
+
| Tap | tap-file |
|
28
|
+
| File | notify-file |
|
29
|
+
And I am going to get a notification file
|
30
|
+
When I specify the reporter "Verbose Tap:tap-file"
|
31
|
+
And I run the runner
|
32
|
+
Then I should get the reporters
|
33
|
+
|
@@ -0,0 +1,13 @@
|
|
1
|
+
Given /^I am going to call a JHW runner with the following reporters:$/ do |table|
|
2
|
+
reporters = []
|
3
|
+
|
4
|
+
table.rows.each do | name, file |
|
5
|
+
reporters << [ name ]
|
6
|
+
|
7
|
+
reporters.last << file if !file.empty?
|
8
|
+
end
|
9
|
+
|
10
|
+
Jasmine::Headless::Runner.expects(:run).with(has_entry(:reporters => reporters))
|
11
|
+
Guard::JasmineHeadlessWebkit::Runner.expects(:notify)
|
12
|
+
end
|
13
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
require 'rspec'
|
2
|
+
require 'mocha'
|
3
|
+
require 'fakefs/safe'
|
4
|
+
|
5
|
+
require 'jasmine-headless-webkit'
|
6
|
+
require 'guard/jasmine-headless-webkit'
|
7
|
+
|
8
|
+
require 'coffee-script'
|
9
|
+
|
10
|
+
World(Mocha::API)
|
11
|
+
|
12
|
+
Before do
|
13
|
+
mocha_setup
|
14
|
+
|
15
|
+
FakeFS.activate!
|
16
|
+
|
17
|
+
@report_file = 'notify-file'
|
18
|
+
@paths = []
|
19
|
+
end
|
20
|
+
|
21
|
+
After do
|
22
|
+
begin
|
23
|
+
mocha_verify
|
24
|
+
ensure
|
25
|
+
mocha_teardown
|
26
|
+
end
|
27
|
+
|
28
|
+
FakeFS.deactivate!
|
29
|
+
end
|
30
|
+
|
@@ -26,8 +26,6 @@ module Guard
|
|
26
26
|
@filtered_options = options
|
27
27
|
DEFAULT_OPTIONS.keys.each { |key| @filtered_options.delete(key) }
|
28
28
|
|
29
|
-
UI.deprecation ":run_before is deprecated. Use guard-shell to do something beforehand. This will be removed in a future release." if @options[:run_before]
|
30
|
-
|
31
29
|
@files_to_rerun = []
|
32
30
|
end
|
33
31
|
|
@@ -43,25 +41,18 @@ module Guard
|
|
43
41
|
|
44
42
|
def run_all
|
45
43
|
run_something_and_rescue do
|
46
|
-
|
47
|
-
|
48
|
-
run_for_failed_files if run_all_things_before
|
44
|
+
run_for_failed_files
|
49
45
|
end
|
50
46
|
end
|
51
47
|
|
52
48
|
def run_on_change(paths)
|
53
49
|
run_something_and_rescue do
|
54
|
-
paths = filter_paths(paths)
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
run_for_failed_files(paths)
|
62
|
-
else
|
63
|
-
run_all
|
64
|
-
end
|
50
|
+
if !(paths = filter_paths(paths)).empty?
|
51
|
+
paths = (paths + @files_to_rerun).uniq
|
52
|
+
|
53
|
+
run_for_failed_files(paths)
|
54
|
+
else
|
55
|
+
run_all
|
65
56
|
end
|
66
57
|
end
|
67
58
|
end
|
@@ -75,7 +66,7 @@ module Guard
|
|
75
66
|
end
|
76
67
|
failed_files = Runner.run(paths, @filtered_options)
|
77
68
|
@files_to_rerun = failed_files || paths
|
78
|
-
|
69
|
+
|
79
70
|
failed_files && @files_to_rerun.empty?
|
80
71
|
end
|
81
72
|
|
@@ -87,22 +78,6 @@ module Guard
|
|
87
78
|
%r{\.(#{@options[:valid_extensions].join('|')})$}
|
88
79
|
end
|
89
80
|
|
90
|
-
def run_before
|
91
|
-
run_a_thing_before(:run_before, @options[:run_before])
|
92
|
-
end
|
93
|
-
|
94
|
-
def run_a_thing_before(option, *args)
|
95
|
-
if @options[option] && !@ran_before
|
96
|
-
run_program(*args)
|
97
|
-
else
|
98
|
-
true
|
99
|
-
end
|
100
|
-
end
|
101
|
-
|
102
|
-
def run_all_things_before
|
103
|
-
run_before
|
104
|
-
end
|
105
|
-
|
106
81
|
def run_program(name, command = nil)
|
107
82
|
command ||= name
|
108
83
|
UI.info "Guard::JasmineHeadlessWebkit running #{name}..."
|
@@ -4,46 +4,64 @@ require 'jasmine-headless-webkit'
|
|
4
4
|
module Guard
|
5
5
|
class JasmineHeadlessWebkit
|
6
6
|
class Runner
|
7
|
-
|
8
|
-
|
9
|
-
file = Tempfile.new('guard-jasmine-headless-webkit')
|
10
|
-
file.close
|
7
|
+
def self.run(paths = [], options = {})
|
8
|
+
report_file = notify_report_file
|
11
9
|
|
12
|
-
|
10
|
+
options = options.merge(:reporters => process_reporters(options[:reporters], report_file), :colors => true, :files => paths)
|
13
11
|
|
14
|
-
|
12
|
+
Jasmine::Headless::Runner.run(options)
|
15
13
|
|
16
|
-
|
17
|
-
|
14
|
+
notify(report_file)
|
15
|
+
end
|
18
16
|
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
17
|
+
def self.notify_report_file
|
18
|
+
file = Tempfile.new('guard-jasmine-headless-webkit')
|
19
|
+
file.close
|
20
|
+
file.path
|
21
|
+
end
|
22
|
+
|
23
|
+
def self.process_reporters(reporters, report_file)
|
24
|
+
reporters ||= 'Console'
|
25
|
+
|
26
|
+
out = []
|
27
|
+
|
28
|
+
reporters.split(' ').each do |reporter|
|
29
|
+
name, file = reporter.split(':', 2)
|
30
|
+
|
31
|
+
out << [ name ]
|
32
|
+
out.last << file if file && !file.empty?
|
29
33
|
end
|
30
34
|
|
31
|
-
|
32
|
-
|
33
|
-
total_word = (total.to_i == 1) ? "test" : "tests"
|
35
|
+
out + [ [ 'File', report_file ] ]
|
36
|
+
end
|
34
37
|
|
35
|
-
|
38
|
+
def self.notify(file)
|
39
|
+
if (report = Jasmine::Headless::Report.load(file)).valid?
|
40
|
+
Notifier.notify(message(report.total, report.failed, report.time, report.has_used_console?), :title => 'Jasmine results', :image => image(report.has_used_console?, report.failed))
|
41
|
+
report.failed_files
|
42
|
+
else
|
43
|
+
raise Jasmine::Headless::InvalidReport
|
36
44
|
end
|
45
|
+
rescue Jasmine::Headless::InvalidReport => e
|
46
|
+
Notifier.notify('Spec runner interrupted!', :title => 'Jasmine results', :image => :failed)
|
47
|
+
false
|
48
|
+
end
|
49
|
+
|
50
|
+
private
|
51
|
+
def self.message(total, fails, secs, any_console)
|
52
|
+
total_word = (total.to_i == 1) ? "test" : "tests"
|
53
|
+
|
54
|
+
"#{total} #{total_word}, #{fails} failures, #{secs} secs#{any_console ? ', console.log used' : ''}."
|
55
|
+
end
|
37
56
|
|
38
|
-
|
39
|
-
|
40
|
-
|
57
|
+
def self.image(any_console, fails)
|
58
|
+
if any_console
|
59
|
+
:pending
|
60
|
+
else
|
61
|
+
if fails.to_i == 0
|
62
|
+
:success
|
41
63
|
else
|
42
|
-
|
43
|
-
:success
|
44
|
-
else
|
45
|
-
:failed
|
46
|
-
end
|
64
|
+
:failed
|
47
65
|
end
|
48
66
|
end
|
49
67
|
end
|
@@ -1,4 +1,4 @@
|
|
1
|
-
# Run JS and CoffeeScript files in a typical Rails 3.1 fashion
|
1
|
+
# Run JS and CoffeeScript files in a typical Rails 3.1/Sprockets fashion.
|
2
2
|
# Your spec files end with _spec.{js,coffee}.
|
3
3
|
|
4
4
|
spec_location = "spec/javascripts/%s_spec"
|
@@ -7,9 +7,7 @@ spec_location = "spec/javascripts/%s_spec"
|
|
7
7
|
# spec_location = "spec/javascripts/%sSpec"
|
8
8
|
|
9
9
|
guard 'jasmine-headless-webkit' do
|
10
|
-
watch(%r{^app/
|
11
|
-
watch(%r{^
|
12
|
-
watch(%r{^app/assets/javascripts/(.*)\.(js|coffee)$}) { |m| newest_js_file(spec_location % m[1]) }
|
13
|
-
watch(%r{^spec/javascripts/(.*)_spec\..*}) { |m| newest_js_file(spec_location % m[1]) }
|
10
|
+
watch(%r{^(app|lib|vendor)/assets/javascripts/(.*)$}) { |m| newest_js_file(spec_location % m[1]) }
|
11
|
+
watch(%r{^spec/javascripts/(.*)[Ss]pec\..*}) { |m| newest_js_file(spec_location % m[1]) }
|
14
12
|
end
|
15
13
|
|
@@ -2,13 +2,43 @@ require 'spec_helper'
|
|
2
2
|
|
3
3
|
describe Guard::JasmineHeadlessWebkit::Runner do
|
4
4
|
describe '.run' do
|
5
|
+
let(:reporter) { 'reporter' }
|
6
|
+
|
7
|
+
before do
|
8
|
+
described_class.stubs(:process_reporters).returns([ reporter ])
|
9
|
+
end
|
10
|
+
|
5
11
|
it 'should pass along options' do
|
6
|
-
Jasmine::Headless::Runner.expects(:run).with(has_key(:full_run))
|
12
|
+
Jasmine::Headless::Runner.expects(:run).with(all_of(has_key(:full_run), has_entry(:reporters => [ reporter ])))
|
7
13
|
|
8
14
|
Guard::JasmineHeadlessWebkit::Runner.run([], :full_run => false)
|
9
15
|
end
|
10
16
|
end
|
11
17
|
|
18
|
+
describe '.process_reporters' do
|
19
|
+
subject { described_class.process_reporters(reporters, report_file) }
|
20
|
+
|
21
|
+
let(:report_file) { 'report file' }
|
22
|
+
|
23
|
+
context 'none provided' do
|
24
|
+
let(:reporters) { nil }
|
25
|
+
|
26
|
+
it { should == [ [ 'Console' ], [ 'File', report_file ] ] }
|
27
|
+
end
|
28
|
+
|
29
|
+
context 'one provided' do
|
30
|
+
let(:reporters) { 'One' }
|
31
|
+
|
32
|
+
it { should == [ [ 'One' ], [ 'File', report_file ] ] }
|
33
|
+
end
|
34
|
+
|
35
|
+
context 'two provided' do
|
36
|
+
let(:reporters) { 'One Two:file.txt' }
|
37
|
+
|
38
|
+
it { should == [ [ 'One' ], [ 'Two', 'file.txt' ], [ 'File', report_file ] ] }
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
12
42
|
describe '.notify' do
|
13
43
|
include FakeFS::SpecHelpers
|
14
44
|
|
@@ -23,15 +23,6 @@ describe Guard::JasmineHeadlessWebkit do
|
|
23
23
|
guard.start
|
24
24
|
end
|
25
25
|
end
|
26
|
-
|
27
|
-
context 'run_before' do
|
28
|
-
let(:options) { { :run_before => true, :all_on_start => false } }
|
29
|
-
|
30
|
-
it "should warn about deprecation" do
|
31
|
-
Guard::UI.expects(:deprecation).at_least_once
|
32
|
-
guard.start
|
33
|
-
end
|
34
|
-
end
|
35
26
|
end
|
36
27
|
|
37
28
|
describe '#run_all' do
|
@@ -179,35 +170,6 @@ describe Guard::JasmineHeadlessWebkit do
|
|
179
170
|
end
|
180
171
|
end
|
181
172
|
|
182
|
-
context 'with run_before' do
|
183
|
-
context 'with failing command' do
|
184
|
-
before do
|
185
|
-
Guard::JasmineHeadlessWebkit::Runner.expects(:run).never
|
186
|
-
Guard::UI.expects(:info).with(regexp_matches(/false/))
|
187
|
-
end
|
188
|
-
|
189
|
-
let(:options) { { :run_before => 'false' } }
|
190
|
-
|
191
|
-
it "should run the command first" do
|
192
|
-
guard.run_all
|
193
|
-
end
|
194
|
-
end
|
195
|
-
|
196
|
-
context 'with succeeding command' do
|
197
|
-
before do
|
198
|
-
Guard::JasmineHeadlessWebkit::Runner.expects(:run).once
|
199
|
-
Guard::UI.expects(:info).with(regexp_matches(/true/))
|
200
|
-
Guard::UI.expects(:info).with(regexp_matches(/running all/))
|
201
|
-
end
|
202
|
-
|
203
|
-
let(:options) { { :run_before => 'true' } }
|
204
|
-
|
205
|
-
it "should run the command first" do
|
206
|
-
guard.run_all
|
207
|
-
end
|
208
|
-
end
|
209
|
-
end
|
210
|
-
|
211
173
|
describe '#reload' do
|
212
174
|
it 'should reset the state of the files_to_rerun' do
|
213
175
|
Guard::UI.expects(:info).with(regexp_matches(/Resetting/))
|
metadata
CHANGED
@@ -1,19 +1,19 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-jasmine-headless-webkit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
5
|
-
prerelease:
|
4
|
+
version: 0.4.0.rc1
|
5
|
+
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- John Bintz
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2012-01-27 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
16
|
-
requirement: &
|
16
|
+
requirement: &2154052040 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.4.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *2154052040
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: jasmine-headless-webkit
|
27
|
-
requirement: &
|
27
|
+
requirement: &2154047300 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,7 +32,7 @@ dependencies:
|
|
32
32
|
version: 0.7.0
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *2154047300
|
36
36
|
description: Run jasmine-headless-webkit using guard
|
37
37
|
email:
|
38
38
|
- john@coswellproductions.com
|
@@ -45,6 +45,15 @@ files:
|
|
45
45
|
- Guardfile
|
46
46
|
- README.md
|
47
47
|
- Rakefile
|
48
|
+
- features/runner.feature
|
49
|
+
- features/step_definitions/given/i_am_going_to_call_a_runner.rb
|
50
|
+
- features/step_definitions/given/i_am_going_to_get_a_notification.rb
|
51
|
+
- features/step_definitions/then/i_should_get_reporters.rb
|
52
|
+
- features/step_definitions/then/reporter_string_should_not_have_changed.rb
|
53
|
+
- features/step_definitions/when/i_dont_specify_a_reporter.rb
|
54
|
+
- features/step_definitions/when/i_run_the_runner.rb
|
55
|
+
- features/step_definitions/when/i_specify_reporter.rb
|
56
|
+
- features/support/env.rb
|
48
57
|
- guard-jasmine-headless-webkit.gemspec
|
49
58
|
- lib/guard/jasmine-headless-webkit.rb
|
50
59
|
- lib/guard/jasmine-headless-webkit/runner.rb
|
@@ -68,12 +77,15 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
68
77
|
- - ! '>='
|
69
78
|
- !ruby/object:Gem::Version
|
70
79
|
version: '0'
|
80
|
+
segments:
|
81
|
+
- 0
|
82
|
+
hash: 438818790571078981
|
71
83
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
72
84
|
none: false
|
73
85
|
requirements:
|
74
|
-
- - ! '
|
86
|
+
- - ! '>'
|
75
87
|
- !ruby/object:Gem::Version
|
76
|
-
version:
|
88
|
+
version: 1.3.1
|
77
89
|
requirements: []
|
78
90
|
rubyforge_project: guard-jasmine-headless-webkit
|
79
91
|
rubygems_version: 1.8.11
|
@@ -81,6 +93,15 @@ signing_key:
|
|
81
93
|
specification_version: 3
|
82
94
|
summary: Run jasmine-headless-webkit using guard
|
83
95
|
test_files:
|
96
|
+
- features/runner.feature
|
97
|
+
- features/step_definitions/given/i_am_going_to_call_a_runner.rb
|
98
|
+
- features/step_definitions/given/i_am_going_to_get_a_notification.rb
|
99
|
+
- features/step_definitions/then/i_should_get_reporters.rb
|
100
|
+
- features/step_definitions/then/reporter_string_should_not_have_changed.rb
|
101
|
+
- features/step_definitions/when/i_dont_specify_a_reporter.rb
|
102
|
+
- features/step_definitions/when/i_run_the_runner.rb
|
103
|
+
- features/step_definitions/when/i_specify_reporter.rb
|
104
|
+
- features/support/env.rb
|
84
105
|
- spec/lib/guard/jasmine-headless-webkit/runner_spec.rb
|
85
106
|
- spec/lib/guard/jasmine-headless-webkit_spec.rb
|
86
107
|
- spec/spec_helper.rb
|