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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c98b08e4c257fd3373839e4de959db0931d3785c
4
- data.tar.gz: 822ea095f72aebd54c20c8c6552e28b0df7cca24
3
+ metadata.gz: dcefc811a2def96de711886de62499752406f686
4
+ data.tar.gz: 5f2ed328e0656e46f7273c144157978d9ab9bdf6
5
5
  SHA512:
6
- metadata.gz: 82006d6ddc689439f838c6c471c3a6a994341c801af00b7fd8f61932a41e453af824e4562a3488a1e31b67f8f4930215dcd9eb16be9baf64742023802fc35c02
7
- data.tar.gz: d239512ce0344384b4a09d602d0ce9bdeb488e9201394dc5084a4773bfb34f29db94cf998571e63ba18220dedd4e334925c2c53ad004a0d38eb84ef6f9b189a2
6
+ metadata.gz: 5f2bfbfb6bf7293b2a231231ad87a5907ba7cc32adc1490e73eedee963b145c6f27d50d9e344f55db28efc8de718511ab8b53149c1f74c26225502674467af4f
7
+ data.tar.gz: 6053c32d93225bbaaa75c21a2953d0333b2d86e73ee336e713120f4670ee8e4aaa996aaff882bfe3f0b48a56af71068615b8dc9a50ad14e751c39f4a4825a141
@@ -1,3 +1,3 @@
1
1
  module Caboose
2
- VERSION = '0.9.8'
2
+ VERSION = '0.9.9'
3
3
  end
@@ -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"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caboose-cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.8
4
+ version: 0.9.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - William Barry