jasmine-rails 0.2.0 → 0.2.1
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 -2
- data/lib/jasmine_rails/version.rb +1 -1
- metadata +2 -2
@@ -27,8 +27,13 @@ module JasmineRails
|
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
+
class DistinctifiedFileList < Jasmine::Headless::FilesList
|
31
|
+
def files
|
32
|
+
required_files.collect { |asset| asset.pathname.to_s }.uniq
|
33
|
+
end
|
34
|
+
end
|
30
35
|
|
31
|
-
class JsFilesList <
|
36
|
+
class JsFilesList < DistinctifiedFileList
|
32
37
|
|
33
38
|
def self.default_files
|
34
39
|
%w{jasmine.js jasmine-html}
|
@@ -41,7 +46,7 @@ module JasmineRails
|
|
41
46
|
|
42
47
|
end
|
43
48
|
|
44
|
-
class CssFilesList <
|
49
|
+
class CssFilesList < DistinctifiedFileList
|
45
50
|
|
46
51
|
def self.default_files
|
47
52
|
%w{jasmine.css}
|
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.2.
|
4
|
+
version: 0.2.1
|
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: 2012-
|
14
|
+
date: 2012-10-18 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: rails
|