Rakefile in nanoc-1.1 vs Rakefile in nanoc-1.1.1
- old
+ new
@@ -30,11 +30,11 @@
s.add_dependency('erubis')
s.required_ruby_version = '>= 1.8.2'
s.has_rdoc = false
- s.files = %w( README LICENSE Rakefile ) + Dir.glob('{bin,lib}/**/*')
+ s.files = %w( README LICENSE Rakefile ) + Dir['{bin,lib}/**/*']
s.executables = [ 'nanoc' ]
s.require_path = 'lib'
s.bindir = 'bin'
end
@@ -42,10 +42,10 @@
task.need_tar = true
task.gem_spec = spec
end
Rake::TestTask.new(:test) do |test|
- test.test_files = Dir.glob('test/test_*.rb')
+ test.test_files = Dir['test/test_*.rb']
end
#####
task :default => [ :test ]