jasmine-rails 0.12.0 → 0.12.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 4732abce7d665fef41b504440b05c0f091fa376e
4
- data.tar.gz: a8891d061a5ac64902a1200de21566178cd46993
3
+ metadata.gz: c75716643900212d3428910021a9002e1c319b87
4
+ data.tar.gz: 17abc95abf0684232f5417103484d745b7425b0d
5
5
  SHA512:
6
- metadata.gz: 220c50225cd8af3f5d69e40076f8ca8c2a2354c2abf9976115d6251a42d6510c5c20045f9fb0d1f183f6b2bc6d94fcf96970f6e6d0139fe6a85da25a3aed7642
7
- data.tar.gz: cb24d60711ba2f007a9658f8ab3e8b5d1c3da616456c9f1e8c560704a0676c7c0802854d4b2b73c2e477501f364ba8f13f1d83e1d3d661d67934cbaf0fbbbedb
6
+ metadata.gz: 6cfabdcf732b0a5706c02e60dfa5cf794295d53b7339d5631330d8c46297ff32f710b6c5b31fa6a3d3fd09f580835cb7e78566fdbf1969c634f301e46d043184
7
+ data.tar.gz: a8a816d8e833d08d980a627f47f37e87a225a7c4f50dc7e81c1821828e9c79a60e6b880d1873c1abde70972042d95894a0ff9fcff1adc32ab7dae53a3ddf1013
data/README.md CHANGED
@@ -53,7 +53,7 @@ The jasmine-rails gem fully supports the Rails asset pipeline which means you ca
53
53
  **If you choose to use the asset pipeline support, many of the `jasmine.yml`
54
54
  configurations become unnecessary** and you can rely on the Rails asset
55
55
  pipeline to do the hard work of controlling what files are included in
56
- your testsuite.
56
+ your test suite.
57
57
 
58
58
  ```yaml
59
59
  # minimalist jasmine.yml configuration when leveraging asset pipeline
@@ -103,7 +103,7 @@ include_dir:
103
103
 
104
104
  If you were to run:
105
105
 
106
- RAILS_ENV=test bundle exec rake spec:javascript
106
+ bundle exec rake spec:javascript
107
107
 
108
108
  You'd hopefully see something like:
109
109
 
@@ -113,14 +113,14 @@ You'd hopefully see something like:
113
113
 
114
114
  You can filter execution by passing the `SPEC` option as well:
115
115
 
116
- RAILS_ENV=test bundle exec rake spec:javascript SPEC=my_test
116
+ bundle exec rake spec:javascript SPEC=my_test
117
117
 
118
118
  If you experience an error at this point, the most likely cause is JavaScript being loaded out of order, or otherwise conflicting with other existing JavaScript in your project. See "Debugging" below.
119
119
 
120
120
  ## Running from your browser
121
121
 
122
122
  Startup your Rails server (ex: `bundle exec rails s`), and navigate to the path you have configured in your routes.rb file (ex: [http://localhost:3000/specs](http://localhost:3000/specs)).
123
- The Jasmine spec runner should appear and start running your testsuite instantly.
123
+ The Jasmine spec runner should appear and start running your test suite instantly.
124
124
 
125
125
  ## Debugging
126
126
 
@@ -228,7 +228,7 @@ reporters:
228
228
  Then, specify which reporters to use when you run the rake task:
229
229
 
230
230
  ```
231
- RAILS_ENV=test REPORTERS='cool-reporter,awesome-reporter' rake spec:javascripts
231
+ REPORTERS='cool-reporter,awesome-reporter' rake spec:javascripts
232
232
  ```
233
233
 
234
234
  The console reporter shipped with jasmine-rails will be used by
@@ -2,6 +2,7 @@
2
2
  <html>
3
3
  <head>
4
4
  <meta content="text/html;charset=UTF-8" http-equiv="Content-Type"/>
5
+ <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
5
6
  <title>Jasmine Specs</title>
6
7
 
7
8
  <%= stylesheet_link_tag *jasmine_css_files %>
@@ -1,3 +1,3 @@
1
1
  module JasmineRails
2
- VERSION = "0.12.0"
2
+ VERSION = "0.12.1"
3
3
  end
@@ -8,7 +8,8 @@ namespace :spec do
8
8
  reporters = ENV.fetch('REPORTERS', 'console')
9
9
  JasmineRails::Runner.run spec_filter, reporters
10
10
  else
11
- system("RAILS_ENV=test bundle exec rake #{ARGV.join(' ')}")
11
+ system('RAILS_ENV=test bundle exec rake spec:javascript')
12
+ exit($?.exitstatus) if $?.exitstatus != 0
12
13
  end
13
14
  end
14
15
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jasmine-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.12.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-09-19 00:00:00.000000000 Z
13
+ date: 2015-09-27 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties