guard-jasmine 1.3.0 → 1.4.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +1 -1
- data/lib/guard/jasmine/cli.rb +1 -1
- data/lib/guard/jasmine/server.rb +1 -1
- data/lib/guard/jasmine/version.rb +1 -1
- metadata +5 -2
data/README.md
CHANGED
@@ -329,7 +329,7 @@ The server options configures the server environment that is needed to run Guard
|
|
329
329
|
|
330
330
|
```ruby
|
331
331
|
:server => :jasmine_gem # Jasmine server to use, either :auto, :none,
|
332
|
-
# :webrick, :mongrel, :thin, :jasmine_gem
|
332
|
+
# :webrick, :mongrel, :thin, :unicorn, :jasmine_gem
|
333
333
|
# default: :auto
|
334
334
|
|
335
335
|
:server_env => :test # Jasmine server Rails environment to set,
|
data/lib/guard/jasmine/cli.rb
CHANGED
@@ -26,7 +26,7 @@ module Guard
|
|
26
26
|
:type => :string,
|
27
27
|
:aliases => '-s',
|
28
28
|
:default => 'auto',
|
29
|
-
:desc => 'Server to start, either `auto`, `webrick`, `mongrel`, `thin`, `jasmine_gem` or `none`'
|
29
|
+
:desc => 'Server to start, either `auto`, `webrick`, `mongrel`, `thin`, `unicorn`, `jasmine_gem` or `none`'
|
30
30
|
|
31
31
|
method_option :port,
|
32
32
|
:type => :numeric,
|
data/lib/guard/jasmine/server.rb
CHANGED
@@ -24,7 +24,7 @@ module Guard
|
|
24
24
|
strategy = detect_server(spec_dir) if strategy == :auto
|
25
25
|
|
26
26
|
case strategy
|
27
|
-
when :webrick, :mongrel, :thin
|
27
|
+
when :webrick, :mongrel, :thin, :unicorn
|
28
28
|
start_rack_server(port, environment, strategy)
|
29
29
|
when :jasmine_gem
|
30
30
|
start_rake_server(port, 'jasmine')
|
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: 1.
|
4
|
+
version: 1.4.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-06-
|
12
|
+
date: 2012-06-04 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
@@ -136,6 +136,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
136
136
|
- - ! '>='
|
137
137
|
- !ruby/object:Gem::Version
|
138
138
|
version: '0'
|
139
|
+
segments:
|
140
|
+
- 0
|
141
|
+
hash: 2675051806013045380
|
139
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
140
143
|
none: false
|
141
144
|
requirements:
|