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 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/haml_coffee_assets/contributors).
695
+ [contributors](https://github.com/netzpirat/guard-jasmine/contributors).
696
696
 
697
697
  ## Acknowledgment
698
698
 
@@ -22,7 +22,7 @@ module Guard
22
22
 
23
23
  DEFAULT_OPTIONS = {
24
24
  :server => :auto,
25
- :server_env => 'development',
25
+ :server_env => ENV['RAILS_ENV'] || 'development',
26
26
  :port => 8888,
27
27
  :jasmine_url => 'http://localhost:8888/jasmine',
28
28
  :timeout => 10000,
@@ -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,
@@ -1,6 +1,6 @@
1
1
  module Guard
2
2
  module JasmineVersion
3
3
  # Guard::Jasmine version that is used for the Gem specification
4
- VERSION = '1.4.0'
4
+ VERSION = '1.5.0'
5
5
  end
6
6
  end
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.0
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-04 00:00:00.000000000 Z
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: 2675051806013045380
141
+ hash: 1766853316895481882
142
142
  required_rubygems_version: !ruby/object:Gem::Requirement
143
143
  none: false
144
144
  requirements: