Skip to content

Commit 10b6a5b

Browse files
committed
Typos and formatting
1 parent 09b9eb8 commit 10b6a5b

File tree

3 files changed

+11
-14
lines changed

3 files changed

+11
-14
lines changed

Gemfile

-1
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,3 @@ gem 'systemu'
55
gem 'simplecov'
66
gem 'rake'
77
gem 'rspec'
8-

Rakefile

+7-11
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11

22
begin
3-
require 'rspec/core/rake_task'
4-
RSpec::Core::RakeTask.new(:spec) do |t|
5-
t.pattern = Dir.glob("spec/**/*_spec.rc")
6-
t.rspec_opts = "--format documentation --color"
7-
#t.rcov = true
8-
end
3+
require 'rspec/core/rake_task'
4+
RSpec::Core::RakeTask.new(:spec) do |t|
5+
t.pattern = Dir.glob('spec/**/*_spec.rc')
6+
t.rspec_opts = '--format documentation --color'
7+
end
98

10-
task :default => :spec
9+
task default: :spec
1110
rescue LoadError
12-
STDERR.puts "rspec not found"
11+
STDERR.puts 'rspec not found'
1312
end
14-
15-
16-

bin/canga

+4-2
Original file line numberDiff line numberDiff line change
@@ -224,8 +224,10 @@ class Canga < Thor
224224
end
225225

226226
desc "export IMAGE OUTPUT", "export an image to a file"
227-
option :format, :desc => "format for output image", :default => :qcow2, :alliases => :f
228-
option :compress, :desc => "compress output qcow2 image", :default => false, :alliases => :c
227+
option :format, :desc => "format for output image", :default => :qcow2,
228+
:aliases => :f
229+
option :compress, :desc => "compress output qcow2 image", :default => false,
230+
:aliases => :c
229231
def export(image, output)
230232
image = $cangallo.get(image)
231233

0 commit comments

Comments
 (0)