guard-jasmine 1.4.0 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +3 -3
- data/lib/guard/jasmine.rb +1 -1
- data/lib/guard/jasmine/cli.rb +1 -1
- data/lib/guard/jasmine/version.rb +1 -1
- metadata +3 -3
data/README.md
CHANGED
@@ -334,7 +334,7 @@ The server options configures the server environment that is needed to run Guard
|
|
334
334
|
|
335
335
|
:server_env => :test # Jasmine server Rails environment to set,
|
336
336
|
# e.g. :development or :test
|
337
|
-
# default: :development
|
337
|
+
# default: RAILS_ENV is exists, otherwise :development
|
338
338
|
|
339
339
|
:port => 9292 # Jasmine server port to use.
|
340
340
|
# default: 8888
|
@@ -525,7 +525,7 @@ Options:
|
|
525
525
|
# either `always`, `never` or `failure`
|
526
526
|
# Default: failure
|
527
527
|
-e, [--server-env=SERVER_ENV] # The server environment to use, for example `development`, `test`
|
528
|
-
# Default: test
|
528
|
+
# Default: RAILS_ENV if exists, otherwise `test`
|
529
529
|
|
530
530
|
Run the Jasmine spec runner
|
531
531
|
```
|
@@ -692,7 +692,7 @@ follow [@netzpirat](https://twitter.com/#!/netzpirat) on Twitter for project upd
|
|
692
692
|
## Contributors
|
693
693
|
|
694
694
|
See the [CHANGELOG](https://github.com/netzpirat/guard-jasmine/blob/master/CHANGELOG.md) and the GitHub list of
|
695
|
-
[contributors](https://github.com/netzpirat/
|
695
|
+
[contributors](https://github.com/netzpirat/guard-jasmine/contributors).
|
696
696
|
|
697
697
|
## Acknowledgment
|
698
698
|
|
data/lib/guard/jasmine.rb
CHANGED
data/lib/guard/jasmine/cli.rb
CHANGED
@@ -66,7 +66,7 @@ module Guard
|
|
66
66
|
method_option :server_env,
|
67
67
|
:type => :string,
|
68
68
|
:aliases => '-e',
|
69
|
-
:default => 'test',
|
69
|
+
:default => ENV['RAILS_ENV'] || 'test',
|
70
70
|
:desc => 'The server environment to use, for example `development`, `test` etc.'
|
71
71
|
|
72
72
|
method_option :spec_dir,
|
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.5.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-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: guard
|
@@ -138,7 +138,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
138
138
|
version: '0'
|
139
139
|
segments:
|
140
140
|
- 0
|
141
|
-
hash:
|
141
|
+
hash: 1766853316895481882
|
142
142
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
143
143
|
none: false
|
144
144
|
requirements:
|