guard-jasmine 1.12.0 → 1.12.1
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +2 -3
- data/lib/guard/jasmine.rb +2 -2
- data/lib/guard/jasmine/cli.rb +2 -2
- data/lib/guard/jasmine/version.rb +1 -1
- metadata +67 -105
data/README.md
CHANGED
@@ -702,11 +702,10 @@ Simply use the `script` setting in your `.travis.yml`:
|
|
702
702
|
script: 'bundle exec guard-jasmine --server-timeout=60'
|
703
703
|
```
|
704
704
|
|
705
|
-
You can also run your Guard::Jasmine specs after your specs that are ran with `rake` by using
|
705
|
+
You can also run your Guard::Jasmine specs after your specs that are ran with `rake` by using `&&`:
|
706
706
|
|
707
707
|
```yaml
|
708
|
-
script: 'rake spec'
|
709
|
-
after_script: 'bundle exec guard-jasmine --server-timeout=60'
|
708
|
+
script: 'rake spec && bundle exec guard-jasmine'
|
710
709
|
```
|
711
710
|
|
712
711
|
When using a PhantomJS version prior to 1.5, you need to start `xvfb` before running the specs:
|
data/lib/guard/jasmine.rb
CHANGED
@@ -24,11 +24,11 @@ module Guard
|
|
24
24
|
DEFAULT_OPTIONS = {
|
25
25
|
:server => :auto,
|
26
26
|
:server_env => ENV['RAILS_ENV'] || 'development',
|
27
|
-
:server_timeout =>
|
27
|
+
:server_timeout => 60,
|
28
28
|
:port => nil,
|
29
29
|
:rackup_config => nil,
|
30
30
|
:jasmine_url => nil,
|
31
|
-
:timeout =>
|
31
|
+
:timeout => 60,
|
32
32
|
:spec_dir => 'spec/javascripts',
|
33
33
|
:notification => true,
|
34
34
|
:hide_success => false,
|
data/lib/guard/jasmine/cli.rb
CHANGED
@@ -41,7 +41,7 @@ module Guard
|
|
41
41
|
|
42
42
|
method_option :server_timeout,
|
43
43
|
:type => :numeric,
|
44
|
-
:default =>
|
44
|
+
:default => 60,
|
45
45
|
:desc => 'The number of seconds to wait for the Jasmine spec server'
|
46
46
|
|
47
47
|
method_option :rackup_config,
|
@@ -68,7 +68,7 @@ module Guard
|
|
68
68
|
method_option :timeout,
|
69
69
|
:type => :numeric,
|
70
70
|
:aliases => '-t',
|
71
|
-
:default =>
|
71
|
+
:default => 60,
|
72
72
|
:desc => 'The maximum time in seconds to wait for the spec runner to finish'
|
73
73
|
|
74
74
|
method_option :console,
|
metadata
CHANGED
@@ -1,104 +1,96 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: guard-jasmine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
4
|
+
version: 1.12.1
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Michael Kessler
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-01-
|
12
|
+
date: 2013-01-28 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
16
|
-
|
16
|
+
requirement: !ruby/object:Gem::Requirement
|
17
|
+
none: false
|
17
18
|
requirements:
|
18
19
|
- - ! '>='
|
19
20
|
- !ruby/object:Gem::Version
|
20
21
|
version: 1.1.0
|
22
|
+
type: :runtime
|
23
|
+
prerelease: false
|
24
|
+
version_requirements: !ruby/object:Gem::Requirement
|
21
25
|
none: false
|
22
|
-
requirement: !ruby/object:Gem::Requirement
|
23
26
|
requirements:
|
24
27
|
- - ! '>='
|
25
28
|
- !ruby/object:Gem::Version
|
26
29
|
version: 1.1.0
|
27
|
-
none: false
|
28
|
-
prerelease: false
|
29
|
-
type: :runtime
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: multi_json
|
32
|
-
|
32
|
+
requirement: !ruby/object:Gem::Requirement
|
33
|
+
none: false
|
33
34
|
requirements:
|
34
35
|
- - ! '>='
|
35
36
|
- !ruby/object:Gem::Version
|
36
|
-
version:
|
37
|
-
|
37
|
+
version: '0'
|
38
|
+
type: :runtime
|
39
|
+
prerelease: false
|
40
|
+
version_requirements: !ruby/object:Gem::Requirement
|
38
41
|
none: false
|
39
|
-
requirement: !ruby/object:Gem::Requirement
|
40
42
|
requirements:
|
41
43
|
- - ! '>='
|
42
44
|
- !ruby/object:Gem::Version
|
43
|
-
version:
|
44
|
-
MA==
|
45
|
-
none: false
|
46
|
-
prerelease: false
|
47
|
-
type: :runtime
|
45
|
+
version: '0'
|
48
46
|
- !ruby/object:Gem::Dependency
|
49
47
|
name: childprocess
|
50
|
-
|
48
|
+
requirement: !ruby/object:Gem::Requirement
|
49
|
+
none: false
|
51
50
|
requirements:
|
52
51
|
- - ! '>='
|
53
52
|
- !ruby/object:Gem::Version
|
54
|
-
version:
|
55
|
-
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
56
57
|
none: false
|
57
|
-
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - ! '>='
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version:
|
62
|
-
MA==
|
63
|
-
none: false
|
64
|
-
prerelease: false
|
65
|
-
type: :runtime
|
61
|
+
version: '0'
|
66
62
|
- !ruby/object:Gem::Dependency
|
67
63
|
name: thor
|
68
|
-
|
64
|
+
requirement: !ruby/object:Gem::Requirement
|
65
|
+
none: false
|
69
66
|
requirements:
|
70
67
|
- - ! '>='
|
71
68
|
- !ruby/object:Gem::Version
|
72
|
-
version:
|
73
|
-
|
69
|
+
version: '0'
|
70
|
+
type: :runtime
|
71
|
+
prerelease: false
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
73
|
none: false
|
75
|
-
requirement: !ruby/object:Gem::Requirement
|
76
74
|
requirements:
|
77
75
|
- - ! '>='
|
78
76
|
- !ruby/object:Gem::Version
|
79
|
-
version:
|
80
|
-
MA==
|
81
|
-
none: false
|
82
|
-
prerelease: false
|
83
|
-
type: :runtime
|
77
|
+
version: '0'
|
84
78
|
- !ruby/object:Gem::Dependency
|
85
79
|
name: bundler
|
86
|
-
|
80
|
+
requirement: !ruby/object:Gem::Requirement
|
81
|
+
none: false
|
87
82
|
requirements:
|
88
83
|
- - ! '>='
|
89
84
|
- !ruby/object:Gem::Version
|
90
|
-
version:
|
91
|
-
|
85
|
+
version: '0'
|
86
|
+
type: :development
|
87
|
+
prerelease: false
|
88
|
+
version_requirements: !ruby/object:Gem::Requirement
|
92
89
|
none: false
|
93
|
-
requirement: !ruby/object:Gem::Requirement
|
94
90
|
requirements:
|
95
91
|
- - ! '>='
|
96
92
|
- !ruby/object:Gem::Version
|
97
|
-
version:
|
98
|
-
MA==
|
99
|
-
none: false
|
100
|
-
prerelease: false
|
101
|
-
type: :development
|
93
|
+
version: '0'
|
102
94
|
description: Guard::Jasmine automatically tests your Jasmine specs on PhantomJS
|
103
95
|
email:
|
104
96
|
- michi@netzpiraten.ch
|
@@ -108,85 +100,55 @@ executables:
|
|
108
100
|
extensions: []
|
109
101
|
extra_rdoc_files: []
|
110
102
|
files:
|
111
|
-
-
|
112
|
-
|
113
|
-
-
|
114
|
-
|
115
|
-
-
|
116
|
-
|
117
|
-
-
|
118
|
-
|
119
|
-
-
|
120
|
-
|
121
|
-
-
|
122
|
-
|
123
|
-
-
|
124
|
-
|
125
|
-
-
|
126
|
-
|
127
|
-
-
|
128
|
-
|
129
|
-
-
|
130
|
-
|
131
|
-
-
|
132
|
-
|
133
|
-
-
|
134
|
-
|
135
|
-
- !binary |-
|
136
|
-
bGliL2d1YXJkL2phc21pbmUvcGhhbnRvbWpzL2d1YXJkLWphc21pbmUuY29m
|
137
|
-
ZmVl
|
138
|
-
- !binary |-
|
139
|
-
bGliL2d1YXJkL2phc21pbmUvcGhhbnRvbWpzL2d1YXJkLWphc21pbmUuanM=
|
140
|
-
- !binary |-
|
141
|
-
bGliL2d1YXJkL2phc21pbmUvcGhhbnRvbWpzL2xpYi9jb25zb2xlLmpz
|
142
|
-
- !binary |-
|
143
|
-
bGliL2d1YXJkL2phc21pbmUvcGhhbnRvbWpzL2xpYi9yZXBvcnRlci5qcw==
|
144
|
-
- !binary |-
|
145
|
-
bGliL2d1YXJkL2phc21pbmUvcGhhbnRvbWpzL2xpYi9yZXN1bHQuanM=
|
146
|
-
- !binary |-
|
147
|
-
bGliL2d1YXJkL2phc21pbmUvcGhhbnRvbWpzL3NyYy9jb25zb2xlLmNvZmZl
|
148
|
-
ZQ==
|
149
|
-
- !binary |-
|
150
|
-
bGliL2d1YXJkL2phc21pbmUvcGhhbnRvbWpzL3NyYy9yZXBvcnRlci5jb2Zm
|
151
|
-
ZWU=
|
152
|
-
- !binary |-
|
153
|
-
bGliL2d1YXJkL2phc21pbmUvcGhhbnRvbWpzL3NyYy9yZXN1bHQuY29mZmVl
|
154
|
-
- !binary |-
|
155
|
-
bGliL2d1YXJkL2phc21pbmUvcGhhbnRvbWpzL3Rlc3QvY29uc29sZV9zcGVj
|
156
|
-
LmNvZmZlZQ==
|
157
|
-
- !binary |-
|
158
|
-
bGliL2d1YXJkL2phc21pbmUvcGhhbnRvbWpzL3Rlc3QvcmVwb3J0ZXJfc3Bl
|
159
|
-
Yy5jb2ZmZWU=
|
160
|
-
- !binary |-
|
161
|
-
bGliL2d1YXJkL2phc21pbmUvcGhhbnRvbWpzL3Rlc3QvcmVzdWx0X3NwZWMu
|
162
|
-
Y29mZmVl
|
163
|
-
- !binary |-
|
164
|
-
bGliL2d1YXJkL2phc21pbmUvdGVtcGxhdGVzL0d1YXJkZmlsZQ==
|
103
|
+
- bin/guard-jasmine
|
104
|
+
- bin/guard-jasmine-debug
|
105
|
+
- lib/guard/jasmine/cli.rb
|
106
|
+
- lib/guard/jasmine/coverage.rb
|
107
|
+
- lib/guard/jasmine/formatter.rb
|
108
|
+
- lib/guard/jasmine/inspector.rb
|
109
|
+
- lib/guard/jasmine/phantomjs/guard-jasmine.coffee
|
110
|
+
- lib/guard/jasmine/phantomjs/guard-jasmine.js
|
111
|
+
- lib/guard/jasmine/phantomjs/lib/console.js
|
112
|
+
- lib/guard/jasmine/phantomjs/lib/reporter.js
|
113
|
+
- lib/guard/jasmine/phantomjs/lib/result.js
|
114
|
+
- lib/guard/jasmine/phantomjs/src/console.coffee
|
115
|
+
- lib/guard/jasmine/phantomjs/src/reporter.coffee
|
116
|
+
- lib/guard/jasmine/phantomjs/src/result.coffee
|
117
|
+
- lib/guard/jasmine/phantomjs/test/console_spec.coffee
|
118
|
+
- lib/guard/jasmine/phantomjs/test/reporter_spec.coffee
|
119
|
+
- lib/guard/jasmine/phantomjs/test/result_spec.coffee
|
120
|
+
- lib/guard/jasmine/runner.rb
|
121
|
+
- lib/guard/jasmine/server.rb
|
122
|
+
- lib/guard/jasmine/task.rb
|
123
|
+
- lib/guard/jasmine/templates/Guardfile
|
124
|
+
- lib/guard/jasmine/util.rb
|
125
|
+
- lib/guard/jasmine/version.rb
|
126
|
+
- lib/guard/jasmine.rb
|
165
127
|
- LICENSE
|
166
128
|
- README.md
|
167
129
|
homepage: https://github.com/netzpirat/guard-jasmine
|
168
130
|
licenses: []
|
169
|
-
post_install_message:
|
131
|
+
post_install_message:
|
170
132
|
rdoc_options: []
|
171
133
|
require_paths:
|
172
134
|
- lib
|
173
135
|
required_ruby_version: !ruby/object:Gem::Requirement
|
136
|
+
none: false
|
174
137
|
requirements:
|
175
138
|
- - ! '>='
|
176
139
|
- !ruby/object:Gem::Version
|
177
|
-
version:
|
178
|
-
MA==
|
179
|
-
none: false
|
140
|
+
version: '0'
|
180
141
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
142
|
+
none: false
|
181
143
|
requirements:
|
182
144
|
- - ! '>='
|
183
145
|
- !ruby/object:Gem::Version
|
184
146
|
version: 1.3.6
|
185
|
-
none: false
|
186
147
|
requirements: []
|
187
148
|
rubyforge_project: guard-jasmine
|
188
149
|
rubygems_version: 1.8.24
|
189
|
-
signing_key:
|
150
|
+
signing_key:
|
190
151
|
specification_version: 3
|
191
152
|
summary: Guard gem for headless testing with Jasmine
|
192
153
|
test_files: []
|
154
|
+
has_rdoc:
|