gusto 1.0.0.beta7 → 1.0.0.beta8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/gusto/server.rb +8 -2
- data/lib/gusto/version.rb +1 -1
- data/public/jquery-1.10.2.js +9789 -0
- metadata +17 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4d17eea0ab54967209a74af0bc7e018cd4131be5
|
4
|
+
data.tar.gz: 5528ecb8ec2a199eecec326defd2466b56be529b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 679de6ad1176a1b96a8719797e512447404be443423e567df9a3626cb6e7ba441c40bb939dc7cc3b47f0de9b4b7f4d4bb28c1af4b920a05b3489a1619831b861
|
7
|
+
data.tar.gz: 0938a1f216db53bcffbff44addc396d6a4a54af8a302c747d6691689dc8dac23da44076686db917c45954872eae4ffc5bb62a1dc606477b47a62a258d7ab016e
|
data/lib/gusto/server.rb
CHANGED
@@ -49,10 +49,16 @@ module Gusto
|
|
49
49
|
@scripts = []
|
50
50
|
Gusto::Configuration.spec_paths.each do |path|
|
51
51
|
Dir["#{Gusto.project_root}/#{path}/**/*spec.coffee"].each do |file|
|
52
|
-
|
52
|
+
if file.match Regexp.new("^#{Regexp.escape Gusto.project_root}\\/#{Regexp.escape path}\\/(.*).coffee$")
|
53
|
+
@scripts << $1
|
54
|
+
else
|
55
|
+
raise "Scripts file detected with unexpected path: #{file}"
|
56
|
+
end
|
53
57
|
end
|
54
58
|
end
|
55
|
-
|
59
|
+
if params[:filter]
|
60
|
+
@scripts = @scripts.select{|file| file.downcase.include? params[:filter].downcase}
|
61
|
+
end
|
56
62
|
render :slim, :index
|
57
63
|
end
|
58
64
|
end
|
data/lib/gusto/version.rb
CHANGED