guard-jasmine 2.0.3 → 2.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -3
- data/lib/guard/jasmine/phantomjs/src/guard-reporter.coffee +3 -2
- data/lib/guard/jasmine/version.rb +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 763d21a4426de0e667ffd91aee3b7bd025ed9745
|
4
|
+
data.tar.gz: 46b1d21283a6f73d438efdc45f8d38ee2ba51c67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3d7328a6b6d419b886f9bb5bff2768f03ef25d7d8e3ab6d0b815240d66fbec73f7a73a65fbbb5e1f2ce7d101ffa9bc3b59982d0230c33dc8a97cb33caeeb7a84
|
7
|
+
data.tar.gz: a5237968c18a8cc8e918c41a843cd4ca2cc9413712add34ed150e4c2da6bfc7b9ed7b03ec1b9f660400cce6b3754cfe59e59dedafabc8c5646bdb59c92c2423a
|
data/README.md
CHANGED
@@ -114,7 +114,7 @@ Guard::Jasmine will start a Rails Rack server to run your specs. Step by step i
|
|
114
114
|
#### Configuring Guard Jasmine to integrate with the asset pipeline.
|
115
115
|
|
116
116
|
* Install Guard Jasmine into the Rails project's Gemfile:
|
117
|
-
|
117
|
+
|
118
118
|
`gem "guard-jasmine", "~> 2.0"`
|
119
119
|
|
120
120
|
* Install Jasmine: `rails generate jasmine:install`
|
@@ -123,7 +123,7 @@ Guard::Jasmine will start a Rails Rack server to run your specs. Step by step i
|
|
123
123
|
* Change the `spec_files:` section to `'**/*[sS]pec.{js,coffee}'`
|
124
124
|
* Install GuardJasmine's sample Guardfile `rails generate guard_jasmine:install`
|
125
125
|
* Run GuardJasmine: `guard`
|
126
|
-
|
126
|
+
|
127
127
|
A sample Rails project configured in this way is at https://github.com/nathanstitt/guard-jasmine-rails-test
|
128
128
|
|
129
129
|
|
@@ -608,7 +608,7 @@ When you file an issue, please try to follow to these simple rules if applicable
|
|
608
608
|
|
609
609
|
* Make sure you have study the README carefully.
|
610
610
|
* Make sure you run Guard with `bundle exec` first.
|
611
|
-
* Add debug information to the issue by running Guard with
|
611
|
+
* Add debug information to the issue by running Guard with `debug: true` set in the options.
|
612
612
|
* Add your `Guardfile` and `Gemfile` to the issue.
|
613
613
|
* Make sure that the issue is reproducible with your description.
|
614
614
|
|
@@ -39,11 +39,12 @@ class ConsoleCapture
|
|
39
39
|
my = this
|
40
40
|
console[level] = ->
|
41
41
|
args = Array.prototype.slice.call(arguments, 0)
|
42
|
-
return if args[0] &&
|
42
|
+
return if args[0] &&
|
43
|
+
args[0].toString &&
|
44
|
+
args[0].toString().match( ConsoleCapture.DOT_REPORTER_MATCH )
|
43
45
|
my.captured.push( [ level ].concat( args ) )
|
44
46
|
ConsoleCapture.original_levels[ level ].apply( ConsoleCapture.original, arguments )
|
45
47
|
|
46
|
-
|
47
48
|
# Implements a Jasmine reporter
|
48
49
|
class GuardReporter
|
49
50
|
@STACK_MATCHER=new RegExp("__spec__\/(.*):([0-9]+)","g")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-jasmine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Michael Kessler
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-
|
12
|
+
date: 2015-03-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
@@ -99,16 +99,16 @@ dependencies:
|
|
99
99
|
name: tilt
|
100
100
|
requirement: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
|
-
- - "
|
102
|
+
- - ">="
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: '
|
104
|
+
version: '0'
|
105
105
|
type: :runtime
|
106
106
|
prerelease: false
|
107
107
|
version_requirements: !ruby/object:Gem::Requirement
|
108
108
|
requirements:
|
109
|
-
- - "
|
109
|
+
- - ">="
|
110
110
|
- !ruby/object:Gem::Version
|
111
|
-
version: '
|
111
|
+
version: '0'
|
112
112
|
- !ruby/object:Gem::Dependency
|
113
113
|
name: bundler
|
114
114
|
requirement: !ruby/object:Gem::Requirement
|
@@ -175,7 +175,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
175
175
|
version: 1.3.6
|
176
176
|
requirements: []
|
177
177
|
rubyforge_project: guard-jasmine
|
178
|
-
rubygems_version: 2.
|
178
|
+
rubygems_version: 2.2.2
|
179
179
|
signing_key:
|
180
180
|
specification_version: 4
|
181
181
|
summary: Guard gem for headless testing with Jasmine
|