yggdrasil 0.0.16 → 0.0.17

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  class Yggdrasil
2
- VERSION = '0.0.16'
2
+ VERSION = '0.0.17'
3
3
 
4
4
  def version
5
5
  puts <<"EOS"
data/lib/yggdrasil.rb CHANGED
@@ -247,8 +247,12 @@ class Yggdrasil
247
247
 
248
248
  # add checker script and checker result
249
249
  result_files = Array.new
250
- Find.find(@checker_dir) {|f| result_files << f unless f == @checker_dir}
251
- Find.find(@checker_result_dir) {|f| result_files << f unless f == @checker_result_dir}
250
+ Find.find(@checker_dir) do |f|
251
+ result_files << f if File.file?(f) && File.executable?(f)
252
+ end
253
+ Find.find(@checker_result_dir) do |f|
254
+ result_files << f if File.file?(f)
255
+ end
252
256
  if result_files.size != 0
253
257
  stdout = $stdout
254
258
  $stdout = StringIO.new
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: yggdrasil
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.16
4
+ version: 0.0.17
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -116,7 +116,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
116
116
  version: '0'
117
117
  segments:
118
118
  - 0
119
- hash: -1313669213311713118
119
+ hash: 522662544395152176
120
120
  required_rubygems_version: !ruby/object:Gem::Requirement
121
121
  none: false
122
122
  requirements:
@@ -125,7 +125,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
125
125
  version: '0'
126
126
  segments:
127
127
  - 0
128
- hash: -1313669213311713118
128
+ hash: 522662544395152176
129
129
  requirements: []
130
130
  rubyforge_project:
131
131
  rubygems_version: 1.8.25