jasmine-rails 0.10.7 → 0.10.8

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: 63119f2810ffe8c4e64861a6f954065eef2039d5
4
- data.tar.gz: b50384a051b23b0a864df33a7d7f259c8241202f
3
+ metadata.gz: b87dfaa1e59c670bfaf2e765c98c3d7edddf8db9
4
+ data.tar.gz: 140628aed4a2ddece96ad48048c386b0b8887721
5
5
  SHA512:
6
- metadata.gz: d0139cef9ac371e2a754c8ba4d639c4998dd96c46580474f7eb5ee15f1afd5fd473128b6f23df67075363d3aeb5f6dec3d27f35540a02b74c7db9cf6de3cdac4
7
- data.tar.gz: 7d2b1bc196bbde0a6bb9aa9adfc1be2101ac2d642a159026cd78c3f8f8f5dd804be8b08aa4f36e0734c9e9e0905a8e8c137fa0d9e9ff77603d7f927f72d1d687
6
+ metadata.gz: 2cd3f48bc75db3cc44553df51277fb7001ce00775f5aa76c295785336dd8505e1e3a4a941aabe38a865d9655d461ba4d2159040a75b072f3f68b58065fce169a
7
+ data.tar.gz: afc758fb023bd1f52d90d44c519d4f6b2d736b43072db0af6228d9ff2ffb2e4afa72333e9a11ae06a2f98e7e62d9c30e7fd3ed3c9ea02e544e4b83a1f890c864
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Build Status](https://secure.travis-ci.org/searls/jasmine-rails.png)](http://travis-ci.org/searls/jasmine-rails)
4
4
 
5
- This project is intended to make it a little easier to integrate [Jasmine](https://github.com/pivotal/jasmine/wiki) into your workflow, particularly if you're working in Rails 3.1 or later. (If you're on earlier versions of Rails, I'd suggest directly using the combination of Pivotal's [jasmine gem](https://github.com/pivotal/jasmine-gem) and [jasmine-headless-webkit](http://johnbintz.github.com/jasmine-headless-webkit/).)
5
+ This project is intended to make it a little easier to integrate [Jasmine](https://github.com/pivotal/jasmine/wiki) into your workflow, particularly if you're working in Rails 3.2 or later. (If you're on earlier versions of Rails, I'd suggest directly using the combination of Pivotal's [jasmine gem](https://github.com/pivotal/jasmine-gem) and [jasmine-headless-webkit](http://johnbintz.github.com/jasmine-headless-webkit/).)
6
6
 
7
7
  By bundling this gem and configuring your project, you can expect to:
8
8
 
@@ -249,4 +249,3 @@ use_phantom_gem: false
249
249
  ```
250
250
 
251
251
  This will then try and use the `phantom` executable on the current `PATH`.
252
-
data/lib/jasmine-rails.rb CHANGED
@@ -13,7 +13,7 @@ module JasmineRails
13
13
  raise 'JasmineRails::Engine has not been mounted. Try adding `mount JasmineRails::Engine => "/specs" if defined?(JasmineRails)` to routes.rb' unless route
14
14
  path = route.path
15
15
 
16
- # Rails 3.1 support
16
+ # Rails 3.1 support -- TODO: safe to delete for 3.2?
17
17
  if path.is_a?(String)
18
18
  path
19
19
  else
@@ -19,7 +19,7 @@ module JasmineRails
19
19
 
20
20
  phantomjs_runner_path = File.join(File.dirname(__FILE__), '..', 'assets', 'javascripts', 'jasmine-runner.js')
21
21
  phantomjs_cmd = JasmineRails.use_phantom_gem? ? Phantomjs.path : 'phantomjs'
22
- run_cmd %{"#{phantomjs_cmd}" "#{phantomjs_runner_path}" "#{runner_path.to_s}?spec=#{spec_filter}"}
22
+ run_cmd %{"#{phantomjs_cmd}" "#{phantomjs_runner_path}" "file://#{runner_path.to_s}?spec=#{spec_filter}"}
23
23
  end
24
24
  end
25
25
 
@@ -1,3 +1,3 @@
1
1
  module JasmineRails
2
- VERSION = "0.10.7"
2
+ VERSION = "0.10.8"
3
3
  end
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.10.7
4
+ version: 0.10.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Justin Searls
@@ -10,85 +10,85 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2015-02-09 00:00:00.000000000 Z
13
+ date: 2015-04-11 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: railties
17
17
  requirement: !ruby/object:Gem::Requirement
18
18
  requirements:
19
- - - ">="
19
+ - - '>='
20
20
  - !ruby/object:Gem::Version
21
- version: 3.1.0
21
+ version: 3.2.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
25
25
  requirements:
26
- - - ">="
26
+ - - '>='
27
27
  - !ruby/object:Gem::Version
28
- version: 3.1.0
28
+ version: 3.2.0
29
29
  - !ruby/object:Gem::Dependency
30
30
  name: sprockets-rails
31
31
  requirement: !ruby/object:Gem::Requirement
32
32
  requirements:
33
- - - ">="
33
+ - - '>='
34
34
  - !ruby/object:Gem::Version
35
35
  version: '0'
36
36
  type: :runtime
37
37
  prerelease: false
38
38
  version_requirements: !ruby/object:Gem::Requirement
39
39
  requirements:
40
- - - ">="
40
+ - - '>='
41
41
  - !ruby/object:Gem::Version
42
42
  version: '0'
43
43
  - !ruby/object:Gem::Dependency
44
44
  name: jasmine-core
45
45
  requirement: !ruby/object:Gem::Requirement
46
46
  requirements:
47
- - - ">="
47
+ - - '>='
48
48
  - !ruby/object:Gem::Version
49
49
  version: '1.3'
50
- - - "<"
50
+ - - <
51
51
  - !ruby/object:Gem::Version
52
52
  version: '3.0'
53
53
  type: :runtime
54
54
  prerelease: false
55
55
  version_requirements: !ruby/object:Gem::Requirement
56
56
  requirements:
57
- - - ">="
57
+ - - '>='
58
58
  - !ruby/object:Gem::Version
59
59
  version: '1.3'
60
- - - "<"
60
+ - - <
61
61
  - !ruby/object:Gem::Version
62
62
  version: '3.0'
63
63
  - !ruby/object:Gem::Dependency
64
64
  name: phantomjs
65
65
  requirement: !ruby/object:Gem::Requirement
66
66
  requirements:
67
- - - "<"
67
+ - - '>='
68
68
  - !ruby/object:Gem::Version
69
- version: '2.0'
69
+ version: '1.9'
70
70
  type: :runtime
71
71
  prerelease: false
72
72
  version_requirements: !ruby/object:Gem::Requirement
73
73
  requirements:
74
- - - "<"
74
+ - - '>='
75
75
  - !ruby/object:Gem::Version
76
- version: '2.0'
76
+ version: '1.9'
77
77
  - !ruby/object:Gem::Dependency
78
78
  name: testbeds
79
79
  requirement: !ruby/object:Gem::Requirement
80
80
  requirements:
81
- - - ">="
81
+ - - '>='
82
82
  - !ruby/object:Gem::Version
83
83
  version: '0'
84
84
  type: :development
85
85
  prerelease: false
86
86
  version_requirements: !ruby/object:Gem::Requirement
87
87
  requirements:
88
- - - ">="
88
+ - - '>='
89
89
  - !ruby/object:Gem::Version
90
90
  version: '0'
91
- description: Provides a Jasmine Spec Runner that plays nicely with Rails 3.1 assets
91
+ description: Provides a Jasmine Spec Runner that plays nicely with Rails 3.2 assets
92
92
  and sets up jasmine-headless-webkit
93
93
  email:
94
94
  - searls@gmail.com
@@ -133,18 +133,18 @@ require_paths:
133
133
  - lib
134
134
  required_ruby_version: !ruby/object:Gem::Requirement
135
135
  requirements:
136
- - - ">="
136
+ - - '>='
137
137
  - !ruby/object:Gem::Version
138
138
  version: '0'
139
139
  required_rubygems_version: !ruby/object:Gem::Requirement
140
140
  requirements:
141
- - - ">="
141
+ - - '>='
142
142
  - !ruby/object:Gem::Version
143
143
  version: '0'
144
144
  requirements: []
145
145
  rubyforge_project:
146
- rubygems_version: 2.4.4
146
+ rubygems_version: 2.3.0
147
147
  signing_key:
148
148
  specification_version: 4
149
- summary: Makes Jasmine easier on Rails 3.1
149
+ summary: Makes Jasmine easier on Rails 3.2 & up
150
150
  test_files: []