caboose-cms 0.9.8 → 0.9.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/caboose/version.rb +1 -1
- data/lib/tasks/caboose.rake +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dcefc811a2def96de711886de62499752406f686
|
4
|
+
data.tar.gz: 5f2ed328e0656e46f7273c144157978d9ab9bdf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5f2bfbfb6bf7293b2a231231ad87a5907ba7cc32adc1490e73eedee963b145c6f27d50d9e344f55db28efc8de718511ab8b53149c1f74c26225502674467af4f
|
7
|
+
data.tar.gz: 6053c32d93225bbaaa75c21a2953d0333b2d86e73ee336e713120f4670ee8e4aaa996aaff882bfe3f0b48a56af71068615b8dc9a50ad14e751c39f4a4825a141
|
data/lib/caboose/version.rb
CHANGED
data/lib/tasks/caboose.rake
CHANGED
@@ -111,6 +111,14 @@ namespace :caboose do
|
|
111
111
|
errors[file] = str
|
112
112
|
end
|
113
113
|
|
114
|
+
str = `find #{Gem.loaded_specs['caboose-cms'].full_gem_path} -name "*.rb"`
|
115
|
+
files = str ? str.strip.split("\n") : []
|
116
|
+
files.each do |file|
|
117
|
+
str = `ruby -c #{file}`
|
118
|
+
next if str.nil? || str.strip == 'Syntax OK'
|
119
|
+
errors[file] = str
|
120
|
+
end
|
121
|
+
|
114
122
|
if errors.count == 0
|
115
123
|
puts " \n"
|
116
124
|
puts " █████ \n"
|