jasmine-rails 0.3.2 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/jasmine_rails/jhw_adapter.rb +7 -3
- data/lib/jasmine_rails/version.rb +1 -1
- metadata +2 -2
@@ -15,7 +15,7 @@ module JasmineRails
|
|
15
15
|
:config => @runner.jasmine_config,
|
16
16
|
:only => @options[:files],
|
17
17
|
:seed => @options[:seed]
|
18
|
-
).
|
18
|
+
).logical_paths
|
19
19
|
end
|
20
20
|
|
21
21
|
def js_files
|
@@ -23,7 +23,7 @@ module JasmineRails
|
|
23
23
|
:config => @runner.jasmine_config,
|
24
24
|
:only => @options[:files],
|
25
25
|
:seed => @options[:seed]
|
26
|
-
).
|
26
|
+
).logical_paths
|
27
27
|
end
|
28
28
|
|
29
29
|
def asset_paths
|
@@ -50,6 +50,10 @@ module JasmineRails
|
|
50
50
|
def files
|
51
51
|
required_files.collect { |asset| asset.pathname.to_s }.uniq
|
52
52
|
end
|
53
|
+
|
54
|
+
def logical_paths
|
55
|
+
files.map { |file| Rails.application.assets[file].logical_path }
|
56
|
+
end
|
53
57
|
end
|
54
58
|
|
55
59
|
class JsFilesList < DistinctifiedFileList
|
@@ -77,4 +81,4 @@ module JasmineRails
|
|
77
81
|
end
|
78
82
|
end
|
79
83
|
|
80
|
-
end
|
84
|
+
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.3.
|
4
|
+
version: 0.3.3
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date:
|
14
|
+
date: 2013-03-06 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|