jasmine-rails 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/lib/jasmine_rails/offline_asset_paths.rb +1 -1
- data/lib/jasmine_rails/runner.rb +1 -1
- data/lib/jasmine_rails/version.rb +1 -1
- metadata +13 -23
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 5c66280271148bffd637d215be83cfdc942f5f2f
|
4
|
+
data.tar.gz: 329f81b2fa704cc901c4cdd7b727fd094f74fa1b
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d784333287ce9e78c73df843825e5bacce182bca733b0cd8f781fde1e4b3f4d43431200792640776ff06b53dd4504df5395ebe658d9b6e596506d8e37eaca622
|
7
|
+
data.tar.gz: 18260e92a009a1e6a1b35a9d42405b3e080738eb84aac3621da2fa90eddedb06550e33c437692afd1df5971e7c6cdb8dfd75cecb6ae0777380c846d04e0dfde1
|
@@ -25,7 +25,7 @@ module JasmineRails
|
|
25
25
|
|
26
26
|
FileUtils.mkdir_p File.dirname(source_path)
|
27
27
|
Rails.logger.debug "Compiling #{source} to #{source_path}"
|
28
|
-
File.open(source_path, '
|
28
|
+
File.open(source_path, 'wb') do |f|
|
29
29
|
if Rails::VERSION::MAJOR == 4 && !Rails.env.test? && source == 'jasmine-specs.js'
|
30
30
|
f << ''
|
31
31
|
else
|
data/lib/jasmine_rails/runner.rb
CHANGED
@@ -13,7 +13,7 @@ module JasmineRails
|
|
13
13
|
File.open(runner_path, 'w') {|f| f << html.gsub('/assets', './assets')}
|
14
14
|
|
15
15
|
phantomjs_runner_path = File.join(File.dirname(__FILE__), '..', 'assets', 'javascripts', 'jasmine-runner.js')
|
16
|
-
run_cmd %{phantomjs "#{phantomjs_runner_path}" "
|
16
|
+
run_cmd %{phantomjs "#{phantomjs_runner_path}" "#{runner_path.to_s}?spec=#{spec_filter}"}
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
metadata
CHANGED
@@ -1,8 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jasmine-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
5
|
-
prerelease:
|
4
|
+
version: 0.4.9
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Justin Searls
|
@@ -11,44 +10,39 @@ authors:
|
|
11
10
|
autorequire:
|
12
11
|
bindir: bin
|
13
12
|
cert_chain: []
|
14
|
-
date: 2013-
|
13
|
+
date: 2013-11-08 00:00:00.000000000 Z
|
15
14
|
dependencies:
|
16
15
|
- !ruby/object:Gem::Dependency
|
17
16
|
name: rails
|
18
17
|
requirement: !ruby/object:Gem::Requirement
|
19
|
-
none: false
|
20
18
|
requirements:
|
21
|
-
- -
|
19
|
+
- - '>='
|
22
20
|
- !ruby/object:Gem::Version
|
23
21
|
version: 3.1.0
|
24
22
|
type: :runtime
|
25
23
|
prerelease: false
|
26
24
|
version_requirements: !ruby/object:Gem::Requirement
|
27
|
-
none: false
|
28
25
|
requirements:
|
29
|
-
- -
|
26
|
+
- - '>='
|
30
27
|
- !ruby/object:Gem::Version
|
31
28
|
version: 3.1.0
|
32
29
|
- !ruby/object:Gem::Dependency
|
33
30
|
name: sprockets-rails
|
34
31
|
requirement: !ruby/object:Gem::Requirement
|
35
|
-
none: false
|
36
32
|
requirements:
|
37
|
-
- -
|
33
|
+
- - '>='
|
38
34
|
- !ruby/object:Gem::Version
|
39
35
|
version: '0'
|
40
36
|
type: :runtime
|
41
37
|
prerelease: false
|
42
38
|
version_requirements: !ruby/object:Gem::Requirement
|
43
|
-
none: false
|
44
39
|
requirements:
|
45
|
-
- -
|
40
|
+
- - '>='
|
46
41
|
- !ruby/object:Gem::Version
|
47
42
|
version: '0'
|
48
43
|
- !ruby/object:Gem::Dependency
|
49
44
|
name: jasmine-core
|
50
45
|
requirement: !ruby/object:Gem::Requirement
|
51
|
-
none: false
|
52
46
|
requirements:
|
53
47
|
- - ~>
|
54
48
|
- !ruby/object:Gem::Version
|
@@ -56,7 +50,6 @@ dependencies:
|
|
56
50
|
type: :runtime
|
57
51
|
prerelease: false
|
58
52
|
version_requirements: !ruby/object:Gem::Requirement
|
59
|
-
none: false
|
60
53
|
requirements:
|
61
54
|
- - ~>
|
62
55
|
- !ruby/object:Gem::Version
|
@@ -64,17 +57,15 @@ dependencies:
|
|
64
57
|
- !ruby/object:Gem::Dependency
|
65
58
|
name: testbeds
|
66
59
|
requirement: !ruby/object:Gem::Requirement
|
67
|
-
none: false
|
68
60
|
requirements:
|
69
|
-
- -
|
61
|
+
- - '>='
|
70
62
|
- !ruby/object:Gem::Version
|
71
63
|
version: '0'
|
72
64
|
type: :development
|
73
65
|
prerelease: false
|
74
66
|
version_requirements: !ruby/object:Gem::Requirement
|
75
|
-
none: false
|
76
67
|
requirements:
|
77
|
-
- -
|
68
|
+
- - '>='
|
78
69
|
- !ruby/object:Gem::Version
|
79
70
|
version: '0'
|
80
71
|
description: Provides a Jasmine Spec Runner that plays nicely with Rails 3.1 assets
|
@@ -109,26 +100,25 @@ files:
|
|
109
100
|
- README.md
|
110
101
|
homepage: http://github.com/searls/jasmine-rails
|
111
102
|
licenses: []
|
103
|
+
metadata: {}
|
112
104
|
post_install_message:
|
113
105
|
rdoc_options: []
|
114
106
|
require_paths:
|
115
107
|
- lib
|
116
108
|
required_ruby_version: !ruby/object:Gem::Requirement
|
117
|
-
none: false
|
118
109
|
requirements:
|
119
|
-
- -
|
110
|
+
- - '>='
|
120
111
|
- !ruby/object:Gem::Version
|
121
112
|
version: '0'
|
122
113
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
|
-
none: false
|
124
114
|
requirements:
|
125
|
-
- -
|
115
|
+
- - '>='
|
126
116
|
- !ruby/object:Gem::Version
|
127
117
|
version: '0'
|
128
118
|
requirements: []
|
129
119
|
rubyforge_project:
|
130
|
-
rubygems_version:
|
120
|
+
rubygems_version: 2.0.3
|
131
121
|
signing_key:
|
132
|
-
specification_version:
|
122
|
+
specification_version: 4
|
133
123
|
summary: Makes Jasmine easier on Rails 3.1
|
134
124
|
test_files: []
|