ucc 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/lib/ucc.rb +3 -2
  2. data/lib/ucc/version.rb +1 -1
  3. metadata +1 -1
data/lib/ucc.rb CHANGED
@@ -11,7 +11,7 @@ module Ucc
11
11
  class Runner
12
12
  attr_reader :source_files
13
13
 
14
- # Herewe pass the compiler (to be able to choose between gcc or g++)
14
+ # Here we pass the compiler (to be able to choose between gcc or g++)
15
15
  def initialize(compiler)
16
16
  @compiler = compiler
17
17
  raise "Compiler must be specified" unless @compiler
@@ -69,12 +69,13 @@ module Ucc
69
69
  return @app_filename if @app_filename
70
70
  @app_filename = source_files[0].sub(/\.\w+$/, '')
71
71
  @app_filename += ".exe" if WINDOWS
72
+ @app_filename
72
73
  end
73
74
 
74
75
  # Main logic
75
76
  # ==========
76
77
 
77
- # Does option parsing using `optparse`
78
+ # Does option parsing using optparse
78
79
  def parse_options
79
80
  begin
80
81
  optparse.parse!
@@ -1,3 +1,3 @@
1
1
  module Ucc
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ucc
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.2
4
+ version: 2.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: